Convert 24 more function definitions to prototype style (array parameters).
[glibc.git] / ChangeLog
blob14c98e84944dfcaecf5fd961a559c2425875b546
1 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
3         * crypt/cert.c (main): Convert to prototype-style function
4         definition.
5         * io/pipe.c (__pipe): Likewise.
6         * io/pipe2.c (__pipe2): Likewise.
7         * misc/futimesat.c (futimesat): Likewise.
8         * misc/utimes.c (__utimes): Likewise.
9         * posix/execve.c (__execve): Likewise.
10         * posix/execvp.c (execvp): Likewise.
11         * posix/execvpe.c (__execvpe): Likewise.
12         * posix/fexecve.c (fexecve): Likewise.
13         * socket/socketpair.c (socketpair): Likewise.
14         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15         * stdlib/erand48.c (erand48): Likewise.
16         * stdlib/erand48_r.c (__erand48_r): Likewise.
17         * stdlib/jrand48.c (jrand48): Likewise.
18         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
19         * stdlib/lcong48.c (lcong48): Likewise.
20         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
21         * stdlib/nrand48.c (nrand48): Likewise.
22         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
23         * stdlib/seed48.c (seed48): Likewise.
24         * stdlib/seed48_r.c (__seed48_r): Likewise.
25         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
26         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
27         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
29 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
31         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
32         * configure: Regenerated.
33         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
34         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
35         unconditional.
36         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
37         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
38         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
39         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
40         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
41         unconditional.
42         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
44         * posix/Makefile (CFLAGS-regex.c): Remove variable.
45         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
47         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
48         function definition.
49         * crypt/crypt_util.c (__encrypt_r): Likewise.
50         * libio/genops.c (_IO_no_init): Likewise.
51         * libio/iofopncook.c (_IO_fopencookie): Likewise.
52         (_IO_old_fopencookie): Likewise.
53         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
54         * libio/iogetline.c (_IO_getline): Likewise.
55         (_IO_getline_info): Likewise.
56         * libio/iogetwline.c (_IO_getwline): Likewise.
57         (_IO_getwline_info): Likewise.
58         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
59         * libio/vswprintf.c (_IO_vswprintf): Likewise.
60         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
61         (find_entry): Likewise.
62         (iterate_table): Likewise.
63         (lookup): Likewise.
64         * login/forkpty.c (forkpty): Likewise.
65         * misc/hsearch_r.c (__hsearch_r): Likewise.
66         * misc/select.c (__select): Likewise.
67         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
68         Likewise.
69         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
70         Likewise.
71         * nptl/old_pthread_cond_timedwait.c
72         (__pthread_cond_timedwait_2_0): Likewise.
73         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
74         * nptl/pthread_barrierattr_getpshared.c
75         (pthread_barrierattr_getpshared): Likewise.
76         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
77         Likewise.
78         * nptl/pthread_mutex_setprioceiling.c
79         (pthread_mutex_setprioceiling): Likewise.
80         * nptl/pthread_mutexattr_getprioceiling.c
81         (pthread_mutexattr_getprioceiling): Likewise.
82         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
83         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
84         Likewise.
85         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
86         Likewise.
87         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
88         Likewise.
89         * socket/recvfrom.c (__recvfrom): Likewise.
90         * socket/sendto.c (__sendto): Likewise.
91         * socket/setsockopt.c (__setsockopt): Likewise.
92         * stdio-common/_itoa.c (_itoa): Likewise.
93         * stdio-common/_itowa.c (_itowa): Likewise.
94         * stdio-common/reg-printf.c (__register_printf_specifier):
95         Likewise.
96         (__register_printf_function): Likewise.
97         * stdio-common/tempname.c (__path_search): Likewise.
98         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
99         * stdlib/mul_1.c (mpn_mul_1): Likewise.
100         * stdlib/random_r.c (__initstate_r): Likewise.
101         * stdlib/setenv.c (__add_to_environ): Likewise.
102         * stdlib/submul_1.c (mpn_submul_1): Likewise.
103         * streams/getpmsg.c (getpmsg): Likewise.
104         * streams/putmsg.c (putmsg): Likewise.
105         * streams/putpmsg.c (putpmsg): Likewise.
106         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
107         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
108         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
109         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
110         * sunrpc/pm_getport.c (pmap_getport): Likewise.
111         * sunrpc/svc_udp.c (cache_get): Likewise.
112         * sunrpc/xdr_array.c (xdr_vector): Likewise.
113         * sysdeps/mach/hurd/getcwd.c
114         (__canonicalize_directory_name_internal): Likewise.
115         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
116         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
117         * sysdeps/mach/hurd/select.c (__select): Likewise.
118         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
119         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
120         * sysdeps/sparc/nptl/pthread_barrier_init.c
121         (__pthread_barrier_init): Likewise.
122         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
123         (__pthread_cond_timedwait): Likewise.
124         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
125         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
126         Likewise.
127         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
128         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
129         Likewise.
130         * sysvipc/semtimedop.c (semtimedop): Likewise.
131         * time/setitimer.c (__setitimer): Likewise.
132         * time/strftime_l.c (emacs_strftime): Likewise.
134 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
136         * config.make.in (have-ssp): Delete.
137         (stack-protector): New variable.
138         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
139         cache test for -fstack-protector-strong.  Export stack_protector to
140         the best ssp flag.
141         * configure: Regenerated.
142         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
143         * nscd/Makefile (CFLAGS-nscd): Likewise.
144         * resolv/Makefile (CFLAGS-libresolv): Likewise.
146 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
148         [BZ #19122]
149         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
150         attribute_hidden.
152 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
154         [BZ #18743]
155         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
156         code to...
157         (ELIDE_LOCK): ...here.
158         (__get_new_count): New function with part of the code from
159         __elide_lock that updates the value of adapt_count after a
160         transaction abort.
161         (__elided_trylock): Moved this code to...
162         (ELIDE_TRYLOCK): ...here.
164 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
166         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
167         * configure: Regenerate.
168         * INSTALL: Regenerate.
169         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
170         and tweak grammar.
172 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
174         * login/programs/pt_chown.c: Include signal.h
175         (main): Clear any signal mask from the parent process.
177 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
179         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
180         * configure: Regenerated.
181         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
182         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
183         $(gnu89-inline-CFLAGS).
185         * configure.ac (libc_cv_asm_weak_directive): Remove configure
186         test.
187         (libc_cv_asm_weakext_directive): Likewise.
188         * configure: Regenerated.
189         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
190         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
191         * include/libc-symbols.h
192         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
193         #error.
194         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
195         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
197         * sysdeps/arm/backtrace.c (__backtrace): Convert to
198         prototype-style function definition.
199         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
200         * sysdeps/i386/ffs.c (__ffs): Likewise.
201         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
202         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
203         Likewise.
204         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
205         Likewise.
206         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
207         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
208         Likewise.
209         * sysdeps/m68k/ffs.c (__ffs): Likewise.
210         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
211         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
212         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
213         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
214         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
215         * sysdeps/mach/hurd/access.c (__access): Likewise.
216         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
217         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
218         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
219         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
220         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
221         (cthread_getspecific): Likewise.
222         (cthread_setspecific): Likewise.
223         (__libc_getspecific): Likewise.
224         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
225         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
226         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
227         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
228         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
229         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
230         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
231         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
232         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
233         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
234         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
235         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
236         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
237         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
238         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
239         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
240         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
241         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
242         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
243         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
244         * sysdeps/mach/hurd/link.c (__link): Likewise.
245         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
246         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
247         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
248         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
249         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
250         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
251         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
252         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
253         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
254         * sysdeps/mach/hurd/rename.c (rename): Likewise.
255         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
256         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
257         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
258         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
259         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
260         * sysdeps/mach/hurd/send.c (__send): Likewise.
261         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
262         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
263         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
264         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
265         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
266         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
267         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
268         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
269         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
270         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
271         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
272         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
273         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
274         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
275         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
276         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
277         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
278         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
279         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
280         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
281         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
282         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
283         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
284         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
285         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
286         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
287         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
288         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
289         * sysdeps/posix/alarm.c (alarm): Likewise.
290         * sysdeps/posix/cuserid.c (cuserid): Likewise.
291         * sysdeps/posix/dirfd.c (dirfd): Likewise.
292         * sysdeps/posix/dup.c (__dup): Likewise.
293         * sysdeps/posix/dup2.c (__dup2): Likewise.
294         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
295         (main): Likewise.
296         * sysdeps/posix/flock.c (__flock): Likewise.
297         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
298         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
299         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
300         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
301         * sysdeps/posix/isatty.c (__isatty): Likewise.
302         * sysdeps/posix/killpg.c (killpg): Likewise.
303         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
304         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
305         * sysdeps/posix/raise.c (raise): Likewise.
306         * sysdeps/posix/remove.c (remove): Likewise.
307         * sysdeps/posix/rename.c (rename): Likewise.
308         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
309         * sysdeps/posix/seekdir.c (seekdir): Likewise.
310         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
311         * sysdeps/posix/sigignore.c (sigignore): Likewise.
312         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
313         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
314         * sysdeps/posix/sigset.c (sigset): Likewise.
315         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
316         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
317         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
318         * sysdeps/posix/time.c (time): Likewise.
319         * sysdeps/posix/ttyname.c (getttyname): Likewise.
320         (ttyname): Likewise.
321         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
322         * sysdeps/posix/utime.c (utime): Likewise.
323         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
324         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
325         Likewise.
326         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
327         (pthread_spin_trylock): Likewise.
328         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
329         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
330         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
331         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
332         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
333         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
334         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
335         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
336         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
337         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
338         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
339         * sysdeps/s390/ffs.c (__ffs): Likewise.
340         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
341         Likewise.
342         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
343         Likewise.
344         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
345         Likewise.
346         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
347         (pthread_barrier_destroy): Likewise.
348         * sysdeps/sparc/nptl/pthread_barrier_wait.c
349         (__pthread_barrier_wait): Likewise.
350         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
351         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
352         (__pthread_barrier_wait): Likewise.
353         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
354         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
355         (memcmp_not_common_alignment): Likewise.
356         (MEMCMP): Likewise.
357         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
358         (_wordcopy_fwd_dest_aligned): Likewise.
359         (_wordcopy_bwd_aligned): Likewise.
360         (_wordcopy_bwd_dest_aligned): Likewise.
361         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
362         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
363         * sysdeps/unix/bsd/stty.c (stty): Likewise.
364         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
365         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
366         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
367         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
368         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
369         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
370         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
371         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
372         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
373         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
374         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
375         * sysdeps/unix/stime.c (stime): Likewise.
376         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
377         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
378         Likewise.  Use internal_function.
379         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
380         Convert to prototype-style function definition.
381         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
382         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
383         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
384         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
385         Likewise.  Use internal_function.
386         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
387         prototype-style function definition
388         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
389         Likewise.
390         (__getlogin_r): Likewise.
391         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
392         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
393         (__pthread_cond_broadcast): Likewise.
394         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
395         (__pthread_cond_destroy): Likewise.
396         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
397         (__pthread_cond_init): Likewise.
398         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
399         (__pthread_cond_signal): Likewise.
400         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
401         (__pthread_cond_wait): Likewise.
402         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
403         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
404         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
405         Likewise.
406         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
407         Likewise.
408         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
409         Likewise.
410         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
411         Likewise.
412         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
414         (__ftruncate64): Likewise.
415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
416         (truncate64): Likewise.
417         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
418         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
419         (pthread_getcpuclockid): Likewise.
420         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
421         Likewise.
422         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
423         Likewise.
424         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
425         Likewise.
426         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
427         Likewise.
428         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
429         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
430         (__libc_sigaction): Likewise.
431         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
432         Likewise.
433         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
434         (__sigprocmask): Likewise.
435         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
436         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
437         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
438         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
439         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
440         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
441         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
442         Likewise.
443         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
444         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
445         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
446         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
447         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
448         Likewise.
449         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
450         (__sigprocmask): Likewise.
451         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
452         (cfgetispeed): Likewise.
453         (cfsetospeed): Likewise.
454         (cfsetispeed): Likewise.
455         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
456         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
457         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
458         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
459         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
460         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
461         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
462         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
463         Likewise.
464         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
465         Likewise.
466         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
467         Likewise.
468         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
469         Likewise.
470         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
472 2015-10-17  Florian Weimer  <fweimer@redhat.com>
474         sunrpc: Rewrite with explicit TLS access using __thread.
475         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
476         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
477         directly.
478         (__rpc_thread_variables): Access thread_rpc_vars directly.
479         Eliminate redundant assignment of the tvp variable.
481 2015-10-17  Florian Weimer  <fweimer@redhat.com>
483         malloc: Rewrite with explicit TLS access using __thread.
484         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
485         (tsd_setspecific, tsd_getspecific): Remove.
486         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
487         (tsd_setspecific, tsd_getspecific): Likewise.
488         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
489         (tsd_setspecific, tsd_getspecific): Likewise.
490         * malloc/arena.c (thread_arena): New TLS variable.
491         (arena_key): Remove variable.
492         (arena_get): Use thread_arena.
493         (arena_lookup): Remove macro.
494         (malloc_atfork, free_atfork, ptmalloc_lock_all)
495         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
496         (_int_new_arena, get_free_list, reused_arena)
497         (arena_thread_freeres): Use thread_arena.
498         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
499         tsd_getspecific, tsd_setspecific from safety annotations.
500         (Allocating Cleared Space): Remove arena_lookup from safety
501         annotations.
503 2015-10-17  Florian Weimer  <fweimer@redhat.com>
505         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
506         struct scratch_buffer instead of extend_alloca.
508 2015-10-17  Florian Weimer  <fweimer@redhat.com>
510         * sysdeps/unix/sysv/linux/kernel-features.h
511         (__ASSUME_SOCK_CLOEXEC): Remove.
512         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
513         (__have_paccept): Remove unused macro.
514         * include/unistd.h (__have_sock_cloexec): Remove declaration.
515         * misc/syslog.c (openlog_internal): Remove fallback code for
516         !__ASSUME_SOCK_CLOEXEC.
517         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
518         missing SOCK_CLOEXEC.
519         * nscd/connections.c (have_sock_cloexec): Remove definition.
520         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
521         * nscd/nscd_helper.c (open_socket): Remove fallback code for
522         !__ASSUME_SOCK_CLOEXEC.
523         * resolv/res_send.c (__have_o_nonblock): Remove definition.
524         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
525         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
526         definition.
527         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
528         code for !__ASSUME_SOCK_CLOEXEC.
530 2015-10-17  Florian Weimer  <fweimer@redhat.com>
532         [BZ #18982]
533         * manual/stdio.texi (Variable Arguments Output): Add portability
534         note, explaining that vfprintf clobbers the va_list pointer.
536 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
538         * math/libm-test.inc (fabs_test_data): Add more tests.
539         (fdim_test_data): Likewise.
540         (fma_test_data): Likewise.
541         (fmax_test_data): Likewise.
542         (fmin_test_data): Likewise.
543         (fmod_test_data): Likewise.
545 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
547         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
548         data.
550 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
552         * math/libm-test.inc (ceil_test_data): Add more tests and more
553         expectations for "inexact".
554         (floor_test_data): Add more tests.
555         (round_test_data): Likewise.
556         (trunc_test_data): Likewise.
558         * crypt/cert.c (good_bye): Convert to prototype-style function
559         definition.
560         (get8): Likewise.
561         (put8): Likewise.
562         * crypt/crypt-entry.c (crypt): Likewise.
563         (__fcrypt): Likewise.
564         * crypt/crypt_util.c (_ufc_prbits): Likewise.
565         (_ufc_set_bits): Likewise.
566         (_ufc_clearmem): Likewise.
567         (__init_des_r): Likewise.
568         (shuffle_sb): Likewise.
569         (shuffle_sb): Likewise.
570         (_ufc_setup_salt_r): Likewise.
571         (_ufc_mk_keytab_r): Likewise.
572         (_ufc_dofinalperm_r): Likewise.
573         (encrypt): Likewise.
574         (__setkey_r): Likewise.
575         (setkey): Likewise.
576         * crypt/md5.c (md5_init_ctx): Likewise.
577         (md5_read_ctx): Likewise.
578         (md5_finish_ctx): Likewise.
579         (md5_stream): Likewise.
580         (md5_buffer): Likewise.
581         (md5_process_bytes): Likewise.
582         * crypt/sha256.c (__sha256_init_ctx): Likewise.
583         (__sha256_finish_ctx): Likewise.
584         (__sha256_process_bytes): Likewise.
585         * crypt/sha512.c (__sha512_init_ctx): Likewise.
586         (__sha512_finish_ctx): Likewise.
587         (__sha512_process_bytes): Likewise.
588         * ctype/isctype.c (__isctype): Likewise.
589         * debug/backtrace.c (__backtrace): Likewise.
590         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
591         * debug/fgets_chk.c (__fgets_chk): Likewise.
592         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
593         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
594         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
595         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
596         * debug/memset_chk.c (__memset_chk): Likewise.
597         * debug/strcat_chk.c (__strcat_chk): Likewise.
598         * debug/strncat_chk.c (__strncat_chk): Likewise.
599         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
600         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
601         * dirent/dirfd.c (dirfd): Likewise.
602         * dirent/getdents.c (__getdirentries): Likewise.
603         * dirent/getdents64.c (getdirentries64): Likewise.
604         * dirent/rewinddir.c (__rewinddir): Likewise.
605         * dirent/seekdir.c (seekdir): Likewise.
606         * dirent/telldir.c (telldir): Likewise.
607         * elf/sln.c (makesymlinks): Likewise.
608         (makesymlink): Likewise.
609         * gmon/gmon.c (__moncontrol): Likewise.
610         (__monstartup): Likewise.
611         (write_hist): Likewise.
612         (write_call_graph): Likewise.
613         (write_bb_counts): Likewise.
614         * grp/setgroups.c (setgroups): Likewise.
615         * inet/inet_lnaof.c (inet_lnaof): Likewise.
616         * inet/inet_net.c (inet_network): Likewise.
617         * inet/inet_netof.c (inet_netof): Likewise.
618         * inet/rcmd.c (rresvport_af): Likewise.
619         (rresvport): Likewise.
620         * io/access.c (__access): Likewise.
621         * io/chdir.c (__chdir): Likewise.
622         * io/chmod.c (__chmod): Likewise.
623         * io/chown.c (__chown): Likewise.
624         * io/close.c (__close): Likewise.
625         * io/creat.c (creat): Likewise.
626         * io/creat64.c (creat64): Likewise.
627         * io/dup.c (__dup): Likewise.
628         * io/dup2.c (__dup2): Likewise.
629         * io/dup3.c (__dup3): Likewise.
630         * io/euidaccess.c (__euidaccess): Likewise.
631         * io/faccessat.c (faccessat): Likewise.
632         * io/fchmod.c (__fchmod): Likewise.
633         * io/fchmodat.c (fchmodat): Likewise.
634         * io/fchown.c (__fchown): Likewise.
635         * io/fchownat.c (fchownat): Likewise.
636         * io/fcntl.c (__fcntl): Likewise.
637         * io/flock.c (__flock): Likewise.
638         * io/fts.c (fts_load): Likewise.
639         (fts_close): Likewise.
640         (fts_read): Likewise.
641         (fts_set): Likewise.
642         (fts_children): Likewise.
643         (fts_build): Likewise.
644         (fts_stat): Likewise.
645         (fts_sort): Likewise.
646         (fts_alloc): Likewise.
647         (fts_lfree): Likewise.
648         (fts_palloc): Likewise.
649         (fts_padjust): Likewise.
650         (fts_maxarglen): Likewise.
651         (fts_safe_changedir): Likewise.
652         * io/getwd.c (getwd): Likewise.
653         * io/isatty.c (__isatty): Likewise.
654         * io/lchown.c (__lchown): Likewise.
655         * io/link.c (__link): Likewise.
656         * io/linkat.c (linkat): Likewise.
657         * io/lseek.c (__libc_lseek): Likewise.
658         * io/mkdir.c (__mkdir): Likewise.
659         * io/mkdirat.c (mkdirat): Likewise.
660         * io/mkfifo.c (mkfifo): Likewise.
661         * io/mkfifoat.c (mkfifoat): Likewise.
662         * io/open.c (__libc_open): Likewise.
663         * io/open64.c (__libc_open64): Likewise.
664         * io/readlink.c (__readlink): Likewise.
665         * io/readlinkat.c (readlinkat): Likewise.
666         * io/rmdir.c (__rmdir): Likewise.
667         * io/symlink.c (__symlink): Likewise.
668         * io/symlinkat.c (symlinkat): Likewise.
669         * io/ttyname.c (ttyname): Likewise.
670         * io/ttyname_r.c (__ttyname_r): Likewise.
671         * io/umask.c (__umask): Likewise.
672         * io/unlink.c (__unlink): Likewise.
673         * io/unlinkat.c (unlinkat): Likewise.
674         * io/utime.c (utime): Likewise.
675         * libio/clearerr.c (clearerr): Likewise.
676         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
677         * libio/feof.c (_IO_feof): Likewise.
678         * libio/feof_u.c (feof_unlocked): Likewise.
679         * libio/ferror.c (_IO_ferror): Likewise.
680         * libio/ferror_u.c (ferror_unlocked): Likewise.
681         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
682         * libio/fileno.c (__fileno): Likewise.
683         * libio/fputc.c (fputc): Likewise.
684         * libio/fputc_u.c (fputc_unlocked): Likewise.
685         * libio/fputwc.c (fputwc): Likewise.
686         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
687         * libio/freopen.c (freopen): Likewise.
688         * libio/freopen64.c (freopen64): Likewise.
689         * libio/fseek.c (fseek): Likewise.
690         * libio/fseeko.c (fseeko): Likewise.
691         * libio/fseeko64.c (fseeko64): Likewise.
692         * libio/ftello.c (__ftello): Likewise.
693         * libio/ftello64.c (ftello64): Likewise.
694         * libio/fwide.c (fwide): Likewise.
695         * libio/genops.c (_IO_un_link): Likewise.
696         (_IO_link_in): Likewise.
697         (_IO_least_marker): Likewise.
698         (_IO_switch_to_main_get_area): Likewise.
699         (_IO_switch_to_backup_area): Likewise.
700         (_IO_switch_to_get_mode): Likewise.
701         (_IO_free_backup_area): Likewise.
702         (_IO_switch_to_put_mode): Likewise.
703         (__overflow): Likewise.
704         (__underflow): Likewise.
705         (__uflow): Likewise.
706         (_IO_setb): Likewise.
707         (_IO_doallocbuf): Likewise.
708         (_IO_default_underflow): Likewise.
709         (_IO_default_uflow): Likewise.
710         (_IO_default_xsputn): Likewise.
711         (_IO_sgetn): Likewise.
712         (_IO_default_xsgetn): Likewise.
713         (_IO_sync): Likewise.
714         (_IO_default_setbuf): Likewise.
715         (_IO_default_seekpos): Likewise.
716         (_IO_default_doallocate): Likewise.
717         (_IO_init): Likewise.
718         (_IO_old_init): Likewise.
719         (_IO_default_sync): Likewise.
720         (_IO_default_finish): Likewise.
721         (_IO_default_seekoff): Likewise.
722         (_IO_sputbackc): Likewise.
723         (_IO_sungetc): Likewise.
724         (_IO_set_column): Likewise.
725         (_IO_set_column): Likewise.
726         (_IO_adjust_column): Likewise.
727         (_IO_get_column): Likewise.
728         (_IO_init_marker): Likewise.
729         (_IO_remove_marker): Likewise.
730         (_IO_marker_difference): Likewise.
731         (_IO_marker_delta): Likewise.
732         (_IO_seekmark): Likewise.
733         (_IO_unsave_markers): Likewise.
734         (_IO_nobackup_pbackfail): Likewise.
735         (_IO_default_pbackfail): Likewise.
736         (_IO_default_seek): Likewise.
737         (_IO_default_stat): Likewise.
738         (_IO_default_read): Likewise.
739         (_IO_default_write): Likewise.
740         (_IO_default_showmanyc): Likewise.
741         (_IO_default_imbue): Likewise.
742         (_IO_iter_next): Likewise.
743         (_IO_iter_file): Likewise.
744         * libio/getc.c (_IO_getc): Likewise.
745         * libio/getwc.c (_IO_getwc): Likewise.
746         * libio/iofclose.c (_IO_new_fclose): Likewise.
747         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
748         * libio/iofflush.c (_IO_fflush): Likewise.
749         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
750         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
751         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
752         * libio/iofgets.c (_IO_fgets): Likewise.
753         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
754         * libio/iofgetws.c (fgetws): Likewise.
755         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
756         * libio/iofopen64.c (_IO_fopen64): Likewise.
757         * libio/iofopncook.c (_IO_cookie_read): Likewise.
758         (_IO_cookie_write): Likewise.
759         (_IO_cookie_seek): Likewise.
760         (_IO_cookie_close): Likewise.
761         (_IO_cookie_seekoff): Likewise.
762         (_IO_old_cookie_seek): Likewise.
763         * libio/iofputs.c (_IO_fputs): Likewise.
764         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
765         * libio/iofputws.c (fputws): Likewise.
766         * libio/iofputws_u.c (fputws_unlocked): Likewise.
767         * libio/iofread.c (_IO_fread): Likewise.
768         * libio/iofread_u.c (__fread_unlocked): Likewise.
769         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
770         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
771         * libio/ioftell.c (_IO_ftell): Likewise.
772         * libio/iofwrite.c (_IO_fwrite): Likewise.
773         * libio/iogetdelim.c (_IO_getdelim): Likewise.
774         * libio/iogets.c (_IO_gets): Likewise.
775         * libio/iopadn.c (_IO_padn): Likewise.
776         * libio/iopopen.c (_IO_new_proc_open): Likewise.
777         (_IO_new_popen): Likewise.
778         (_IO_new_proc_close): Likewise.
779         * libio/ioputs.c (_IO_puts): Likewise.
780         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
781         (_IO_seekoff): Likewise.
782         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
783         (_IO_seekpos): Likewise.
784         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
785         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
786         * libio/ioungetc.c (_IO_ungetc): Likewise.
787         * libio/ioungetwc.c (ungetwc): Likewise.
788         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
789         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
790         * libio/iowpadn.c (_IO_wpadn): Likewise.
791         * libio/libc_fatal.c (__libc_fatal): Likewise.
792         * libio/memstream.c (__open_memstream): Likewise.
793         (_IO_mem_sync): Likewise.
794         (_IO_mem_finish): Likewise.
795         * libio/oldfileops.c (_IO_old_file_init): Likewise.
796         (_IO_old_file_close_it): Likewise.
797         (_IO_old_file_finish): Likewise.
798         (_IO_old_file_fopen): Likewise.
799         (_IO_old_file_attach): Likewise.
800         (_IO_old_file_setbuf): Likewise.
801         (_IO_old_do_write): Likewise.
802         (old_do_write): Likewise.
803         (_IO_old_file_underflow): Likewise.
804         (_IO_old_file_overflow): Likewise.
805         (_IO_old_file_sync): Likewise.
806         (_IO_old_file_seekoff): Likewise.
807         (_IO_old_file_write): Likewise.
808         (_IO_old_file_xsputn): Likewise.
809         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
810         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
811         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
812         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
813         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
814         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
815         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
816         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
817         (_IO_old_popen): Likewise.
818         (_IO_old_proc_close): Likewise.
819         * libio/oldpclose.c (__old_pclose): Likewise.
820         * libio/pclose.c (__new_pclose): Likewise.
821         * libio/peekc.c (_IO_peekc_locked): Likewise.
822         * libio/putc.c (_IO_putc): Likewise.
823         * libio/putc_u.c (putc_unlocked): Likewise.
824         * libio/putchar.c (putchar): Likewise.
825         * libio/putchar_u.c (putchar_unlocked): Likewise.
826         * libio/putwc.c (putwc): Likewise.
827         * libio/putwc_u.c (putwc_unlocked): Likewise.
828         * libio/putwchar.c (putwchar): Likewise.
829         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
830         * libio/rewind.c (rewind): Likewise.
831         * libio/setbuf.c (setbuf): Likewise.
832         * libio/setlinebuf.c (setlinebuf): Likewise.
833         * libio/vasprintf.c (_IO_vasprintf): Likewise.
834         * libio/vscanf.c (_IO_vscanf): Likewise.
835         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
836         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
837         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
838         * libio/wgenops.c (_IO_least_wmarker): Likewise.
839         (_IO_switch_to_main_wget_area): Likewise.
840         (_IO_switch_to_wbackup_area): Likewise.
841         (_IO_wsetb): Likewise.
842         (_IO_wdefault_pbackfail): Likewise.
843         (_IO_wdefault_finish): Likewise.
844         (_IO_wdefault_uflow): Likewise.
845         (__woverflow): Likewise.
846         (__wuflow): Likewise.
847         (__wunderflow): Likewise.
848         (_IO_wdefault_xsputn): Likewise.
849         (_IO_wdefault_xsgetn): Likewise.
850         (_IO_wdoallocbuf): Likewise.
851         (_IO_wdefault_doallocate): Likewise.
852         (_IO_switch_to_wget_mode): Likewise.
853         (_IO_free_wbackup_area): Likewise.
854         (_IO_switch_to_wput_mode): Likewise.
855         (_IO_sputbackwc): Likewise.
856         (_IO_sungetwc): Likewise.
857         (_IO_adjust_wcolumn): Likewise.
858         (_IO_init_wmarker): Likewise.
859         (_IO_wmarker_delta): Likewise.
860         (_IO_seekwmark): Likewise.
861         (_IO_unsave_wmarkers): Likewise.
862         * libio/wmemstream.c (open_wmemstream): Likewise.
863         (_IO_wmem_sync): Likewise.
864         (_IO_wmem_finish): Likewise.
865         * locale/nl_langinfo.c (nl_langinfo): Likewise.
866         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
867         * locale/programs/simple-hash.c (init_hash): Likewise.
868         (delete_hash): Likewise.
869         (insert_entry): Likewise.
870         (set_entry): Likewise.
871         (next_prime): Likewise.
872         (is_prime): Likewise.
873         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
874         (xmalloc): Likewise.
875         (xrealloc): Likewise.
876         * locale/programs/xstrdup.c (xstrdup): Likewise.
877         * localedata/collate-test.c (xstrcoll): Likewise.
878         * localedata/xfrm-test.c (xstrcmp): Likewise.
879         * login/getlogin_r.c (__getlogin_r): Likewise.
880         * login/getpt.c (__posix_openpt): Likewise.
881         * login/login_tty.c (login_tty): Likewise.
882         * login/setlogin.c (setlogin): Likewise.
883         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
884         (mach_msg_destroy_port): Likewise.
885         (mach_msg_destroy_memory): Likewise.
886         * malloc/mcheck.c (flood): Likewise.
887         * misc/acct.c (acct): Likewise.
888         * misc/brk.c (__brk): Likewise.
889         * misc/chflags.c (chflags): Likewise.
890         * misc/chroot.c (chroot): Likewise.
891         * misc/fchflags.c (fchflags): Likewise.
892         * misc/fstab.c (getfsspec): Likewise.
893         (getfsfile): Likewise.
894         * misc/fsync.c (fsync): Likewise.
895         * misc/ftruncate.c (__ftruncate): Likewise.
896         * misc/ftruncate64.c (__ftruncate64): Likewise.
897         * misc/getdomain.c (getdomainname): Likewise.
898         (getdomainname): Likewise.
899         * misc/gethostname.c (__gethostname): Likewise.
900         * misc/getpass.c (getpass): Likewise.
901         * misc/getttyent.c (skip): Likewise.
902         (value): Likewise.
903         * misc/gtty.c (gtty): Likewise.
904         * misc/hsearch.c (hsearch): Likewise.
905         (hcreate): Likewise.
906         * misc/hsearch_r.c (__hcreate_r): Likewise.
907         (__hdestroy_r): Likewise.
908         * misc/ioctl.c (__ioctl): Likewise.
909         * misc/mkdtemp.c (mkdtemp): Likewise.
910         * misc/mkostemp.c (mkostemp): Likewise.
911         * misc/mkostemp64.c (mkostemp64): Likewise.
912         * misc/mkostemps.c (mkostemps): Likewise.
913         * misc/mkostemps64.c (mkostemps64): Likewise.
914         * misc/mkstemp.c (mkstemp): Likewise.
915         * misc/mkstemp64.c (mkstemp64): Likewise.
916         * misc/mkstemps.c (mkstemps): Likewise.
917         * misc/mkstemps64.c (mkstemps64): Likewise.
918         * misc/mktemp.c (__mktemp): Likewise.
919         * misc/preadv.c (preadv): Likewise.
920         * misc/preadv64.c (preadv64): Likewise.
921         * misc/pwritev.c (pwritev): Likewise.
922         * misc/pwritev64.c (pwritev64): Likewise.
923         * misc/readv.c (__readv): Likewise.
924         * misc/revoke.c (revoke): Likewise.
925         * misc/setdomain.c (setdomainname): Likewise.
926         * misc/setegid.c (setegid): Likewise.
927         * misc/seteuid.c (seteuid): Likewise.
928         * misc/sethostid.c (sethostid): Likewise.
929         * misc/sethostname.c (sethostname): Likewise.
930         * misc/setregid.c (__setregid): Likewise.
931         * misc/setreuid.c (__setreuid): Likewise.
932         * misc/sstk.c (sstk): Likewise.
933         * misc/stty.c (stty): Likewise.
934         * misc/syscall.c (syscall): Likewise.
935         * misc/syslog.c (setlogmask): Likewise.
936         * misc/truncate.c (__truncate): Likewise.
937         * misc/truncate64.c (truncate64): Likewise.
938         * misc/ualarm.c (ualarm): Likewise.
939         * misc/usleep.c (usleep): Likewise.
940         * misc/ustat.c (ustat): Likewise.
941         * misc/writev.c (__writev): Likewise.
942         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
943         * nptl/old_pthread_cond_broadcast.c
944         (__pthread_cond_broadcast_2_0): Likewise.
945         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
946         Likewise.
947         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
948         Likewise.
949         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
950         Likewise.
951         * nptl/pt-raise.c (raise): Likewise.
952         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
953         Likewise.
954         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
955         * nptl/pthread_barrierattr_destroy.c
956         (pthread_barrierattr_destroy): Likewise.
957         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
958         Likewise.
959         * nptl/pthread_barrierattr_setpshared.c
960         (pthread_barrierattr_setpshared): Likewise.
961         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
962         Likewise.
963         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
964         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
965         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
966         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
967         Likewise.
968         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
969         Likewise.
970         * nptl/pthread_condattr_getpshared.c
971         (pthread_condattr_getpshared): Likewise.
972         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
973         Likewise.
974         * nptl/pthread_condattr_setpshared.c
975         (pthread_condattr_setpshared): Likewise.
976         * nptl/pthread_detach.c (pthread_detach): Likewise.
977         * nptl/pthread_equal.c (__pthread_equal): Likewise.
978         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
979         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
980         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
981         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
982         Likewise.
983         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
984         Likewise.
985         * nptl/pthread_mutex_getprioceiling.c
986         (pthread_mutex_getprioceiling): Likewise.
987         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
988         Likewise.
989         * nptl/pthread_mutexattr_getprotocol.c
990         (pthread_mutexattr_getprotocol): Likewise.
991         * nptl/pthread_mutexattr_getpshared.c
992         (pthread_mutexattr_getpshared): Likewise.
993         * nptl/pthread_mutexattr_getrobust.c
994         (pthread_mutexattr_getrobust): Likewise.
995         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
996         Likewise.
997         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
998         Likewise.
999         * nptl/pthread_mutexattr_setprioceiling.c
1000         (pthread_mutexattr_setprioceiling): Likewise.
1001         * nptl/pthread_mutexattr_setprotocol.c
1002         (pthread_mutexattr_setprotocol): Likewise.
1003         * nptl/pthread_mutexattr_setpshared.c
1004         (pthread_mutexattr_setpshared): Likewise.
1005         * nptl/pthread_mutexattr_setrobust.c
1006         (pthread_mutexattr_setrobust): Likewise.
1007         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1008         Likewise.
1009         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
1010         Likewise.
1011         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
1012         Likewise.
1013         * nptl/pthread_rwlockattr_getkind_np.c
1014         (pthread_rwlockattr_getkind_np): Likewise.
1015         * nptl/pthread_rwlockattr_getpshared.c
1016         (pthread_rwlockattr_getpshared): Likewise.
1017         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
1018         Likewise.
1019         * nptl/pthread_rwlockattr_setkind_np.c
1020         (pthread_rwlockattr_setkind_np): Likewise.
1021         * nptl/pthread_rwlockattr_setpshared.c
1022         (pthread_rwlockattr_setpshared): Likewise.
1023         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
1024         Likewise.
1025         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
1026         Likewise.
1027         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
1028         Likewise.
1029         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
1030         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1031         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
1032         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
1033         * nptl/sem_close.c (sem_close): Likewise.
1034         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
1035         * nptl/sem_init.c (__old_sem_init): Likewise.
1036         * nptl/sigaction.c (__sigaction): Likewise.
1037         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1038         * posix/_exit.c (_exit): Likewise.
1039         * posix/alarm.c (alarm): Likewise.
1040         * posix/confstr.c (confstr): Likewise.
1041         * posix/fpathconf.c (__fpathconf): Likewise.
1042         * posix/getgroups.c (__getgroups): Likewise.
1043         * posix/getpgid.c (__getpgid): Likewise.
1044         * posix/group_member.c (__group_member): Likewise.
1045         * posix/pathconf.c (__pathconf): Likewise.
1046         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
1047         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
1048         * posix/setgid.c (__setgid): Likewise.
1049         * posix/setpgid.c (__setpgid): Likewise.
1050         * posix/setuid.c (__setuid): Likewise.
1051         * posix/sleep.c (__sleep): Likewise.
1052         * posix/sysconf.c (__sysconf): Likewise.
1053         * posix/times.c (__times): Likewise.
1054         * posix/uname.c (__uname): Likewise.
1055         * posix/waitid.c (__waitid): Likewise.
1056         * pwd/getpw.c (__getpw): Likewise.
1057         * resolv/base64.c (b64_pton): Likewise.
1058         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
1059         * resolv/gethnamaddr.c (Dprintf): Likewise.
1060         (gethostbyname): Likewise.
1061         (gethostbyname2): Likewise.
1062         (gethostbyaddr): Likewise.
1063         (_sethtent): Likewise.
1064         (_gethtbyname): Likewise.
1065         (_gethtbyname2): Likewise.
1066         (_gethtbyaddr): Likewise.
1067         (map_v4v6_address): Likewise.
1068         (map_v4v6_hostent): Likewise.
1069         (addrsort): Likewise.
1070         (ht_sethostent): Likewise.
1071         (ht_gethostbyname): Likewise.
1072         (ht_gethostbyaddr): Likewise.
1073         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
1074         (inet_net_ntop_ipv4): Likewise.
1075         * resolv/inet_neta.c (inet_neta): Likewise.
1076         * resolv/inet_ntop.c (inet_ntop): Likewise.
1077         (inet_ntop4): Likewise.
1078         (inet_ntop6): Likewise.
1079         * resolv/inet_pton.c (__inet_pton): Likewise.
1080         (inet_pton4): Likewise.
1081         (inet_pton6): Likewise.
1082         * resolv/res_debug.c (loc_aton): Likewise.
1083         (loc_ntoa): Likewise.
1084         * resource/getpriority.c (__getpriority): Likewise.
1085         * resource/getrusage.c (__getrusage): Likewise.
1086         * resource/nice.c (nice): Likewise.
1087         * resource/setpriority.c (__setpriority): Likewise.
1088         * resource/setrlimit64.c (setrlimit64): Likewise.
1089         * resource/vlimit.c (vlimit): Likewise.
1090         * resource/vtimes.c (vtimes): Likewise.
1091         * rt/aio_error.c (aio_error): Likewise.
1092         * rt/aio_return.c (aio_return): Likewise.
1093         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
1094         * signal/kill.c (__kill): Likewise.
1095         * signal/killpg.c (killpg): Likewise.
1096         * signal/raise.c (raise): Likewise.
1097         * signal/sigaction.c (__sigaction): Likewise.
1098         * signal/sigaddset.c (sigaddset): Likewise.
1099         * signal/sigaltstack.c (sigaltstack): Likewise.
1100         * signal/sigandset.c (sigandset): Likewise.
1101         * signal/sigblock.c (__sigblock): Likewise.
1102         * signal/sigdelset.c (sigdelset): Likewise.
1103         * signal/sigempty.c (sigemptyset): Likewise.
1104         * signal/sigfillset.c (sigfillset): Likewise.
1105         * signal/sighold.c (sighold): Likewise.
1106         * signal/sigignore.c (sigignore): Likewise.
1107         * signal/sigintr.c (siginterrupt): Likewise.
1108         * signal/sigisempty.c (sigisemptyset): Likewise.
1109         * signal/sigismem.c (sigismember): Likewise.
1110         * signal/signal.c (signal): Likewise.
1111         * signal/sigorset.c (sigorset): Likewise.
1112         * signal/sigpause.c (__sigpause): Likewise.
1113         * signal/sigpending.c (sigpending): Likewise.
1114         * signal/sigprocmask.c (__sigprocmask): Likewise.
1115         * signal/sigrelse.c (sigrelse): Likewise.
1116         * signal/sigreturn.c (__sigreturn): Likewise.
1117         * signal/sigset.c (sigset): Likewise.
1118         * signal/sigsetmask.c (__sigsetmask): Likewise.
1119         * signal/sigstack.c (sigstack): Likewise.
1120         * signal/sigsuspend.c (__sigsuspend): Likewise.
1121         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
1122         * signal/sysv_signal.c (__sysv_signal): Likewise.
1123         * socket/accept.c (accept): Likewise.
1124         * socket/accept4.c (__libc_accept4): Likewise.
1125         * socket/bind.c (__bind): Likewise.
1126         * socket/connect.c (__connect): Likewise.
1127         * socket/getpeername.c (getpeername): Likewise.
1128         * socket/getsockname.c (__getsockname): Likewise.
1129         * socket/getsockopt.c (getsockopt): Likewise.
1130         * socket/listen.c (__listen): Likewise.
1131         * socket/recv.c (__recv): Likewise.
1132         * socket/recvmsg.c (__recvmsg): Likewise.
1133         * socket/send.c (__send): Likewise.
1134         * socket/sendmsg.c (__sendmsg): Likewise.
1135         * socket/shutdown.c (shutdown): Likewise.
1136         * socket/sockatmark.c (sockatmark): Likewise.
1137         * socket/socket.c (__socket): Likewise.
1138         * stdio-common/ctermid.c (ctermid): Likewise.
1139         * stdio-common/cuserid.c (cuserid): Likewise.
1140         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
1141         * stdio-common/remove.c (remove): Likewise.
1142         * stdio-common/rename.c (rename): Likewise.
1143         * stdio-common/renameat.c (renameat): Likewise.
1144         * stdio-common/tempname.c (__gen_tempname): Likewise.
1145         * stdio-common/xbug.c (InitBuffer): Likewise.
1146         (AppendToBuffer): Likewise.
1147         (ReadFile): Likewise.
1148         * stdlib/a64l.c (a64l): Likewise.
1149         * stdlib/drand48_r.c (drand48_r): Likewise.
1150         * stdlib/getcontext.c (getcontext): Likewise.
1151         * stdlib/getenv.c (getenv): Likewise.
1152         * stdlib/l64a.c (l64a): Likewise.
1153         * stdlib/llabs.c (llabs): Likewise.
1154         * stdlib/lldiv.c (lldiv): Likewise.
1155         * stdlib/lrand48_r.c (lrand48_r): Likewise.
1156         * stdlib/mrand48_r.c (mrand48_r): Likewise.
1157         * stdlib/putenv.c (putenv): Likewise.
1158         * stdlib/random.c (__srandom): Likewise.
1159         (__initstate): Likewise.
1160         (__setstate): Likewise.
1161         * stdlib/random_r.c (__srandom_r): Likewise.
1162         (__setstate_r): Likewise.
1163         (__random_r): Likewise.
1164         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
1165         * stdlib/setcontext.c (setcontext): Likewise.
1166         * stdlib/setenv.c (setenv): Likewise.
1167         (unsetenv): Likewise.
1168         * stdlib/srand48.c (srand48): Likewise.
1169         * stdlib/srand48_r.c (__srand48_r): Likewise.
1170         * stdlib/swapcontext.c (swapcontext): Likewise.
1171         * stdlib/system.c (__libc_system): Likewise.
1172         * stdlib/tst-strtod.c (expand): Likewise.
1173         * stdlib/tst-strtol.c (expand): Likewise.
1174         * stdlib/tst-strtoll.c (expand): Likewise.
1175         * streams/fattach.c (fattach): Likewise.
1176         * streams/fdetach.c (fdetach): Likewise.
1177         * streams/getmsg.c (getmsg): Likewise.
1178         * streams/isastream.c (isastream): Likewise.
1179         * string/ffs.c (__ffs): Likewise.
1180         * string/ffsll.c (ffsll): Likewise.
1181         * string/memcmp.c (memcmp_common_alignment): Likewise.
1182         (memcmp_not_common_alignment): Likewise.
1183         (MEMCMP): Likewise.
1184         * string/memcpy.c (memcpy): Likewise.
1185         * string/memmove.c (MEMMOVE): Likewise.
1186         * string/memset.c (memset): Likewise.
1187         * string/rawmemchr.c (RAWMEMCHR): Likewise.
1188         * string/strchrnul.c (STRCHRNUL): Likewise.
1189         * string/strerror.c (strerror): Likewise.
1190         * string/strndup.c (__strndup): Likewise.
1191         * string/strverscmp.c (__strverscmp): Likewise.
1192         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
1193         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
1194         (clnttcp_freeres): Likewise.
1195         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
1196         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
1197         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
1198         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
1199         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
1200         (xdr_callhdr): Likewise.
1201         * sunrpc/rpcinfo.c (udpping): Likewise.
1202         (tcpping): Likewise.
1203         (pstatus): Likewise.
1204         (pmapdump): Likewise.
1205         (brdcst): Likewise.
1206         (deletereg): Likewise.
1207         (getprognum): Likewise.
1208         (getvers): Likewise.
1209         (get_inet_address): Likewise.
1210         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
1211         * sunrpc/svc_udp.c (svcudp_create): Likewise.
1212         (svcudp_stat): Likewise.
1213         (svcudp_recv): Likewise.
1214         (svcudp_reply): Likewise.
1215         (svcudp_getargs): Likewise.
1216         (svcudp_freeargs): Likewise.
1217         (svcudp_destroy): Likewise.
1218         * sunrpc/xdr.c (xdr_bytes): Likewise.
1219         (xdr_netobj): Likewise.
1220         (xdr_string): Likewise.
1221         (xdr_wrapstring): Likewise.
1222         * sunrpc/xdr_float.c (xdr_float): Likewise.
1223         (xdr_double): Likewise.
1224         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
1225         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
1226         * sysvipc/ftok.c (ftok): Likewise.
1227         * sysvipc/msgctl.c (msgctl): Likewise.
1228         * sysvipc/msgget.c (msgget): Likewise.
1229         * sysvipc/msgrcv.c (msgrcv): Likewise.
1230         * sysvipc/msgsnd.c (msgsnd): Likewise.
1231         * sysvipc/semget.c (semget): Likewise.
1232         * sysvipc/semop.c (semop): Likewise.
1233         * sysvipc/shmat.c (shmat): Likewise.
1234         * sysvipc/shmctl.c (shmctl): Likewise.
1235         * sysvipc/shmdt.c (shmdt): Likewise.
1236         * sysvipc/shmget.c (shmget): Likewise.
1237         * termios/cfmakeraw.c (cfmakeraw): Likewise.
1238         * termios/speed.c (cfgetospeed): Likewise.
1239         (cfgetispeed): Likewise.
1240         (cfsetospeed): Likewise.
1241         (cfsetispeed): Likewise.
1242         * termios/tcflow.c (tcflow): Likewise.
1243         * termios/tcflush.c (tcflush): Likewise.
1244         * termios/tcgetattr.c (__tcgetattr): Likewise.
1245         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
1246         * termios/tcgetsid.c (tcgetsid): Likewise.
1247         * termios/tcsendbrk.c (tcsendbreak): Likewise.
1248         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
1249         * time/adjtime.c (__adjtime): Likewise.
1250         * time/dysize.c (dysize): Likewise.
1251         * time/ftime.c (ftime): Likewise.
1252         * time/getitimer.c (__getitimer): Likewise.
1253         * time/gettimeofday.c (__gettimeofday): Likewise.
1254         * time/gmtime.c (__gmtime_r): Likewise.
1255         (gmtime): Likewise.
1256         * time/localtime.c (__localtime_r): Likewise.
1257         (localtime): Likewise.
1258         * time/offtime.c (__offtime): Likewise.
1259         * time/settimeofday.c (__settimeofday): Likewise.
1260         * time/stime.c (stime): Likewise.
1261         * time/strftime_l.c (tm_diff): Likewise.
1262         (iso_week_days): Likewise.
1263         * time/strptime.c (strptime): Likewise.
1264         * time/time.c (time): Likewise.
1265         * time/timespec_get.c (timespec_get): Likewise.
1266         * time/tzset.c (tzset_internal): Likewise.
1267         (compute_change): Likewise.
1268         (__tz_compute): Likewise.
1269         * wcsmbs/btowc.c (__btowc): Likewise.
1270         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
1271         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
1272         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
1273         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
1274         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
1275         * wcsmbs/wcscat.c (__wcscat): Likewise.
1276         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1277         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
1278         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
1279         * wcsmbs/wcscspn.c (wcscspn): Likewise.
1280         * wcsmbs/wcsdup.c (wcsdup): Likewise.
1281         * wcsmbs/wcslen.c (__wcslen): Likewise.
1282         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
1283         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
1284         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
1285         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
1286         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1287         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
1288         * wcsmbs/wcsspn.c (wcsspn): Likewise.
1289         * wcsmbs/wcsstr.c (wcsstr): Likewise.
1290         * wcsmbs/wcstok.c (wcstok): Likewise.
1291         * wcsmbs/wctob.c (wctob): Likewise.
1292         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
1293         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1294         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
1295         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
1296         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
1297         * wcsmbs/wmemset.c (__wmemset): Likewise.
1298         * wctype/wcfuncs.c (__towlower): Likewise.
1299         (__towupper): Likewise.
1301         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
1302         (lll_unlock_elision): Add adapt_count parameter.
1304 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
1306         * sysdeps/nptl/configure.ac: Do not give errors based on the
1307         results of top-level configure tests.
1308         * sysdeps/nptl/configure: Regenerated.
1310         * configure.ac (libc_cv_Bgroup): Remove configure test.
1311         * configure: Regenerated.
1312         * config.make.in (have-Bgroup): Remove variable.
1314         * configure.ac (sizeof_long_double): Remove configure test.
1315         * configure: Regenerated.
1316         * config.make.in (sizeof-long-double): Remove variable.
1318         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
1319         * configure: Regenerated.
1320         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
1321         variable.
1322         (exceptions): Likewise.
1323         * sysdeps/arm/configure: Regenerated.
1324         * config.make.in (exceptions): Remove variable.
1325         * Makeconfig (uses-callbacks): Use -fexceptions instead of
1326         $(exceptions).
1327         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
1328         (CFLAGS-vdprintf_chk.c): Likewise.
1329         (CFLAGS-printf_chk.c): Likewise.
1330         (CFLAGS-fprintf_chk.c): Likewise.
1331         (CFLAGS-vprintf_chk.c): Likewise.
1332         (CFLAGS-vfprintf_chk.c): Likewise.
1333         (CFLAGS-gets_chk.c): Likewise.
1334         (CFLAGS-fgets_chk.c): Likewise.
1335         (CFLAGS-fgets_u_chk.c): Likewise.
1336         (CFLAGS-fread_chk.c): Likewise.
1337         (CFLAGS-fread_u_chk.c): Likewise.
1338         (CFLAGS-wprintf_chk.c): Likewise.
1339         (CFLAGS-fwprintf_chk.c): Likewise.
1340         (CFLAGS-vwprintf_chk.c): Likewise.
1341         (CFLAGS-vfwprintf_chk.c): Likewise.
1342         (CFLAGS-fgetws_chk.c): Likewise.
1343         (CFLAGS-fgetws_u_chk.c): Likewise.
1344         * libio/Makefile (CFLAGS-fileops.c): Likewise.
1345         (CFLAGS-fputc.c): Likewise.
1346         (CFLAGS-fputwc.c): Likewise.
1347         (CFLAGS-freopen64.c): Likewise.
1348         (CFLAGS-freopen.c): Likewise.
1349         (CFLAGS-fseek.c): Likewise.
1350         (CFLAGS-fseeko64.c): Likewise.
1351         (CFLAGS-fseeko.c): Likewise.
1352         (CFLAGS-ftello64.c): Likewise.
1353         (CFLAGS-ftello.c): Likewise.
1354         (CFLAGS-fwide.c): Likewise.
1355         (CFLAGS-genops.c): Likewise.
1356         (CFLAGS-getc.c): Likewise.
1357         (CFLAGS-getchar.c): Likewise.
1358         (CFLAGS-getwc.c): Likewise.
1359         (CFLAGS-getwchar.c): Likewise.
1360         (CFLAGS-iofclose.c): Likewise.
1361         (CFLAGS-iofflush.c): Likewise.
1362         (CFLAGS-iofgetpos64.c): Likewise.
1363         (CFLAGS-iofgetpos.c): Likewise.
1364         (CFLAGS-iofgets.c): Likewise.
1365         (CFLAGS-iofgetws.c): Likewise.
1366         (CFLAGS-iofputs.c): Likewise.
1367         (CFLAGS-iofputws.c): Likewise.
1368         (CFLAGS-iofread.c): Likewise.
1369         (CFLAGS-iofsetpos64.c): Likewise.
1370         (CFLAGS-iofsetpos.c): Likewise.
1371         (CFLAGS-ioftell.c): Likewise.
1372         (CFLAGS-iofwrite.c): Likewise.
1373         (CFLAGS-iogetdelim.c): Likewise.
1374         (CFLAGS-iogetline.c): Likewise.
1375         (CFLAGS-iogets.c): Likewise.
1376         (CFLAGS-iogetwline.c): Likewise.
1377         (CFLAGS-ioputs.c): Likewise.
1378         (CFLAGS-ioseekoff.c): Likewise.
1379         (CFLAGS-ioseekpos.c): Likewise.
1380         (CFLAGS-iosetbuffer.c): Likewise.
1381         (CFLAGS-iosetvbuf.c): Likewise.
1382         (CFLAGS-ioungetc.c): Likewise.
1383         (CFLAGS-ioungetwc.c): Likewise.
1384         (CFLAGS-oldfileops.c): Likewise.
1385         (CFLAGS-oldiofclose.c): Likewise.
1386         (CFLAGS-oldiofgetpos64.c): Likewise.
1387         (CFLAGS-oldiofgetpos.c): Likewise.
1388         (CFLAGS-oldiofsetpos64.c): Likewise.
1389         (CFLAGS-oldiofsetpos.c): Likewise.
1390         (CFLAGS-peekc.c): Likewise.
1391         (CFLAGS-putc.c): Likewise.
1392         (CFLAGS-putchar.c): Likewise.
1393         (CFLAGS-putwc.c): Likewise.
1394         (CFLAGS-putwchar.c): Likewise.
1395         (CFLAGS-rewind.c): Likewise.
1396         (CFLAGS-wfileops.c): Likewise.
1397         (CFLAGS-wgenops.c): Likewise.
1398         (CFLAGS-oldiofopen.c): Likewise.
1399         (CFLAGS-iofopen.c): Likewise.
1400         (CFLAGS-iofopen64.c): Likewise.
1401         (CFLAGS-oldtmpfile.c): Likewise.
1402         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
1403         (CFLAGS-fprintf.c): Likewise.
1404         (CFLAGS-printf.c): Likewise.
1405         (CFLAGS-vfwprintf.c): Likewise.
1406         (CFLAGS-vfscanf.c): Likewise.
1407         (CFLAGS-vfwscanf.c): Likewise.
1408         (CFLAGS-fscanf.c): Likewise.
1409         (CFLAGS-scanf.c): Likewise.
1410         (CFLAGS-isoc99_vfscanf.c): Likewise.
1411         (CFLAGS-isoc99_vscanf.c): Likewise.
1412         (CFLAGS-isoc99_fscanf.c): Likewise.
1413         (CFLAGS-isoc99_scanf.c): Likewise.
1414         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
1415         (CFLAGS-isoc99_fwscanf.c): Likewise.
1416         (CFLAGS-isoc99_vwscanf.c): Likewise.
1417         (CFLAGS-isoc99_vfwscanf.c): Likewise.
1419         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
1420         after mkstemp64.
1421         * login/tst-utmp.c (do_prepare): Likewise.
1422         * rt/tst-aio.c (do_prepare): Likewise.
1423         * rt/tst-aio64.c (do_prepare): Likewise.
1425 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1427         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1428         (__lll_lock_elision): Remove adapt_count decrement...
1429         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1430         (__lll_trylock_elision): Likewise.
1431         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1432         (__lll_unlock_elision): ... to here. And utilize
1433         new adapt_count parameter.
1434         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1435         (__lll_unlock_elision): Update to include adapt_count
1436         parameter.
1437         (lll_unlock_elision): Pass pointer to adapt_count
1438         variable.
1440 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1442         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
1443         Add elision adapt_count parameter to list of arguments.
1444         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1445         (lll_unlock_elision): Update with new parameter list
1446         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1447         (lll_unlock_elision): Likewise
1448         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
1449         (lll_unlock_elision): Likewise
1451 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1453         [BZ #19122]
1454         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
1455         attribute_hidden.
1457         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
1458         attribute_hidden.
1459         [IS_IN (rtld)] (__strdup): Likewise.
1460         [IS_IN (rtld)] (__strerror_r): Likewise.
1461         [IS_IN (rtld)] (__strsep_g): Likewise.
1462         [IS_IN (rtld)] (memchr): Likewise.
1463         [IS_IN (rtld)] (memcmp): Likewise.
1464         [IS_IN (rtld)] (memcpy): Likewise.
1465         [IS_IN (rtld)] (memmove): Likewise.
1466         [IS_IN (rtld)] (memset): Likewise.
1467         [IS_IN (rtld)] (rawmemchr): Likewise.
1468         [IS_IN (rtld)] (stpcpy): Likewise.
1469         [IS_IN (rtld)] (strchr): Likewise.
1470         [IS_IN (rtld)] (strcmp): Likewise.
1471         [IS_IN (rtld)] (strlen): Likewise.
1472         [IS_IN (rtld)] (strnlen): Likewise.
1473         [IS_IN (rtld)] (strsep): Likewise.
1475         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
1476         attribute_hidden.
1477         [IS_IN (rtld)] (__strtoul_internal): Likewise.
1479         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
1480         attribute_hidden.
1481         [IS_IN (rtld)] (__libc_sigaction): Likewise.
1483         * include/setjmp.h (__longjmp): Add attribute_hidden.
1484         [IS_IN (rtld)] (__sigsetjmp): Likewise.
1486         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
1487         Add attribute_hidden.
1489         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
1490         [IS_IN (rtld)] (__open): Likewise.
1491         [IS_IN (rtld)] (__fcntl): Likewise.
1493         * include/dirent.h (__opendirat): Add attribute_hidden.
1494         (__getdents): Likewise.
1495         (__getdents64): Likewise.
1496         (__alloc_dir): Likewise.
1497         [IS_IN (rtld)] (__closedir): Likewise.
1498         [IS_IN (rtld)] (__fdopendir): Likewise.
1499         [IS_IN (rtld)] (__readdir): Likewise.
1500         [IS_IN (rtld)] (__readdir64): Likewise.
1501         [IS_IN (rtld)] (__rewinddir): Likewise.
1503         * include/dlfcn.h (_dl_catch_error): Moved to ...
1504         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
1505         attribute_hidden.
1507         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
1508         (_itoa_word): Likewise.
1510         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
1511         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
1512         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
1513         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
1514         (_dl_higher_prime_number): Likewise.
1515         (_dl_debug_printf_c): Likewise.
1516         (_dl_signal_cerror): Likewise.
1517         (_dl_receive_error): Likewise.
1518         (_dl_reloc_bad_type): Likewise.
1519         (_dl_resolve_conflicts): Likewise.
1520         (_dl_check_all_versions): Likewise.
1521         (_dl_check_map_versions): Likewise.
1522         (_dl_sort_fini): Likewise.
1523         (_dl_debug_initialize): Likewise.
1524         (_dl_init_paths): Likewise.
1525         (_dl_show_auxv): Likewise.
1526         (_dl_next_ld_env_entry): Likewise.
1527         (_dl_important_hwcaps): Likewise.
1528         (_dl_load_cache_lookup): Likewise.
1529         (_dl_update_slotinfo): Likewise.
1530         (_dl_show_scope): Likewise.
1532         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
1533         attribute_hidden.
1534         (_wordcopy_fwd_dest_aligned): Likewise.
1535         (_wordcopy_bwd_aligned): Likewise.
1536         (_wordcopy_bwd_dest_aligned): Likewise.
1538         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1539         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
1540         Likewise.
1541         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
1542         Likewise.
1543         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
1545 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1547         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
1548         GCC 5 requirement.
1550 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
1552         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
1553         test.
1554         * sysdeps/i386/configure: Regenerated.
1555         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
1556         code unconditional.
1558         * configure.ac (libc_cv_asm_previous_directive): Remove configure
1559         test.
1560         (libc_cv_asm_popsection_directive): Likewise.
1561         * configure: Regenerated.
1562         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
1563         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
1564         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
1565         (__make_section_unallocated): Make definition unconditional.
1566         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
1567         Remove conditional definition.
1568         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
1569         (__make_section_unallocated): Likewise.
1571         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
1572         * configure: Regenerated.
1573         * config.make.in (static-libgcc): Remove variable.
1574         * Makerules (build-shlib-helper): Use -static-libgcc instead of
1575         $(static-libgcc).
1576         (build-module-helper): Likewise.
1578         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
1579         * configure: Regenerated.
1581 2015-10-15  Florian Weimer  <fweimer@redhat.com>
1583         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
1584         (struct char_buffer): New type.
1585         (char_buffer_start, char_buffer_size, char_buffer_error)
1586         (char_buffer_rewind, char_buffer_add): New functions.
1587         (ADDW): Remove macro, replaced by the char_buffer_add function.
1588         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
1589         of extend_alloca.  Make control flow more explicit.
1591 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1593         [BZ #19137]
1594         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
1595         Add -fomit-frame-pointer.
1596         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
1598 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1600         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
1601         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
1602         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
1603         only if !__GNUC_PREREQ (5,0).
1604         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
1605         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
1606         (INTERNAL_SYSCALL_NCS): Likewise.
1607         (LOADREGS_0): New macro for GCC 5.
1608         (ASMARGS_0): Likewise.
1609         (LOADREGS_1): Likewise.
1610         (ASMARGS_1): Likewise.
1611         (LOADREGS_2): Likewise.
1612         (ASMARGS_2): Likewise.
1613         (LOADREGS_3): Likewise.
1614         (ASMARGS_3): Likewise.
1615         (LOADREGS_4): Likewise.
1616         (ASMARGS_4): Likewise.
1617         (LOADREGS_5): Likewise.
1618         (ASMARGS_5): Likewise.
1619         (LOADREGS_6): Likewise.
1620         (ASMARGS_6): Likewise.
1622 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1624         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
1625         -fomit-frame-pointer.
1626         (CFLAGS-mmap64.c): Likewise.
1627         (CFLAGS-semtimedop.c): Likewise.
1628         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
1629         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
1630         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1631         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1633 2015-10-15  Florian Weimer  <fweimer@redhat.com>
1635         [BZ #18928]
1636         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
1637         _dl_pointer_guard member.
1638         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
1639         initializer.
1640         (security_init): Always set up pointer guard.
1641         (process_envvars): Do not process LD_POINTER_GUARD.
1643 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
1645         [BZ #19134]
1646         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
1647         (.LC2): Likewise.
1648         (.LC3): Likewise.
1649         (__lround): Do not add 0.5 to integer or out-of-range arguments.
1651 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1653         [BZ #19129]
1654         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
1655         r0 and r1.
1657 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
1659         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
1661 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
1663         * include/stap-probe.h: Fix macro definition formatting.
1665 2015-10-14  Florian Weimer  <fweimer@redhat.com>
1667         [BZ #19074]
1668         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
1669         load and store num_ifs.
1671 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
1673         [BZ #18822]
1674         * sysdeps/unix/sysv/linux/sched_getaffinity.c
1675         (__sched_getaffinity_new): Add libc_hidden_proto and
1676         libc_hidden_def.
1678 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
1680         [BZ #19007]
1681         * scripts/localplt.awk: Also allow GOT references.
1682         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
1683         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
1684         with "+ REL R_386_GLOB_DAT".
1685         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
1686         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
1688 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
1690         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
1691         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1692         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
1693         Likewise.
1694         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
1695         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
1696         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
1697         INTERNAL_SYSCALLINTERNAL_SYSCALL and
1698         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1699         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
1700         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1701         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
1702         Likewise.
1703         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1705 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
1707         [BZ #19125]
1708         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
1709         <math_private.h> and <stdint.h>.
1710         (__llround): Avoid conversions to and from long long int, and
1711         subtractions, where those might raise spurious exceptions.
1712         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
1713         <math_private.h> and <stdint.h>.
1714         (__llroundf): Avoid conversions to and from long long int, and
1715         subtractions, where those might raise spurious exceptions.
1717 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
1719         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
1720         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1721         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1722         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
1723         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1724         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1725         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
1726         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
1727         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
1728         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1729         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1730         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1731         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
1732         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1733         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1734         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
1735         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
1736         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1737         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
1738         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
1739         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1740         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
1741         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
1742         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1743         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
1744         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1745         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
1746         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1747         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1748         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
1749         (__xstat64_conv): Likewise.
1750         (__xstat32_conv): Likewise.
1752 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
1754         * sysdeps/unix/sysv/linux/sysdep.h: New file.
1755         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
1756         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
1757         <sysdeps/unix/sysv/linux/sysdep.h>.
1758         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1759         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
1760         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
1761         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1762         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1763         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
1764         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
1765         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1766         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1769         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1770         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1771         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1772         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1773         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1774         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
1775         (sysdep-dl-routines): Add sysdep.
1776         [$(subdir) == nptl] (libpthread-routines): Likewise.
1777         [$(subdir) == rt] (librt-routines): Likewise.
1778         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
1779         PIC when branching to SYSCALL_ERROR_LABEL.
1780         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
1781         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
1782         <sysdeps/unix/sysv/linux/sysdep.h>.
1783         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
1784         (SYSCALL_ERROR_ERRNO): Removed.
1785         (SYSCALL_ERROR_HANDLER): Changed to empty.
1786         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
1787         (__syscall_error): New prototype.
1788         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
1789         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
1791 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
1793         [BZ #19124]
1794         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
1795         (_dl_runtime_resolve_avx512): Make it a hidden alias of
1796         _dl_runtime_resolve_avx.
1797         (_dl_runtime_profile_avx512): Make it a hidden alias of
1798         _dl_runtime_profile_avx.
1800 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
1802         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
1803         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
1804         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
1805         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
1807         [BZ #16422]
1808         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
1809         New configure test.
1810         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
1811         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
1812         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
1813         <math_private.h> and <stdint.h>.
1814         (__llrint): Avoid conversions to long long int where those might
1815         raise spurious exceptions.
1816         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
1817         <math_private.h> and <stdint.h>.
1818         (__llrintf): Avoid conversions to long long int where those might
1819         raise spurious exceptions.
1821 2015-10-12  Andreas Schwab  <schwab@suse.de>
1823         [BZ #18969]
1824         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
1825         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
1826         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
1827         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
1828         $(gen-locales).
1829         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
1830         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
1831         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
1832         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
1833         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
1834         $(gen-locales).
1835         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
1836         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
1837         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
1838         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
1839         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
1840         ($(objpfx)tst-ftell-active-handler.out)
1841         ($(objpfx)tst-ftell-append.out)
1842         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
1843         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
1844         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
1845         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
1846         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
1847         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
1848         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
1849         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
1850         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
1851         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
1852         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
1853         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
1854         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
1855         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
1856         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
1857         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
1858         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
1859         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
1860         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
1861         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
1862         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
1863         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
1864         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
1865         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
1866         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
1867         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
1868         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
1869         $(gen-locales).
1870         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
1871         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
1872         $(gen-locales).
1873         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
1874         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
1875         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
1876         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
1877         $(gen-locales).
1878         * libio/tst_wprintf2.c (main): Use explicit locale.
1879         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
1881 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1883         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
1884         __msg_sig_post.
1885         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
1887 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
1889         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1890         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1892         * sysdeps/arm/libm-test-ulps: Regenerated.
1894         [BZ #15470]
1895         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
1897         [BZ #16399]
1898         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
1899         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
1900         and <fix-fp-int-convert-overflow.h>.
1901         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
1902         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1903         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
1904         and <fix-fp-int-convert-overflow.h>.
1905         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
1906         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1907         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
1908         <fix-fp-int-convert-overflow.h>.
1909         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
1910         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1911         * sysdeps/ieee754/dbl-64/s_lround.c: Include
1912         <fix-fp-int-convert-overflow.h>.
1913         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
1914         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1915         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
1916         and <fix-fp-int-convert-overflow.h>.
1917         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
1918         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1919         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
1920         <limits.h> and <fix-fp-int-convert-overflow.h>.
1921         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
1922         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1923         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
1924         and <fix-fp-int-convert-overflow.h>.
1925         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
1926         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1927         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
1928         and <fix-fp-int-convert-overflow.h>.
1929         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
1930         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1931         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
1933 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
1935         [BZ #18589]
1936         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
1937         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
1938         $(gen-locales).
1940 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1941             Phil Blundell <pb@pbcl.net>
1943         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
1944         * nptl/tst-cancel26.c: New file.
1945         * nptl/tst-cancel27.c: Likewise.
1947 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
1949         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
1950         __ILP32__ isn't defined.
1951         (lrint): Likewise.
1952         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
1953         (lrintf): Likewise.
1954         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
1955         (lrintl): Likewise.
1956         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
1957         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
1958         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
1960 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1962         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1963         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1965         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
1966         file.
1967         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
1968         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
1970 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
1972         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
1973         configure test.
1974         * sysdeps/i386/configure: Regenerated.
1975         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
1976         configure test.
1977         * sysdeps/x86_64/configure: Regenerated.
1978         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
1979         Make code unconditional.
1981         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
1982         test.
1983         * sysdeps/i386/configure: Regenerated.
1984         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
1985         test.
1986         * sysdeps/x86_64/configure: Regenerated.
1987         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
1988         Make code unconditional.
1989         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1990         Likewise.
1991         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
1992         Likewise.
1993         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1994         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
1995         code unconditional.
1996         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1997         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
1998         code unconditional.
1999         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2000         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
2001         code unconditional.
2002         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
2003         code unconditional.
2004         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2005         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
2006         code unconditional.
2007         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2008         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
2009         code unconditional.
2010         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2011         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
2012         code unconditional.
2013         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2014         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
2015         code unconditional.
2016         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2017         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
2019         [BZ #19095]
2020         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
2021         mantissa to long int before shifting left.
2023 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
2025         [BZ #19094]
2026         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
2027         <limits.h>.
2028         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2029         when result overflows but exception would not result from cast.
2030         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
2031         <limits.h>.
2032         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2033         when result overflows but exception would not result from cast.
2034         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
2035         <limits.h>.
2036         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2037         when result overflows but exception would not result from cast.
2038         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
2039         <limits.h>.
2040         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2041         when result overflows but exception would not result from cast.
2042         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
2043         <limits.h>.
2044         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2045         when result overflows but exception would not result from cast.
2046         * math/libm-test.inc (lrint_test_data): Add more tests.
2047         (llrint_test_data): Likewise.
2049 2015-10-08  Roland McGrath  <roland@hack.frob.com>
2051         [BZ #18872]
2052         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
2053         Move out from under [$(run-built-tests) = yes] conditional.
2054         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
2055         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
2057 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
2059         [BZ #18589]
2060         * string/Makefile (tests): Add bug-strcoll2.
2061         (LOCALES): Add cs_CZ.UTF-8.
2062         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
2064         [BZ #18589]
2065         * string/bug-strcoll2.c: New file.
2066         * locale/categories.def: Revert commit
2067         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
2068         * locale/langinfo.h: Likewise.
2069         * locale/localeinfo.h: Likewise.
2070         * locale/C-collate.c: Likewise.
2071         * locale/programs/ld-collate.c (collate_output): Likewise.
2072         * string/strcoll_l.c (STRDIFF): Likewise.
2073         (STRCOLL): Likewise.
2074         * wcsmbs/wcscoll_l.c: Likewise.
2076 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
2078         * math/libm-test.inc (lround_test_data): Do not expect the absence
2079         of "inexact" for some tests with non-integer arguments.
2080         (llround_test_data): Likewise.
2082         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
2083         test.
2084         (libc_cv_cc_sse2avx): Likewise.
2085         * sysdeps/i386/configure: Regenerated.
2086         * sysdeps/i386/i686/multiarch/Makefile
2087         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
2088         [$(subdir) = math].
2089         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
2090         code unconditional.
2091         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
2092         Likewise.
2093         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
2094         Likewise.
2095         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
2096         Likewise.
2097         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
2098         test.
2099         (libc_cv_cc_sse2avx): Likewise.
2100         * sysdeps/x86_64/configure: Regenerated.
2101         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
2102         unconditional.
2103         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
2104         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
2105         unconditional.
2106         (_dl_runtime_profile)
2107         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
2108         conditional code.
2109         * sysdeps/x86_64/fpu/multiarch/Makefile
2110         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
2111         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
2112         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2113         * sysdeps/x86_64/fpu/multiarch/e_exp.c
2114         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2115         * sysdeps/x86_64/fpu/multiarch/e_log.c
2116         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2117         * sysdeps/x86_64/fpu/multiarch/s_atan.c
2118         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2119         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
2120         Likewise.
2121         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
2122         Likewise.
2123         * sysdeps/x86_64/fpu/multiarch/s_sin.c
2124         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2125         * sysdeps/x86_64/fpu/multiarch/s_tan.c
2126         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2127         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
2128         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
2129         (HAVE_SSE2AVX_SUPPORT): Likewise.
2131 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
2133         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
2134         instead of #pragma optimize.
2136 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
2138         [BZ #17195]
2139         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
2140         as is similarly done in systrim and _int_free already.
2142 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2144         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
2146 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2148         [BZ #19088]
2149         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
2150         <limits.h>.
2151         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
2152         overflows but exception would not result from cast.
2153         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
2154         and <limits.h>.
2155         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
2156         overflows but exception would not result from cast.
2157         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
2158         <limits.h>.
2159         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
2160         overflows but exception would not result from cast.
2161         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
2162         <limits.h>.
2163         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
2164         overflows but exception would not result from cast.
2165         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
2166         <limits.h>.
2167         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
2168         overflows but exception would not result from cast.
2169         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
2170         <limits.h>.
2171         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
2172         overflows but exception would not result from cast.
2173         * math/libm-test.inc (lround_test_data): Add more tests.
2174         (llround_test_data): Likewise.
2176 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
2178         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
2179         (CFLAGS-ialloc.c): Ditto.
2180         (CFLAGS-scheck.c): Ditto.
2182 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
2184         [BZ #19086]
2185         * manual/filesys.texi (Storage Allocation): Fix argument order for
2186         posix_fallocate64.
2188 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2190         [BZ #19085]
2191         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
2192         exponent below 48 inside case for non-overflowing exponent.
2193         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
2195 2015-10-07  Florian Weimer  <fweimer@redhat.com>
2197         * iconvdata/cp737.h (from_idx): Add const.
2198         * iconvdata/cp775.h (from_idx): Likewise.
2200 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2202         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
2203         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
2204         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
2206         [BZ #19079]
2207         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
2208         file, conditioned on [!_LP64].
2209         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
2210         [!_LP64] (__lround): Do not define as function or alias.
2211         [!_LP64] (lround): Likewise.
2212         [!_LP64] (__lroundl): Likewise.
2213         [!_LP64] (lroundl): Likewise.
2214         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
2215         macro.
2216         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2217         Likewise.
2219 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
2221         * math/libm-test.inc (lrint_test_data): Add more tests.
2222         (llrint_test_data): Likewise.
2223         (lround_test_data): Likewise.
2224         (llround_test_data): Likewise.
2226         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
2227         (llrint_test_data): Add tests used for lrint.
2229         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
2230         test.
2231         * sysdeps/i386/configure: Regenerated.
2232         * sysdeps/i386/i686/multiarch/Makefile
2233         [$(config-cflags-sse4) = yes]: Make code unconditional.
2234         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
2235         Likewise.
2236         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
2237         Likewise.
2238         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
2239         test.
2240         * sysdeps/x86_64/configure: Regenerated.
2241         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
2242         Make code unconditional.
2243         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
2244         Likewise.
2245         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
2246         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
2248         * scripts/rpm2dynsym.sh: Remove file.
2250 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2252         * configure.ac (libc_cv_cxx_thread_local): Define.
2253         * configure: Regenerate.
2254         * config.make.in (have-cxx-thread_local): Define.
2255         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
2256         (LDLIBS-tst-thread_local1): Define.
2257         (tests): Add tst-thread_local1.
2258         [have-cxx-thread_local != yes] (tests-unsupported): Add
2259         tst-thread_local1.
2260         * nptl/tst-thread_local1.cc: New file.
2262 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
2264         [BZ #19078]
2265         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
2266         (u_thres): Likewise.
2267         (__expl): Determine whether to call __kernel_standard_l based on
2268         value of result, not argument.
2270         * math/libm-test.inc (scalb_test_data): Add more expectations for
2271         the "inexact" exception.
2273         [BZ #19077]
2274         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
2275         0.0L for argument 1.0L.
2277         [BZ #19076]
2278         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
2279         constant 0.0L when computing infinite result.
2281 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2283         [BZ #10432]
2284         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
2285         malloc_usable_size.
2287 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2289         [BZ #19018]
2290         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2291         Mangle function pointer before storing it.
2292         (__call_tls_dtors): Demangle function pointer before calling it.
2294 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2296         [BZ #19012]
2297         * iconv/gconv_db.c (gen_steps): Check for additional errors.
2298         Clean up on failure.
2300 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
2302         [BZ #19071]
2303         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
2304         long int variable to store possibly incremented high part of
2305         mantissa.
2306         * math/libm-test.inc (lround_test_data): Add tests used for
2307         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
2308         for tests requiring 64-bit long.  Do not condition tests on
2309         [TEST_FLOAT] unnecessarily.
2310         (llround_test_data): Add tests used for lround.  Add another
2311         expectation for the "inexact" exception.  Do not condition tests
2312         on [TEST_FLOAT] unnecessarily.
2314         [BZ #887]
2315         [BZ #19049]
2316         [BZ #19050]
2317         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
2318         * sysdeps/ieee754/dbl-64/e_log10.c: Include
2319         <fix-int-fp-convert-zero.h>.
2320         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2321         * sysdeps/ieee754/dbl-64/e_log2.c: Include
2322         <fix-int-fp-convert-zero.h>.
2323         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2324         * sysdeps/ieee754/dbl-64/s_erf.c: Include
2325         <fix-int-fp-convert-zero.h>.
2326         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2327         * sysdeps/ieee754/dbl-64/s_logb.c: Include
2328         <fix-int-fp-convert-zero.h>.
2329         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2330         * sysdeps/ieee754/flt-32/e_log10f.c: Include
2331         <fix-int-fp-convert-zero.h>.
2332         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2333         * sysdeps/ieee754/flt-32/e_log2f.c: Include
2334         <fix-int-fp-convert-zero.h>.
2335         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2336         * sysdeps/ieee754/flt-32/s_erff.c: Include
2337         <fix-int-fp-convert-zero.h>.
2338         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2339         * sysdeps/ieee754/flt-32/s_logbf.c: Include
2340         <fix-int-fp-convert-zero.h>.
2341         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2342         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
2343         <fix-int-fp-convert-zero.h>.
2344         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2345         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
2346         <fix-int-fp-convert-zero.h>.
2347         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2348         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
2349         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
2350         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
2351         file.
2352         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
2354 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
2356         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2358 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
2360         [BZ #19059]
2361         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
2362         overflowing computation.
2363         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2364         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
2365         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2366         Likewise.
2367         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2368         Likewise.
2369         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
2370         Likewise.
2371         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2372         Likewise.
2373         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2374         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2375         Likewise.
2376         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2377         Likewise.
2378         * math/libm-test.inc (nexttoward_test_data): Add more tests.
2380         * nss/rewrite_field.c (__nss_rewrite_field): Use
2381         internal_function.
2382         * nss/valid_field.c (__nss_valid_field): Likewise.
2383         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
2385 2015-10-02  Florian Weimer  <fweimer@redhat.com>
2387         [BZ #18724]
2388         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
2389         (__nss_invalid_field_characters, __nss_valid_field)
2390         (__nss_valid_list_field, __nss_rewrite_field): Declare.
2391         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
2392         tst-field.c: New file.
2393         * nss/Makefile (routines): Add valid_field, rewrite_field.
2394         (tests-static): Define unconditionally.
2395         (tests): Include tests-static.
2396         [build-static-nss] (tests-static): Use append.
2397         [build-static-nss] (tests): Remove modification.
2398         * nss/getent.c (print_group): Call putgrent.  Report error.
2399         (print_gshadow): Call putsgent.  Report error.
2400         (print_passwd): Call putpwent.  Report error.
2401         (print_shadow): Call putspent.  Report error.
2402         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
2403         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
2404         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
2405         name, password, directory, shell fields for valid syntax.  Rewrite
2406         GECOS field to match syntax.
2407         * pwd/Makefile (tests): Add tst-putpwent.
2408         * pwd/tst-putpwent.c: New file.
2409         * grp/putgrent.c (putgrent): Convert to ISO function definition.
2410         Check grName, grpasswd, gr_mem fields for valid syntax.
2411         Change loop variable i to size_t.
2412         * grp/Makefile (tests): Add tst-putgrent.
2413         * grp/tst-putgrent.c: New file.
2414         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
2415         valid syntax.
2416         * shadow/Makefile (tests): Add tst-putspent.
2417         * shadow/tst-putspent.c: New file.
2418         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
2419         sg_mem fields for valid syntax.
2420         * gshadow/Makefile (tests): Add tst-putsgent.
2421         * gshadow/tst-putsgent.c: New file.
2423 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2425         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
2426         assembly instructions.
2428 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2430         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
2431         prefix from operands.
2433 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
2435         [BZ #16347]
2436         [BZ #19046]
2437         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
2438         <libc-internal.h>.
2439         (MAXLGM): Do not use diagnostic control macros.
2440         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
2441         threshold for ldbl-128ibm.
2442         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
2443         instead of multiplying by log then subtracting.
2444         * math/auto-libm-test-in: Add more tests of lgamma.
2445         * math/auto-libm-test-out: Regenerated.
2447         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
2448         (TYPE_HEX_DIG): Likewise.
2449         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
2450         precisions when printing floating-point numbers.
2451         (check_float_internal): Likewise.
2453 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
2455         [BZ #16620]
2456         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
2457         of log (10) rounded downward to 48 bits.
2458         (log10_low): Use corresponding low part of log (10).
2460         [BZ #19032]
2461         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
2462         compute result as (x - x) / (x - x) not as 0 / 0.
2463         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2464         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
2466         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2467         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
2468         and expm1.
2469         * math/auto-libm-test-out: Regenerated.
2470         * math/libm-test.inc (acos_test_data): Add more tests.
2471         (asin_test_data): Likewise.
2472         (asinh_test_data): Likewise.
2473         (atan_test_data): Likewise.
2474         (atanh_test_data): Likewise.
2475         (atan2_test_data): Likewise.
2476         (cbrt_test_data): Likewise.
2477         (ceil_test_data): Likewise.
2478         (copysign_test_data): Likewise.
2479         (cos_test_data): Likewise.
2480         (cosh_test_data): Likewise.
2481         (erf_test_data): Likewise.
2482         (erfc_test_data): Likewise.
2483         (exp_test_data): Likewise.
2484         (exp10_test_data): Likewise.
2485         (exp2_test_data): Likewise.
2486         (expm1_test_data): Likewise.
2487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2489 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
2491         [BZ #19006]
2492         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
2493         to ...
2494         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
2495         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
2496         to ...
2497         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
2498         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
2499         to ...
2500         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
2501         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
2502         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
2503         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
2504         to ...
2505         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
2506         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2507         Moved to ...
2508         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
2509         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2510         Moved to ...
2511         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
2512         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
2513         to ...
2514         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
2515         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2516         Moved to ...
2517         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
2518         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
2519         to ...
2520         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
2521         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
2522         Removed.
2523         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
2524         Likewise.
2525         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
2526         Likewise.
2527         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
2528         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
2529         Likewise.
2530         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2531         Likewise.
2532         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2533         Likewise.
2534         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2535         Likewise.
2536         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2537         Likewise.
2538         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
2539         Likewise.
2540         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
2541         Likewise.
2542         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
2543         Likewise.
2544         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
2545         Likewise.
2546         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
2547         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
2548         Likewise.
2549         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2550         Likewise.
2551         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2552         Likewise.
2553         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2554         Likewise.
2555         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
2556         Likewise.
2557         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2558         Replace ../i486/pthread_cond_timedwait.S with
2559         ../pthread_cond_timedwait.S.
2561 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
2563         * math/libm-test.inc (acos_test_data): Refine expectations for
2564         errno and "inexact" exceptions.
2565         (acosh_test_data): Likewise.
2566         (asin_test_data): Likewise.
2567         (asinh_test_data): Likewise.
2568         (atan_test_data): Likewise.
2569         (atanh_test_data): Likewise.
2570         (atan2_test_data): Likewise.
2571         (cbrt_test_data): Likewise.
2572         (ceil_test_data): Likewise.
2573         (copysign_test_data): Likewise.
2574         (cosh_test_data): Likewise.
2575         (erf_test_data): Likewise.
2576         (erfc_test_data): Likewise.
2577         (exp_test_data): Likewise.
2578         (exp10_test_data): Likewise.
2579         (exp2_test_data): Likewise.
2580         (expm1_test_data): Likewise.
2581         (fabs_test_data): Likewise.
2582         (floor_test_data): Likewise.
2583         (fma_test_data): Likewise.
2584         (fmax_test_data): Likewise.
2585         (fmin_test_data): Likewise.
2586         (fmod_test_data): Likewise.
2587         (fpclassify_test_data): Likewise.
2588         (frexp_test_data): Likewise.
2589         (hypot_test_data): Likewise.
2590         (ilogb_test_data): Likewise.
2591         (isgreater_test_data): Likewise.
2592         (isgreaterequal_test_data): Likewise.
2593         (isinf_test_data): Likewise.
2594         (isless_test_data): Likewise.
2595         (islessequal_test_data): Likewise.
2596         (islessgreater_test_data): Likewise.
2597         (isnan_test_data): Likewise.
2598         (isnormal_test_data): Likewise.
2599         (issignaling_test_data): Likewise.
2600         (isunordered_test_data): Likewise.
2601         (j0_test_data): Likewise.
2602         (j1_test_data): Likewise.
2603         (jn_test_data): Likewise.
2604         (lgamma_test_data): Likewise.
2605         (lrint_test_data): Likewise.
2606         (llrint_test_data): Likewise.
2607         (log_test_data): Likewise.
2608         (log10_test_data): Likewise.
2609         (log1p_test_data): Likewise.
2610         (log2_test_data): Likewise.
2611         (logb_test_data): Likewise.
2612         (lround_test_data): Likewise.
2613         (llround_test_data): Likewise.
2614         (modf_test_data): Likewise.
2615         (nearbyint_test_data): Likewise.
2616         (nextafter_test_data): Likewise.
2617         (nexttoward_test_data): Likewise.
2618         (pow_test_data): Likewise.
2619         (remainder_test_data): Likewise.
2620         (remquo_test_data): Likewise.
2621         (rint_test_data): Likewise.
2622         (round_test_data): Likewise.
2623         (signbit_test_data): Likewise.
2624         (sinh_test_data): Likewise.
2625         (sqrt_test_data): Likewise.
2626         (tanh_test_data): Likewise.
2627         (tgamma_test_data): Likewise.
2628         (trunc_test_data): Likewise.
2629         (y0_test_data): Likewise.
2630         (y1_test_data): Likewise.
2631         (yn_test_data): Likewise.
2632         (significand_test_data): Likewise.
2634 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
2636         * manual/filesys.texi (Storage Allocation): Document that
2637         posix_fallocate emulation fails when fd is open with O_WRONLY.
2639 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
2641         [BZ #19016]
2642         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
2643         allow more cases with X^2 + Y^2 >= 0.5.
2644         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
2645         normal element in sum instead of special-casing based on values of
2646         arguments.
2647         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
2648         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
2649         -1 as normal element in sum instead of special-casing based on
2650         values of arguments.
2651         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
2652         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
2653         (__x2y2m1): Update comment.
2654         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
2655         as normal element in sum instead of special-casing based on values
2656         of arguments.
2657         * math/s_clog.c (__clog): Handle more cases using log1p without
2658         hypot.
2659         * math/s_clog10.c (__clog10): Likewise.
2660         * math/s_clog10f.c (__clog10f): Likewise.
2661         * math/s_clog10l.c (__clog10l): Likewise.
2662         * math/s_clogf.c (__clogf): Likewise.
2663         * math/s_clogl.c (__clogl): Likewise.
2664         * math/auto-libm-test-in: Add more tests of clog and clog10.
2665         * math/auto-libm-test-out: Regenerated.
2666         * sysdeps/i386/fpu/libm-test-ulps: Update.
2667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2669 2015-09-28  Martin Sebor  <msebor@redhat.com>
2671         [BZ #18969]
2672         * string/Makefile (LOCALES): Define.
2673         (gen-locales.mk): Include.
2674         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
2675         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
2676         * string/tst-strxfrm2.c (do_test): Print the name of the locale
2677         on setlocale failure.
2679 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
2681         [BZ #18985]
2682         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
2683         (__strftime_internal): Likewise.
2684         * time/tst-strftime.c (do_bz18985): New test.
2685         (do_test): Call it.
2687 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
2689         [BZ #18956]
2690         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
2691         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
2692         extracting high part.
2693         * math/auto-libm-test-in: Add another test of pow.
2694         * math/auto-libm-test-out: Regenerated.
2695         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2697 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
2699         [BZ #18825]
2700         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
2701         New macro.
2702         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
2703         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
2704         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
2705         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
2706         DBL_NARROW_EVAL, reloading the PIC register as needed.
2707         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
2708         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
2709         FLT_NARROW_EVAL.  Use separate return path for case when first
2710         argument is NaN.
2711         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
2712         DEFINE_LDBL_MIN.
2713         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
2714         PIC register.
2715         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
2716         math_check_force_underflow_nonneg.
2717         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
2718         underflow for subnormal result.
2719         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2720         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
2721         math_check_force_underflow_nonneg.
2722         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
2723         math_check_force_underflow.
2724         * sysdeps/x86_64/fpu/x86_64-math-asm.h
2725         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
2726         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
2727         DEFINE_LDBL_MIN.
2728         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
2729         * math/auto-libm-test-in: Add more tests of pow.
2730         * math/auto-libm-test-out: Regenerated.
2732 2015-09-25  Florian Weimer  <fweimer@redhat.com>
2734         * nss/bug17079.c (init_test_items): Add diagnostic for
2735         inconsistent entries.
2736         (test_buffer_size): Skip inconsistent entries.
2738 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
2740         [BZ #13304]
2741         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
2742         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
2743         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
2745         [BZ #13304]
2746         * sysdeps/microblaze/s_fma.c: New file.
2747         * sysdeps/microblaze/s_fmaf.c: Likewise.
2748         * sysdeps/microblaze/sfp-machine.h: Likewise.
2750 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
2752         [BZ #17250]
2753         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
2754         member.
2756 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
2758         [BZ #18803]
2759         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
2760         (MO): New macro.
2761         (__ieee754_hypot) [PIC]: Load PIC register.
2762         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
2763         DBL_NARROW_EVAL.
2764         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
2765         math_check_force_underflow_nonneg in case where result might be
2766         tiny.
2767         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2768         Likewise.
2769         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2770         Likewise.
2771         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2772         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
2773         * math/auto-libm-test-in: Add more tests of hypot.
2774         * math/auto-libm-test-out: Regenerated.
2776 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
2778         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
2780 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
2782         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
2783         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
2784         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
2785         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
2786         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
2787         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
2788         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
2790         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
2791         LOAD_PIC_REG.
2793         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
2794         (FLT_CHECK_FORCE_UFLOW): Likewise.
2795         (DBL_CHECK_FORCE_UFLOW): Likewise.
2796         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
2797         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
2798         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
2799         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
2800         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
2801         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
2802         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
2803         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
2804         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
2805         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2806         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
2807         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
2808         (flt_min): Replace with use of DEFINE_FLT_MIN.
2809         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
2810         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
2811         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2812         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
2813         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
2814         (flt_min): Replace with use of DEFINE_FLT_MIN.
2815         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
2816         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
2817         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2818         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
2819         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
2820         (flt_min): Replace with use of DEFINE_FLT_MIN.
2821         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
2822         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
2823         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
2824         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
2825         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
2826         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
2827         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
2828         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
2829         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2830         (__atan): Use DBL_CHECK_FORCE_UFLOW.
2831         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
2832         (flt_min): Replace with use of DEFINE_FLT_MIN.
2833         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
2834         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
2835         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2836         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
2837         main computation.
2838         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
2839         (flt_min): Replace with use of DEFINE_FLT_MIN.
2840         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
2841         main computation.
2842         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
2843         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2844         (MO): New macro.
2845         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
2846         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
2847         (flt_min): Replace with use of DEFINE_FLT_MIN.
2848         (MO): New macro.
2849         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
2850         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
2851         (__log1pl): Use MO.
2853         [BZ #19003]
2854         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
2855         $(config-cflags-nofma).
2857 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2859         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2861 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
2863         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
2864         (TWO127): Likewise.
2866         * sysdeps/generic/math_private.h (fabs_tg): New macro.
2867         (min_of_type): Likewise.
2868         (math_check_force_underflow): Likewise.
2869         (math_check_force_underflow_nonneg): Likewise.
2870         (math_check_force_underflow_complex): Likewise.
2871         * math/e_exp2l.c (__ieee754_exp2l): Use
2872         math_check_force_underflow_nonneg.
2873         * math/k_casinh.c (__kernel_casinh): Likewise.
2874         * math/k_casinhf.c (__kernel_casinhf): Likewise.
2875         * math/k_casinhl.c (__kernel_casinhl): Likewise.
2876         * math/s_catan.c (__catan): Use
2877         math_check_force_underflow_complex.
2878         * math/s_catanf.c (__catanf): Likewise.
2879         * math/s_catanh.c (__catanh): Likewise.
2880         * math/s_catanhf.c (__catanhf): Likewise.
2881         * math/s_catanhl.c (__catanhl): Likewise.
2882         * math/s_catanl.c (__catanl): Likewise.
2883         * math/s_ccosh.c (__ccosh): Likewise.
2884         * math/s_ccoshf.c (__ccoshf): Likewise.
2885         * math/s_ccoshl.c (__ccoshl): Likewise.
2886         * math/s_cexp.c (__cexp): Likewise.
2887         * math/s_cexpf.c (__cexpf): Likewise.
2888         * math/s_cexpl.c (__cexpl): Likewise.
2889         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
2890         * math/s_clog10.c (__clog10): Likewise.
2891         * math/s_clog10f.c (__clog10f): Likewise.
2892         * math/s_clog10l.c (__clog10l): Likewise.
2893         * math/s_clogf.c (__clogf): Likewise.
2894         * math/s_clogl.c (__clogl): Likewise.
2895         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
2896         * math/s_csinf.c (__csinf): Likewise.
2897         * math/s_csinh.c (__csinh): Likewise.
2898         * math/s_csinhf.c (__csinhf): Likewise.
2899         * math/s_csinhl.c (__csinhl): Likewise.
2900         * math/s_csinl.c (__csinl): Likewise.
2901         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
2902         * math/s_csqrtf.c (__csqrtf): Likewise.
2903         * math/s_csqrtl.c (__csqrtl): Likewise.
2904         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
2905         * math/s_ctanf.c (__ctanf): Likewise.
2906         * math/s_ctanh.c (__ctanh): Likewise.
2907         * math/s_ctanhf.c (__ctanhf): Likewise.
2908         * math/s_ctanhl.c (__ctanhl): Likewise.
2909         * math/s_ctanl.c (__ctanl): Likewise.
2910         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
2911         instead of volatile.
2912         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
2913         math_check_force_underflow.
2914         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2915         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
2916         volatile when forcing underflow.
2917         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2918         math_check_force_underflow_nonneg.
2919         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
2920         Likewise.
2921         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
2922         math_check_force_underflow.
2923         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2924         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2925         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2926         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
2927         math_check_force_underflow_nonneg.
2928         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
2929         math_check_force_underflow.
2930         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
2931         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
2932         instead of volatile.
2933         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
2934         math_check_force_underflow.
2935         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
2936         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2937         math_check_force_underflow_nonneg.
2938         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
2939         math_check_force_underflow.
2940         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
2941         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
2942         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
2943         math_check_force_underflow_nonneg.
2944         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
2945         Likewise.
2946         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
2947         math_check_force_underflow.
2948         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2949         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
2950         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
2951         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
2952         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
2953         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
2954         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
2955         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
2956         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2957         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
2958         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
2959         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
2960         Likewise.
2961         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
2962         math_check_force_underflow_nonneg.
2963         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
2964         Likewise.
2965         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
2966         math_check_force_underflow.
2967         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2968         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
2969         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2970         Likewise.
2971         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
2972         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
2973         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
2974         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
2975         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
2976         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
2977         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
2978         instead of volatile.
2979         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
2980         math_check_force_underflow.
2981         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
2982         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
2983         math_check_force_underflow.
2984         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
2985         Likewise.
2986         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2987         Use math_check_force_underflow_nonneg.
2988         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
2989         math_check_force_underflow.
2990         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
2991         Likewise.
2992         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2993         Likewise.
2994         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2995         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2996         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2997         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2998         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
2999         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3000         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
3001         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
3002         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
3003         math_check_force_underflow_nonneg.
3004         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
3005         math_check_force_underflow.
3006         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3007         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
3008         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
3009         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
3010         math_check_force_underflow_nonneg.
3011         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
3012         math_check_force_underflow.
3013         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
3014         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
3015         instead of volatile.
3016         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
3017         math_check_force_underflow.
3019         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
3020         * stdlib/strtod_l.c: Include <math_private.h>.
3021         (overflow_value): Use math_narrow_eval.
3022         (underflow_value): Likewise.
3023         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3024         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
3025         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
3026         (__ieee754_gamma_r): Likewise.
3027         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
3028         Likewise.
3029         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
3030         Likewise.
3031         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
3032         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
3033         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
3034         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
3035         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
3036         (__ieee754_gammaf_r): Likewise.
3037         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3038         Likewise.
3039         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
3040         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
3041         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
3042         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
3043         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
3044         volatile.
3045         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
3046         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
3047         math_narrow_eval.
3048         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
3049         Likewise.
3050         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3051         Likewise.
3052         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
3053         Likewise.
3054         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
3055         volatile.
3056         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
3057         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
3058         math_narrow_eval.
3059         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3060         Likewise.
3061         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3062         Likewise.
3064 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
3066         * nptl/Versions: Remove ignored symbols.
3068 2015-09-22  Florian Weimer  <fweimer@redhat.com>
3070         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
3071         * nss/Makefile (tests): Update.
3073 2015-09-22  Florian Weimer  <fweimer@redhat.com>
3075         * nss/bug18287.c: New file.
3076         * nss/Makefile (tests): Add bug18287.
3078 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3080         * mach/Versions (__mach_host_self_): Add symbol.
3082 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3084         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
3085         vm_page_size.
3087 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3089         Really fix sysdeps/i386/fpu/s_scalbn.S build
3091         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
3092         (libc: GLIBC_2_22): Remove unused version set.
3094 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
3096         * config.make.in (enable-timezone-tools): New variable.
3097         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
3098         (enable_timezone_tools): Export to generated files.
3099         * configure: Regenerate.
3100         * INSTALL: Regenerate.
3101         * manual/install.texi (--disable-timezone-tools): Document new flag.
3102         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
3103         ifeq ($(enable-timezone-tools),yes) check.
3105 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3107         * timezone/Makefile: Revert previous change.
3109         [BZ #18980]
3110         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
3111         (DEFINE_DBL_MIN): Likewise.
3112         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
3113         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
3114         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
3115         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
3116         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
3117         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3118         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3119         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
3120         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
3121         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3122         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3123         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
3124         (flt_min): Replace with use of DEFINE_FLT_MIN.
3125         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3126         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
3127         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3128         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3129         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
3130         (flt_min): Replace with use of DEFINE_FLT_MIN.
3131         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3132         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
3133         (flt_min): Replace with use of DEFINE_FLT_MIN.
3134         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3135         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
3136         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
3137         (__ieee754_hypot): Use DBL_NARROW_EVAL.
3138         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
3139         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
3140         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
3141         (__ieee754_pow): Use DBL_NARROW_EVAL.
3142         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
3143         (__ieee754_powf): Use FLT_NARROW_EVAL.
3144         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
3145         (__ieee754_expf_sse2): Convert double-precision result to single
3146         precision.
3147         * sysdeps/i386/fpu/libm-test-ulps: Update.
3149 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3151         * timezone/Makefile: Ignore unused variable errors due to private.h
3152         (time_t_min) and (time_t_max).
3153         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
3154         Likewise.
3156 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3158         [BZ #18981]
3159         * sysdeps/i386/fpu/i386-math-asm.h: New file.
3160         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
3161         (__ieee754_scalb): Use DBL_NARROW_EVAL.
3162         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
3163         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
3164         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
3165         (__scalbn): Use DBL_NARROW_EVAL.
3166         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
3167         (__scalbnf): Use FLT_NARROW_EVAL.
3169 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3171         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
3172         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
3173         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
3174         * stdio-common/printf_fp.c (___printf_fp):
3175         Use signbit to get the sign. Use isinf macro to allow inlining.
3176         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
3177         * stdio-common/printf_size.c (__printf_size): Likewise.
3179 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
3181         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
3183 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3185         [BZ #18980]
3186         * sysdeps/generic/math_private.h: Include <float.h>.
3187         (math_narrow_eval): New macro.
3188         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
3189         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
3190         math_narrow_eval on overflowing return value.
3191         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
3192         Likewise.
3193         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3194         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
3195         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
3196         Likewise.
3197         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
3199 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3201         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
3202         * math/Makefile: Remove isinf_ns.c.
3203         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
3204         * math/multc3.c (__multc3): Likewise.
3205         * math/s_casin.c (__casin): Likewise.
3206         * math/s_casinf.c (__casinf): Likewise.
3207         * math/s_casinl.c (__casinl): Likewise.
3208         * math/s_cproj.c (__cproj): Likewise.
3209         * math/s_cprojf.c (__cprojf): Likewise.
3210         * math/s_cprojl.c (__cprofl): Likewise.
3211         * math/s_ctan.c (__ctan): Likewise.
3212         * math/s_ctanf.c (__ctanf): Likewise.
3213         * math/s_ctanh.c (__ctanh): Likewise.
3214         * math/s_ctanhf.c (__ctanhf): Likewise.
3215         * math/s_ctanhl.c (__ctanhl): Likewise.
3216         * math/s_ctanl.c (__ctanl): Likewise.
3217         * math/w_fmod.c (__fmod): Likewise.
3218         * math/w_fmodf.c (__fmodf): Likewise.
3219         * math/w_fmodl.c (_fmodl): Likewise.
3220         * math/w_remainder.c (__remainder): Likewise.
3221         * math/w_remainderf.c (__remainderf): Likewise.
3222         * math/w_remainderl.c (__remainderl): Likewise.
3223         * math/w_scalb.c (__scalb): Likewise.
3224         * math/w_scalbf.c (__scalbf): Likewise.
3225         * math/w_scalbl.c (__scalbl): Likewise.
3226         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
3227         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
3228         with isinf.
3229         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
3230         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
3231         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
3232         __isinf_nsf with isinf.
3233         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
3234         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
3235         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
3236         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
3237         with isinf.
3238         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
3239         __isinf_nsl with isinf.
3240         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
3241         with isinf.
3242         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
3243         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
3244         __isinf_nsl with isinf.
3245         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
3246         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
3247         with isinf.
3249 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3251         * resolv/base64.c (rcsid): Remove unused static.
3252         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
3253         static.  (tqpi1): Likewise.
3254         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
3255         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
3256         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
3257         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
3258         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
3259         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
3260         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
3261         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
3262         Likewise.
3264 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
3266         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
3267         <nptl/pthreadP.h>.
3268         (_longjmp_unwind): Use __libc_ptf_call.
3269         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
3271 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
3273         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
3274         * sysdeps/arm/__longjmp.S: Likewise
3276 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3278         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
3279         Use __builtin_signbit.
3280         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
3281         Use __builtin_signbitf.
3282         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
3283         Use __builtin_signbitl.
3284         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3285         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
3287 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3289         [BZ #15367]
3290         [BZ #17441]
3292         * math/Makefile: Build test-snan.c with -fsignaling-nans.
3293         * math/math.h (fpclassify): Use __builtin_fpclassify when
3294         available.  (signbit): Use __builtin_signbit(f/l).
3295         (isfinite): Use__builtin_isfinite.  (isnormal): Use
3296         __builtin_isnormal.  (isnan): Use __builtin_isnan.
3297         (isinf): Use __builtin_isinf_sign.
3299 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3301         * benchtests/Makefile: Add bench-math-inlines, link with libm.
3302         * benchtests/bench-math-inlines.c: New benchmark.
3303         * benchtests/bench-util.h: New file.
3304         * benchtests/bench-util.c: New file.
3305         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
3307 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
3309         * elf/tst-dlmopen1.c: Define TEST_SO.
3310         (do_test): Use TEST_SO.
3312         * elf/dl-load.c: Include libc-internal.h.
3313         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
3315 2015-09-18  Vincent Bernat  <vincent@bernat.im>
3317         [BZ #17887]
3318         * time/strptime_l.c (__strptime_internal): Make %z accept
3319         [+-]HH:MM time zones.
3321 2015-09-18  Vincent Bernat  <vincent@bernat.im>
3323         [BZ #17886]
3324         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
3325         valid time zone.
3327 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
3329         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
3330         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
3331         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3332         (__ASSUME_FDATASYNC): Delete.
3334 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3336         * conform/linknamespace.pl: Require weak undefined symbols to be
3337         in the standard namespace.
3338         (%strong_syms): Rename to %seen_syms.
3339         (%strong_seen): Rename to %seen_where.
3341 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
3343         [BZ #18970]
3344         * misc/error.c (error): Replace pthread_setcancelstate with
3345         __pthread_setcancelstate.
3346         (error_at_line): Likewise.
3347         * posix/wordexp.c (parse_comm): Likewise.
3348         * stdlib/fmtmsg.c (fmtmsg): Likewise.
3349         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
3350         (__pthread_setcancelstate): This.
3351         (pthread_setcancelstate): Add an alias.
3352         * nptl/nptl-init.c (pthread_functions): Replace
3353         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
3354         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
3355         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
3356         hidden_proto.
3357         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
3358         it with hidden_def.
3359         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
3360         (pthread_setcancelstate): Renamed to ...
3361         (__pthread_setcancelstate): This.
3362         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
3363         __libc_ptf_call with __pthread_setcancelstate.
3365 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3366             Andreas Schwab  <schwab@suse.de>
3368         [BZ #17118]
3369         * math/s_ctan.c (__ctan): Determine sign of zero real part of
3370         result when imaginary part of argument is infinite using sine and
3371         cosine.
3372         * math/s_ctanf.c (__ctanf): Likewise.
3373         * math/s_ctanl.c (__ctanl): Likewise.
3374         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
3375         of result when real part of argument is infinite using sine and
3376         cosine.
3377         * math/s_ctanhf.c (__ctanhf): Likewise.
3378         * math/s_ctanhl.c (__ctanhl): Likewise.
3379         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
3380         (ctanh_test_data): Add more tests of ctanh.
3382 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3384         [BZ #15384]
3385         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
3386         bit-mask as in subtraction.
3387         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
3388         Likewise.
3389         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
3390         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
3391         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
3393         [BZ #18951]
3394         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
3395         underflow exception for small results.
3396         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3397         Likewise.
3398         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3399         Likewise.
3400         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3401         Likewise.
3402         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3403         Likewise.
3404         * math/auto-libm-test-in: Add more tests of tgamma.
3405         * math/auto-libm-test-out: Regenerated.
3407 2015-09-17  Andreas Schwab  <schwab@suse.de>
3409         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
3411 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
3413         [BZ #18977]
3414         * math/bits/mathcalls.h
3415         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
3416         not declare.
3417         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
3418         Likewise.
3419         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
3420         Likewise.
3421         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
3422         Likewise.
3423         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
3424         Likewise.
3425         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
3426         Likewise.
3427         * conform/data/math.h-data
3428         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
3429         function.
3430         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
3431         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
3432         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
3433         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
3434         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
3435         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
3436         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
3437         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
3438         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
3439         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
3440         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
3442         [BZ #6803]
3443         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
3444         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
3445         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
3446         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
3447         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
3448         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
3449         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
3450         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
3451         [NO_LONG_DOUBLE] (scalbnl): Likewise.
3452         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
3453         Likewise.
3454         [NO_LONG_DOUBLE] (scalbnl): Likewise.
3455         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
3456         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
3457         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
3458         long_double_symbol calls.
3459         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
3460         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
3461         strong alias of __ldexpl.
3462         (scalbnl): Define using long_double_symbol.
3463         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
3464         Remove alias.
3465         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
3466         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
3467         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
3468         (scalbln_test_data): Add more errno expectations.
3470 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
3472         Cache the host port like we cache the task port.  This way we do not
3473         need to call the kernel just to get the port.  Furthermore, we no
3474         longer increase the reference count on every invocation of
3475         `mach_host_self'.
3477         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
3478         Protect declarations against the macro expansion.
3479         * mach/mach_init.c (__mach_host_self_): New variable.
3480         (mach_init): Initialize `__mach_host_self_'.
3481         * mach/mach_init.h (__mach_host_self_): New declaration.
3482         (__mach_host_self, mach_host_self): New macros.
3483         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
3484         Release reference.
3486 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
3488         [BZ #4404]
3489         * po/de.po: Update from Translation Project.
3491         [BZ #16415]
3492         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
3493         (__expm1l): Remove code to handle positive infinity and overflow.
3494         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
3495         variable.
3496         (__expm1l): Remove code to handle positive infinity and overflow.
3498 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
3499             Paul Pluzhnikov  <ppluzhnikov@google.com>
3501         [BZ #18872]
3502         * stdio-common/Makefile (tst-printf-bz18872): New test.
3503         (tst-printf-bz18872-mem.out): Likewise.
3504         * stdio-common/tst-printf-bz18872.sh: Generate new test.
3505         * stdio-common/vfprintf.c: Fix memory leaks.
3507 2015-09-16  Andreas Schwab  <schwab@suse.de>
3509         [BZ #17244]
3510         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
3511         Remove extra va_start/va_end calls.
3513         [BZ #17243]
3514         * posix/execl.c (execl): Add missing va_end.
3515         * posix/execle.c (execle): Likewise.
3516         * posix/execlp.c (execlp): Likewise.
3518 2015-09-15  Roland McGrath  <roland@hack.frob.com>
3520         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
3521         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
3523 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
3525         [BZ #18967]
3526         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
3527         undefine around includes of <bits/mathcalls.h>.
3528         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
3529         not declare function.
3530         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
3531         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
3532         (scalb): Likewise.
3533         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
3534         not define macro.
3535         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
3536         variable.
3537         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3538         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3539         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3541         [BZ #18857]
3542         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
3543         return non-finite argument without doing ordered comparisons on
3544         it.
3546         [BZ #16296]
3547         * math/fenv.h (fegetround): Use __attribute_pure__.
3548         * include/fenv.h (__fegetround): Likewise.
3550         [BZ #18595]
3551         * math/s_ctan.c (__ctan): Force underflow exception for results
3552         whose real or imaginary part has small absolute value.
3553         * math/s_ctanf.c (__ctanf): Likewise.
3554         * math/s_ctanh.c (__ctanh): Likewise.
3555         * math/s_ctanhf.c (__ctanhf): Likewise.
3556         * math/s_ctanhl.c (__ctanhl): Likewise.
3557         * math/s_ctanl.c (__ctanl): Likewise.
3558         * math/auto-libm-test-in: Do not allow missing underflow for ctan
3559         and ctanh.  Add more tests of ctan and ctanh.
3561         [BZ #15918]
3562         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
3563         handling of cases where one argument is an infinity.
3565         [BZ #18875]
3566         [BZ #18966]
3567         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
3568         (MO): New macro.
3569         (__ieee754_exp10): For small results, force underflow exception
3570         and remove excess range and precision from return value.
3571         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
3572         (MO): New macro.
3573         (__ieee754_exp10f): For small results, force underflow exception
3574         and remove excess range and precision from return value.
3575         * math/auto-libm-test-in: Add more tests of exp10.
3576         * math/auto-libm-test-out: Regenerated.
3578 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
3580         [BZ #18875]
3581         [BZ #18961]
3582         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
3583         (MO): New macro.
3584         (__ieee754_exp): For small results, force underflow exception and
3585         remove excess range and precision from return value.
3586         (__exp_finite): Likewise.
3587         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
3588         (MO): New macro.
3589         (__ieee754_expf): For small results, force underflow exception and
3590         remove excess range and precision from return value.
3591         (__expf_finite): Likewise.
3592         * math/auto-libm-test-in: Add more tests of exp.
3593         * math/auto-libm-test-out: Regenerated.
3595         [BZ #16521]
3596         [BZ #18875]
3597         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
3598         small results.
3599         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
3600         (MO): New macro.
3601         (__ieee754_exp2): For small results, force underflow exception and
3602         remove excess range and precision from return value.
3603         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
3604         (MO): New macro.
3605         (__ieee754_exp2f): For small results, force underflow exception
3606         and remove excess range and precision from return value.
3607         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
3608         (MO): New macro.
3609         (__ieee754_exp2l): Force underflow exception for small results.
3610         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3611         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3612         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
3613         (MO): New macro.
3614         (__ieee754_exp2l): Force underflow exception for small results.
3615         * math/auto-libm-test-in: Add more tests or exp2.
3616         * math/auto-libm-test-out: Regenerated.
3618 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
3620         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
3622         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
3623         /dev/null.
3625 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3627         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
3628         io fs process)): Drop spurious backslash.
3630 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3632         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
3633         Use sysinfo system call instead of parsing /proc/meminfo.
3634         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
3635         Likewise.
3637 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
3639         [BZ #16985]
3640         * programs/localedef.c (main): Display argv[remaining] when
3641         output_path is NULL.
3643 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
3645         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3646         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
3647         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
3648         tanh.
3649         * math/auto-libm-test-out: Regenerated.
3650         * sysdeps/i386/fpu/libm-test-ulps: Update.
3651         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3652         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3655 2015-09-11  Roland McGrath  <roland@hack.frob.com>
3657         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
3658         Use 'override' keyword to freeze the value here, preventing
3659         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
3661 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
3663         [BZ #14912]
3664         * sysdeps/aarch64/bits/atomic.h: Move to ...
3665         * sysdeps/aarch64/atomic-machine.h: ...here.
3666         (_AARCH64_BITS_ATOMIC_H): Rename macro to
3667         _AARCH64_ATOMIC_MACHINE_H.
3668         * sysdeps/alpha/bits/atomic.h: Move to ...
3669         * sysdeps/alpha/atomic-machine.h: ...here.
3670         * sysdeps/arm/bits/atomic.h: Move to ...
3671         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
3672         * bits/atomic.h: Move to ...
3673         * sysdeps/generic/atomic-machine.h: ...here.
3674         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3675         * sysdeps/i386/bits/atomic.h: Move to ...
3676         * sysdeps/i386/atomic-machine.h: ...here.
3677         * sysdeps/ia64/bits/atomic.h: Move to ...
3678         * sysdeps/ia64/atomic-machine.h: ...here.
3679         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
3680         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
3681         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3682         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
3683         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
3684         * sysdeps/microblaze/bits/atomic.h: Move to ...
3685         * sysdeps/microblaze/atomic-machine.h: ...here.
3686         * sysdeps/mips/bits/atomic.h: Move to ...
3687         * sysdeps/mips/atomic-machine.h: ...here.
3688         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
3689         * sysdeps/powerpc/bits/atomic.h: Move to ...
3690         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
3691         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
3692         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
3693         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
3694         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
3695         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
3696         <atomic-machine.h> instead of <bits/atomic.h>.
3697         * sysdeps/s390/bits/atomic.h: Move to ...
3698         * sysdeps/s390/atomic-machine.h: ...here.
3699         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
3700         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
3701         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3702         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
3703         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
3704         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
3705         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
3706         * sysdeps/tile/bits/atomic.h: Move to ...
3707         * sysdeps/tile/atomic-machine.h: ...here.
3708         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
3709         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
3710         <sysdeps/tile/atomic-machine.h> instead of
3711         <sysdeps/tile/bits/atomic.h>.
3712         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3713         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
3714         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
3715         <sysdeps/tile/atomic-machine.h> instead of
3716         <sysdeps/tile/bits/atomic.h>.
3717         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3718         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
3719         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
3720         <sysdeps/arm/atomic-machine.h> instead of
3721         <sysdeps/arm/bits/atomic.h>.
3722         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
3723         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
3724         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3725         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
3726         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
3727         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3728         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
3729         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
3730         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
3731         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
3732         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
3733         * sysdeps/x86_64/bits/atomic.h: Move to ...
3734         * sysdeps/x86_64/atomic-machine.h: ...here.
3735         * include/atomic.h: Include <atomic-machine.h> instead of
3736         <bits/atomic.h>.
3738         * sysdeps/mips/mips32/libm-test-ulps: Update.
3739         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3741         [BZ #18952]
3742         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
3743         not convert non-integer negative arguments to int to determine the
3744         value of signgam.
3745         * math/auto-libm-test-in: Add more tests of lgamma.
3746         * math/auto-libm-test-out: Regenerated.
3748         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
3749         cosh, csqrt, erfc, expm1 and lgamma.
3750         * math/auto-libm-test-out: Regenerated.
3751         * sysdeps/i386/fpu/libm-test-ulps: Update.
3752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3754 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
3756         [BZ #2542]
3757         [BZ #2543]
3758         [BZ #2558]
3759         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
3760         __lgamma_neg for arguments from -28.0 to -2.0.
3761         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
3762         __lgamma_negf for arguments from -15.0 to -2.0.
3763         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3764         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
3765         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
3766         Call __lgamma_negl for arguments from -33.0 to -2.0.
3767         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
3768         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
3769         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
3770         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
3771         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3772         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
3773         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
3774         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
3775         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
3776         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
3777         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
3778         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
3779         (__lgamma_neg): Likewise.
3780         (__lgamma_negl): Likewise.
3781         (__lgamma_product): Likewise.
3782         (__lgamma_productl): Likewise.
3783         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
3784         * math/auto-libm-test-in: Add more tests of lgamma.
3785         * math/auto-libm-test-out: Regenerated.
3786         * sysdeps/i386/fpu/libm-test-ulps: Update.
3787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3789 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
3791         [BZ #18675]
3792         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
3794 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
3796         [BZ #14912]
3797         * bits/libc-lock.h: Move to ...
3798         * sysdeps/generic/libc-lock.h: ...here.
3799         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3800         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
3801         * sysdeps/mach/hurd/libc-lock.h: ...here.
3802         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3803         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
3804         * sysdeps/mach/bits/libc-lock.h: Move to ...
3805         * sysdeps/mach/libc-lock.h: ...here.
3806         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3807         * sysdeps/nptl/bits/libc-lock.h: Move to ...
3808         * sysdeps/nptl/libc-lock.h: ...here.
3809         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3810         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
3811         * sysdeps/nptl/libc-lockP.h: ...here.
3812         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
3813         * crypt/crypt_util.c: Include <libc-lock.h> instead of
3814         <bits/libc-lock.h>.
3815         * dirent/scandir-tail.c: Likewise.
3816         * dlfcn/dlerror.c: Likewise.
3817         * elf/dl-close.c: Likewise.
3818         * elf/dl-iteratephdr.c: Likewise.
3819         * elf/dl-lookup.c: Likewise.
3820         * elf/dl-open.c: Likewise.
3821         * elf/dl-support.c: Likewise.
3822         * elf/dl-writev.h: Likewise.
3823         * elf/rtld.c: Likewise.
3824         * grp/fgetgrent.c: Likewise.
3825         * gshadow/fgetsgent.c: Likewise.
3826         * gshadow/sgetsgent.c: Likewise.
3827         * iconv/gconv_conf.c: Likewise.
3828         * iconv/gconv_db.c: Likewise.
3829         * iconv/gconv_dl.c: Likewise.
3830         * iconv/gconv_int.h: Likewise.
3831         * iconv/gconv_trans.c: Likewise.
3832         * include/link.h: Likewise.
3833         * inet/getnameinfo.c: Likewise.
3834         * inet/getnetgrent.c: Likewise.
3835         * inet/getnetgrent_r.c: Likewise.
3836         * intl/bindtextdom.c: Likewise.
3837         * intl/dcigettext.c: Likewise.
3838         * intl/finddomain.c: Likewise.
3839         * intl/gettextP.h: Likewise.
3840         * intl/loadmsgcat.c: Likewise.
3841         * intl/localealias.c: Likewise.
3842         * intl/textdomain.c: Likewise.
3843         * libidn/idn-stub.c: Likewise.
3844         * libio/libioP.h: Likewise.
3845         * locale/duplocale.c: Likewise.
3846         * locale/freelocale.c: Likewise.
3847         * locale/newlocale.c: Likewise.
3848         * locale/setlocale.c: Likewise.
3849         * login/getutent_r.c: Likewise.
3850         * login/getutid_r.c: Likewise.
3851         * login/getutline_r.c: Likewise.
3852         * login/utmp-private.h: Likewise.
3853         * login/utmpname.c: Likewise.
3854         * malloc/mtrace.c: Likewise.
3855         * misc/efgcvt.c: Likewise.
3856         * misc/error.c: Likewise.
3857         * misc/fstab.c: Likewise.
3858         * misc/getpass.c: Likewise.
3859         * misc/mntent.c: Likewise.
3860         * misc/syslog.c: Likewise.
3861         * nis/nis_call.c: Likewise.
3862         * nis/nis_callback.c: Likewise.
3863         * nis/nss-default.c: Likewise.
3864         * nis/nss_compat/compat-grp.c: Likewise.
3865         * nis/nss_compat/compat-initgroups.c: Likewise.
3866         * nis/nss_compat/compat-pwd.c: Likewise.
3867         * nis/nss_compat/compat-spwd.c: Likewise.
3868         * nis/nss_nis/nis-alias.c: Likewise.
3869         * nis/nss_nis/nis-ethers.c: Likewise.
3870         * nis/nss_nis/nis-grp.c: Likewise.
3871         * nis/nss_nis/nis-hosts.c: Likewise.
3872         * nis/nss_nis/nis-network.c: Likewise.
3873         * nis/nss_nis/nis-proto.c: Likewise.
3874         * nis/nss_nis/nis-pwd.c: Likewise.
3875         * nis/nss_nis/nis-rpc.c: Likewise.
3876         * nis/nss_nis/nis-service.c: Likewise.
3877         * nis/nss_nis/nis-spwd.c: Likewise.
3878         * nis/nss_nisplus/nisplus-alias.c: Likewise.
3879         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
3880         * nis/nss_nisplus/nisplus-grp.c: Likewise.
3881         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
3882         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
3883         * nis/nss_nisplus/nisplus-network.c: Likewise.
3884         * nis/nss_nisplus/nisplus-proto.c: Likewise.
3885         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
3886         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
3887         * nis/nss_nisplus/nisplus-service.c: Likewise.
3888         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
3889         * nis/ypclnt.c: Likewise.
3890         * nptl/libc_pthread_init.c: Likewise.
3891         * nss/getXXbyYY.c: Likewise.
3892         * nss/getXXent.c: Likewise.
3893         * nss/getXXent_r.c: Likewise.
3894         * nss/nss_db/db-XXX.c: Likewise.
3895         * nss/nss_db/db-netgrp.c: Likewise.
3896         * nss/nss_db/nss_db.h: Likewise.
3897         * nss/nss_files/files-XXX.c: Likewise.
3898         * nss/nss_files/files-alias.c: Likewise.
3899         * nss/nsswitch.c: Likewise.
3900         * posix/regex_internal.h: Likewise.
3901         * posix/wordexp.c: Likewise.
3902         * pwd/fgetpwent.c: Likewise.
3903         * resolv/res_hconf.c: Likewise.
3904         * resolv/res_libc.c: Likewise.
3905         * shadow/fgetspent.c: Likewise.
3906         * shadow/lckpwdf.c: Likewise.
3907         * shadow/sgetspent.c: Likewise.
3908         * socket/opensock.c: Likewise.
3909         * stdio-common/reg-modifier.c: Likewise.
3910         * stdio-common/reg-printf.c: Likewise.
3911         * stdio-common/reg-type.c: Likewise.
3912         * stdio-common/vfprintf.c: Likewise.
3913         * stdio-common/vfscanf.c: Likewise.
3914         * stdlib/abort.c: Likewise.
3915         * stdlib/cxa_atexit.c: Likewise.
3916         * stdlib/fmtmsg.c: Likewise.
3917         * stdlib/random.c: Likewise.
3918         * stdlib/setenv.c: Likewise.
3919         * string/strsignal.c: Likewise.
3920         * sunrpc/auth_none.c: Likewise.
3921         * sunrpc/bindrsvprt.c: Likewise.
3922         * sunrpc/create_xid.c: Likewise.
3923         * sunrpc/key_call.c: Likewise.
3924         * sunrpc/rpc_thread.c: Likewise.
3925         * sysdeps/arm/backtrace.c: Likewise.
3926         * sysdeps/generic/ldsodefs.h: Likewise.
3927         * sysdeps/generic/stdio-lock.h: Likewise.
3928         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
3929         * sysdeps/i386/backtrace.c: Likewise.
3930         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3931         * sysdeps/m68k/backtrace.c: Likewise.
3932         * sysdeps/mach/hurd/cthreads.c: Likewise.
3933         * sysdeps/mach/hurd/dirstream.h: Likewise.
3934         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
3935         * sysdeps/nptl/malloc-machine.h: Likewise.
3936         * sysdeps/nptl/stdio-lock.h: Likewise.
3937         * sysdeps/posix/dirstream.h: Likewise.
3938         * sysdeps/posix/getaddrinfo.c: Likewise.
3939         * sysdeps/posix/system.c: Likewise.
3940         * sysdeps/pthread/aio_suspend.c: Likewise.
3941         * sysdeps/s390/s390-32/backtrace.c: Likewise.
3942         * sysdeps/s390/s390-64/backtrace.c: Likewise.
3943         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3944         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3945         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
3946         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
3947         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
3948         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3949         * sysdeps/unix/sysv/linux/system.c: Likewise.
3950         * sysdeps/x86_64/backtrace.c: Likewise.
3951         * time/alt_digit.c: Likewise.
3952         * time/era.c: Likewise.
3953         * time/tzset.c: Likewise.
3954         * wcsmbs/wcsmbsload.c: Likewise.
3955         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
3956         instead of <bits/libc-lock.h> in comment.
3958 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
3960         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
3961         Only use .set mips2 if the current ISA is below mips2.
3962         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
3963         Likewise.
3964         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
3965         mips32r2 if the current ISA is below mips32r2.
3966         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
3967         (TLS_IE): Updated to use the TLD_RDHWR macro.
3968         (TLS_LE): Likewise.
3969         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
3970         __ASSEMBLER__ condition.
3972 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3974         Fix parallel build of before-compile targets.
3976         * sysdeps/mach/Makefile ($(patsubst
3977         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
3978         mach-before-compile target.
3979         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
3980         io fs process)): Move rule to dedicated hurd-before-compile target.
3982 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3984         Fix rules generating headers in hurd/ and mach/ when initial make call
3985         has subdir= explicitly set.
3987         * sysdeps/mach/Makefile ($(patsubst
3988         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
3989         calling $(MAKE).
3990         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
3991         io fs process)): Force subdir to hurd when calling $(MAKE).
3992         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
3993         subdir to mach when calling $(MAKE).
3995 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
3997         Check sysheaders when looking for Mach and Hurd headers
3999         * sysdeps/mach/configure.ac: Add sysheaders check.
4000         * sysdeps/mach/configure: Regenerate.
4001         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
4002         * sysdeps/mach/hurd/configure: Regenerate.
4004 2015-09-04  Roland McGrath  <roland@hack.frob.com>
4006         [BZ #18921]
4007         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
4008         Fix inverted sense of test of 'o_directory_works' value.
4009         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
4010         Bernhard Voelker <mail@bernhard-voelker.de>.
4012 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
4014         [BZ #14912]
4015         * bits/linkmap.h: Move to ...
4016         * sysdeps/generic/linkmap.h: ...here.
4017         * sysdeps/aarch64/bits/linkmap.h: Move to ...
4018         * sysdeps/aarch64/linkmap.h: ...here.
4019         * sysdeps/arm/bits/linkmap.h: Move to ...
4020         * sysdeps/arm/linkmap.h: ...here.
4021         * sysdeps/hppa/bits/linkmap.h: Move to ...
4022         * sysdeps/hppa/linkmap.h: ...here.
4023         * sysdeps/ia64/bits/linkmap.h: Move to ...
4024         * sysdeps/ia64/linkmap.h: ...here.
4025         * sysdeps/mips/bits/linkmap.h: Move to ...
4026         * sysdeps/mips/linkmap.h: ...here.
4027         * sysdeps/s390/bits/linkmap.h: Move to ...
4028         * sysdeps/s390/linkmap.h: ...here.
4029         * sysdeps/sh/bits/linkmap.h: Move to ...
4030         * sysdeps/sh/linkmap.h: ...here.
4031         * sysdeps/x86/bits/linkmap.h: Move to ...
4032         * sysdeps/x86/linkmap.h: ...here.
4033         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
4035 2015-09-04  Andreas Schwab  <schwab@suse.de>
4037         [BZ #18635]
4038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
4039         (__makecontext): Terminate FDE before return label.
4040         (__novec_makecontext): Likewise.
4042 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4044         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
4045         first member of struct sv in syscall macro.
4047 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
4049         [BZ #14912]
4050         * bits/stdio-lock.h: Move to ...
4051         * sysdeps/generic/stdio-lock.h: ...here.
4052         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
4053         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
4054         * sysdeps/nptl/stdio-lock.h: ...here.
4055         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
4056         * include/libio.h: Include <stdio-lock.h> instead of
4057         <bits/stdio-lock.h>.
4058         * sysdeps/nptl/fork.c: Likewise.
4059         * sysdeps/pthread/flockfile.c: Likewise.
4060         * sysdeps/pthread/ftrylockfile.c: Likewise.
4061         * sysdeps/pthread/funlockfile.c: Likewise.
4063         [BZ #14912]
4064         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
4065         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
4066         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
4067         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
4068         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
4069         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4070         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
4072 2015-09-03  Roland McGrath  <roland@hack.frob.com>
4074         * elf/Makefile (test-xfail-tst-protected1a): New variable.
4075         (test-xfail-tst-protected1b): New variable.
4077 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
4079         [BZ #14912]
4080         * bits/libc-tsd.h: Move to ...
4081         * sysdeps/generic/libc-tsd.h: ...here.
4082         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
4083         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
4084         * sysdeps/mach/hurd/libc-tsd.h: ...here.
4085         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
4086         * include/ctype.h: Include <libc-tsd.h> instead of
4087         <bits/libc-tsd.h>.
4088         * include/rpc/rpc.h: Likewise.
4089         * locale/localeinfo.h: Likewise.
4090         * sunrpc/rpc_thread.c: Likewise.
4091         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
4092         * sysdeps/nptl/malloc-machine.h: Likewise.
4094         * Makefile (headers): Remove bits/libc-lock.h.
4095         * libio/Makefile (headers): Remove bits/stdio-lock.h.
4097         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
4098         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
4099         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
4100         <bits/stdio-lock.h>.
4101         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
4102         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
4104 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
4106         [BZ #18757]
4107         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
4108         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
4109         BZ #18757.
4111 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
4113         * malloc/mtrace.pl: Filter out NULL entries.
4115 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
4117         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
4118         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
4119         macro.
4121         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
4122         (TCP_CC_INFO): Likewise.
4123         (TCP_SAVE_SYN): Likewise.
4124         (TCP_SAVED_SYN): Likewise.
4126 2015-08-31  Brett Neumeier <brett@neumeier.us>
4128         [BZ #18870]
4129         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
4131 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
4133         [BZ #18873]
4134         Fix broken overflow check in posix_fallocate
4135         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
4136         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4137         Fix parenthesization typo.
4139 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
4141         [BZ #18887]
4142         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
4143         tst-mntent-blank-passno.
4144         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
4145         * misc/tst-mntent-blank-corrupt.c: New test.
4146         * misc/tst-mntent-blank-passno.c: New test ripped from ...
4147         * misc/tst-mntent.c (do_test): ... here.
4149 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
4151         [BZ #4404]
4152         * po/de.po: Fix SIGALRM typo.
4154 2015-08-28  James Perkins  <james@loowit.net>
4156         * time/tst-strptime2.c (tests): Replace short list of test
4157         strings for strptime %z specifier with code which exhaustively
4158         tests every combination of sign and 0 to 5 digits. Tests for
4159         rejection of invalid strings.
4161 2015-08-28  James Perkins  <james@loowit.net>
4163         [BZ #16141]
4164         * time/strptime_l.c (__strptime_internal): Fix %z minutes
4165         calculation, removing incorrect decimal time rounding, so that
4166         all minute values result in a valid seconds value.
4167         * time/strptime_l.c (__strptime_internal): Extend %z time zone
4168         offset range limits to UTC-99:59 through UTC+99:59 to parse
4169         current and historical use cases.
4170         * time/tst-strptime2.c (tests): Modify and add tests for the
4171         strptime %z input field descriptor, specifically conversion of
4172         minutes to seconds and validating an offset range of -9959 to
4173         +9959.
4175 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4176             Dmitry V. Levin  <ldv@altlinux.org>
4178         [BZ #18877]
4179         * posix/Makefile (tests): Add tst-mmap-offset.
4180         * posix/tst-mmap.c: New file.
4181         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
4182         offset calculation for negative values.
4184 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4186         * sysdeps/i386/init-arch.h: New file.
4187         * sysdeps/i386/i586/init-arch.h: Likewise.
4188         * sysdeps/i386/i686/init-arch.h: Likewise.
4189         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
4190         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
4191         * sysdeps/x86/cpu-features.h (bit_I586): New.
4192         (bit_I686): Likewise.
4193         (bit_CX8): Likewise.
4194         (bit_CMOV): Likewise.
4195         (index_CX8): Likewise.
4196         (index_CMOV): Likewise.
4197         (index_I586): Likewise.
4198         (index_I686): Likewise.
4199         (reg_CX8): Likewise.
4200         (reg_CMOV): Likewise.
4201         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
4202         available at compile-time.
4203         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
4204         available at compile-time.
4205         * sysdeps/x86/init-arch.h (USE_I586): New macro.
4206         (USE_I686): Likewise.
4208 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4210         * sysdeps/i386/bcopy.S: New file.
4211         * sysdeps/i386/bzero.S: Likewise.
4212         * sysdeps/i386/memcpy.S: Likewise.
4213         * sysdeps/i386/memmove.S: Likewise.
4214         * sysdeps/i386/mempcpy.S: Likewise.
4215         * sysdeps/i386/memset.S: Likewise.
4216         * sysdeps/i386/bzero.c: Removed.
4217         * sysdeps/i386/memset.c: Likewise.
4218         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
4219         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
4220         * sysdeps/i386/i586/memset_chk.S: Likewise.
4221         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
4222         * sysdeps/i386/memcpy_chk.S: Here.
4223         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
4224         * sysdeps/i386/memmove_chk.S: Here.
4225         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
4226         * sysdeps/i386/mempcpy_chk.S: Likewise.
4227         * sysdeps/i386/i686/memset_chk.S: Moved to ...
4228         * sysdeps/i386/memset_chk.S: Likewise.
4230 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
4232         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
4233         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
4234         file, move DIAG_POP_NEEDS_COMMENT to end of file.
4235         * soft-fp/fmadf4.c: Ditto.
4236         * soft-fp/fmatf4.c: Ditto.
4238 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4240         * sysdeps/i386/i586/Implies: Removed.
4241         * sysdeps/i386/i686/Implies: Likewise.
4243 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4245         * sysdeps/i386/i486/strlen.S: Moved to ...
4246         * sysdeps/i386/strlen.S: Here.
4248 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4250         * sysdeps/i386/i486/strcat.S: Moved to ...
4251         * sysdeps/i386/strcat.S: Here.
4253 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4255         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
4256         * sysdeps/i386/pthread_spin_trylock.S: Here.
4257         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
4258         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
4260 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4262         * sysdeps/i386/i486/string-inlines.c: Moved to ...
4263         * sysdeps/i386/string-inlines.c: Here.
4265 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4267         * sysdeps/i386/i486/htonl.S: Moved ...
4268         * sysdeps/i386/htonl.S: here.
4270 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4272         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
4273         * sysdeps/i386/bits/atomic.h: Here.
4275 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4277         * sysdeps/i386/i486/Versions: Removed.
4279 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4281         [BZ #2898]
4282         * misc/mktemp.c: Add mkdtemp to the link_warning message.
4283         Based on patch by Aurelien Jarno.
4285 2015-08-26  Stan Shebs  <stanshebs@google.com>
4287         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
4288         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4290 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4292         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
4293         * sysdeps/powerpc/dl-procinfo.c:
4294         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
4295         feature so it shows when LD_SHOW_AUXV=1.
4297 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4299         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4300         (__arch_compare_and_exchange_val_32_acq): Remove and use common
4301         definition.  ISA 2.07B no longer requires full sync.
4303 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
4305         [BZ #18863]
4306         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
4307         (si_call_addr): Define.
4308         (si_syscall): Define.
4309         (si_arch): Define.
4311 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4313         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
4314         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
4315         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
4316         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
4317         (__memset_zero_constant_len_parameter): New.
4318         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
4319         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
4320         (__memset_zero_constant_len_parameter): Don't define if
4321         __memset_chk or USE_AS_BZERO are defined.
4323         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
4324         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
4325         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
4327         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
4328         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
4329         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
4330         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
4331         comments.
4332         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
4333         -mno-mmx for $(all-rtld-routines).
4334         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
4335         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
4336         i386.
4338 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4340         * sysdeps/generic/unwind.h
4341         (_Unwind_Word): Use __mode__(__unwind_word__)
4342         instead of __mode__(__word__).
4343         (_Unwind_Sword): Likewise.
4345         * sysdeps/s390/s390-64/utf8-utf16-z9.c
4346         (MAX_NEEDED_INPUT): New define.
4347         (MAX_NEEDED_OUTPUT): New define.
4349         * NEWS: New item for IBM z13 string optimizations.
4351         * sysdeps/s390/multiarch/memrchr-c.c: New File.
4352         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
4353         * sysdeps/s390/multiarch/memrchr.c: Likewise.
4354         * sysdeps/s390/multiarch/Makefile
4355         (sysdep_routines): Add memrchr functions.
4356         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4357         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
4359         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
4360         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
4361         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
4362         * sysdeps/s390/multiarch/Makefile
4363         (sysdep_routines): Add wmemcmp functions.
4364         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4365         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
4366         * benchtests/bench-wmemcmp.c: New File.
4367         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
4369         * sysdeps/s390/multiarch/wmemset-c.c: New File.
4370         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
4371         * sysdeps/s390/multiarch/wmemset.c: Likewise.
4372         * sysdeps/s390/multiarch/Makefile
4373         (sysdep_routines): Add wmemset functions.
4374         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4375         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
4376         * wcsmbs/wmemset.c: Use WMEMSET if defined.
4377         * string/test-memset.c: Add wmemset support.
4378         * wcsmbs/test-wmemset.c: New File.
4379         * wcsmbs/Makefile (strop-tests): Add wmemset.
4380         * benchtests/bench-memset.c: Add wmemset support.
4381         * benchtests/bench-wmemset.c: New File.
4382         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
4384         * sysdeps/s390/multiarch/memccpy-c.c: New File.
4385         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
4386         * sysdeps/s390/multiarch/memccpy.c: Likewise.
4387         * sysdeps/s390/multiarch/Makefile
4388         (sysdep_routines): Add memccpy functions.
4389         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4390         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
4391         * string/memccpy.c: Use MEMCCPY if defined.
4393         * sysdeps/s390/multiarch/memchr-vx.S: New File.
4394         * sysdeps/s390/multiarch/memchr.c: Likewise.
4395         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
4396         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
4397         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
4398         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
4399         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
4400         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
4401         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
4402         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4403         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
4404         and rawmemchr functions.
4405         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4406         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
4407         and wmemchr.
4408         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
4409         * string/test-memchr.c: Add wmemchr support.
4410         * wcsmbs/test-wmemchr.c: New File.
4411         * wcsmbs/Makefile (strop-tests): Add wmemchr.
4412         * benchtests/bench-memchr.c: Add wmemchr support.
4413         * benchtests/bench-wmemchr.c: New File.
4414         * benchtests/Makefile (wcsmbs-bench): wmemchr.
4416         * sysdeps/s390/multiarch/strcspn-c.c: New File.
4417         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
4418         * sysdeps/s390/multiarch/strcspn.c: Likewise.
4419         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
4420         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
4421         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
4422         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
4423         wcscspn functions.
4424         * sysdeps/s390/multiarch/ifunc-impl-list.c
4425         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
4426         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
4427         * string/test-strcspn.c: Add wcscspn support.
4428         * wcsmbs/test-wcscspn.c: New File.
4429         * wcsmbs/Makefile (strop-tests): Add wcscspn.
4430         * benchtests/bench-strcspn.c: Add wcscspn support.
4431         * benchtests/bench-wcscspn.c: New File.
4432         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
4434         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
4435         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
4436         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
4437         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
4438         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
4439         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
4440         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
4441         wcspbrk functions.
4442         * sysdeps/s390/multiarch/ifunc-impl-list.c
4443         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
4444         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
4445         * string/test-strpbrk.c: Add wcspbrk support.
4446         * wcsmbs/test-wcspbrk.c: New File.
4447         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
4448         * benchtests/bench-strpbrk.c: Add wcspbrk support.
4449         * benchtests/bench-wcspbrk.c: New File.
4450         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
4452         * sysdeps/s390/multiarch/strspn-c.c: New File.
4453         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
4454         * sysdeps/s390/multiarch/strspn.c: Likewise.
4455         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
4456         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
4457         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
4458         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
4459         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
4460         wcsspn functions.
4461         * sysdeps/s390/multiarch/ifunc-impl-list.c
4462         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
4463         * string/test-strspn.c: Add wcsspn support.
4464         * wcsmbs/test-wcsspn.c: New File.
4465         * wcsmbs/Makefile (strop-tests): Add wcsspn.
4466         * benchtests/bench-strspn.c: Add wcsspn support.
4467         * benchtests/bench-wcsspn.c: New File.
4468         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
4470         * sysdeps/s390/multiarch/strrchr-c.c: New File.
4471         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
4472         * sysdeps/s390/multiarch/strrchr.c: Likewise.
4473         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
4474         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
4475         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
4476         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
4477         wcsrchr functions.
4478         * sysdeps/s390/multiarch/ifunc-impl-list.c
4479         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
4480         * benchtests/bench-wcsrchr.c: New File.
4481         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
4483         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
4484         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
4485         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
4486         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
4487         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
4488         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
4489         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
4490         wcschrnul functions.
4491         * sysdeps/s390/multiarch/ifunc-impl-list.c
4492         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
4493         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
4494         * string/test-strchr.c: Add wcschrnul support.
4495         * wcsmbs/test-wcschrnul.c: New File.
4496         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
4497         * benchtests/bench-strchr.c: Add wcschrnul support.
4498         * benchtests/bench-wcschrnul.c: New File.
4499         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
4501         * sysdeps/s390/multiarch/strchr-c.c: New File.
4502         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
4503         * sysdeps/s390/multiarch/strchr.c: Likewise.
4504         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
4505         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
4506         * sysdeps/s390/multiarch/wcschr.c: Likewise.
4507         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
4508         wcschr functions.
4509         * sysdeps/s390/multiarch/ifunc-impl-list.c
4510         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
4511         * string/strchr.c (STRCHR): Define and use macro.
4512         * benchtests/bench-wcschr.c: New File.
4513         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
4515         * sysdeps/s390/multiarch/strncmp-c.c: New File.
4516         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
4517         * sysdeps/s390/multiarch/strncmp.c: Likewise.
4518         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
4519         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
4520         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
4521         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
4522         wcsncmp functions.
4523         * sysdeps/s390/multiarch/ifunc-impl-list.c
4524         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
4525         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
4526         * benchtests/bench-strncmp.c: Add wcsncmp support.
4527         * benchtests/bench-wcsncmp.c: New File.
4528         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
4530         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
4531         * sysdeps/s390/multiarch/strcmp.c: Likewise.
4532         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
4533         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
4534         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
4535         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
4536         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4537         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
4538         wcscmp functions.
4539         * sysdeps/s390/multiarch/ifunc-impl-list.c
4540         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
4541         * string/strcmp.c (STRCMP): Define and use macro.
4542         * benchtests/bench-wcscmp.c: New File.
4543         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
4544         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
4545         instead of _HAVE_STRING_ARCH_memchr.
4547         * sysdeps/s390/multiarch/strncat-c.c: New File.
4548         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
4549         * sysdeps/s390/multiarch/strncat.c: Likewise.
4550         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
4551         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
4552         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
4553         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
4554         wcsncat functions.
4555         * sysdeps/s390/multiarch/ifunc-impl-list.c
4556         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
4557         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
4558         * string/test-strncat.c: Add wcsncat support.
4559         * wcsmbs/test-wcsncat.c: New File.
4560         * wcsmbs/Makefile (strop-tests): Add wcsncat.
4561         * benchtests/bench-strncat.c: Add wcsncat support.
4562         * benchtests/bench-wcsncat.c: New File.
4563         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
4565         * sysdeps/s390/multiarch/strcat-c.c: New File.
4566         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
4567         * sysdeps/s390/multiarch/strcat.c: Likewise.
4568         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
4569         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
4570         * sysdeps/s390/multiarch/wcscat.c: Likewise.
4571         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
4572         wcscat functions.
4573         * sysdeps/s390/multiarch/ifunc-impl-list.c
4574         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
4575         * string/strcat.c (STRCAT): Define and use macro.
4576         * wcsmbs/wcscat.c: Use WCSCAT if defined.
4577         * string/test-strcat.c: Add wcscat support.
4578         * wcsmbs/test-wcscat.c: New File.
4579         * wcsmbs/Makefile (strop-tests): Add wcscat.
4580         * benchtests/bench-strcat.c: Add wcscat support.
4581         * benchtests/bench-wcscat.c: New File.
4582         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
4584         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
4585         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
4586         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
4587         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
4588         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
4589         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
4590         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
4591         wcpncpy functions.
4592         * sysdeps/s390/multiarch/ifunc-impl-list.c
4593         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
4594         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
4595         * string/test-stpncpy.c: Add wcpncpy support.
4596         * wcsmbs/test-wcpncpy.c: New File.
4597         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
4598         * benchtests/bench-stpncpy.c: Add wcpncpy support.
4599         * benchtests/bench-wcpncpy.c: New File.
4600         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
4602         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
4603         * sysdeps/s390/multiarch/strncpy.c: Likewise.
4604         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
4605         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
4606         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
4607         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
4608         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4609         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
4610         wcsncpy functions.
4611         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
4612         * sysdeps/s390/multiarch/ifunc-impl-list.c
4613         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
4614         * string/test-strncpy.c: Add wcsncpy support.
4615         * wcsmbs/test-wcsncpy.c: New File.
4616         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
4617         * benchtests/bench-strncpy.c: Add wcsncpy support.
4618         * benchtests/bench-wcsncpy.c: New File.
4619         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
4621         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
4622         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
4623         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
4624         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
4625         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
4626         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
4627         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
4628         wcpcpy functions.
4629         * string/stpcpy.c: Use STPCPY if defined.
4630         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
4631         * sysdeps/s390/multiarch/ifunc-impl-list.c
4632         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
4633         * string/test-stpcpy.c: Add wcpcpy support.
4634         * wcsmbs/test-wcpcpy.c: New File.
4635         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
4636         * benchtests/bench-stpcpy.c: Add wcpcpy support.
4637         * benchtests/bench-wcpcpy.c: New File.
4638         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
4640         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
4641         * sysdeps/s390/multiarch/strcpy.c: Likewise.
4642         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
4643         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
4644         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
4645         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
4646         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4647         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
4648         wcscpy functions.
4649         * sysdeps/s390/multiarch/ifunc-impl-list.c
4650         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
4651         * benchtests/bench-wcscpy.c: New File.
4652         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
4654         * sysdeps/s390/multiarch/strnlen-c.c: New File.
4655         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
4656         * sysdeps/s390/multiarch/strnlen.c: Likewise.
4657         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
4658         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
4659         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
4660         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
4661         wcsnlen functions.
4662         * sysdeps/s390/multiarch/ifunc-impl-list.c
4663         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
4664         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
4665         * string/test-strnlen.c: Add wcsnlen support.
4666         * wcsmbs/test-wcsnlen.c: New File.
4667         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
4668         * benchtests/bench-strnlen.c: Add wcsnlen support.
4669         * benchtests/bench-wcsnlen.c: New File.
4670         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
4672         * sysdeps/s390/multiarch/Makefile: New File.
4673         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
4674         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
4675         * sysdeps/s390/multiarch/strlen.c: Likewise.
4676         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
4677         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
4678         * sysdeps/s390/multiarch/wcslen.c: Likewise.
4679         * string/strlen.c (STRLEN): Define and use macro.
4680         * sysdeps/s390/multiarch/ifunc-impl-list.c
4681         (IFUNC_VX_IMPL): New macro function.
4682         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
4683         * benchtests/Makefile (wcsmbs-bench): New variable.
4684         (string-bench-all): Added wcsmbs-bench.
4685         * benchtests/bench-wcslen.c: New File.
4687         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
4688         s390_vx_libc_ifunc2): New macro function.
4690         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
4691         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
4692         assembler support.
4693         * sysdeps/s390/configure: Regenerated.
4695         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
4696         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
4698         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
4699         * sysdeps/s390/dl-procinfo.h: Add vector capability.
4700         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
4702         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4703         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
4704         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
4705         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
4706         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
4707         (memcmp, bcmp): Use __memcmp_default as alias source.
4708         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
4709         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
4710         Rename to __memcmp_default.
4711         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
4712         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
4713         (memcpy): Use __memcpy_default as alias source.
4714         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
4715         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
4716         Rename to __memcpy_default.
4717         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
4718         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
4719         (memset): Use __memset_default as alias source.
4720         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
4721         * sysdeps/s390/s390-32/memset.S (__memset_g5):
4722         Rename to __memset_default.
4723         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
4724         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
4725         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
4726         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
4727         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
4728         (memcmp, bcmp): Use __memcmp_default as alias source.
4729         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
4730         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
4731         Rename to __memcmp_default.
4732         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
4733         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
4734         (memcpy): Use __memcpy_default as alias source.
4735         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
4736         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
4737         Rename to __memcpy_default.
4738         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
4739         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
4740         (memset): Use __memset_default as alias source.
4741         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
4742         * sysdeps/s390/s390-64/memset.S (__memset_z900):
4743         Rename to __memset_default.
4744         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
4745         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
4747         [BZ #18610]
4748         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
4749         __ieee_instruction_pointer to __unused.
4750         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
4751         __ieee_instruction_pointer.
4752         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
4753         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
4754         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4755         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
4756         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
4757         Mark dxc-field as reserved.
4759 2015-08-25  Roland McGrath  <roland@hack.frob.com>
4761         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
4762         if the weak reference is not null.
4764 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
4766         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
4768         [BZ #11214]
4769         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
4771 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4773         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
4774         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
4775         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
4776         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
4777         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
4778         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
4779         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
4780         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
4781         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
4782         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
4783         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
4784         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
4785         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
4786         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
4787         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
4788         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
4789         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
4790         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
4792 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4794         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
4795         register other than r0 for tabort, it has special meaning.
4796         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
4797         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
4798         transaction before starting syscall.
4800 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4802         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
4804 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
4806         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
4808         * sysdeps/x86_64/rtld-memcmp.c: Removed.
4809         * sysdeps/x86_64/rtld-memset.S: Likewise.
4810         * sysdeps/x86_64/rtld-strchr.S: Likewise.
4811         * sysdeps/x86_64/rtld-strlen.S: Likewise.
4812         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
4813         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4815         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
4817 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
4819         * debug/strcpy_chk.c: Improve performance.
4820         * debug/stpcpy_chk.c: Likewise.
4821         * sysdeps/x86_64/strcpy_chk.S: Remove.
4822         * sysdeps/x86_64/stpcpy_chk.S: Remove.
4824         [BZ #18240]
4825         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
4827 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
4829         [BZ #15128]
4830         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
4831         ifuncmain8.
4832         (modules-names): Add ifuncmod8.
4833         ($(objpfx)ifuncmain8): New rule.
4834         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
4835         <cpuid.h>.
4836         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
4837         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
4838         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
4839         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
4840         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
4841         * sysdeps/x86_64/dl-trampoline.h: Likewise.
4842         * sysdeps/x86_64/ifuncmain8.c: New file.
4843         * sysdeps/x86_64/ifuncmod8.c: Likewise.
4844         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
4845         Removed.
4846         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
4847         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
4848         Change rtld_savespace_sse to __glibc_unused2.
4849         (RTLD_CHECK_FOREIGN_CALL): Removed.
4850         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
4851         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
4852         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
4854 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
4856         * sysdeps/aarch64/bzero.S (__bzero): Remove.
4858 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
4860         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
4861         Unconditionally set __fpcr to avoid uninialized warning.
4862         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
4864 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4866         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
4867         is corrupt.
4869         * malloc/arena.c (arena_get2): Drop unused argument.
4870         (arena_lock): Adjust.
4871         (arena_get_retry): Likewise.
4873 2015-08-24  Andreas Schwab  <schwab@suse.de>
4875         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
4876         Don't define.
4877         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4878         (__ASSUME_IPC64): Don't undef.
4879         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
4880         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4881         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4882         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
4883         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
4884         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
4885         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
4886         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
4887         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
4888         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
4889         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
4890         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
4891         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
4892         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
4893         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
4894         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
4895         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
4896         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
4897         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
4898         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
4899         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
4901 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
4903         * manual/Makefile (install): Only build manual when perl is available.
4905 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4907         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
4908         '#undef memcpy' by '#undef memchr'.
4910 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4912         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
4913         memchr not point to the internal __GI_memchr implementation.
4915 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
4917         * timezone/Makefile (CFLAGS-zdump.c): Remove
4918         -Wno-strict-prototypes.
4919         (CFLAGS-zic.c): Likewise.
4920         (CFLAGS-ialloc.c): Likewise.
4921         (CFLAGS-scheck.c): Likewise.
4923         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
4924         -Wno-error=undef.
4926 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
4928         * i386/i686/multiarch/strcasestr-c.c: Removed.
4929         * x86_64/multiarch/strcasestr.c: Likewise.
4930         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4931         Remove strcasestr.
4933 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
4935         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
4937         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
4938         variables for high and low parts before possibly modifying them.
4940 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
4942         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
4943         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
4944         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
4945         of "multiarch/init-arch.h".
4946         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
4947         * sysdeps/x86/init-arch.h: This.
4949 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
4951         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
4952         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
4954 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
4956         [BZ #17787]
4957         * manual/macros.texi: Add twoexp macro.
4958         * manual/filesys.texi: Fix exponents.
4959         * manual/llio.texi: Likewise.
4960         * manual/stdio.texi: Likewise.
4962 2015-08-20  Florian Weimer  <fweimer@redhat.com>
4964         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
4965         incorrect use.
4967 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
4969         [BZ #18370]
4970         * math/s_csqrt.c (__csqrt): Force underflow exception for results
4971         whose real or imaginary part has small absolute value.
4972         * math/s_csqrtf.c (__csqrtf): Likewise.
4973         * math/s_csqrtl.c (__csqrtl): Likewise.
4974         * math/auto-libm-test-in: Add more tests of csqrt.
4975         * math/auto-libm-test-out: Regenerated.
4976         * sysdeps/i386/fpu/libm-test-ulps: Update.
4978 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4980         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
4981         __ppc_set_ppr_very_low): New functions.
4982         * manual/platform.texi: Add documentation about
4983         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
4985 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
4987         * string/stpncpy.c (stpncpy): Improve performance using
4988         __strnlen/memcpy/memset.
4990 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4992         [BZ #18796]
4993         * scripts/test-installation.pl: Don't add -lmvec to build options if
4994         libmvec wasn't built.
4996 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
4998         [BZ #14341]
4999         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
5000         case when there is a gap between DT_REL and DT_JMPREL sections.
5001         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
5002         (LDFLAGS-tst-split-dynreloc): New.
5003         (tst-split-dynreloc-ENV): Likewise.
5004         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
5005         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
5007 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5009         [BZ #18822]
5010         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
5011         attribute_hidden.
5012         (__xstat64_conv): Likewise.
5013         (__xstat32_conv): Likewise.
5015 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5017         [BZ #18822]
5018         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
5019         Don't load %ebx when calling __setcontext.  Call __setcontext
5020         with HIDDEN_JUMPTARGET.
5021         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
5022         libc_hidden_def.
5024 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5026         * sysdeps/i386/i686/Makefile
5027         [$(subdir) == string] (sysdep_routines): Moved to ...
5028         * sysdeps/i386/Makefile: Here.
5029         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
5030         * sysdeps/i386/cacheinfo.c: Here.
5031         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
5032         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
5033         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
5034         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
5036 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5038         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
5039         __i586__ is defined.
5040         (HAS_I686): Defined to 1 if __i686__ is defined.
5042 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
5044         * elf/Makefile [$(have-z-execstack) = yes]
5045         (CPPFLAGS-tst-execstack.c): New variable.
5047         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
5048         conditional to [defined UTMPX || _HAVE_UT_TYPE].
5049         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
5050         UTMPX || _HAVE_UT_TV].
5051         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
5052         UTMPX || _HAVE_UT_TV - 0].
5054 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
5056         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
5057         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
5058         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
5060 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5062         * sysdeps/powerpc/dl-procinfo.c:
5063         (_dl_powerpc_cap_flags): Added missing strings for some
5064         hwcap features.
5065         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
5067 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
5069         Port the 0x7efe...feff pattern to GCC 6.
5070         See Steve Ellcey's bug report in:
5071         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
5072         * string/memrchr.c (MEMRCHR):
5073         * string/rawmemchr.c (RAWMEMCHR):
5074         * string/strchr.c (strchr):
5075         * string/strchrnul.c (STRCHRNUL):
5076         Rewrite code to avoid issues with signed shift overflow.
5078 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
5080         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
5081         whether cpuid is available only if HAS_CPUID is 0.
5082         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
5083         (HAS_I586): Likewise.
5084         (HAS_I686): Likewise.
5086 2015-08-18  Zack Weinberg  <zackw@panix.com>
5088         * misc/Versions (libc): Add GLIBC_2.23.
5090 2015-08-18  Alan Modra  <amodra@gmail.com>
5092         [BZ #18421]
5093         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
5094         .Lp__global.
5095         (_start): Load %dp via .Lp__global.
5096         [!SHARED]: Use .section .rodata.
5098 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5100         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
5101         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
5103 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5105         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
5106         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
5108 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5110         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
5111         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
5113 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5115         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
5116         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
5118 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5120         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
5121         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
5123 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5125         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
5126         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
5128 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5130         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
5132 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5134         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
5135         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
5136         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5137         (__ASSUME_LWS_CAS): Delete.
5139 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5141         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
5142         * sysdeps/hppa/configure: Regenerated.
5143         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
5144         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
5145         * sysdeps/hppa/nptl/tls.h: Likewise.
5147 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
5149         [BZ #18823]
5150         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
5151         for scaling up small arguments.
5152         * math/s_csqrtf.c (__csqrtf): Likewise.
5153         * math/s_csqrtl.c (__csqrtl): Likewise.
5154         * math/auto-libm-test-in: Add more tests of csqrt.
5155         * math/auto-libm-test-out: Regenerated.
5157 2015-08-17  Andreas Schwab  <schwab@suse.de>
5159         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
5160         version set GLIBC_2.19.
5162 2015-08-16  Zack Weinberg  <zackw@panix.com>
5164         [BZ #18681]
5165         * misc/regexp.h: This interface is no longer supported.
5166         Remove all contents, leaving only an #error directive.
5167         * misc/regexp.c (loc1, loc2, locs, step, advance):
5168         Demote to compatibility symbols.
5170 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
5172         [BZ #18084]
5173         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
5174         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
5175         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
5176         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
5177         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
5178         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
5179         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
5180         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
5181         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5183 2015-08-15  Zack Weinberg  <zackw@panix.com>
5185         [BZ #18795]
5186         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
5187         buffer length is known to be too large, not if it's known to be
5188         small enough.
5189         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
5190         overflow at runtime, involving a length parameter, twice: once
5191         with a compile-time constant length parameter, once without.
5193 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
5195         [BZ #18824]
5196         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
5197         scaling x * y up instead of down.
5198         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5199         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5200         * math/auto-libm-test-in: Add more tests of fma.
5201         * math/auto-libm-test-out: Regenerated.
5203 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5205         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5207 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5209         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
5210         unnecessary movq.
5211         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
5212         Likewise.
5214 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
5216         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5217         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
5218         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
5219         and tgamma.
5220         * math/auto-libm-test-out: Regenerated.
5221         * sysdeps/i386/fpu/libm-test-ulps: Update.
5222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5224         [BZ #16520]
5225         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
5226         (__tanh): Force underflow exception for arguments with small
5227         absolute value.
5228         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
5229         (__tanhf): Force underflow exception for arguments with small
5230         absolute value.
5231         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
5232         (__tanhl): Force underflow exception for arguments with small
5233         absolute value.
5234         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
5235         (__tanhl): Force underflow exception for arguments with small
5236         absolute value.
5237         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
5238         (__tanhl): Force underflow exception for arguments with small
5239         absolute value.
5240         * math/auto-libm-test-in: Add more tests of tanh.
5241         * math/auto-libm-test-out: Regenerated.
5242         * sysdeps/i386/fpu/libm-test-ulps: Update.
5244 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5246         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
5247         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
5249 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5251         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
5252         <cpuid.h>.
5254 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5256         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
5257         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
5259 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5261         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
5262         Remove $(objpfx)init-arch.o.
5263         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
5264         init-arch.
5265         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
5266         (INIT_ARCH_EXT): Defined as empty.
5267         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
5268         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
5269         __init_cpu_features call.  Replace HAS_XXX with
5270         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5271         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
5272         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
5273         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
5274         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
5275         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
5276         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
5277         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
5278         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
5279         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
5280         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
5281         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
5282         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
5283         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
5284         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
5285         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
5286         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
5287         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
5288         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
5289         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
5290         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
5291         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
5292         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
5293         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
5294         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
5295         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
5296         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
5297         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
5298         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
5299         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
5300         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
5301         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
5302         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
5303         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
5304         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
5305         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
5307 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5309         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
5310         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5311         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
5312         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
5313         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
5314         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
5315         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
5316         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
5317         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
5318         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
5319         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
5320         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
5321         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5322         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5323         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5324         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5325         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5326         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5327         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5328         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5329         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5330         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5331         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5332         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5333         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5334         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5335         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5336         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5337         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5338         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5339         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5340         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5341         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5342         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5343         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5344         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5345         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5346         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5347         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5348         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5349         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5350         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5351         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5353 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5355         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
5356         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5357         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5358         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5359         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5360         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
5361         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5362         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
5363         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5364         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5365         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5366         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
5367         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
5368         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
5369         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
5370         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
5371         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
5372         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
5373         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
5374         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
5375         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
5376         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
5377         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
5378         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5379         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5380         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
5381         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
5382         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
5383         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5384         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5385         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5386         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5387         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5388         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5389         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5390         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5391         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5392         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5393         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5394         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5395         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5396         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5397         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5399 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5401         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
5402         (dl_platform_init): Call init_cpu_features.
5403         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
5404         * sysdeps/i386/i686/cacheinfo.c
5405         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
5406         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
5407         * sysdeps/i386/i686/multiarch/Versions: Removed.
5408         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
5409         Removed.
5410         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
5411         * sysdeps/unix/sysv/linux/x86/Makefile
5412         (libpthread-sysdep_routines): Remove init-arch.
5413         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
5414         <sysdeps/x86_64/dl-procinfo.c> instead of
5415         sysdeps/generic/dl-procinfo.c>.
5416         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
5417         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
5418         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
5419         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
5420         [$(subdir) == elf] (tests-static): Add
5421         tst-get-cpu-features-static.
5422         * sysdeps/x86/Versions: New file.
5423         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
5424         * sysdeps/x86/cpu-features.c: Likewise.
5425         * sysdeps/x86/cpu-features.h: Likewise.
5426         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
5427         * sysdeps/x86/libc-start.c: Likewise.
5428         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5429         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
5430         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
5431         * sysdeps/x86_64/dl-procinfo.c: Likewise.
5432         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
5433         Assume USE_MULTIARCH is defined and don't check it.
5434         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
5435         (is_amd): Likewise.
5436         (max_cpuid): Likewise.
5437         (intel_check_word): Likewise.
5438         (__cache_sysconf): Don't call __init_cpu_features.
5439         (__x86_preferred_memory_instruction): Removed.
5440         (init_cacheinfo): Don't call __init_cpu_features. Replace
5441         __cpu_features with GLRO(dl_x86_cpu_features).
5442         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
5443         (dl_platform_init): Call init_cpu_features.
5444         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
5445         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
5446         * sysdeps/x86_64/multiarch/Versions: Removed.
5447         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
5448         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
5449         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
5450         Removed.
5451         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
5453 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5455         [BZ #18820]
5456         * libio/Makefile (test-fmemopen-mem): New test.
5457         * libio/test-fmemopen.c (do_bz18820): New test.
5458         * libio/fmemopen.c (__fmemopen): Fix memory leak.
5459         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
5461 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5463         [BZ #16734]
5464         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
5465         (FREE_BUF): Delete.
5466         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
5467         * libio/genops.c (_IO_setb): Use malloc and free directly.
5468         (_IO_default_doallocate, _IO_default_finish): Likewise.
5469         ( _IO_unbuffer_all): Likewise.
5470         ( libc_freeres_fn): Likewise.
5471         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5472         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
5473         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
5474         (_IO_wdefault_doallocate): Likewise.
5476 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5478         [BZ #18086]
5479         * sysdeps/posix/nice.c (nice): Restore old errno.
5480         * posix/tst-nice.c (do_test): Add test for BZ #18086.
5482 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
5484         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
5486 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5488         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
5489         __bcopy and add a weak_alias to bcopy.
5490         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
5491         for static build.
5493         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
5494         cleanup macro usage.
5495         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
5496         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
5497         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5498         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
5499         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5500         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
5501         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
5502         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
5503         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5504         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
5505         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5506         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
5507         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5508         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
5509         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5510         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
5511         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
5512         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
5513         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
5515         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
5516         libc_hidden_def.
5517         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
5519         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
5520         (sysdep_routines): Add strstr-ppc64.
5521         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
5523 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
5525         [BZ #18778]
5526         * elf/Makefile (tests): Add Add tst-nodelete2.
5527         (modules-names): Add tst-nodelete2mod.
5528         (tst-nodelete2mod.so-no-z-defs): New.
5529         ($(objpfx)tst-nodelete2): Likewise.
5530         ($(objpfx)tst-nodelete2.out): Likewise.
5531         (LDFLAGS-tst-nodelete2): Likewise.
5532         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
5533         out of loop through all loaded libraries.
5534         * elf/tst-nodelete2.c: New file.
5535         * elf/tst-nodelete2mod.c: Likewise.
5536         * elf/tst-znodelete-zlib.cc: Delete.
5538 2015-08-11  Andreas Schwab  <schwab@suse.de>
5540         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
5541         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
5542         (__openat64_nocancel): Likewise.
5544 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
5546         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
5547         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
5548         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
5549         * math/auto-libm-test-out: Regenerated.
5550         * sysdeps/i386/fpu/libm-test-ulps: Update.
5551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5553 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
5555         [BZ #18790]
5556         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
5557         threshold for returning +/- 1.
5558         * math/auto-libm-test-in: Add more tests of tanh.
5559         * math/auto-libm-test-out: Regenerated.
5560         * sysdeps/i386/fpu/libm-test-ulps: Update.
5562 2015-08-10  Andreas Schwab  <schwab@suse.de>
5564         [BZ #18781]
5565         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
5566         MORE_OFLAGS to oflag.
5567         * io/test-lfs.c (do_test): Test openat64.
5569 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
5571         [BZ #18789]
5572         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
5573         smaller threshold for returning the argument.
5574         * math/auto-libm-test-in: Add more tests of sinh.
5575         * math/auto-libm-test-out: Regenerated.
5576         * sysdeps/i386/fpu/libm-test-ulps: Update.
5578 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
5580         [BZ #18674]
5581         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
5582         break.
5584 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
5586         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
5587         (generated): Don't add $(addprefix z.,$(tzfiles)).
5589 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
5591         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
5592         * scripts/sysd-rules.awk: Likewise.
5594 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
5596         * iconvdata/tst-tables.sh: Change echo -n to printf.
5597         * nss/db-Makefile: Likewise.
5598         * posix/tst-getconf.sh: Likewise.
5599         * stdio-common/tst-unbputc.sh: Likewise.
5601 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
5603         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
5604         MADV_*_PAGES defines behind this feature check.
5606 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
5608         [BZ #18480]
5609         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
5610         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
5611         Define.
5612         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
5613         LOAD_REGS_5, LOAD_REGS_6): Update.
5614         (INTERNAL_SYSCALL): Update using new LOAD defines.
5615         (INTERNAL_SYSCALL_NCS): Likewise.
5616         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
5618 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5620         [BZ #16734]
5621         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
5623 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5625         [BZ #17905]
5626         * catgets/Makefile (tst-catgets-mem): New test.
5627         * catgets/catgets.c (catopen): Don't use unbounded alloca.
5628         * catgets/open_catalog.c (__open_catalog): Likewise.
5629         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
5631 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
5633         [BZ #18787]
5634         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
5635         clobber registers.
5636         (atomic_compare_and_exchange_val_acq): Use register asms to assign
5637         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
5638         Cast return to __typeof (oldval).
5640 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
5642         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
5643         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
5644         and delete sys/syscall.h include.
5646 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
5648         [BZ #16517]
5649         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
5650         (tan): Force underflow exception for arguments with small absolute
5651         value.
5652         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
5653         (__kernel_tanf): Force underflow exception for arguments with
5654         small absolute value.
5655         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
5656         (__kernel_tanl): Force underflow exception for arguments with
5657         small absolute value.
5658         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
5659         (__kernel_tanl): Force underflow exception for arguments with
5660         small absolute value.
5661         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
5662         (__kernel_tanl): Force underflow exception for arguments with
5663         small absolute value.
5664         * math/auto-libm-test-in: Add more tests of tan.
5665         * math/auto-libm-test-out: Regenerated.
5667 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5669         Fix sysdeps/i386/fpu/s_scalbn.S build
5671         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
5673 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
5675         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
5677 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5679         Fix gcrt0.o compilation
5681         When static-start-installed-name is different from
5682         start-installed-name, we must not use the shared objects.
5684         * csu/Makefile
5685         (extra-objs): Add gmon-start.o when building shared library and
5686         $(static-start-installed-name) is different from
5687         $(start-installed-name).
5688         $(objpfx)g$(static-start-installed-name): When building shared
5689         library and $(static-start-installed-name) is different from
5690         $(static-start-installed-name), revert to non-shared rule,
5691         i.e. using $(objpfx)% and gmon-start.o.
5693 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
5695         [BZ #16519]
5696         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
5697         (__ieee754_sinh): Force underflow exception for arguments with
5698         small absolute value.
5699         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
5700         (__ieee754_sinhf): Force underflow exception for arguments with
5701         small absolute value.
5702         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
5703         (__ieee754_sinhl): Force underflow exception for arguments with
5704         small absolute value.
5705         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
5706         (__ieee754_sinhl): Force underflow exception for arguments with
5707         small absolute value.
5708         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
5709         (__ieee754_sinhl): Force underflow exception for arguments with
5710         small absolute value.
5711         * math/auto-libm-test-in: Add more tests of sinh.
5712         * math/auto-libm-test-out: Regenerated.
5713         * sysdeps/i386/fpu/libm-test-ulps: Update.
5715 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5717         * libio/oldfileops.c: Include unistd.h.
5719 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
5721         * stdlib/isomac.c: Include ctype.h.
5723 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
5725         * dirent/tst-seekdir.c (main): Converted to ...
5726         (do_test): ... this.
5727         (TEST_FUNCTION): New macro.
5728         Include test-skeleton.c.
5729         * elf/tst-dlmodcount.c (main): Converted to ...
5730         (do_test): ... this.
5731         (TEST_FUNCTION): New macro.
5732         Include test-skeleton.c.
5733         * elf/tst-order-main.c (main): Converted to ...
5734         (do_test): ... this.
5735         (TEST_FUNCTION): New macro.
5736         Include test-skeleton.c.
5737         * elf/tst-pie2.c (main): Converted to ...
5738         (do_test): ... this.
5739         (TEST_FUNCTION): New macro.
5740         Include test-skeleton.c.
5741         * inet/tst-ether_aton.c (main): Converted to ...
5742         (do_test): ... this.
5743         (TEST_FUNCTION): New macro.
5744         Include test-skeleton.c.
5745         * misc/tst-mntent.c (main): Converted to ...
5746         (do_test): ... this.
5747         (TEST_FUNCTION): New macro.
5748         Include test-skeleton.c.
5749         * misc/tst-tsearch.c (main): Converted to ...
5750         (do_test): ... this.
5751         (TEST_FUNCTION): New macro.
5752         Include test-skeleton.c.
5753         * posix/tst-regexloc.c (main): Converted to ...
5754         (do_test): ... this.
5755         (TEST_FUNCTION): New macro.
5756         Include test-skeleton.c.
5757         * resolv/tst-aton.c (main): Converted to ...
5758         (do_test): ... this.
5759         (TEST_FUNCTION): New macro.
5760         Include test-skeleton.c.
5761         * stdio-common/test-fwrite.c (main): Converted to ...
5762         (do_test): ... this.
5763         (TEST_FUNCTION): New macro.
5764         Include test-skeleton.c.
5765         * stdio-common/tst-ferror.c (main): Converted to ...
5766         (do_test): ... this.
5767         (TEST_FUNCTION): New macro.
5768         Include test-skeleton.c.
5769         * stdio-common/tst-printf.c (main): Converted to ...
5770         (do_test): ... this.
5771         (TEST_FUNCTION): New macro.
5772         Include test-skeleton.c.
5773         * stdio-common/tst-printfsz.c (main): Converted to ...
5774         (do_test): ... this.
5775         (TEST_FUNCTION): New macro.
5776         Include test-skeleton.c.
5777         * stdlib/tst-strtod.c (main): Converted to ...
5778         (do_test): ... this.
5779         (TEST_FUNCTION): New macro.
5780         Include test-skeleton.c.
5781         * string/tst-strlen.c (main): Converted to ...
5782         (do_test): ... this.
5783         (TEST_FUNCTION): New macro.
5784         Include test-skeleton.c.
5785         * string/tst-svc.c (main): Converted to ...
5786         (do_test): ... this.
5787         (TEST_FUNCTION): New macro.
5788         Include test-skeleton.c.
5789         * time/tst-strptime.c (main): Converted to ...
5790         (do_test): ... this.
5791         (TEST_FUNCTION): New macro.
5792         Include test-skeleton.c.
5793         * timezone/tst-timezone.c (main): Converted to ...
5794         (do_test): ... this.
5795         (TEST_FUNCTION): New macro.
5796         Include test-skeleton.c.
5798 2015-08-05  Zack Weinberg  <zackw@panix.com>
5800         * misc/regexp.h: Update comments.
5802 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
5804         [BZ #18635]
5805         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
5806         before return label.
5808 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
5810         [BZ #18661]
5811         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
5812         when calling __errno_location.
5813         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
5814         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
5816 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
5818         [BZ #18661]
5819         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
5820         (__lll_timedwait_tid): Align stack to 16 bytes when calling
5821         __gettimeofday.
5823 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
5825         [BZ #18661]
5826         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5827         (__start_context): Don't use pop to restore %rdi so that stack
5828         is aligned to 16 bytes when calling __setcontext.
5830 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
5832         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
5833         only for libc.
5834         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5836 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
5838         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
5839         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
5840         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
5842 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
5844         * string/memccpy.c (memccpy):
5845         Improve performance by using memchr/memcpy/__mempcpy.
5847 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
5849         * string/strncpy.c (strncpy):
5850         Improve performance by using __strnlen/memcpy.
5852 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
5854         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5855         Optimize to avoid an unnecessary FPCR read.
5857 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
5859         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5860         Optimize to reduce FPCR/FPSR accesses.
5862 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
5864         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
5865         dead->data[category] != NULL.
5867 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
5869         [BZ #18647]
5870         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
5871         and |x| close to 1, use absolute value of x when computing log.
5872         * math/auto-libm-test-in: Add more tests of pow.
5873         * math/auto-libm-test-out: Regenerated.
5875 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5877         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
5878         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
5879         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
5881 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
5883         [BZ #18525]
5884         * locales/km_KH: Remove timezone definition.
5885         * locales/lo_LA: Likewise.
5886         * locales/my_MM: Likewise.
5887         * locales/nan_TW@latin: Likewise.
5888         * locales/th_TH: Likewise.
5889         * locales/uk_UA: Likewise.
5891 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5893         [BZ #18265]
5894         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
5895         (wcsncat): Likewise.
5896         (wcscmp): Likewise.
5897         (wcsncmp): Likewise.
5899 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
5901         * test-skeleton.c (usage): New function.
5902         (main): Call usage when opt is '?'.
5904 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
5906         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
5907         before first use.
5909 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
5911         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
5912         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
5913         in there too.
5915 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
5917         * version.h (RELEASE): Set to "development".
5918         (VERSION): Set to "2.22.90"
5920         * version.h (RELEASE): Set to "stable".
5921         (VERSION): Set to "2.22"
5922         * include/features.h (__GLIBC_MINOR__): Set to 22.
5924 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
5926         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
5927         Restructure macro to avoid "value computed is not used" warning.
5928         (atomic_compare_and_exchange_val_acq): Likewise.
5930 2015-08-04  Andreas Schwab  <schwab@suse.de>
5932         [BZ #18635]
5933         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
5934         ret.
5935         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
5937 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
5939         * po/pl.po: Updated translation.
5940         * po/uk.po: Likewise.
5941         * po/fi.po: Likewise.
5942         * po/ko.po: Likewise.
5943         * po/ru.po: Likewise.
5944         * po/vi.po: Likewise.
5946 2015-07-31  Zack Weinberg  <zackw@panix.com>
5948         [BZ #18681]
5949         * regexp.h: Add unconditional #warning stating that this header
5950         will be removed soon.  Revise banner comment to match.
5951         (compile): Consistently use ERROR instead of RETURN to report
5952         errors (partial fix for bz#18681).
5953         * regexp.c: Don't include regexp.h. Remove some unnecessary
5954         declarations.
5956 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
5958         * po/libc.pot: Regenerated.
5960 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
5962         [BZ #18740]
5963         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
5964         float-vlen4-arch-ext-cflags): Removed.
5965         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
5966         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
5968 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
5970         [BZ #14113]
5971         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
5972         aligned to __aligned__.
5973         (pthread_cond_t, pthread_rwlock_t): Likewise.
5975 2015-07-30  Torvald Riegel  <triegel@redhat.com>
5977         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
5979 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
5981         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
5982         (struct sigaction): Change sa_flags from a long to an int, and add
5983         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
5985 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
5987         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
5988         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
5989         sysdeps/generic/sysdep.h include.
5990         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
5991         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
5992         sysdeps/hppa/sysdep.h.
5993         (ENTRY, PSEUDO): Undefine before defining.
5995 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
5997         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
5998         from scratch to use INTERNAL_SYSCALL.
6000 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
6002         [BZ #18078]
6003         * scripts/check-localplt.awk: Support alternate relocations.
6004         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
6005         sections.
6006         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
6007         malloc entries with + REL R_386_GLOB_DAT.
6008         * sysdeps/x86_64/localplt.data: New file.
6010 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
6012         [BZ #18731]
6013         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
6014         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6015         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6017 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6019         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
6021 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6023         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
6024         directly in terms of __sync_fetch_and_add and delete (int) cast.
6026 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6028         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
6029         the -D_ASM_IA64_CURRENT_H flag.
6031 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6033         [BZ #18641]
6034         * pwd/pwd.h (putpwent): Delete __nonnull markings.
6036 2015-07-27  Andreas Schwab  <schwab@suse.de>
6038         * conform/conformtest.pl (checknamespace): Filter out string
6039         literals while tokenizing.
6041 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
6043         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6044         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
6045         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6047 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
6049         * nptl/tst-join7mod.c: Add #include <string.h>.
6051 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
6053         * sysdeps/nios2/libm-test-ulps: Update.
6055 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
6057         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
6058         Fix order of arguments to the rt_sigprocmask syscall.
6059         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
6060         Likewise.
6062 2015-07-24  Roland McGrath  <roland@hack.frob.com>
6064         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
6066 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6068         [BZ #18457]
6069         * nptl/Makefile (tests): New test case tst-join7.
6070         (modules-names): New test case module tst-join7mod.
6071         * nptl/tst-join7.c: New file.
6072         * nptl/tst-join7mod.c: New file.
6073         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
6074         all translation units in libc.so, libpthread.so and rtld.
6076 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6080 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
6082         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
6083         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
6084         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
6085         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
6086         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
6087         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
6088         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
6089         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
6090         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
6091         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
6092         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
6093         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
6094         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
6095         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
6096         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
6097         implementation.
6099 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6101         [BZ #17711]
6102         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6103         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
6104         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6105         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6106         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
6107         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6109 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6111         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
6112         instead of just saying load lock in the comments.
6114 2015-07-23  Roland McGrath  <roland@hack.frob.com>
6116         * sysdeps/unix/Subdirs: Moved ...
6117         * sysdeps/posix/Subdirs: ... here.
6118         * login/pty.h (struct termios, struct winsize): Add forward decls.
6119         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
6120         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
6121         * sysdeps/arm/nacl/libc.abilist: Updated.
6122         * sysdeps/nacl/libutil.abilist: New file.
6124         * bits/signum.h: Update comments to mention 1003.1-2013 too.
6125         (SIGWINCH): New macro.
6127         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
6128         * sysdeps/arm/nacl/libc.abilist: Add it.
6130 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
6132         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
6134 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
6136         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
6137         Swap __glibc_reserved0 and sa_flags order.
6139 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6141         [BZ #18657]
6142         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
6143         are pending TLS destructor calls.
6144         * include/link.h (struct link_map): Add concurrency note for
6145         L_TLS_DTOR_COUNT.
6146         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6147         Don't touch the link map flag.  Atomically increment
6148         l_tls_dtor_count.
6149         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
6150         Avoid taking the load lock and don't touch the link map flag.
6151         * stdlib/tst-tls-atexit-nodelete.c: New test case.
6152         * stdlib/Makefile (tests): Use it.
6153         * stdlib/tst-tls-atexit.c (do_test): dlopen
6154         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
6155         to allow tst-tls-atexit-nodelete test case to use it.
6157 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6159         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
6160         to bits/types.h.
6161         (msgqnum_t): New typedef.
6162         (msglen_t): Likewise.
6163         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
6164         and msg_qbytes type to msglen_t.
6166 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6168         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
6169         pad0 to __glibc_reserved0.
6170         (struct stat64): Likewise.
6172 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6174         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
6175         Change sa_flags from a long to an int and add __glibc_reserved0 before
6176         it for padding.
6178 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6180         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
6181         anonymous by deleting "siginfo" name.
6183 2015-07-21  Roland McGrath  <roland@hack.frob.com>
6185         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
6186         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
6187         rather than __nacl_irt_filename.
6188         * sysdeps/nacl/xstat.c (__xstat): Likewise.
6190         * NEWS: New item for arm-nacl port.
6191         * sysdeps/arm/nacl/libc.abilist: New file.
6192         * sysdeps/nacl/ld.abilist: New file.
6193         * sysdeps/nacl/libBrokenLocale.abilist: New file.
6194         * sysdeps/nacl/libanl.abilist: New file.
6195         * sysdeps/nacl/libcrypt.abilist: New file.
6196         * sysdeps/nacl/libdl.abilist: New file.
6197         * sysdeps/nacl/libm.abilist: New file.
6198         * sysdeps/nacl/libpthread.abilist: New file.
6199         * sysdeps/nacl/libresolv.abilist: New file.
6200         * sysdeps/nacl/librt.abilist: New file.
6202 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
6204         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
6205         __startcontext to initialize the new context.
6206         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
6207         up CFI directive to forbid further backtracing.
6209 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
6211         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
6212         reference.
6213         * charmaps/ANSI_X3.4-1968: Likewise.
6214         * charmaps/BS_4730: Likewise.
6215         * charmaps/BS_VIEWDATA: Likewise.
6216         * charmaps/CP1250: Likewise.
6217         * charmaps/CP1251: Likewise.
6218         * charmaps/CP1252: Likewise.
6219         * charmaps/CP1253: Likewise.
6220         * charmaps/CP1254: Likewise.
6221         * charmaps/CP1255: Likewise.
6222         * charmaps/CP1256: Likewise.
6223         * charmaps/CSN_369103: Likewise.
6224         * charmaps/EBCDIC-DK-NO: Likewise.
6225         * charmaps/GB_1988-80: Likewise.
6226         * charmaps/GREEK-CCITT: Likewise.
6227         * charmaps/GREEK7: Likewise.
6228         * charmaps/INIS-8: Likewise.
6229         * charmaps/ISIRI-3342: Likewise.
6230         * charmaps/ISO_2033-1983: Likewise.
6231         * charmaps/ISO_5427-EXT: Likewise.
6232         * locales/POSIX: Likewise.
6233         * locales/ar_SA: Likewise.
6234         * locales/be_BY: Likewise.
6235         * locales/be_BY@latin: Likewise.
6236         * locales/ca_ES: Likewise.
6237         * locales/cs_CZ: Likewise.
6238         * locales/da_DK: Likewise.
6239         * locales/de_BE: Likewise.
6240         * locales/de_CH: Likewise.
6241         * locales/de_LU: Likewise.
6242         * locales/en_AU: Likewise.
6243         * locales/en_BW: Likewise.
6244         * locales/en_CA: Likewise.
6245         * locales/en_DK: Likewise.
6246         * locales/en_GB: Likewise.
6247         * locales/en_IE: Likewise.
6248         * locales/en_NZ: Likewise.
6249         * locales/en_ZA: Likewise.
6250         * locales/en_ZW: Likewise.
6251         * locales/es_AR: Likewise.
6252         * locales/es_BO: Likewise.
6253         * locales/es_CL: Likewise.
6254         * locales/es_CO: Likewise.
6255         * locales/es_DO: Likewise.
6256         * locales/es_EC: Likewise.
6257         * locales/es_ES: Likewise.
6258         * locales/es_HN: Likewise.
6259         * locales/es_MX: Likewise.
6260         * locales/es_PA: Likewise.
6261         * locales/es_PE: Likewise.
6262         * locales/es_PY: Likewise.
6263         * locales/es_SV: Likewise.
6264         * locales/es_US: Likewise.
6265         * locales/es_UY: Likewise.
6266         * locales/es_VE: Likewise.
6267         * locales/et_EE: Likewise.
6268         * locales/fa_IR: Likewise.
6269         * locales/fo_FO: Likewise.
6270         * locales/fr_CA: Likewise.
6271         * locales/fr_CH: Likewise.
6272         * locales/gv_GB: Likewise.
6273         * locales/he_IL: Likewise.
6274         * locales/hr_HR: Likewise.
6275         * locales/id_ID: Likewise.
6276         * locales/is_IS: Likewise.
6277         * locales/it_CH: Likewise.
6278         * locales/iw_IL: Likewise.
6279         * locales/kl_GL: Likewise.
6280         * locales/ko_KR: Likewise.
6281         * locales/kw_GB: Likewise.
6282         * locales/lg_UG: Likewise.
6283         * locales/lt_LT: Likewise.
6284         * locales/lv_LV: Likewise.
6285         * locales/mi_NZ: Likewise.
6286         * locales/nhn_MX: Likewise.
6287         * locales/nl_BE: Likewise.
6288         * locales/pl_PL: Likewise.
6289         * locales/sk_SK: Likewise.
6290         * locales/sl_SI: Likewise.
6291         * locales/sv_FI: Likewise.
6292         * locales/tl_PH: Likewise.
6293         * locales/tr_TR: Likewise.
6294         * locales/vi_VN: Likewise.
6296 2015-07-21  Khem Raj  <raj.khem@gmail.com>
6298         [BZ #17475]
6299         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
6300         of tu_IN and bh_IN.
6302 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
6304         [BZ #18694]
6305         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
6306         bits/wordsize.h.
6307         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
6309 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6311         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
6312         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
6313         (spawn_thread): New function.
6314         (load): Rename to reg_dtor_and_close.  Move dlopen to...
6315         (do_test): ... here.  Use IS_LOADED to test for its
6316         availability.
6318 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
6320         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6322 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
6324         [BZ #18696]
6325         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
6326         si_addr_bnd.
6327         (si_lower): New.
6328         (si_upper): Likewise.
6330 2015-07-16  David S. Miller  <davem@davemloft.net>
6332         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6334 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6336         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
6337         buffer.
6338         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
6339         fail output information.
6341 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6343         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
6344         and strstr-ppc64..
6345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6346         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
6347         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
6348         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
6349         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
6351 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
6353         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
6354         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6355         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
6356         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6358 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
6360         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
6361         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
6362         rtld_hidden_proto.
6363         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
6365 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6367         * tst-nodelete-opened.c (do_test): Add comment to clarify how
6368         the test can fail.
6370         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
6372         [BZ #18676]
6373         * elf/tst-nodelete-opened.c: New test case.
6374         * elf/tst-nodelete-opened-lib.c: New test case module.
6375         * elf/Makefile (tests, modules-names): Use them.
6376         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
6377         early.
6379 2015-07-15  David S. Miller  <davem@davemloft.net>
6381         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
6382         futex-intenal.h
6383         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
6384         * sysdeps/sparc/sparc64/Makefile: Likewise.
6385         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
6386         Remove space from macro define.
6387         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
6389 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
6391         [BZ #17475]
6392         * locale/iso-639.def: Update Bhili and Tulu language codes as
6393         per iso639-3.
6395 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
6397         * elf/tst-leaks1.c (main): Converted to ...
6398         (do_test): ... this.
6399         (TEST_FUNCTION): New macro.
6400         Include test-skeleton.c.
6401         * localedata/tst-langinfo.c (main): Converted to ...
6402         (do_test): ... this.
6403         (TEST_FUNCTION): New macro.
6404         Include test-skeleton.c.
6405         * math/test-fpucw.c (main): Converted to ...
6406         (do_test): ... this.
6407         (TEST_FUNCTION): New macro.
6408         Include test-skeleton.c.
6409         * math/test-tgmath.c (main): Converted to ...
6410         (do_test): ... this.
6411         (TEST_FUNCTION): New macro.
6412         Include test-skeleton.c.
6413         * math/test-tgmath2.c (main): Converted to ...
6414         (do_test): ... this.
6415         (TEST_FUNCTION): New macro.
6416         Include test-skeleton.c.
6417         * setjmp/tst-setjmp.c (main): Converted to ...
6418         (do_test): ... this.
6419         (TEST_FUNCTION): New macro.
6420         Include test-skeleton.c.
6421         * stdio-common/tst-sscanf.c (main): Converted to ...
6422         (do_test): ... this.
6423         (TEST_FUNCTION): New macro.
6424         Include test-skeleton.c.
6425         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
6426         (do_test): ... this.
6427         (TEST_FUNCTION): New macro.
6428         Include test-skeleton.c.
6430         * elf/tst-audit9.c (main): Converted to ...
6431         (do_test): ... this.
6432         (TEST_FUNCTION): New macro.
6433         Include test-skeleton.c.
6435 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
6437         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
6439 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6441         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
6442         New variable.
6444 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6446         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6448 2015-07-14  Roland McGrath  <roland@hack.frob.com>
6450         * sysdeps/generic/dl-fileid.h: New file.
6451         * sysdeps/posix/dl-fileid.h: New file.
6452         * sysdeps/nacl/dl-fileid.h: New file.
6453         * include/link.h: Include <dl-fileid.h>.
6454         (struct link_map): Replace l_dev and l_ino with l_file_id.
6455         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
6456         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
6457         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
6459 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6461         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
6463 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6465         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
6466         Add iff $CXX is set.
6467         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
6468         Likewise.
6469         (tst-nodelete-zmodiff): Likewise.
6470         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
6472 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6474         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
6476 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
6478         * sysdeps/aarch64/fpu/math_private.h
6479         (define math_opt_barrier): Add AArch64 version.
6480         (math_force_eval): Likewise.
6482 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
6484         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
6486 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
6488         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
6489         %ld with %jd and cast to intmax_t.
6490         (do_test_length_zero): Likewise.
6492 2015-07-10  Roland McGrath  <roland@hack.frob.com>
6494         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
6496 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
6498         * sysdeps/tile/libm-test-ulps: Regenerated.
6500         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
6501         Comment out the whole function, not just its body.
6503 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6505         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
6506         locks.
6508         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
6510 2015-07-10  Torvald Riegel  <triegel@redhat.com>
6512         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
6513         (sem_assume_only_signals_cause_futex_EINTR): Remove.
6515 2015-07-10  Torvald Riegel  <triegel@redhat.com>
6517         * sysdeps/nptl/futex-internal.h: New file.
6518         * sysdeps/nacl/futex-internal.h: New file.
6519         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
6520         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
6521         error checking.
6522         (setxid_unmark_thread): Likewise.
6523         (__nptl_setxid): Likewise.
6524         (__wait_lookup_done): Likewise.
6525         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
6526         * nptl/nptl-init.c (sighandler_setxid): Likewise.
6527         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
6528         * nptl/pthread_once.c (clear_once_control): Likewise.
6529         (__pthread_once_slow): Likewise.
6530         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
6531         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
6532         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
6533         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
6534         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
6535         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
6536         Likewise.
6537         (__pthread_rwlock_rdlock): Likewise.
6538         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6539         Likewise.
6540         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6541         Likewise.
6542         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6543         Likewise.
6544         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
6545         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
6546         Likewise.
6547         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
6548         __ASSUME_PRIVATE_FUTEX check.
6549         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
6550         Check that shared futexes are supported.
6551         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
6552         wrappers with error checking.
6553         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
6554         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
6555         * nptl/pthread_barrierattr_setpshared.c
6556         (pthread_barrierattr_setpshared): Check that shared futexes are
6557         supported.
6558         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
6559         Likewise.
6560         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
6561         Likewise.
6562         * nptl/sem_init.c (futex_private_if_supported): Remove.
6563         (__new_sem_init): Adapt and check that shared futexes are supported.
6564         * nptl/sem_open.c (sem_open): Likewise.
6565         * nptl/sem_post.c (futex_wake): Remove.
6566         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
6567         (do_futex_wait): Use futex wrappers with error checking.
6568         * nptl/sem_wait.c: Include lowlevellock.h.
6569         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
6570         Use futex_supports_pshared.
6571         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
6572         Use futex wrappers with error checking.
6573         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
6574         Likewise.
6575         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
6576         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
6577         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
6578         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
6579         (futex_wake): Likewise.
6580         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
6581         (do_futex_wait): Use futex wrappers with error checking.
6582         (__new_sem_wait_slow): Update EINTR handling.
6583         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
6585 2015-07-09  Martin Sebor  <msebor@redhat.com>
6587         [BZ #18435]
6588         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
6589         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
6590         * nptl/Makefile (test-xfail-tst-once5): Define.
6592 2015-07-09  Roland McGrath  <roland@hack.frob.com>
6594         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
6595         * elf/dl-minimal.c: For readability, reorder some definitions and
6596         introduce more page breaks.  Include <stdio.h>.
6597         (__libc_fatal): New function.
6599         * include/unistd.h: Add rtld_hidden_proto for _exit.
6600         * posix/_exit.c: Add rtld_hidden_def.
6601         * sysdeps/mach/hurd/_exit.c: Likewise.
6602         * sysdeps/nacl/_exit.c: Likewise.
6603         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
6604         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
6606 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
6608         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
6609         bndmov encoding with zero displacement.
6611 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6612             H.J. Lu  <hongjiu.lu@intel.com>
6614         [BZ #18134]
6615         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
6616         * sysdeps/i386/configure: Regenerated.
6617         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6618         (_dl_runtime_profile): Save and restore Intel MPX return bound
6619         registers when calling _dl_call_pltexit.  Add
6620         PRESERVE_BND_REGS_PREFIX before return.
6621         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
6622         (LRV_BND1_OFFSET): Likewise.
6623         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
6624         lrv_bnd1.
6625         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
6626         typo in bndmov encoding.
6627         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
6628         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
6629         branch instructions to preserve bounds.
6631 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6634         [GLIBC_2.22]: Add fmemopen.
6636 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6638         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
6639         returns an error, also try to use host port from __mach_host_self for
6640         the __vm_wire call.
6641         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
6643 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6645         [BZ #18400]
6646         [BZ #18648]
6647         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
6648         Fix pr_uid and pr_gid members.
6649         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
6650         definition to elf_greg_t.
6652 2015-07-08  Roland McGrath  <roland@hack.frob.com>
6654         [BZ #18383]
6655         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
6656         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
6657         * sysdeps/arm/configure: Regenerated.
6658         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
6659         (test-xfail-tst-tlsalign-static): Variable removed.
6661         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
6662         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
6663         rather than explicit 'ln -s'.
6665         * resolv/rpc/netdb.h: New file.
6666         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
6668 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6670         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
6671         length buffers.
6672         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6673         test-skeleton.c.
6675         [BZ #6544]
6676         [BZ #11216]
6677         [BZ #12836]
6678         [BZ #13151]
6679         [BZ #13152]
6680         [BZ #14292]
6681         * include/stdio.h (fmemopen): Remove hidden prototype.
6682         (__fmemopen): Add new hidden prototype.
6683         * libio/Makefile: Add oldfmemopen object.
6684         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
6685         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
6686         compliance.
6687         * libio/oldfmemopen.c: New file: old fmemopen implementation for
6688         symbol compatibility.
6689         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
6690         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
6691         fmemopen.
6692         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
6693         on append and read mode.
6694         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
6695         fmemopen.
6696         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
6697         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
6698         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
6699         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
6700         Likewise.
6701         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6702         [GLIBC_2.22]: Likewise.
6703         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
6704         Likewise.
6705         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
6706         Likewise.
6707         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6708         [GLIBC_2.22]: Likewise.
6709         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6710         [GLIBC_2.22]: Likewise.
6711         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6712         [GLIBC_2.22]: Likewise.
6713         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6714         [GLIBC_2.22]: Likewise.
6715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6716         [GLIBC_2.22]: Likewise.
6717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6718         [GLIBC_2.22]: Likewise.
6719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6720         [GLIBC_2.22]: Likewise.
6721         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
6722         Likewise.
6723         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
6724         Likewise.
6725         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
6726         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
6727         [GLIBC_2.22]: Likewise.
6728         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
6729         [GLIBC_2.22]: Likewise.
6730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
6731         [GLIBC_2.22]: Likewise.
6732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
6733         [GLIBC_2.22]: Likewise.
6734         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
6735         Likewise.
6736         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
6737         Likewise.
6738         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
6739         Likewise.
6740         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
6741         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
6743 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
6745         [BZ #18643]
6746         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
6747         IPV6_PATHMTU, and IPV6_DONTFRAG.
6749 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
6751         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
6752         and _IO_UNBUFFERED.
6753         * libio/oldfileops.c: Likewise.
6754         * libio/wfileops.c: Likewise.
6756 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
6758         * nscd/selinux.c: Delete selinux/flask.h include.
6760 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
6762         [BZ #18641]
6763         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
6764         (putpwent): Likewise.
6765         (getpwnam): Likewise.
6766         (getpwent_r): Likewise.
6767         (getpwuid_r): Likewise.
6768         (getpwnam_r): Likewise.
6769         (fgetpwent_r): Likewise.
6771 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
6773         [BZ #18557]
6774         * inet/rcmd.c (__validuser2_sa): Check user first to
6775         short-circuit host check.
6777 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
6778             Mikhail Ilin  <m.ilin@samsung.com>
6780         [BZ #17833]
6781         * elf/Makefile (tests): Add tst-nodelete.
6782         (modules-names): Add tst-nodelete-uniquemod.
6783         (tst-nodelete-uniquemod.so-no-z-defs): New.
6784         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
6785         (tst-nodelete-zmod.so-no-z-defs): Likewise.
6786         ($(objpfx)tst-nodelete): Likewise.
6787         ($(objpfx)tst-nodelete.out): Likewise.
6788         (LDFLAGS-tst-nodelete): Likewise.
6789         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
6790         * elf/dl-close.c (_dl_close_worker): Add a parameter to
6791         implement forced object deletion.
6792         (_dl_close): Pass false to _dl_close_worker.
6793         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
6794         * elf/tst-nodelete.cc: New file.
6795         * elf/tst-nodeletelib.cc: Likewise.
6796         * elf/tst-znodeletelib.cc: Likewise.
6797         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
6799 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6801         [BZ #18508]
6802         * stdlib/Makefile ($(objpfx)tst-makecontext3):
6803         Depend on $(libdl).
6804         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
6805         is not called infinitely times.
6806         (backtrace_helper): New function.
6807         (trace_arg): New struct.
6808         (st1): Enlarge stack size.
6809         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6810         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
6811         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6812         Likewise.
6814 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6816         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6818 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6820         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
6821         Include sys/types.h instead of bits/types.h.
6822         Remove inclusion of bits/wordsize.h.
6824 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
6826         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
6827         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
6828         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
6829         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
6830         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
6831         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
6833 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
6835         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
6836         link-defines.sym.
6837         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
6838         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
6839         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
6840         and LR_SIZE.
6841         * sysdeps/i386/link-defines.sym: New file.
6843 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
6845         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
6846         (modules-names): Add tst-auditmod3a tst-auditmod3b.
6847         ($(objpfx)tst-audit3): New rule.
6848         ($(objpfx)tst-audit3.out): Likewise.
6849         * sysdeps/i386/tst-audit3.c: New file.
6850         * sysdeps/i386/tst-audit3.h: Likewise.
6851         * sysdeps/i386/tst-auditmod3a.c: Likewise.
6852         * sysdeps/i386/tst-auditmod3b.c: Likewise.
6854 2015-07-07  Torvald Riegel  <triegel@redhat.com>
6856         [BZ #18633]
6857         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
6858         pointer in C code.
6859         (__strcat_c): Likewise.
6860         (__strcat_g): Likewise.
6862 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
6864         [BZ #18592]
6865         * misc/sbrk.c: Set errno to ENOMEM on overflow.
6867 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
6869         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
6870         New function.  (__ieee754_sqrtf): New function.
6871         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
6872         New function.
6873         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
6874         New function.
6876 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
6878         * sysdeps/ieee754/support.c: Remove unused file.
6880 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6882         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
6883         registers instead of d ones so the layout is kernel abi compatible.
6884         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
6885         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
6886         Likewise.
6888 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6890         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6892 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
6894         [BZ #18619]
6895         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
6896         and return argument in case of subnormal argument.
6898 2015-07-01  Martin Sebor  <msebor@redhat.com>
6900         [BZ #18435]
6901         * nptl/Makefile: Add tst-once5.cc.
6902         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
6903         Remove macro redefinitions.
6904         * nptl/tst-once5.cc: New test.
6906 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
6908         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6910         * sysdeps/arm/libm-test-ulps: Regenerated.
6912         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6913         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6915 2015-06-30  Torvald Riegel  <triegel@redhat.com>
6917         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
6918         lll_lock_wait_private and lll_futex_wake probes.
6920         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
6921         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
6922         Likewise.
6923         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
6924         atomic_spin_nop.
6925         * sysdeps/x86_64/bits/atomic.h: Likewise.
6926         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
6927         to atomic_spin_nop and move ...
6928         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
6929         ... here and ...
6930         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
6931         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6932         atomic_spin_nop instead of BUSY_WAIT_NOP.
6933         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
6934         Likewise.
6935         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
6936         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
6937         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
6938         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
6939         instead of atomic_delay.
6941 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
6943         [BZ #18613]
6944         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
6945         X_ADJ not X when adjusting exponent.
6946         (__ieee754_gamma_r): Do intermediate computations in
6947         round-to-nearest then adjust overflowing and underflowing results
6948         as needed.
6949         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
6950         of X_ADJ not X when adjusting exponent.
6951         (__ieee754_gammaf_r): Do intermediate computations in
6952         round-to-nearest then adjust overflowing and underflowing results
6953         as needed.
6954         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
6955         log of X_ADJ not X when adjusting exponent.
6956         (__ieee754_gammal_r): Do intermediate computations in
6957         round-to-nearest then adjust overflowing and underflowing results
6958         as needed.  Use 1.0L not 1.0f as numerator of division.
6959         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
6960         log of X_ADJ not X when adjusting exponent.
6961         (__ieee754_gammal_r): Do intermediate computations in
6962         round-to-nearest then adjust overflowing and underflowing results
6963         as needed.  Use 1.0L not 1.0f as numerator of division.
6964         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
6965         of X_ADJ not X when adjusting exponent.
6966         (__ieee754_gammal_r): Do intermediate computations in
6967         round-to-nearest then adjust overflowing and underflowing results
6968         as needed.  Use 1.0L not 1.0f as numerator of division.
6969         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
6970         to auto-libm-test-in.
6971         (tgamma_test): Use ALL_RM_TEST.
6972         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
6973         tests of tgamma with spurious-overflow.
6974         * math/auto-libm-test-out: Regenerated.
6975         * math/gen-libm-have-vector-test.sh: Do not check for START.
6976         * sysdeps/i386/fpu/libm-test-ulps: Update.
6977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6979         [BZ #18612]
6980         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
6981         arguments, just return 0.5 times the argument, with underflow
6982         forced as needed.
6983         * math/auto-libm-test-in: Add more tests of j1.
6984         * math/auto-libm-test-out: Regenerated.
6986         [BZ #16559]
6987         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
6988         (__ieee754_j1): Force underflow exception for small results.
6989         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6990         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
6991         (__ieee754_j1f): Force underflow exception for small results.
6992         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6993         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6994         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6995         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
6996         (__ieee754_j1l): Force underflow exception for small results.
6997         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6998         * math/auto-libm-test-in: Add more tests of j1 and jn.
6999         * math/auto-libm-test-out: Regenerated.
7001         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
7002         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
7003         (PF_MPLS): Likewise.
7004         (AF_IB): Likewise.
7005         (AF_MPLS): Likewise.
7006         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
7007         value and macro.
7008         (MS_RMT_MASK): Include MS_LAZYTIME.
7010 2015-06-26  Mel Gorman  <mgorman@suse.de>
7012         [BZ #18502]
7013         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
7014         already minimal.
7016 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
7018         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
7019         (DT_MIPS_NUM): Update.
7020         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
7021         DT_MIPS_RLD_MAP_REL.
7023 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
7025         [BZ #16559]
7026         [BZ #18602]
7027         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
7028         round-to-nearest internally then recompute results that
7029         underflowed to zero in the original rounding mode.
7030         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7031         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7032         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7033         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
7034         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
7035         * sysdeps/i386/fpu/libm-test-ulps: Update.
7036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7038 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
7040         * NEWS: Fixed description of link with vector math library.
7042 2015-06-25  Andreas Schwab  <schwab@suse.de>
7044         [BZ #18549]
7045         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
7046         * libio/test-fmemopen.c (do_test): Add test for it.
7048 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
7050         [BZ #17841]
7051         * Makeconfig (no-pie-ldflag): New.
7052         (+link): Set to $(+link-pie) if default to PIE.
7053         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
7054         * config.make.in (build-pie-default): New.
7055         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
7056         is default.  AC_SUBST.
7057         * configure: Regenerated.
7058         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
7060 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7062         * nptl/descr.h (struct pthread): Change type of field setxid_futex
7063         to 'unsigned int'.
7065         * resolv/gai_misc.h (struct waitlist): Change type of field
7066         counterp to 'volatile unsigned int *'.
7067         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
7068         FUTEXADDR and OLDVAL.
7069         * resolv/getaddrinfo_a.c (getaddrinfo_a):
7070         Give local variable TOTAL type 'volatile unsigned int'.
7071         (struct async_waitlist): Change type of field counter to 'unsigned int'.
7072         * resolv/gai_suspend.c (gai_suspend):
7073         Give local variable CNTR type 'unsigned int'.
7075         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
7076         counterp to 'volatile unsigned int *'.
7077         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
7078         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
7079         (aio_suspend): Give local variable CNTR type 'unsigned int'.
7080         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
7081         Give local variable TOTAL type 'volatile unsigned int'.
7082         (struct async_waitlist): Change type of field counter to 'unsigned int'.
7084 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7086         [BZ #18383]
7087         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
7088         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
7089         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
7090         comment for i386/x86-64.
7091         (test-xfail-tst-tlsalign-extern-static): Removed.
7093 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7095         * math/test-double.h: New file.
7096         * math/test-float.h: Likewise.
7097         * math/test-ldouble.h: Likewise.
7098         * math/test-math-inline.h: Likewise.
7099         * math/test-math-no-inline.h: Likewise.
7100         * math/test-math-scalar.h: Likewise.
7101         * math/test-math-vector.h: Likewise.
7102         * math/test-vec-loop.h: Remove file.  Contents moved into
7103         test-math-vector.h.
7104         * math/libm-test.inc (MATHCONST): Do not document macro.
7105         * math/test-double.c: Include test-double.h, test-math-no-inline.h
7106         and test-math-scalar.h.
7107         (FUNC): Remove macro.
7108         (FUNC_TEST): Likewise.
7109         (FLOAT): Likewise.
7110         (MATHCONST): Likewise.
7111         (PRINTF_EXPR): Likewise.
7112         (PRINTF_XEXPR): Likewise.
7113         (PRINTF_NEXPR): Likewise.
7114         (TEST_DOUBLE): Likewise.
7115         (TEST_MATHVEC): Likewise.
7116         (__NO_MATH_INLINES): Likewise.
7117         * math/test-float.c: Include test-float.h, test-math-no-inline.h
7118         and test-math-scalar.h.
7119         (FUNC): Remove macro.
7120         (FUNC_TEST): Likewise.
7121         (FLOAT): Likewise.
7122         (MATHCONST): Likewise.
7123         (PRINTF_EXPR): Likewise.
7124         (PRINTF_XEXPR): Likewise.
7125         (PRINTF_NEXPR): Likewise.
7126         (TEST_FLOAT): Likewise.
7127         (TEST_MATHVEC): Likewise.
7128         (__NO_MATH_INLINES): Likewise.
7129         * math/test-idouble.c: Include test-double.h, test-math-inline.h
7130         and test-math-scalar.h.
7131         (FUNC): Remove macro.
7132         (FUNC_TEST): Likewise.
7133         (FLOAT): Likewise.
7134         (MATHCONST): Likewise.
7135         (PRINTF_EXPR): Likewise.
7136         (PRINTF_XEXPR): Likewise.
7137         (PRINTF_NEXPR): Likewise.
7138         (TEST_DOUBLE): Likewise.
7139         (TEST_MATHVEC): Likewise.
7140         (TEST_INLINE): Likewise.
7141         (__NO_MATH_INLINES): Likewise.
7142         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
7143         test-math-scalar.h.
7144         (FUNC): Remove macro.
7145         (FUNC_TEST): Likewise.
7146         (FLOAT): Likewise.
7147         (MATHCONST): Likewise.
7148         (PRINTF_EXPR): Likewise.
7149         (PRINTF_XEXPR): Likewise.
7150         (PRINTF_NEXPR): Likewise.
7151         (TEST_FLOAT): Likewise.
7152         (TEST_MATHVEC): Likewise.
7153         (TEST_INLINE): Likewise.
7154         (__NO_MATH_INLINES): Likewise.
7155         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
7156         and test-math-scalar.h.
7157         (FUNC): Remove macro.
7158         (FUNC_TEST): Likewise.
7159         (FLOAT): Likewise.
7160         (MATHCONST): Likewise.
7161         (PRINTF_EXPR): Likewise.
7162         (PRINTF_XEXPR): Likewise.
7163         (PRINTF_NEXPR): Likewise.
7164         (TEST_LDOUBLE): Likewise.
7165         (TEST_MATHVEC): Likewise.
7166         (TEST_INLINE): Likewise.
7167         (__NO_MATH_INLINES): Likewise.
7168         * math/test-ldouble.c: Include test-ldouble.h,
7169         test-math-no-inline.h and test-math-scalar.h.
7170         (FUNC): Remove macro.
7171         (FUNC_TEST): Likewise.
7172         (FLOAT): Likewise.
7173         (MATHCONST): Likewise.
7174         (PRINTF_EXPR): Likewise.
7175         (PRINTF_XEXPR): Likewise.
7176         (PRINTF_NEXPR): Likewise.
7177         (TEST_LDOUBLE): Likewise.
7178         (TEST_MATHVEC): Likewise.
7179         (__NO_MATH_INLINES): Likewise.
7180         * math/test-double-vlen2.h: Include test-double.h,
7181         test-math-no-inline.h and test-math-vector.h.
7182         (FLOAT): Remove macro.
7183         (FUNC): Likewise.
7184         (MATHCONST): Likewise.
7185         (PRINTF_EXPR): Likewise.
7186         (PRINTF_XEXPR): Likewise.
7187         (PRINTF_NEXPR): Likewise.
7188         (TEST_DOUBLE): Likewise.
7189         (TEST_MATHVEC): Likewise.
7190         (__NO_MATH_INLINES): Likewise.
7191         (CNCT): Likewise.
7192         (CONCAT): Likewise.
7193         (WRAPPER_NAME): Likewise.
7194         (WRAPPER_DECL): Likewise.
7195         (WRAPPER_DECL_ff): Likewise.
7196         (WRAPPER_DECL_fFF): Likewise.
7197         (VECTOR_WRAPPER): Likewise.
7198         (VECTOR_WRAPPER_ff): Likewise.
7199         (VECTOR_WRAPPER_fFF): Likewise.
7200         (VEC_LEN): New macro.
7201         * math/test-double-vlen4.h: Include test-double.h,
7202         test-math-no-inline.h and test-math-vector.h.
7203         (FLOAT): Remove macro.
7204         (FUNC): Likewise.
7205         (MATHCONST): Likewise.
7206         (PRINTF_EXPR): Likewise.
7207         (PRINTF_XEXPR): Likewise.
7208         (PRINTF_NEXPR): Likewise.
7209         (TEST_DOUBLE): Likewise.
7210         (TEST_MATHVEC): Likewise.
7211         (__NO_MATH_INLINES): Likewise.
7212         (CNCT): Likewise.
7213         (CONCAT): Likewise.
7214         (WRAPPER_NAME): Likewise.
7215         (WRAPPER_DECL): Likewise.
7216         (WRAPPER_DECL_ff): Likewise.
7217         (WRAPPER_DECL_fFF): Likewise.
7218         (VECTOR_WRAPPER): Likewise.
7219         (VECTOR_WRAPPER_ff): Likewise.
7220         (VECTOR_WRAPPER_fFF): Likewise.
7221         (VEC_LEN): New macro.
7222         * math/test-double-vlen8.h: Include test-double.h,
7223         test-math-no-inline.h and test-math-vector.h.
7224         (FLOAT): Remove macro.
7225         (FUNC): Likewise.
7226         (MATHCONST): Likewise.
7227         (PRINTF_EXPR): Likewise.
7228         (PRINTF_XEXPR): Likewise.
7229         (PRINTF_NEXPR): Likewise.
7230         (TEST_DOUBLE): Likewise.
7231         (TEST_MATHVEC): Likewise.
7232         (__NO_MATH_INLINES): Likewise.
7233         (CNCT): Likewise.
7234         (CONCAT): Likewise.
7235         (WRAPPER_NAME): Likewise.
7236         (WRAPPER_DECL): Likewise.
7237         (WRAPPER_DECL_ff): Likewise.
7238         (WRAPPER_DECL_fFF): Likewise.
7239         (VECTOR_WRAPPER): Likewise.
7240         (VECTOR_WRAPPER_ff): Likewise.
7241         (VECTOR_WRAPPER_fFF): Likewise.
7242         (VEC_LEN): New macro.
7243         * math/test-float-vlen4.h: Include test-float.h,
7244         test-math-no-inline.h and test-math-vector.h.
7245         (FLOAT): Remove macro.
7246         (FUNC): Likewise.
7247         (MATHCONST): Likewise.
7248         (PRINTF_EXPR): Likewise.
7249         (PRINTF_XEXPR): Likewise.
7250         (PRINTF_NEXPR): Likewise.
7251         (TEST_FLOAT): Likewise.
7252         (TEST_MATHVEC): Likewise.
7253         (__NO_MATH_INLINES): Likewise.
7254         (CNCT): Likewise.
7255         (CONCAT): Likewise.
7256         (WRAPPER_NAME): Likewise.
7257         (WRAPPER_DECL): Likewise.
7258         (WRAPPER_DECL_ff): Likewise.
7259         (WRAPPER_DECL_fFF): Likewise.
7260         (VECTOR_WRAPPER): Likewise.
7261         (VECTOR_WRAPPER_ff): Likewise.
7262         (VECTOR_WRAPPER_fFF): Likewise.
7263         (VEC_LEN): New macro.
7264         * math/test-float-vlen8.h: Include test-float.h,
7265         test-math-no-inline.h and test-math-vector.h.
7266         (FLOAT): Remove macro.
7267         (FUNC): Likewise.
7268         (MATHCONST): Likewise.
7269         (PRINTF_EXPR): Likewise.
7270         (PRINTF_XEXPR): Likewise.
7271         (PRINTF_NEXPR): Likewise.
7272         (TEST_FLOAT): Likewise.
7273         (TEST_MATHVEC): Likewise.
7274         (__NO_MATH_INLINES): Likewise.
7275         (CNCT): Likewise.
7276         (CONCAT): Likewise.
7277         (WRAPPER_NAME): Likewise.
7278         (WRAPPER_DECL): Likewise.
7279         (WRAPPER_DECL_ff): Likewise.
7280         (WRAPPER_DECL_fFF): Likewise.
7281         (VECTOR_WRAPPER): Likewise.
7282         (VECTOR_WRAPPER_ff): Likewise.
7283         (VECTOR_WRAPPER_fFF): Likewise.
7284         (VEC_LEN): New macro.
7285         * math/test-float-vlen16.h: Include test-float.h,
7286         test-math-no-inline.h and test-math-vector.h.
7287         (FLOAT): Remove macro.
7288         (FUNC): Likewise.
7289         (MATHCONST): Likewise.
7290         (PRINTF_EXPR): Likewise.
7291         (PRINTF_XEXPR): Likewise.
7292         (PRINTF_NEXPR): Likewise.
7293         (TEST_FLOAT): Likewise.
7294         (TEST_MATHVEC): Likewise.
7295         (__NO_MATH_INLINES): Likewise.
7296         (CNCT): Likewise.
7297         (CONCAT): Likewise.
7298         (WRAPPER_NAME): Likewise.
7299         (WRAPPER_DECL): Likewise.
7300         (WRAPPER_DECL_ff): Likewise.
7301         (WRAPPER_DECL_fFF): Likewise.
7302         (VECTOR_WRAPPER): Likewise.
7303         (VECTOR_WRAPPER_ff): Likewise.
7304         (VECTOR_WRAPPER_fFF): Likewise.
7305         (VEC_LEN): New macro.
7306         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
7307         test-vec-loop.h.
7308         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7309         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7310         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7311         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7312         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7313         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7314         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
7316 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7318         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
7319         (__getlogin_r): ... this.
7321 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7323         [BZ #18594]
7324         * math/s_ccosh.c (__ccosh): Compare with least normal value
7325         instead of comparing class with FP_SUBNORMAL.
7326         * math/s_ccoshf.c (__ccoshf): Likewise.
7327         * math/s_ccoshl.c (__ccoshl): Likewise.
7328         * math/s_cexp.c (__cexp): Likewise.
7329         * math/s_cexpf.c (__cexpf): Likewise.
7330         * math/s_cexpl.c (__cexpl): Likewise.
7331         * math/s_csin.c (__csin): Likewise.
7332         * math/s_csinf.c (__csinf): Likewise.
7333         * math/s_csinh.c (__csinh): Likewise.
7334         * math/s_csinhf.c (__csinhf): Likewise.
7335         * math/s_csinhl.c (__csinhl): Likewise.
7336         * math/s_csinl.c (__csinl): Likewise.
7337         * math/s_ctan.c (__ctan): Likewise.
7338         * math/s_ctanf.c (__ctanf): Likewise.
7339         * math/s_ctanh.c (__ctanh): Likewise.
7340         * math/s_ctanhf.c (__ctanhf): Likewise.
7341         * math/s_ctanhl.c (__ctanhl): Likewise.
7342         * math/s_ctanl.c (__ctanl): Likewise.
7343         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
7344         csin, csinh, ctan and ctanh.
7345         * math/auto-libm-test-out: Regenerated.
7346         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
7347         * sysdeps/i386/fpu/libm-test-ulps: Update.
7348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7350 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7352         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
7353         return value is wrong, print the expected value too.
7355 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7357         [BZ #18585]
7358         * elf/readlib.c (is_gdb_python_file): New.
7359         (process_file): Don't issue errors on filenames with -gdb.py
7360         suffix.
7362 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7364         * math/auto-libm-test-in: Add more tests of csin and csinh.
7365         * math/auto-libm-test-out: Regenerated.
7366         * math/libm-test.inc (csin_test_data): Remove tests moved to
7367         auto-libm-test-in.
7368         (csinh_test_data): Likewise.
7370         [BZ #18593]
7371         * math/s_csin.c (__csin): Negate before rather than after possibly
7372         overflowing multiplication.
7373         * math/s_csinf.c (__csinf): Likewise.
7374         * math/s_csinh.c (__csinh): Likewise.
7375         * math/s_csinhf.c (__csinhf): Likewise.
7376         * math/s_csinhl.c (__csinhl): Likewise.
7377         * math/s_csinl.c (__csinl): Likewise.
7378         * math/auto-libm-test-in: Add some tests of csin and csinh.
7379         * math/auto-libm-test-out: Regenerated.
7380         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
7381         (csinh_test_data): Likewise.
7382         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7384         [BZ #18586]
7385         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
7386         underflow exception for small results.
7388 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
7390         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
7391         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
7392         variable and included header.
7393         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
7394         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
7395         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
7396         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
7397         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
7398         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
7399         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
7400         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
7401         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
7402         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
7403         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
7404         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
7405         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
7406         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
7407         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
7408         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
7410 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7412         [BZ #16526]
7413         [BZ #16538]
7414         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
7415         (__sin): Force underflow exception for arguments with small
7416         absolute value.
7417         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
7418         (__kernel_sinf): Force underflow exception for arguments with
7419         small absolute value.
7420         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
7421         (__kernel_sincosl): Force underflow exception for arguments with
7422         small absolute value.
7423         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
7424         (__kernel_sinl): Force underflow exception for arguments with
7425         small absolute value.
7426         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
7427         (__kernel_sincosl): Force underflow exception for arguments with
7428         small absolute value.
7429         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
7430         (__kernel_sinl): Force underflow exception for arguments with
7431         small absolute value.
7432         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
7433         (__kernel_sinl): Force underflow exception for arguments with
7434         small absolute value.
7435         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
7436         (__kernel_sinf): Force underflow exception for arguments with
7437         small absolute value.
7438         * math/auto-libm-test-in: Add more tests of sin and sincos.
7439         * math/auto-libm-test-out: Regenerated.
7441         [BZ #18245]
7442         [BZ #18583]
7443         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
7444         (__kernel_standard_l): Use feholdexcept and fesetenv around
7445         conversion to double instead of special-casing overflow and
7446         underflow.
7447         * math/libm-test.inc (fmod_test_data): Add more tests.
7448         (remainder_test_data): Likewise.
7449         (sqrt_test_data): Likewise.
7451 2015-06-23  Torvald Riegel  <triegel@redhat.com>
7453         [BZ #17403]
7454         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
7455         atomic_read_barrier, atomic_write_barrier): Define.
7456         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
7457         atomic_read_barrier, atomic_write_barrier): Define.
7459 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7461         * math/Makefile [$(PERL) != no]
7462         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
7463         dependency on libm-test.stmp below the inclusion of Rules.
7465 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
7467         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
7468         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
7469         and included header.
7470         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
7471         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
7472         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
7473         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
7474         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
7475         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
7476         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
7477         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
7478         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
7479         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
7480         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
7481         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
7482         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
7483         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
7484         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
7485         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
7486         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
7487         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
7488         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
7490 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7492         [BZ #18371]
7493         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
7494         intermediate but not final result might underflow.
7495         * math/s_csqrtf.c (__csqrtf): Likewise.
7496         * math/s_csqrtl.c (__csqrtl): Likewise.
7497         * math/auto-libm-test-in: Add more tests of csqrt.
7498         * math/auto-libm-test-out: Regenerated.
7499         * sysdeps/i386/fpu/libm-test-ulps: Update.
7501         [BZ #18219]
7502         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
7503         threshold on absolute value of exponent for which scaling is used.
7504         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7505         * math/auto-libm-test-in: Add more tests of exp2.
7506         * math/auto-libm-test-out: Regenerated.
7508 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
7510         [BZ #17977]
7511         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
7512         when initializing interface list, based on the bug analysis
7513         and the patch proposed by Eric Newton.
7514         * resolv/tst-res_hconf_reorder.c: New test.
7515         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
7516         tst-res_hconf_reorder.
7517         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
7518         and $(shared-thread-library).
7519         (tst-res_hconf_reorder-ENV): New variable.
7521         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
7522         in comment.
7524 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
7526         [BZ #16353]
7527         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
7528         (__expm1): Force underflow exception for arguments with small
7529         absolute value.
7530         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
7531         (__expm1f): Force underflow exception for arguments with small
7532         absolute value.
7533         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
7534         (__expm1): Force underflow exception for arguments with small
7535         absolute value.
7536         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
7537         (__expm1f): Force underflow exception for arguments with small
7538         absolute value.
7539         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7540         Check for small arguments before calling __expm1.
7541         * math/auto-libm-test-in: Do not mark underflow exceptions as
7542         possibly missing for bug 16353.
7543         * math/auto-libm-test-out: Regenerated.
7545 2015-06-22  Andreas Schwab  <schwab@suse.de>
7547         [BZ #18513]
7548         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
7549         PTR queries.
7551 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
7553         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
7555         * string/strcoll_l.c: Remove unused struct element idxnow.
7557 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
7559         [BZ #18569]
7560         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
7561         underflow and return argument in case of subnormal argument.
7562         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7563         Likewise.
7564         * math/auto-libm-test-in: Add more tests of expm1.
7565         * math/auto-libm-test-out: Regenerated.
7567         [BZ #16361]
7568         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
7569         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
7570         tiny results.
7571         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
7572         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
7573         tiny results.
7574         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
7575         mark underflow exceptions as possibly missing for bug 16361.
7576         * math/auto-libm-test-out: Regenerated.
7578 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
7580         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
7581         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
7582         Remove variable.
7583         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7584         (test-xfail-XOPEN2K8/utmpx.h/conform).
7586         * conform/conformtest.pl ($xerrors): New variable.
7587         (note_error): New function.
7588         (compiletest): New argument $xfail.  Use not_error.
7589         (runtest): Likewise.
7590         (top level): Handle xfail- lines.  Update calls to compiletest and
7591         runtest.  Handle xfail- and optional- in headers listed with
7592         allow-header.
7593         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
7594         (O_EXEC): Likewise.
7595         (O_SEARCH): Likewise.
7596         * conform/data/stropts.h-data (ioctl): Likewise.
7597         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
7598         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
7599         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
7600         (msghdr.msg_controllen): Likewise.
7601         (cmsghdr.cmsg_len): Likewise.
7602         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
7603         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
7604         variable.
7605         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7606         (test-xfail-XPG4/stropts.h/conform): Likewise.
7607         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7608         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7609         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7610         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7611         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7612         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7613         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7614         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7615         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7616         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7617         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7618         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7619         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7620         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7621         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7622         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7623         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7624         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7625         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7627 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7629         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
7630         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
7631         definitions for proper unfolding of __MATHDECL_VEC.
7633 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7635         * benchtests/bench-strcoll.c:
7636         Include string.h.
7637         (main): Remove unused variable res.
7639 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7641         * timezone/Makefile (%/UTC %/Universal):
7642         Generate test-result files for UTC and Universal.
7644 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7646         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7648 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
7650         [BZ #16350]
7651         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
7652         for arguments with small absolute value.
7653         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
7654         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
7655         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
7656         (__asinh): Force underflow exception for arguments with small
7657         absolute value.
7658         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
7659         (__asinhf): Force underflow exception for arguments with small
7660         absolute value.
7661         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
7662         (__asinhl): Force underflow exception for arguments with small
7663         absolute value.
7664         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
7665         (__asinhl): Force underflow exception for arguments with small
7666         absolute value.
7667         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
7668         (__asinhl): Force underflow exception for arguments with small
7669         absolute value.
7670         * math/auto-libm-test-in: Do not mark underflow exceptions as
7671         possibly missing for bug 16350.
7672         * math/auto-libm-test-out: Regenerated.
7674         * include/bits/ipc.h: Remove file.
7675         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
7676         variable.
7677         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7678         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7679         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7680         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7681         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7682         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7683         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7684         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7685         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7687         * math/auto-libm-test-in: Remove spurious underflow allowance for
7688         tests of cexp.
7689         * math/auto-libm-test-out: Regenerated.
7691         [BZ #18558]
7692         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
7693         unconditional definition.
7694         (MCAST_BLOCK_SOURCE): Likewise.
7695         (MCAST_UNBLOCK_SOURCE): Likewise.
7696         (MCAST_LEAVE_GROUP): Likewise.
7697         (MCAST_JOIN_SOURCE_GROUP): Likewise.
7698         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7699         (MCAST_MSFILTER): Likewise.
7700         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
7701         Remove variable.
7702         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7703         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7704         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7705         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7706         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7708 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
7710         * NEWS: Mention addition of x86_64 vector sincosf.
7711         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
7712         * math/test-float-vlen4.h: Likewise.
7713         * math/test-float-vlen8.h: Likewise.
7714         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7715         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
7716         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7717         * sysdeps/x86_64/fpu/Versions: New versions added.
7718         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7719         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7720         Added build of SSE, AVX2 and AVX512 IFUNC versions.
7721         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
7722         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7723         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
7724         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7725         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
7726         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7727         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
7728         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
7729         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
7730         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
7731         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
7732         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
7733         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
7734         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
7735         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
7736         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7737         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7738         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7739         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7740         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7741         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7743         * NEWS: Mention addition of x86_64 vector sincos.
7744         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
7745         * math/math.h (__MATHDECL_VEC): New macro.
7746         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
7747         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
7748         declaration under condition.
7749         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
7750         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
7751         TEST_VEC_LOOP change.
7752         * math/test-double-vlen4.h: Likewise.
7753         * math/test-double-vlen8.h: Likewise.
7754         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
7755         * math/test-float-vlen4.h: Likewise.
7756         * math/test-float-vlen8.h: Likewise.
7757         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7758         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
7759         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7760         * sysdeps/x86_64/fpu/Versions: New versions added.
7761         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7762         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7763         Added build of SSE, AVX2 and AVX512 IFUNC versions.
7764         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
7765         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
7766         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
7767         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
7768         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
7769         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
7770         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
7771         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
7772         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
7773         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
7774         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
7775         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
7776         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
7777         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
7778         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7779         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7780         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7781         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7782         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7783         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7784         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7786         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7787         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
7788         redirections for powf.
7789         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7790         * sysdeps/x86_64/fpu/Versions: New versions added.
7791         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7792         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7793         Added build of SSE, AVX2 and AVX512 IFUNC versions.
7794         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
7795         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
7796         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
7797         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
7798         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
7799         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
7800         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
7801         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
7802         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
7803         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
7804         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
7805         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
7806         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
7807         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
7808         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7809         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7810         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7811         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7812         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7813         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7814         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7815         * math/test-float-vlen16.h: Fixed 2 argument macro.
7816         * math/test-float-vlen4.h: Likewise.
7817         * math/test-float-vlen8.h: Likewise.
7818         * NEWS: Mention addition of x86_64 vector powf.
7820 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
7822         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7823         and redefine.
7824         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7825         and redefine.
7826         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
7827         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7828         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7830         [BZ #18553]
7831         * resource/getpriority.c (getpriority): Rename to __getpriority
7832         and define as weak alias of __getpriority.
7833         * resource/setpriority.c (setpriority): Rename to __setpriority
7834         and define as weak alias of __setpriority.
7835         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
7836         __getpriority and define as weak alias of __getpriority.
7837         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
7838         __setpriority and define as weak alias of __setpriority.
7839         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
7840         strong name.
7841         (setpriority): Use __setpriority as strong name.
7842         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
7843         __getpriority and define as weak alias of __getpriority.
7844         * include/sys/resource.h (__getpriority): Declare.  Use
7845         libc_hidden_proto.
7846         (__setpriority): Likewise.
7847         (getpriority): Don't use libc_hidden_proto.
7848         (setpriority): Likewise.
7849         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
7850         getpriority.  Call __setpriority instead of setpriority.
7851         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
7852         Remove variable.
7854         [BZ #18547]
7855         * misc/getttyent.c (getttynam): Rename to __getttynam and define
7856         as weak alias of __getttynam.  Use prototype function definition.
7857         Call __setttyent, __getttyent and __endttyent instead of
7858         setttyent, getttyent and endttyent.
7859         (getttyent): Rename to __getttyent and define as weak alias of
7860         __getttyent.  Call __setttyent instead of setttyent.  Call
7861         __fgets_unlocked instead of fgets_unlocked.
7862         (setttyent): Rename to __setttyent and define as weak alias of
7863         __setttyent.
7864         (endttyent): Rename to __endttyent and define as weak alias of
7865         __endttyent.
7866         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
7867         (__setttyent): Likewise.
7868         (__endttyent): Likewise.
7869         (getttyent): Don't use libc_hidden_proto.
7870         (setttyent): Likewise.
7871         (endttyent): Likewise.
7872         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
7873         __endttyent instead of setttyent, getttyent and endttyent.
7874         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
7875         Remove variable.
7877         [BZ #18546]
7878         * socket/recv.c (__recv): Use libc_hidden_def.
7879         * socket/socket.c (__socket): Likewise.
7880         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7881         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
7882         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
7883         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
7884         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
7885         libc_hidden_def.
7886         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
7887         libc_hidden_weak.
7888         * include/sys/socket.h (__socket): Do not use attribute_hidden.
7889         Use libc_hidden_proto.
7890         (__recv): Likewise.
7891         * socket/Versions (libc): Export __recv and __socket at version
7892         GLIBC_PRIVATE.
7893         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
7894         instead of recv.
7895         (init_mq_netlink): Call __socket instead of socket.
7896         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
7897         Remove variable.
7899         [BZ #18545]
7900         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
7901         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
7902         hidden_weak.
7903         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
7904         define as alias of __mq_timedsend.  Use hidden_weak.
7905         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
7906         __mq_timedsend as strong name.
7907         (mq_timedreceive): Use __mq_timedreceive as strong name.
7908         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
7909         (__mq_timedreceive): Likewise.
7910         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
7911         __mq_timedreceive instead of mq_timedreceive.
7912         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
7913         instead of mq_timedsend.
7914         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
7915         Remove variable.
7917         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
7918         hidden_def and hidden_weak instead of libc_hidden_def and
7919         libc_hidden_weak.
7920         (top level): Refer to hidden_def in comment.
7921         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
7922         macro.  Use it instead of libc_hidden_def.
7923         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
7924         specify __GI_* name explicitly.
7925         (mq_timedreceive): Likewise.
7926         (mq_setattr): Likewise.
7928         [BZ #18544]
7929         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
7930         __pthread_barrier_init and define as weak alias of
7931         __pthread_barrier_init.
7932         * sysdeps/sparc/nptl/pthread_barrier_init.c
7933         (pthread_barrier_init): Likewise.
7934         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
7935         __pthread_barrier_wait and define as weak alias of
7936         __pthread_barrier_wait.
7937         * sysdeps/sparc/nptl/pthread_barrier_wait.c
7938         (pthread_barrier_wait): Likewise.
7939         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
7940         (pthread_barrier_wait): Likewise.
7941         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
7942         (pthread_barrier_wait): Likewise.
7943         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
7944         (pthread_barrier_wait): Likewise.
7945         * nptl/Versions (libpthread): Export __pthread_barrier_init and
7946         __pthread_barrier_wait at version GLIBC_PRIVATE.
7947         * include/pthread.h (__pthread_barrier_init): Declare.
7948         (__pthread_barrier_wait): Likewise.
7949         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
7950         Call __pthread_barrier_wait instead of pthread_barrier_wait.
7951         (helper_thread): Likewise.
7952         (init_mq_netlink): Call __pthread_barrier_init instead of
7953         pthread_barrier_init.
7955         [BZ #18542]
7956         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
7957         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
7958         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
7959         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
7960         vswscanf.
7961         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
7962         Remove variable.
7964         [BZ #18540]
7965         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
7966         strong alias of _IO_fflush.  Use libc_hidden_def.
7967         * libio/iofflush_u.c (fflush_unlocked): Rename to
7968         __fflush_unlocked and define as weak alias of __fflush_unlocked.
7969         Use libc_hidden_weak.
7970         * include/stdio.h (__fflush_unlocked): Declare.  Use
7971         libc_hidden_proto.
7972         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
7973         fflush_unlocked.
7974         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
7975         Remove variable.
7977         [BZ #18539]
7978         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
7979         define as weak alias of __addseverity.
7980         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
7981         Remove variable.
7982         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
7983         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
7984         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
7986         [BZ #18536]
7987         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
7988         (__tfind): Likewise.
7989         (__tdelete): Likewise.
7990         (__twalk): Likewise.
7991         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
7992         __twalk to GLIBC_PRIVATE.
7993         * include/search.h (__tsearch): Use libc_hidden_proto.
7994         (__tfind): Likewise.
7995         (__tdelete): Likewise.
7996         (__twalk): Likewise.
7997         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
7998         Call __tdelete instead of tdelete.
7999         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
8000         tfind.  Call __tsearch instead of tsearch.
8001         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
8002         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
8003         Remove variable.
8004         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8006         [BZ #18534]
8007         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
8008         (dprintf): Define as a weak alias of __dprintf, not a strong
8009         alias.
8010         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
8011         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
8012         dprintf.
8013         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
8014         Remove variable.
8015         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8016         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8018         [BZ #18533]
8019         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
8020         not a strong alias.
8021         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
8022         Remove variable.
8024         [BZ #18532]
8025         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
8026         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
8027         (in6addr_loopback): Rename to __in6addr_loopback and define as
8028         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
8029         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
8030         libc_hidden_proto.
8031         (__in6addr_any): Likewise.
8032         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
8033         in6addr_any.
8034         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
8035         variable.
8036         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8038 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8040         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
8041         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
8042         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8043         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8044         redirections for pow.
8045         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8046         * sysdeps/x86_64/fpu/Versions: New versions added.
8047         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8048         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8049         build of SSE, AVX2 and AVX512 IFUNC versions.
8050         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
8051         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
8052         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
8053         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
8054         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
8055         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
8056         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
8057         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
8058         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
8059         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
8060         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
8061         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
8062         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
8063         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
8064         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8065         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8066         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8067         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8068         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8069         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8070         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8071         * NEWS: Mention addition of x86_64 vector pow.
8073         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8074         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8075         redirections for expf.
8076         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8077         * sysdeps/x86_64/fpu/Versions: New versions added.
8078         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8079         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8080         build of SSE, AVX2 and AVX512 IFUNC versions.
8081         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
8082         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
8083         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
8084         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
8085         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
8086         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
8087         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
8088         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
8089         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
8090         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
8091         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
8092         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
8093         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
8094         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8095         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8096         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8097         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8098         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8099         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8100         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8101         * NEWS: Mention addition of x86_64 vector expf.
8103         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
8104         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
8105         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8106         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8107         redirections for exp.
8108         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8109         * sysdeps/x86_64/fpu/Versions: New versions added.
8110         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8111         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8112         build of SSE, AVX2 and AVX512 IFUNC versions.
8113         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
8114         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
8115         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
8116         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
8117         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
8118         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
8119         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
8120         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
8121         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
8122         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
8123         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
8124         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
8125         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
8126         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8127         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8128         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8129         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8130         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8131         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8132         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8133         * NEWS: Mention addition of x86_64 vector exp.
8135         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8136         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8137         redirections for logf.
8138         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8139         * sysdeps/x86_64/fpu/Versions: New versions added.
8140         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8141         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8142         build of SSE, AVX2 and AVX512 IFUNC versions.
8143         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
8144         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
8145         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
8146         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
8147         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
8148         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
8149         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
8150         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
8151         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
8152         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
8153         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
8154         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
8155         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
8156         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8157         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8158         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8159         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8160         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8161         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8162         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8163         * NEWS: Mention addition of x86_64 vector logf.
8165         * bits/libm-simd-decl-stubs.h: Added stubs for log.
8166         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
8167         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8168         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8169         redirections for log.
8170         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8171         * sysdeps/x86_64/fpu/Versions: New versions added.
8172         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8173         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8174         build of SSE, AVX2 and AVX512 IFUNC versions.
8175         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
8176         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
8177         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
8178         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
8179         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
8180         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
8181         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
8182         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
8183         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
8184         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
8185         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
8186         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
8187         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
8188         test.
8189         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8190         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8191         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8192         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8193         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8194         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8195         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8196         * NEWS: Mention addition of x86_64 vector log.
8198 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8200         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
8201         cfi_adjust_cfa_offset argument.
8202         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
8203         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
8205         [BZ #18034]
8206         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
8207         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
8208         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
8209         ordering using ldar.
8210         (_dl_tlsdesc_dynamic): Likewise.
8211         (_dl_tlsdesc_return_lazy): Likewise.
8212         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
8213         relaxed atomics instead of volatile and synchronize with release store.
8214         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
8215         volatile.
8216         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8218 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
8220         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8221         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
8222         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8223         * sysdeps/x86_64/fpu/Versions: New versions added.
8224         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8225         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8226         build of SSE, AVX2 and AVX512 IFUNC versions.
8227         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
8228         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
8229         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
8230         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
8231         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
8232         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
8233         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
8234         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
8235         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
8236         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
8237         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
8238         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
8239         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
8240         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8241         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8242         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8243         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8244         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8245         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8246         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8247         * NEWS: Mention addition of x86_64 vector sinf.
8249 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
8251         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
8252         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
8253         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
8254         Remove variable.
8255         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8256         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8258 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
8260         [BZ #18530]
8261         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
8262         strong alias of _IO_fputs.  Use libc_hidden_def.
8263         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
8264         and define as weak alias of __fputs_unlocked.  Use
8265         libc_hidden_weak.
8266         * include/stdio.h (__fputs_unlocked): Declare.  Use
8267         libc_hidden_proto.
8268         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
8269         fputs_unlocked.
8271         [BZ #18529]
8272         * resolv/netdb.h [__USE_POSIX]: Change condition to
8273         [__USE_XOPEN2K].
8274         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
8275         not expect.
8276         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
8277         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
8278         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
8279         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
8280         [XPG4 || UNIX98] (AI_ALL): Likewise.
8281         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
8282         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
8283         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
8284         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
8285         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
8286         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
8287         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
8288         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
8289         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
8290         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
8291         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
8292         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
8293         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
8294         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
8295         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
8296         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
8297         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
8298         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
8299         [XPG4 || UNIX98] (gai_strerror): Likewise.
8300         [XPG4 || UNIX98] (getaddrinfo): Likewise.
8301         [XPG4 || UNIX98] (getnameinfo): Likewise.
8303         [BZ #18528]
8304         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
8305         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
8306         __USE_XOPEN2K8].
8307         (getgrent): Likewise.
8308         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
8309         expect.
8310         [XPG3 || POSIX2008] (endgrent): Likewise.
8311         [XPG3] (setgrent): Likewise.
8312         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
8313         variable.
8314         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8316         [BZ #18527]
8317         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
8318         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
8319         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
8320         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
8321         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
8322         * include/unistd.h (__getlogin_r): Declare.  Use
8323         libc_hidden_proto.
8324         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
8325         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
8326         variable.
8327         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8328         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8329         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8331 2015-06-12  Martin Sebor  <msebor@redhat.com>
8333         [BZ #18512]
8334         * Makerules (check-install-supported): New target.
8335         (install): Add check-install-supported as a dependency.
8336         * manual/install.texi (Installing the C Library): Document
8337         that overriding prefix and exec_prefix is not supported.
8338         Mention DESTDIR.
8339         * INSTALL: Regenerate from the above.
8341 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
8343         [BZ #18519]
8344         * posix/Versions (libc): Export __libc_pread at version
8345         GLIBC_PRIVATE.
8346         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
8347         instead of pread.
8348         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
8349         variable.
8351         [BZ #18522]
8352         * misc/efgcvt_r.c
8353         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
8354         (cvt_symbol): Use weak_alias instead of strong_alias.
8355         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
8356         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
8357         Remove variable.
8358         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8359         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8361         [BZ #18520]
8362         * inet/herrno.c (h_errno): Rename to __h_errno.
8363         (__libc_h_errno): Define as alias of __h_errno not h_errno.
8364         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
8365         to __h_errno instead of h_errno.
8366         * nptl/herrno.c (h_errno): Rename to __h_errno.
8367         (__h_errno_location): Refer to __h_errno not h_errno.
8368         * resolv/Versions (h_errno): Rename to __h_errno.
8369         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
8370         Remove variable.
8371         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8373 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
8375         * configure.ac: More strict check for AVX512 assembler support.
8376         * configure: Regenerated.
8378         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
8379         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
8380         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8381         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
8382         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8383         * sysdeps/x86_64/fpu/Versions: New versions added.
8384         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8385         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8386         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8387         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
8388         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
8389         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
8390         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
8391         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
8392         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
8393         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
8394         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
8395         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
8396         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
8397         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
8398         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
8399         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
8400         test.
8401         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8402         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8403         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8404         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8405         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8406         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8407         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8408         * NEWS: Mention addition of x86_64 vector sin.
8410 2015-06-11  Florian Weimer  <fweimer@redhat.com>
8412         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
8413         comment.
8415 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8417         [BZ #18479]
8418         * nptl/pt-interp.c: New file.
8419         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
8420         Add pt-interp.
8421         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
8422         $(common-objpfx)runtime-linker.h.
8424 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
8426         * Makeconfig (+interp): Remove unused variable.
8427         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
8428         only.  Depend on $(common-objpfx)runtime-linker.h instead of
8429         $(elf-objpfx)runtime-linker.h.
8430         ($(elf-objpfx)runtime-linker.h): Rename to
8431         $(common-objpfx)runtime-linker.h and move ...
8432         * Makerules [$(build-shared) = yes]: ... here.
8433         * elf/interp.c: Include <runtime-linker.h> instead of
8434         <elf/runtime-linker.h>.
8436 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8438         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
8439         (__gettimeofday_syscall): Remove vsyscall fallback.
8440         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
8441         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
8442         Add syscall fallback function.
8443         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
8444         if vDSO is not present.
8445         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
8446         fallback function.
8447         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
8448         present.
8449         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
8450         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8452 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
8454         [BZ #18497]
8455         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
8456         of wcscmp.
8457         (wcscmp): Define as weak alias of WCSCMP.
8458         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
8459         wcscoll.
8460         (USE_HIDDEN_DEF): Define.
8461         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
8462         __wcscoll.  Don't use libc_hidden_weak.
8463         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
8464         wcscmp.
8465         * sysdeps/i386/i686/multiarch/wcscmp-c.c
8466         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
8467         __GI_wcscmp.
8468         (weak_alias): Undefine and redefine.
8469         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
8470         __wcscmp and define as weak alias of __wcscmp.
8471         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
8472         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
8473         (__wcscoll): Likewise.
8474         (wcscmp): Don't use libc_hidden_proto.
8475         (wcscoll): Likewise.
8476         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
8477         wcscoll.
8478         * posix/regexec.c (check_node_accept_bytes): Likewise.
8479         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
8480         variable.
8481         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8482         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8484         [BZ #18507]
8485         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
8486         __fstatvfs and define as weak alias of __fstatvfs.  Use
8487         libc_hidden_weak.
8488         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
8489         and define as weak alias of __statvfs.  Use libc_hidden_weak.
8490         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
8491         Define as alias of __fstatvfs, not fstatvfs.
8492         (fstatvfs64): Likewise.
8493         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
8494         Define as alias of __statvfs, not statvfs.
8495         (statvfs64): Likewise.
8496         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
8497         Remove variable.
8499 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8502         (HAVE_GETCPU_VSYSCALL): Define.
8503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8504         (HAVE_GETCPU_VSYSCALL): Likewise.
8505         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
8506         * sysdeps/unix/sysv/linux/sched_getcpu.c
8507         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
8508         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
8509         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
8510         prototype.
8511         * sysdeps/unix/sysv/linux/x86_64/init-first.c
8512         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
8513         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
8514         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
8515         Define.
8516         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
8517         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8518         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
8519         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8521 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
8523         * sysdeps/x86_64/fpu/Makefile: New file.
8524         * sysdeps/x86_64/fpu/Versions: New file.
8525         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
8526         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
8527         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
8528         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
8529         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
8530         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
8531         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
8532         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
8533         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
8534         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
8535         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
8536         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
8537         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
8538         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8539         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8540         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
8541         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
8542         * sysdeps/x86_64/configure.ac: Options for libmvec build.
8543         * sysdeps/x86_64/configure: Regenerated.
8544         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
8545         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
8546         * manual/install.texi (Configuring and compiling): Document
8547         --disable-mathvec.
8548         * INSTALL: Regenerated.
8549         * NEWS: Mention addition of libmvec and x86_64 vector cos.
8551         * math/Makefile: Added rules for vector tests.
8552         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
8553         declaration under condition.
8554         * math/test-double-vlen2.h: New file.
8555         * math/test-double-vlen4.h: New file.
8556         * math/test-double-vlen8.h: New file.
8557         * math/test-vec-loop.h: Added initialization macro.
8558         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
8559         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
8560         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
8561         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
8562         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
8563         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
8564         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
8565         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
8566         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
8567         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
8568         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
8570         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8571         * sysdeps/x86_64/fpu/Versions: New versions added.
8572         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
8573         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
8574         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
8575         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
8576         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
8577         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
8578         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
8579         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
8580         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
8581         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
8582         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
8583         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
8584         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
8585         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8586         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8587         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8588         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
8589         * NEWS: Mention addition of x86_64 vector cosf.
8591         * math/Makefile: Added CFLAGS for new tests.
8592         * math/test-float-vlen16.h: New file.
8593         * math/test-float-vlen4.h: New file.
8594         * math/test-float-vlen8.h: New file.
8595         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
8596         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
8597         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8598         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
8599         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
8600         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
8601         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
8602         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
8603         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
8604         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
8605         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
8607 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
8609         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
8610         * locale/programs/ld-ctype.c: Likewise.
8612 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
8614         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
8615         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
8616         bit_ZMM16_31_state): New macro.
8617         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8618         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
8620 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
8622         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
8624 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
8626         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
8628 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
8630         [BZ #18498]
8631         * libio/memstream.c (open_memstream): Rename to __open_memstream
8632         and define as weak alias of __open_memstream.
8633         * include/stdio.h (__open_memstream): Declare.  Use
8634         libc_hidden_proto.
8635         (open_memstream): Don't use libc_hidden_proto.
8636         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
8637         open_memstream.
8638         * posix/getopt.c (_getopt_internal_r): Likewise.
8639         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
8640         variable.
8641         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8642         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8643         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8645         [BZ #18496]
8646         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
8647         instead of wcrtomb.
8649         [BZ #18483]
8650         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
8651         [__USE_XOPEN2K8].  Remove redundant #endif.
8652         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
8653         Remove redundant #if.
8654         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
8655         Remove variable.
8656         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8657         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8659         [BZ #18495]
8660         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
8661         (__iswlower): Likewise.
8662         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
8663         (__iswlower): Likewise.
8664         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
8665         instead of towlower.
8666         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
8667         instead of iswlower.  Call __towupper instead of towupper.
8668         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
8669         instead of iswalnum.
8671 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8673         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
8674         errors to stderr.
8676 2015-06-05  Florian Weimer  <fweimer@redhat.com>
8678         [BZ #15661]
8679         [BZ #17322]
8680         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8681         Check for overflow properly.  Check for O_APPEND.  Ignore large
8682         file system block sizes.  Add comments about problems.
8683         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
8684         * manual/filesys.texi (Storage Allocation): New node.
8686 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8688         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
8689         cancellable syscalls.
8690         (SYS_ify): Add guard to no redefine it.
8691         (INLINE_SYSCALL): Likewise.
8692         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
8693         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
8694         SYSCALL_CANCEL instead.
8695         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
8696         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8697         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8698         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8699         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8700         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
8701         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
8702         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
8703         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8704         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8705         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
8706         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
8707         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
8708         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
8709         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
8710         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8711         Likewise.
8712         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8713         (__libc_pread64): Likewise.
8714         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
8715         (__libc_preadv): Likewise.
8716         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
8717         (__libc_readv64): Likewise.
8718         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8719         (__libc_pwrite): Likewise.
8720         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8721         (__libc_pwrite64): Likewise.
8722         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
8723         (__libc_pwritev): Likewise.
8724         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
8725         (__libc_pwritev64): Likewise.
8726         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
8727         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8728         (sync_file_range): Likewise.
8729         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
8730         Likewise.
8731         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
8732         Likewise.
8733         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8734         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8735         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8736         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8737         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8738         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8739         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8740         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
8741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8742         Likewise.
8743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8744         (__libc_read64): Likewise.
8745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
8746         Likewise.
8747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
8748         Likewise.
8749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
8750         Likewise.
8751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
8752         Likewise.
8753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8754         (__libc_pread64): Likewise.
8755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
8756         Likewise.
8757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8758         (__libc_pwrite64): Likewise.
8759         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
8760         (sync_file_range): Likewise.
8761         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
8762         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8763         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8764         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
8765         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
8766         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8767         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8768         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
8769         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
8770         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8771         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8772         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8773         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8774         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8775         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
8776         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8777         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8778         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8779         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8780         Likewise.
8781         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
8782         Likewise.
8783         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
8784         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
8785         Likewise.
8786         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
8787         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
8788         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
8789         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
8790         Likewise.
8791         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
8792         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
8793         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
8794         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
8795         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
8797 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
8799         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
8800         Include dl-vdso.
8801         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
8802         Use VDSO routines for gettimeofday, clock_gettime if
8803         available.
8804         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
8805         Declare VDSO symbols.
8806         * sysdeps/unix/sysv/linux/arm/sysdep.h:
8807         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
8808         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
8809         * sysdeps/unix/sysv/linux/arm/Versions: Add
8810         __vdso_clock_gettime.
8812 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8814         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
8815         be an inline implementation regardless of library is built within.
8816         (open_not_cancel_2): Likewise.
8817         (__read_nocancel): Likewise.
8818         (__write_nocancel): Likewise.
8819         (openat_not_cancel): Likewise.
8820         (openat_not_cancel_3): Likewise.
8821         (openat64_not_cancel): Likewise.
8822         (openat64_not_cancel_3): Likewise.
8823         (__close_nocancel): Likewise.
8824         (pause_not_cancel): Likewise.
8825         (nanosleep_not_cancel): Likewise.
8826         (sigsuspend_not_cancel): Likewise.
8828 2015-06-04  Torvald Riegel  <triegel@redhat.com>
8830         [BZ #14958]
8831         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
8832         wake-up.
8833         (__pthread_rwlock_rdlock_slow): Likewise.
8834         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8835         Likewise.
8836         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
8837         Likewise.
8838         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
8839         * nptl/tst-rwlock16.c: New file.
8840         * nptl/Makefile (tests): Add new test.
8842 2015-06-04  Torvald Riegel  <triegel@redhat.com>
8844         [BZ #18324]
8845         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
8846         missing wake-up of readers.
8847         * nptl/tst-rwlock15.c: New file.
8848         * nptl/Makefile (tests): Add new test.
8850 2015-06-03  Roland McGrath  <roland@hack.frob.com>
8852         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
8853         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
8854         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
8855         and __nacl_supply_interface_rtld.
8856         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
8857         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
8858         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
8859         Add __nacl_supply_interface_rtld.
8860         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
8862 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
8864         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
8865         isfinite.
8866         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8867         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
8869 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
8871         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
8872         __signbit* with standard C99 macros.
8873         * math/e_exp10l.c: Likewise.
8874         * math/e_exp2l.c: Likewise.
8875         * math/e_scalb.c: Likewise.
8876         * math/e_scalbf.c: Likewise.
8877         * math/e_scalbl.c: Likewise.
8878         * math/s_ldexp.c: Likewise.
8879         * math/s_ldexpf.c: Likewise.
8880         * math/s_ldexpl.c: Likewise.
8881         * math/w_atan2.c: Likewise.
8882         * math/w_atan2f.c: Likewise.
8883         * math/w_atan2l.c: Likewise.
8884         * math/w_cosh.c: Likewise.
8885         * math/w_coshf.c: Likewise.
8886         * math/w_coshl.c: Likewise.
8887         * math/w_exp10.c: Likewise.
8888         * math/w_exp10f.c: Likewise.
8889         * math/w_exp10l.c: Likewise.
8890         * math/w_exp2.c: Likewise.
8891         * math/w_exp2f.c: Likewise.
8892         * math/w_exp2l.c: Likewise.
8893         * math/w_fmod.c: Likewise.
8894         * math/w_fmodf.c: Likewise.
8895         * math/w_fmodl.c: Likewise.
8896         * math/w_hypot.c: Likewise.
8897         * math/w_hypotf.c: Likewise.
8898         * math/w_hypotl.c: Likewise.
8899         * math/w_jnl.c: Likewise.
8900         * math/w_lgamma.c: Likewise.
8901         * math/w_lgamma_r.c: Likewise.
8902         * math/w_lgammaf.c: Likewise.
8903         * math/w_lgammaf_r.c: Likewise.
8904         * math/w_lgammal.c: Likewise.
8905         * math/w_lgammal_r.c: Likewise.
8906         * math/w_pow.c: Likewise.
8907         * math/w_powf.c: Likewise.
8908         * math/w_powl.c: Likewise.
8909         * math/w_remainder.c: Likewise.
8910         * math/w_remainderf.c: Likewise.
8911         * math/w_remainderl.c: Likewise.
8912         * math/w_scalb.c: Likewise.
8913         * math/w_scalbf.c: Likewise.
8914         * math/w_scalbl.c: Likewise.
8915         * math/w_scalbln.c: Likewise.
8916         * math/w_scalblnf.c: Likewise.
8917         * math/w_scalblnl.c: Likewise.
8918         * math/w_sinh.c: Likewise.
8919         * math/w_sinhf.c: Likewise.
8920         * math/w_sinhl.c: Likewise.
8921         * math/w_tgamma.c: Likewise.
8922         * math/w_tgammaf.c: Likewise.
8923         * math/w_tgammal.c: Likewise.
8924         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8925         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
8926         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8927         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8928         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8929         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8930         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8931         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8932         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8933         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8934         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8935         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8936         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8937         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8938         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8939         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8940         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8941         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8942         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8943         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8944         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8945         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8946         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8947         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8948         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8949         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8950         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
8951         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8952         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8953         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8954         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
8955         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
8956         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
8957         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
8958         * stdio-common/printf_fp.c: Likewise.
8959         * stdio-common/printf_fphex.c: Likewise.
8960         * stdio-common/printf_size.c: Likewise.
8962 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
8964         [BZ #18470]
8965         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
8966         strnlen.
8967         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
8968         Remove variable.
8969         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8970         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8971         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8972         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8973         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8974         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8975         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8976         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8977         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8978         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8980         [BZ #18468]
8981         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
8982         weak alias of __wmemchr.  Use libc_hidden_weak.
8983         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
8984         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
8985         instead of wmemchr.
8987 2015-06-02  Roland McGrath  <roland@hack.frob.com>
8989         [BZ #18383]
8990         * elf/tst-tlsalign-extern.c: New file.
8991         * elf/tst-tlsalign-extern-static.c: New file.
8992         * elf/tst-tlsalign-vars.c: New file.
8993         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
8994         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
8995         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
8996         ($(objpfx)tst-tlsalign-extern-static): Likewise.
8997         (test-xfail-tst-tlsalign-extern-static): New variable.
8999 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
9001         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
9002         Use variable name _sc_err instead of err.
9003         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
9004         instead of ret.
9005         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
9006         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
9007         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
9008         (INLINE_SYSCALL): Likewise.
9010         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
9011         * include/string.h (__strnlen): Use libc_hidden_proto.
9012         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
9013         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
9014         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
9015         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
9016         (libc_hidden_def): Undefine and redefine.
9017         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
9018         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
9019         __GI_strnlen.
9020         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
9021         libc_hidden_def.
9022         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
9024         [BZ #18469]
9025         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
9026         weak alias of __towlower.  Use libc_hidden_weak.
9027         (towupper): Rename to __towupper and define as weak alias of
9028         __towupper.  Use libc_hidden_weak.
9029         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
9030         (__towupper): Likewise.
9031         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
9032         __towlower instead of towlower.
9034 2015-06-02  Roland McGrath  <roland@hack.frob.com>
9036         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
9037         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
9039 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9041         * sysdeps/aarch64/libm-test-ulps: Update.
9043 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9045         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
9046         Define.
9047         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9048         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9049         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
9050         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9051         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
9052         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
9053         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
9055 2015-06-01  Martin Sebor  <msebor@redhat.com>
9057         [BZ #18116]
9058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9059         (__setcontext): Use extended four-operand version of mtsf whenever
9060         possible.
9061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9062         (__novec_swapcontext): Likewise.
9064 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9066         * benchtests/scripts/compare_bench.py: New file.
9067         * benchtests/scripts/import_bench.py (mean): New function.
9068         (split_list): Likewise.
9069         (do_for_all_timings): Likewise.
9070         (compress_timings): Likewise.
9072         * benchtests/scripts/import_bench.py: New file.
9073         * benchtests/scripts/validate_benchout.py: Import import_bench
9074         instead of jsonschema.
9075         (validate_bench): Remove function.
9076         (main): Use import_bench.
9078 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
9080         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
9081         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
9083 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9087 2015-05-28  Roland McGrath  <roland@hack.frob.com>
9089         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
9090         set THREAD_SELF->tid to a magic value and futex-wake it.
9091         Pass its address to the thread_exit system call.
9092         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
9093         bit is clear.
9094         * sysdeps/nacl/lowlevellock.h: New file.
9095         * sysdeps/nacl/lll_timedwait_tid.c: New file.
9097         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
9098         Add TIMEOUT to current time, don't subtract it.
9100 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
9102         [BZ #2981]
9103         [BZ #18422]
9104         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
9105         ($(objpfx)tst-audit2.out): Also depend on
9106         $(objpfx)tst-auditmod9b.so.
9107         * elf/tst-audit2.c: Include <dlfcn.h>.
9108         (calloc_called): New.
9109         (calloc): Allow to be called more than once.
9110         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
9112 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
9114         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
9115         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
9117 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
9119         * stdlib/monetary.h: Fix comment.
9121 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
9123         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
9124         Avoid using variables in #defines that might cause shadowing.
9125         (INTERNAL_VSYSCALL_CALL): Likewise.
9127 2015-05-26  Roland McGrath  <roland@hack.frob.com>
9129         * sysdeps/nacl/lll_timedlock_wait.c: New file.
9131         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
9132         * nptl/lll_timedlock_wait.c: ... to this new file.
9133         * nptl/Makefile (libpthread-routines): Add it.
9134         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
9135         * nptl/lll_timedwait_tid.c: ... to this new file.
9136         * nptl/Makefile (libpthread-routines): Add it.
9137         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
9138         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
9139         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
9140         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
9141         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
9142         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
9143         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
9144         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
9145         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
9146         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
9148 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9150         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
9151         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9152         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
9153         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
9154         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9155         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9156         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9157         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9158         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9159         * sysdeps/unix/sysv/linux/tile/sysdep.h
9160         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9161         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
9162         using vDSO syscall macro.
9164 2015-05-26  Andriy Rysin  <arysin@gmail.com>
9166         [BZ #17293]
9167         * uk_UA: Fix sorting order for Ukrainian locale
9169 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
9171         * stdlib/monetary.h: Fix comment.
9173 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9175         [BZ #18234]
9176         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
9177         st_mtim and st_ctim members.
9178         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
9179         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
9180         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
9181         (struct stat64): Likewise.
9182         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
9183         (struct stat64): Likewise.
9184         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
9185         (struct stat64): Likewise.
9187 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9189         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
9190         Define and include sysdep-vdso.h.
9191         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
9192         Likewise.
9193         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
9194         Likewise.
9195         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
9196         Define with VDSO_SYMBOL and use PTR_MANGLE.
9197         (__vdso_clock_gettime): Likewise.
9198         (__vdso_clock_getres): Likewise.
9199         (_libc_vdso_platform_setup): Likewise.
9200         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9201         Likewise.
9202         (_libc_vdso_platform_setup): Likewise.
9203         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
9204         Likewise.
9205         (__vdso_clock_gettime): Likewise.
9206         (__vdso_clock_getres): Likewise.
9207         (__vdso_get_tbfreq): Likewise.
9208         (__vdso_getcpu): Likewise.
9209         (__vdso_time): Likewise.
9210         (__vdso_sigtramp_rt64): Likewise.
9211         (__vdso_signtramp32): Likewise.
9212         (__vdso_sigtramp_rt32): Likewise.
9213         (_libc_vdso_platform_setup): Likewise.
9214         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
9215         Likewise.
9216         (__vdso_clock_gettime): Likewise.
9217         (__vdso_clock_getres): Likewise.
9218         (_libc_vdso_platform_setup): Likewise.
9219         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
9220         Likewise.
9221         (__vdso_clock_gettime): Likewise.
9222         (_libc_vdso_platform_setup): Likewise.
9223         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9224         Likewise.
9225         (__vdso_getcpu): Likewise.
9226         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
9227         Use VDSO_SYMBOL macro to define.
9228         (__vdso_clock_gettime): Likewise.
9229         (__vdso_clock_getres): Likewise.
9230         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
9231         Likewise.
9232         (__vdso_clock_gettime): Likewise.
9233         (__vdso_clock_getres): Likewise.
9234         (__vdso_get_tbfreq): Likewise.
9235         (__vdso_getcpu): Likewise.
9236         (__vdso_time): Likewise.
9237         (__vdso_sigtramp_rt64): Likewise.
9238         (__vdso_signtramp32): Likewise.
9239         (__vdso_sigtramp_rt32): Likewise.
9240         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
9241         Likewise.
9242         (__vdso_clock_gettime): Likewise.
9243         (__vdso_clock_getres): Likewise.
9244         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
9245         Likewise.
9246         (__vdso_clock_gettime): Likewise.
9247         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9248         Likewise.
9249         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
9250         macro.
9251         (INTERNAL_VSYSCALL): Likewise.
9252         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
9253         Remove macro.
9254         (INTERNAL_VSYSCALL): Likewise.
9255         (INTERNAL_VSYSCALL_NCS): Likewise.
9256         (INTERNAL_VSYSCALL_CALL): New macro.
9257         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
9258         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
9259         Likewise.
9260         (INTERNAL_VSYSCALL): Likewise.
9261         (INTERNAL_VSYSCALL_NCS): Likewise.
9262         (INTERNAL_VSYSCALL_CALL): New macro.
9263         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
9264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9265         (INLINE_VSYSCALL): Remove macro.
9266         (INTERNAL_VSYSCALL): Remove macro.
9267         (INTERNAL_VSYSCALL_NCS): Remove macro.
9268         (INTERNAL_VSYSCALL_CALL): New macro.
9269         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
9270         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
9271         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
9272         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
9273         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
9274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9275         (INLINE_VSYSCALL): Remove macro.
9276         (INTERNAL_VSYSCALL): Likewise.
9277         (INTERNAL_VSYSCALL_NCS): Likewise.
9278         (INTERNAL_VSYSCALL_CALL): New macro.
9279         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
9280         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
9281         PTR_DEMANGLE on vDSO pointer.
9282         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
9283         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
9284         macro.
9285         (INTERNAL_SYSCALL): Likewise.
9286         (INTERNAL_VSYSCALL_NCS): Remove macro.
9287         (INTERNAL_VSYSCALL_CALL): New macro.
9288         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
9289         Remove macro.
9290         (INTERNAL_VSYSCALL): Likewise.
9291         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
9292         sysdep-vdso.h instead of libc-vdso.h.
9293         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
9294         definition.
9295         (INLINE_VSYSCALL): Likewise.
9296         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
9297         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
9298         definition.
9299         (INLINE_VSYSCALL): Likewise.
9300         (INTERNAL_VSYSCALL): Likewise.
9301         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9302         * sysdeps/unix/sysv/linux/timespec_get.c
9303         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9304         (timespec_get): Use ANSI prototype.
9305         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
9306         and definition for Linux.
9308 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
9310         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
9311         * include/libc-symbols.h: libmvec_hidden_* macro series added.
9313 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9315         [BZ #2981]
9316         [BZ #18410]
9317         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
9318         for missing DT_PLTRELSZ.
9320 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
9322         Remove obsolete aliases that broke 'locale -a'
9323         [BZ #18412]
9324         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
9325         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
9326         breaking some applications that use 'locale -a' output.
9327         Change the encoding of this file from Latin-1 to ASCII to avoid
9328         other potential problems with people grepping this file.
9330 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9332         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
9333         -fasynchronous-unwind-tables.
9334         (CFLAGS-sendto.c): Likewise.
9335         (CFLAGS-sendmsg.c): Likewise.
9336         (CFLAGS-connect.c): Likewise.
9337         (CFLAGS-recvmsg.c): Likewise.
9338         (CFLAGS-recvfrom.c): Likewise.
9339         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
9340         (SOCKETCALL): New macro: non-cancellable socketcall.
9341         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
9342         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
9343         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
9344         * sysdeps/unix/sysv/linux/accept.c: New file.
9345         * sysdeps/unix/sysv/linux/bind.c: Likewise.
9346         * sysdeps/unix/sysv/linux/connect.c: Likewise.
9347         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
9348         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
9349         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
9350         * sysdeps/unix/sysv/linux/listen.c: Likewise.
9351         * sysdeps/unix/sysv/linux/recv.c: Likewise.
9352         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
9353         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9354         * sysdeps/unix/sysv/linux/send.c: Likewise.
9355         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9356         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
9357         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
9358         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
9359         * sysdeps/unix/sysv/linux/socket.c: Likewise.
9360         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
9361         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
9362         prototype.
9363         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
9364         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9365         instead of __internal_xxx function.
9366         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
9367         prototype.
9368         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
9369         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9370         instead of __internal_xxx function.
9371         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
9372         prototype.
9373         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
9374         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9375         instead of __internal_xxx function.
9376         * sysdeps/unix/sysv/linux/accept.S: Remove file.
9377         * sysdeps/unix/sysv/linux/bind.S: Likewise.
9378         * sysdeps/unix/sysv/linux/connect.S: Likewise.
9379         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
9380         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
9381         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
9382         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
9383         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
9384         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
9385         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
9386         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
9387         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9388         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
9389         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
9390         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
9391         * sysdeps/unix/sysv/linux/listen.S: Likewise.
9392         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
9393         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
9394         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
9395         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
9396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
9397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
9398         * sysdeps/unix/sysv/linux/recv.S: Likewise.
9399         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
9400         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
9401         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
9402         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9403         * sysdeps/unix/sysv/linux/send.S: Likewise.
9404         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
9405         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
9406         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
9407         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
9408         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
9409         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
9410         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
9411         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
9412         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
9413         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
9414         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
9415         socketcall is implemented in GLIBC.
9417 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
9419         * soft-fp/fmadf4.c: Include <libc-internal.h>.
9420         (__fma): Ignore uninitialized warnings around packing.
9421         * soft-fp/fmasf4.c: Include <libc-internal.h>.
9422         (__fmaf): Ignore uninitialized warnings around packing.
9423         * soft-fp/fmatf4.c: Include <libc-internal.h>.
9424         (__fmal): Ignore uninitialized warnings around packing.
9426         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
9427         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9428         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
9429         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9431         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
9432         switch statement into default case.
9433         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
9435         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
9436         a conditional in forcing "inexact".
9437         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9438         Likewise.
9440 2015-05-22  Roland McGrath  <roland@hack.frob.com>
9442         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9443         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
9444         for each INTERNAL_SYSCALL use.
9446 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
9448         [BZ #438]
9449         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
9450         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
9451         variable.
9453         [BZ #18444]
9454         * string/basename.c (basename): Rename to __basename and define as
9455         weak alias of __basename.  Use libc_hidden_weak.
9456         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
9457         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
9458         __basename instead of basename.
9459         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
9460         Remove variable.
9461         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9463 2015-05-18  Florian Weimer  <fweimer@redhat.com>
9465         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
9466         (_IO_JUMPS_FILE_plus): New.
9467         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
9468         _IO_CAST_FIELD_ACCESS.
9469         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
9470         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
9471         * libio/freopen.c (freopen): Likewise.
9472         * libio/freopen64.c (freopen64): Likewise.
9473         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
9474         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
9475         * libio/iofwide.c (_IO_fwide): Likewise.
9476         * libio/memstream.c (open_memstream): Likewise.
9477         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9478         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9479         * libio/oldiopopen.c (_IO_old_popen): Likewise.
9481 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
9483         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
9484         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
9485         NADJ.
9486         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
9487         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
9488         NADJ.
9489         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
9490         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
9491         NADJ.
9493         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
9494         (p == 4) case.
9496         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
9497         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
9498         Remove variable.
9499         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9500         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9501         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9503 2015-05-21  Florian Weimer  <fweimer@redhat.com>
9505         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
9506         Adjust jump table label generation macros.
9508 2015-05-21  Florian Weimer  <fweimer@redhat.com>
9510         * stdio-common/vfprintf.c (vfprintf): Move local variables
9511         args_malloced, specs, specs_malloced, and the code after
9512         do_positional to the printf_positional function.
9513         (printf_positional): New function.
9515 2015-05-21  Florian Weimer  <fweimer@redhat.com>
9517         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
9518         function.
9519         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
9520         STEP4_TABLE, process_arg): Move macro definitions
9521         out of the vfprintf function.  (Cosmetic change only.)
9523 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
9525         * benchtests/Makefile (stdio-common-bench): Define.
9526         (benchset): Add stdio-common-bench.
9527         * sprintf-inputs: New file.
9528         * sprintf-source.c: New file.
9530 2015-05-21  Andreas Schwab  <schwab@suse.de>
9532         [BZ #13028]
9533         [BZ #17053]
9534         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
9535         of struct __res_state.
9536         * resolv/res_send.c (__libc_res_nsend): Likewise.
9537         (get_nsaddr): New function.
9538         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
9539         statp directly.
9541 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
9543         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
9544         -D_POSIX_C_SOURCE=199506L.
9546         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
9548         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
9549         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
9550         Do not mention otherwise.
9551         [POSIX] (_XOPEN_VERSION): Do not expect.
9552         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
9553         [POSIX] (_POSIX2_C_BIND): Likewise.
9554         [POSIX] (_POSIX2_VERSION): Likewise.
9555         [POSIX] (_XOPEN_XPG2): Likewise.
9556         [POSIX] (_XOPEN_XPG3): Likewise.
9557         [POSIX] (_XOPEN_XPG4): Likewise.
9558         [POSIX] (_XOPEN_UNIX): Likewise.
9559         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
9560         [POSIX] (_POSIX_BARRIERS): Likewise.
9561         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
9562         [POSIX] (_POSIX_CPUTIME): Likewise.
9563         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
9564         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
9565         [POSIX] (_POSIX_SHELL): Likewise.
9566         [POSIX] (_POSIX_SPAWN): Likewise.
9567         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
9568         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
9569         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
9570         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
9571         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
9572         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
9573         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
9574         [POSIX] (_XBS5_LP64_OFF64): Likewise.
9575         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
9576         [POSIX] (_POSIX_TIMEOUTS): Likewise.
9577         [POSIX] (_POSIX2_PBS): Likewise.
9578         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
9579         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
9580         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
9581         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
9582         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
9583         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
9584         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
9585         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
9586         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
9587         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
9588         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
9589         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
9590         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
9591         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
9592         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
9593         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
9594         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
9595         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
9596         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
9597         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
9598         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
9599         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
9600         [POSIX] (_SC_2_C_BIND): Likewise.
9601         [POSIX] (_SC_2_C_VERSION): Likewise.
9602         [POSIX] (_SC_2_PBS): Likewise.
9603         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
9604         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
9605         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
9606         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
9607         [POSIX] (_SC_2_PBS_TRACK): Likewise.
9608         [POSIX] (_SC_ATEXIT_MAX): Likewise.
9609         [POSIX] (_SC_BARRIERS): Likewise.
9610         [POSIX] (_SC_BASE): Likewise.
9611         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
9612         [POSIX] (_SC_DEVICE_IO): Likewise.
9613         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
9614         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
9615         [POSIX] (_SC_FD_MGMT): Likewise.
9616         [POSIX] (_SC_FIFO): Likewise.
9617         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
9618         [POSIX] (_SC_FILE_LOCKING): Likewise.
9619         [POSIX] (_SC_FILE_SYSTEM): Likewise.
9620         [POSIX] (_SC_IOV_MAX): Likewise.
9621         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
9622         [POSIX] (_SC_NETWORKING): Likewise.
9623         [POSIX] (_SC_PAGE_SIZE): Likewise.
9624         [POSIX] (_SC_PASS_MAX): Likewise.
9625         [POSIX] (_SC_PIPE): Likewise.
9626         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
9627         [POSIX] (_SC_REGEXP): Likewise.
9628         [POSIX] (_SC_SHELL): Likewise.
9629         [POSIX] (_SC_SIGNALS): Likewise.
9630         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
9631         [POSIX] (_SC_SPIN_LOCKS): Likewise.
9632         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
9633         [POSIX] (_SC_USER_GROUPS): Likewise.
9634         [POSIX] (_SC_USER_GROUPS_R): Likewise.
9635         [POSIX] (_SC_STREAMS): Likewise.
9636         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
9637         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
9638         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
9639         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
9640         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
9641         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
9642         [POSIX] (_PC_FILESIZEBITS): Likewise.
9643         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
9644         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
9645         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
9646         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
9647         [POSIX] (uid_t): Likewise.
9648         [POSIX] (gid_t): Likewise.
9649         [POSIX] (off_t): Likewise.
9650         [POSIX] (pid_t): Likewise.
9651         [POSIX] (cuserid): Allow.
9652         (_SC_2_CHAR_TERM): Require constant.
9653         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
9654         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
9655         variable.
9657 2015-05-20  Roland McGrath  <roland@hack.frob.com>
9659         * sysdeps/nacl/pthread-pids.h: New file.
9660         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
9661         (create_thread): Use __nacl_get_tid to initialize PD->tid.
9663         * nptl/pthread-pids.h: New file.
9664         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
9665         * nptl/nptl-init.c: Include <pthread-pids.h>.
9666         (__pthread_initialize_minimal_internal):
9667         Call __pthread_initialize_pids instead of set_tid_address syscall.
9669         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
9670         * sysdeps/posix/usleep.c: ... here.
9672 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9674         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
9675         call_pselect6 object.
9676         [$(subdir) = io]: Remove call_sync_file_range object.
9677         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
9678         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
9679         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
9680         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
9682 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
9684         * math/s_cproj.c: Add include "math_private.h".
9685         * math/s_cprojf.c: Likewise.
9686         * math/s_cprojl.c: Likewise.
9688 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
9690         [BZ #18244]
9691         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
9692         high mantissa bit when testing whether P is a NaN.
9693         * math/libm-test.inc (remainder_test_data): Add more tests.
9694         (remquo_test_data): Likewise.
9696         [BZ #18049]
9697         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
9698         below -32, return the argument, with underflow if subnormal.
9699         * math/auto-libm-test-in: Add more tests of atanh.
9700         * math/auto-libm-test-out: Regenerated.
9702 2015-05-19  Roland McGrath  <roland@hack.frob.com>
9704         [BZ #18434]
9705         * nptl/tst-sem15.c: New file.
9706         * nptl/Makefile (tests): Add it.
9707         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
9708         s/<</>>/ to fix typo in EOVERFLOW check.
9709         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
9711 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9713         * manual/strings.texi (envz_remove): Fix typo in safety
9714         annotations.
9716 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
9717             Steve Ellcey  <sellcey@imgtec.com>
9719         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
9720         in order to avoid strict alias warnings.
9721         (iruserok_af): Ditto for ra.
9723 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
9725         [BZ #17581]
9726         * malloc/hooks.c
9727         (magicbyte): Convert to a function and avoid returning 0x01.
9728         (mem2mem_check): Avoid using a length byte equal to the magic byte.
9729         (mem2chunk_check): Fix unsigned comparisons to zero.
9730         Hoist defs of sz and magic.
9732 2015-05-19  Richard Henderson  <rth@redhat.com>
9734         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
9736         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9738 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9740         [BZ #16159]
9741         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
9742         * malloc/arena.c (arena_lock): Check if arena is corrupt.
9743         (reused_arena): Find a non-corrupt arena.
9744         (heap_trim): Pass arena to unlink.
9745         * malloc/hooks.c (malloc_check_get_size): Pass arena to
9746         malloc_printerr.
9747         (top_check): Likewise.
9748         (free_check): Likewise.
9749         (realloc_check): Likewise.
9750         * malloc/malloc.c (malloc_printerr): Add arena argument.
9751         (unlink): Likewise.
9752         (munmap_chunk): Adjust.
9753         (ARENA_CORRUPTION_BIT): New macro.
9754         (arena_is_corrupt): Likewise.
9755         (set_arena_corrupt): Likewise.
9756         (sysmalloc): Use mmap if there are no usable arenas.
9757         (_int_malloc): Likewise.
9758         (__libc_malloc): Don't fail if arena_get returns NULL.
9759         (_mid_memalign): Likewise.
9760         (__libc_calloc): Likewise.
9761         (__libc_realloc): Adjust for additional argument to
9762         malloc_printerr.
9763         (_int_free): Likewise.
9764         (malloc_consolidate): Likewise.
9765         (_int_realloc): Likewise.
9766         (_int_memalign): Don't touch corrupt arenas.
9767         * malloc/tst-malloc-backtrace.c: New test case.
9769         * Makefile (summarize-tests): Fix return value on success.
9771         * manual/string.texi (Envz Functions): Add envz_remove.
9773 2015-05-18  Roland McGrath  <roland@hack.frob.com>
9775         * sysdeps/posix/opendir.c: Include <stdbool.h>.
9776         (invalid_name): New function, broken out of ...
9777         (__opendirat): ... here.  Call it.
9778         (need_isdir_precheck): New function, broken out of ...
9779         (__opendirat): ... here.  Call it.
9780         Use __fxstatat64, not __xstatat64.
9781         (opendir_oflags): New function, broken out of ...
9782         (__opendirat): ... here.  Call it.
9783         (opendir_tail): New function, broken out of ...
9784         (__opendirat): ... here.  Call it.
9785         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
9786         opendir_tail, rather than punting to __opendirat.
9787         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
9789 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9791         * .gitignore: Ignore generated *.pyc.
9793 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
9795         * include/stdio.h: Define __need_wint_t.
9796         * test-skeleton.c: Avoid `for' loop initial declaration.
9797         * nptl/tst-initializers1.c: Use test-skeleton.c.
9799 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9801         [BZ #18418]
9802         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
9804 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
9806         [BZ #16352]
9807         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
9808         (__ieee754_atanh): Force underflow exception for results with
9809         small absolute value.
9810         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
9811         (__ieee754_atanhf): Force underflow exception for results with
9812         small absolute value.
9813         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
9814         (__ieee754_atanh): Force underflow exception for results with
9815         small absolute value.
9816         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
9817         (__ieee754_atanhf): Force underflow exception for results with
9818         small absolute value.
9819         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
9820         (__ieee754_atanhl): Force underflow exception for results with
9821         small absolute value.
9822         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
9823         (__ieee754_atanhl): Force underflow exception for results with
9824         small absolute value.
9825         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
9826         (__ieee754_atanhl): Force underflow exception for results with
9827         small absolute value.
9828         * math/auto-libm-test-in: Do not allow missing underflow
9829         exceptions from atanh.
9830         * math/auto-libm-test-out: Regenerated.
9832         [BZ #18221]
9833         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
9834         2**-28 as threshold for returning x or +/- 1/x.
9835         * math/auto-libm-test-in: Add more tests of tan.
9836         * math/auto-libm-test-out: Regenerated.
9838         [BZ #18220]
9839         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9840         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
9841         * math/auto-libm-test-in: Add another test of lgamma.
9842         * math/auto-libm-test-out: Regenerated.
9844 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
9846         * stdio-common/printf_fp.c (___printf_fp): Use abs.
9847         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
9848         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
9849         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
9850         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
9851         (ADD2A): Use fabs.  (SUB2A): Use fabs.
9852         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
9853         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
9854         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
9855         (log1): Use fabs.  (my_log2): Use fabs.
9856         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
9857         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
9858         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
9859         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
9860         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
9861         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
9862         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
9863         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
9864         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
9865         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
9866         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
9868 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
9870         [BZ #18217]
9871         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
9872         as threshold for returning 1 - x.
9873         * math/auto-libm-test-in: Add more tests of erfc.
9874         * math/auto-libm-test-out: Regenerated.
9876 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
9878         [BZ #18196]
9879         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
9880         threshold for large arguments.
9881         * math/auto-libm-test-in: Add another test of atan.
9882         * math/auto-libm-test-out: Regenerated.
9884         [BZ #16339]
9885         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
9886         (__log1p): Force underflow exception for results with small
9887         absolute value.
9888         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
9889         (__log1pf): Force underflow exception for results with small
9890         absolute value.
9891         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
9892         (__log1p): Force underflow exception for results with small
9893         absolute value.
9894         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
9895         (__log1pf): Force underflow exception for results with small
9896         absolute value.
9897         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
9898         (__log1pl): Force underflow exception for results with small
9899         absolute value.
9900         * math/auto-libm-test-in: Do not allow missing underflow
9901         exceptions from log1p.
9902         * math/auto-libm-test-out: Regenerated.
9904 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
9905             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9907         [BZ #16704]
9908         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
9910 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
9912         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
9913         (libmvec): New variable.
9914         * configure.ac: Added option for mathvec build.
9915         * configure: Regenerated.
9916         * mathvec/Depend: New file.
9917         * mathvec/Makefile: New file.
9918         * shlib-versions: Added libmvec.
9919         * math/Makefile: Added rule for libm.so installation.
9921         * bits/math-vector.h: New file.
9922         * bits/libm-simd-decl-stubs.h: New header.
9923         * math/Makefile (headers): Added new header
9924         libm-simd-decl-stubs.h.
9925         * math/math.h (__MATHCALL_VEC): New macro.
9927         * math/gen-libm-have-vector-test.sh: Script generates series of macros
9928         for conditions in testing functions.
9929         * math/Makefile: Added call of libm-have-vector-test.sh.
9930         * math/libm-test.inc (HAVE_VECTOR): New macros.
9932         * math/libm-test.inc: START refactored.
9933         * math/test-double.c (TEST_MATHVEC): Add define.
9934         * math/test-float.c: Likewise.
9935         * math/test-idouble.c: Likewise.
9936         * math/test-ifloat.c: Likewise.
9937         * math/test-ildoubl.c: Likewise.
9938         * math/test-ldouble.c: Likewise.
9939         * sysdeps/generic/math-tests-arch.h
9940         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
9941         architecture check.
9943         * math/test-double.c (FUNC_TEST): New macro.
9944         * math/test-float.c: Likewise.
9945         * math/test-idouble.c: Likewise.
9946         * math/test-ifloat.c: Likewise.
9947         * math/test-ildoubl.c: Likewise.
9948         * math/test-ldouble.c: Likewise.
9949         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
9951 2015-05-13  Roland McGrath  <roland@hack.frob.com>
9953         * sysdeps/nacl/fdopendir.c: New file.
9955         * dirent/scandir-tail.c: New file.
9956         * dirent/scandir64-tail.c: New file.
9957         * dirent/Makefile (routines): Add them.
9958         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
9959         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
9960         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
9961         [!SCANDIR] (SCANDIR_TAIL): New macro.
9962         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
9963         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
9964         (SCANDIRAT): Macro removed.
9965         (SCANDIR_TAIL): New macro.
9966         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
9967         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
9968         (SCANDIRAT): Just call __opendirat and __scandir_tail.
9969         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
9970         (READDIR): Macro removed.
9971         (SCANDIR_TAIL): New macro.
9972         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
9973         (SCANDIR_TAIL): New macro.
9975         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
9976         * dirent/scandir-cancel.c: ... to this new file.
9977         * dirent/Makefile (routines): Add it.
9978         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
9979         * sysdeps/unix/sysv/linux/i386/scandir64.c
9980         (SKIP_SCANDIR_CANCEL): Macro removed.
9981         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
9983         * dirent/tst-scandir.c: New file.
9984         * dirent/tst-scandir64.c: New file.
9985         * dirent/Makefile (tests): Add them.
9987 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
9989         [BZ #18409]
9990         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
9992 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9994         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
9995         list.
9997 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
9999         * benchtests/bench-strcoll.c: New benchmark.
10000         * benchtests/Makefile: Generate locales and run benchmark.
10001         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
10002         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
10003         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
10004         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
10005         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
10006         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
10007         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
10008         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
10009         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
10010         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
10011         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
10012         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
10013         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
10014         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
10015         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
10016         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
10017         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
10018         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
10019         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
10020         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
10021         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
10022         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
10023         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
10024         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
10026 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
10028         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
10029         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10031 2015-05-12  Roland McGrath  <roland@hack.frob.com>
10033         * posix/uname-values.h: New file.
10034         * posix/uname.c: Include that instead of <config-name.h>.
10035         * sysdeps/nacl/uname-values.h: New file.
10036         * sysdeps/arm/nacl/uname-values.h: New file.
10038 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
10040         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
10041         splitting into fields.
10043 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
10045         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
10046         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
10047         * locale/localeinfo.h: Add enum collation_encoding_type.
10048         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
10049         * programs/ld-collate.c (collate_output): Add encoding type info.
10050         * string/strcoll_l.c (STRDIFF): New function.
10051         * (STRCOLL): Use STRDIFF to skip over equal prefix.
10052         * wcsmbs/wcscoll_l.c: Define STRDIFF.
10054 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
10056         [BZ #18397]
10057         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
10058         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
10059         <fpu_control.h> instead of <math/fpu_control.c>.
10060         * sysdeps/mips/mips32/fpu/Makefile: New file.
10062 2015-05-11  Andreas Schwab  <schwab@suse.de>
10064         [BZ #18007]
10065         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
10066         nss_endgrent.
10067         (_nss_compat_endgrent): Call nss_endgrent.
10068         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
10069         nss_endpwent.
10070         (_nss_compat_endpwent): Call nss_endpwent.
10071         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
10072         needent, call nss_setspent only if non-zero.
10073         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
10074         (internal_endspent): Don't call nss_endspent.
10075         (_nss_compat_endspent): Call nss_endspent.
10076         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
10077         Remove.  All uses removed.
10078         (internal_setent): Remove parameter stayopen, add parameter
10079         stream.  Use it instead of global variable.
10080         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
10081         (internal_endent, internal_getent): Add parameter stream.  Use it
10082         instead of global variable.
10083         (CONCAT(_nss_files_end,ENTNAME))
10084         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
10085         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
10086         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
10087         uses removed.
10088         (internal_setent, internal_endent): Add parameter stream.  Use it
10089         instead of global variable.
10090         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
10091         stream.
10092         (get_next_alias): Add parameter stream.
10093         (_nss_files_getaliasent_r): Pass global stream.
10094         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
10095         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
10096         (_nss_files_gethostbyname4_r): Pass local stream to
10097         internal_setent, internal_getent and internal_endent.  Remove
10098         locking.
10100 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10102         * tst-strfmon1.c (tests): Update expected currency symbol.
10104 2015-05-08  Roland McGrath  <roland@hack.frob.com>
10106         * sysdeps/nacl/gethostname.c: New file.
10108 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
10110         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
10111         and sinh.
10112         * math/auto-libm-test-out: Regenerated.
10113         * sysdeps/i386/fpu/libm-test-ulps: Update.
10114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10116 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
10118         [BZ #18125]
10119         * stdlib/tst-setcontext3.c: New file.
10120         * stdlib/tst-setcontext3.sh: New file.
10121         * stdlib/Makefile (tests): Add tst-setcontext3.
10122         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
10123         to verify test program created output file.
10124         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
10125         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
10126         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
10127         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
10129 2015-05-06  Roland McGrath  <roland@hack.frob.com>
10131         [BZ #18383]
10132         * elf/tst-tlsalign.c: New file.
10133         * elf/tst-tlsalign-static.c: New file.
10134         * elf/tst-tlsalign-lib.c: New file.
10135         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
10136         (tests-static): Add tst-tlsalign-static.
10137         (modules-names): Add tst-tlsalign-lib.
10138         (test-xfail-tst-tlsalign): New variable.
10139         (test-xfail-tst-tlsalign-static): New variable.
10141         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
10142         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
10144 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
10146         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
10147         csqrt, erfc, sin and sincos.
10148         * math/auto-libm-test-out: Regenerated.
10149         * sysdeps/i386/fpu/libm-test-ulps: Update.
10150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10152 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10154         * sysdeps/aarch64/libm-test-ulps: Update.
10156 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
10158         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
10159         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
10160         * math/auto-libm-test-out: Regenerated.
10161         * sysdeps/i386/fpu/libm-test-ulps: Update.
10162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10164 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
10166         [BZ #18265]
10167         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
10168         (wcsncpy): Likewise.
10170 2015-05-05  Florian Weimer  <fweimer@redhat.com>
10172         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10173         Assume __ASSUME_FALLOCATE is always true.
10174         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10175         (__posix_fallocate64_l64): Likweise.
10176         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
10177         (posix_fallocate): Likewise.
10178         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
10179         (__posix_fallocate64_l64): Likewise.
10180         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10181         [!__ASSUME_FALLOCATE]: Add comment.
10183 2015-05-05  Florian Weimer  <fweimer@redhat.com>
10185         * sysdeps/unix/sysv/linux/i386/Makefile
10186         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
10187         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
10188         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
10189         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10190         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10191         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
10192         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
10194 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
10196         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
10197         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
10198         tgamma.
10199         * math/auto-libm-test-out: Regenerated.
10200         * sysdeps/i386/fpu/libm-test-ulps: Update.
10201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10203 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
10205         * math/auto-libm-test-in: Add more tests of tgamma.
10206         * math/auto-libm-test-out: Regenerated.
10207         * sysdeps/i386/fpu/libm-test-ulps: Update.
10208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10210         * math/auto-libm-test-in: Add more tests of tanh.
10211         * math/auto-libm-test-out: Regenerated.
10212         * sysdeps/i386/fpu/libm-test-ulps: Update.
10213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10215         * math/auto-libm-test-in: Add more tests of tan.
10216         * math/auto-libm-test-out: Regenerated.
10217         * sysdeps/i386/fpu/libm-test-ulps: Update.
10218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10220         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
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 another test of pow.
10226         * math/auto-libm-test-out: Regenerated.
10227         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10229         * math/auto-libm-test-in: Add more tests of lgamma.
10230         * math/auto-libm-test-out: Regenerated.
10231         * sysdeps/i386/fpu/libm-test-ulps: Update.
10232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10234         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
10235         log1p.
10236         * math/auto-libm-test-out: Regenerated.
10237         * sysdeps/i386/fpu/libm-test-ulps: Update.
10238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10240 2015-05-01  Mark Wielaard  <mjw@redhat.com>
10242         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
10243         Elf64_Chdr structs and ELFCOMPRESS constants.
10245 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
10247         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
10248         expm1.
10249         * math/auto-libm-test-out: Regenerated.
10250         * sysdeps/i386/fpu/libm-test-ulps: Update.
10251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10253         * math/auto-libm-test-in: Add more tests of erf and erfc.
10254         * math/auto-libm-test-out: Regenerated.
10255         * sysdeps/i386/fpu/libm-test-ulps: Update.
10256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10258 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10260         * config.h.in (HAVE_AARCH64_BE): Add.
10262 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
10264         * math/auto-libm-test-in: Add more tests of csqrt.
10265         * math/auto-libm-test-out: Regenerated.
10266         * sysdeps/i386/fpu/libm-test-ulps: Update.
10267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10269         * math/auto-libm-test-in: Add more tests of cosh and sinh.
10270         * math/auto-libm-test-out: Regenerated.
10271         * sysdeps/i386/fpu/libm-test-ulps: Update.
10272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10274         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
10276 2015-04-29  Roland McGrath  <roland@hack.frob.com>
10278         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
10279         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
10281         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
10282         (euidaccess, eaccess): Define as weak aliases.
10284         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
10285         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
10286         but __suseconds_t is often 'long int' so some sources assume that
10287         type is being used (e.g. they use %ld to print tv_usec).
10289 2015-04-29  Florian Weimer  <fweimer@redhat.com>
10291         [BZ #18007]
10292         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
10293         (CVE-2014-8121)
10294         * nss/tst-nss-getpwent.c: New file.
10295         * nss/Makefile (tests): Add new test.
10297 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
10299         [BZ #18346]
10300         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
10301         exponents less than 48 as cases where high part of mantissa needs
10302         examining to determine whether argument is integral.
10303         * math/libm-test.inc (round_test_data): Add more tests.
10305 2015-04-28  Mark Wielaard  <mjw@redhat.com>
10307         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
10309 2015-04-27  David S. Miller  <davem@davemloft.net>
10311         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
10312         __tls_get_addr.
10313         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10315 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
10317         [BZ#18333]
10318         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
10320 2015-04-27  Florian Weimer  <fweimer@redhat.com>
10322         [BZ#18333]
10323         * time/tzset.c (parse_tzname): Return error on memory allocation
10324         failure.
10325         * test-skeleton.c (struct temp_name_list): Change type of name
10326         member to non-const.
10327         (add_temp_file): Create a copy of the file name.
10328         (delete_temp_files): Deallocate memory.
10329         (create_temp_file): Add comment.
10331 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10333         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
10334         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
10336 2015-04-24  Roland McGrath  <roland@hack.frob.com>
10338         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
10339         * sysdeps/arm/configure: Regenerated.
10341 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10343         [BZ #17715]
10344         * time/tzfile.c (__tzfile_read): Check for large values of
10345         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
10346         * time/tzset.c (__tzstring_len): New function, based on the old
10347         __tzstring function.
10348         (__tzstring): Call __tzstring_len.
10349         (parse_tzname): New helper function extracted from
10350         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
10351         the input string.
10352         (parse_offset): New helper function extracted from
10353         __tzset_parse_tz.  Replace switch with fallthrough with
10354         initialization before sscanf.
10355         (parse_rule): Likewise.
10356         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
10357         new-style function definition.
10358         * timezone/Makefile (tests): Add tst-tzset.
10359         (tst-tzset.out): Dependencies on time zone files.
10360         (tst-tzset-ENV): Set TZDIR.
10361         (testdata/XT%): Copy crafted time zone files.
10362         * timezone/README: Mention crafted time zone files.
10363         * timezone/testdata/XT1, timezone/testdata/XT2,
10364         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
10365         files.
10366         * timezone/tst-tzset.c: New test.
10368 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10370         * Makeconfig (+gccwarn): Remove -Winline.
10372 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10374         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
10376 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10378         * NEWS: Mention sysconf() cache information support for s390.
10379         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
10381 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
10383         * math/k_casinh.c (__kernel_casinh): Use __copysign.
10384         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
10385         (__nearbyint): Likewise.
10386         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
10387         (copysignl): Likewise.
10389 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
10391         [BZ #18287]
10392         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
10393         based on padding.  (CVE-2015-1781)
10395 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10397         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
10398         libc-vdso.h.
10399         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
10400         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
10401         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
10402         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10403         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10404         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
10405         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
10406         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10407         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10408         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
10409         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10410         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10411         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
10412         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
10413         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10414         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
10415         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
10416         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
10417         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
10418         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
10419         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
10420         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
10421         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
10423 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
10425         * stdlib/setenv.c (__add_to_environ):
10426         Dump core quickly if setenv (..., NULL, ...) is called.
10427         This time, do it the right way, and pacify GCC with a pragma.
10429 2015-04-17  Roland McGrath  <roland@hack.frob.com>
10431         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
10432         IMAP->l_prev cannot be null, and #if out the code for the contrary
10433         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
10434         believe that NS (&_dl_ns[NSID]) could point outside the array.
10436         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
10437         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
10438         before using NSID as an index.
10440 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
10442         [BZ #17825]
10443         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
10444         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
10445         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
10447 2015-04-17  Roland McGrath  <roland@hack.frob.com>
10449         Add preliminary port to Google Native Client on ARM.
10450         * abi-tags (.*-.*-nacl.*): New entry.
10451         * sysdeps/arm/nacl: New directory.
10452         * sysdeps/nacl: New directory.
10454 2015-04-16  David S. Miller  <davem@davemloft.net>
10456         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
10457         lowlevellock-futex.h
10459 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
10461         * sysdeps/tile/configure.ac: New file.
10462         * sysdeps/tile/configure: Regenerated.
10464 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10466         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
10467         conditionals for weak_alias and libc_hidden_weak.
10468         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
10469         libc_hidden_weak and weak_alias.
10470         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
10471         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
10472         and weak_alias for static one.
10474 2015-04-15  David S. Miller  <davem@davemloft.net>
10476         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10478 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10480         [BZ #18206]
10481         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
10482           Use signed comparision instead of substraction to avoid
10483           overflow bug.
10484         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
10485           Take the sign of ret.
10486         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
10487           Do not expect precise return values. Only the sign matters.
10488         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
10489         * wcsmbs/test-wcsncmp.c: New File.
10490         * string/test-strncmp.c: Add wcsncmp support.
10492 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10494         [BZ #6792]
10495         * math/w_log1p.c: New file.
10496         * math/w_log1pf.c: Likewise.
10497         * math/w_log1pl.c: Likewise.
10498         * math/Makefile (libm-calls): Add w_log1p.
10499         * math/s_log1pl.c (log1pl): Remove weak_alias.
10500         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
10501         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
10502         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
10503         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
10504         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
10505         [NO_LONG_DOUBLE] (log1pl): Likewise.
10506         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
10507         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
10508         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
10509         (log1p): Remove long_double_symbol.
10510         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
10511         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
10512         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
10513         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
10514         remove weak_alias for corresponding log1p function.
10515         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
10516         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10517         * sysdeps/ia64/fpu/w_log1p.c: New file.
10518         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
10519         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
10520         * math/libm-test.inc (log1p_test_data): Add errno expectations.
10522 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
10524         [BZ #18247]
10525         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
10526         decimal exponent by 1.
10527         * stdlib/tst-strtod-round-data: Add more tests.
10528         * stdlib/tst-strtod-round.c (tests): Regenerated.
10530 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
10532         * math/auto-libm-test-in: Add more tests of clog and clog10.
10533         * math/auto-libm-test-out: Regenerated.
10534         * sysdeps/i386/fpu/libm-test-ulps: Update.
10535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10537 2015-04-09  Roland McGrath  <roland@hack.frob.com>
10539         * Makeconfig (module-cppflags): Exclude all .v.i files.
10540         (skip-module-cppflags): Variable removed.
10542         * configure.ac (libc_config_ok): Initialize before reading
10543         preconfigure scripts, not after.
10544         * configure: Regenerated.
10546         * test-skeleton.c (TIMEOUT): Move #define to top level.
10547         (main): Grok environment variable TEST_DIRECT.  If set, print
10548         test expectation details into that file and then behave as if
10549         given --direct.
10551 2015-04-09  Florian Weimer  <fweimer@redhat.com>
10553         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
10554         warning on 32-bit.
10556 2015-04-08  David S. Miller  <davem@davemloft.net>
10558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10560 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
10562         * math/auto-libm-test-in: Add more tests of atanh.
10563         * math/auto-libm-test-out: Regenerated.
10564         * sysdeps/i386/fpu/libm-test-ulps: Update.
10565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10567         * math/auto-libm-test-in: Add more tests of atan.
10568         * math/auto-libm-test-out: Regenerated.
10569         * sysdeps/i386/fpu/libm-test-ulps: Update.
10570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10572 2015-04-08  Florian Weimer  <fweimer@redhat.com>
10574         * elf/pldd.c (main): Rewrite to use struct
10575         scratch_buffer instead of extend_alloca.
10576         * elf/pldd-xx.c (find_maps): Likewise.
10577         * grp/initgroups.c: Include <scratch_buffer.h> instead of
10578         <alloca.h>.
10579         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
10580         scratch_buffer instead of extend_alloca.
10581         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
10582         grp/compat-initgroups.c.
10583         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
10584         Rewrite to use struct scratch_buffer instead of extend_alloca.
10585         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
10586         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10588 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
10590         * math/auto-libm-test-in: Add more tests of cbrt.
10591         * math/auto-libm-test-out: Regenerated.
10592         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10594         * math/auto-libm-test-in: Add more tests of cabs.
10595         * math/auto-libm-test-out: Regenerated.
10596         * sysdeps/i386/fpu/libm-test-ulps: Update.
10597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10599         [BZ #18210]
10600         [BZ #18211]
10601         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
10602         (__ieee754_atan2): Set FE_TONEAREST mode for internal
10603         computations.
10604         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
10605         clog10.
10606         * math/auto-libm-test-out: Regenerated.
10607         * sysdeps/i386/fpu/libm-test-ulps: Update.
10608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10610         [BZ #18197]
10611         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
10612         (atan): Set FE_TONEAREST mode for internal computations.
10613         * math/auto-libm-test-in: Add more tests of atan.
10614         * math/auto-libm-test-out: Regenerated.
10616 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
10618         [BZ #17930]
10619         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
10621 2015-04-07  Florian Weimer  <fweimer@redhat.com>
10623         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
10625 2015-04-07  Florian Weimer  <fweimer@redhat.com>
10627         * include/scratch_buffer.h: New file.
10628         * malloc/scratch_buffer_grow.c: Likewise.
10629         * malloc/scratch_buffer_grow_preserve.c: Likewise.
10630         * malloc/scratch_buffer_set_array_size.c: Likewise.
10631         * malloc/tst-scratch_buffer.c: Likewise.
10632         * malloc/Makefile (routines): Add scratch_buffer_grow.
10633         (tests): Add test case.
10634         * malloc/Versions (GLIBC_PRIVATE): Export
10635         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
10636         __libc_scratch_buffer_set_array_size.
10638 2015-04-06  Richard Henderson  <rth@redhat.com>
10640         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
10641         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10643         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
10644         unsigned int before printing.
10646 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10648         [BZ #17596]
10649         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
10650         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10652 2015-04-02  Florian Weimer  <fweimer@redhat.com>
10654         * include/libc-internal.h (libc_max_align_t): Define.
10656 2015-04-02  Andreas Schwab  <schwab@suse.de>
10658         [BZ #16850]
10659         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
10661 2015-04-02  Mel Gorman  <mgorman@suse.de>
10663         [BZ #17195]
10664         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
10665         as well as the main arena.
10667 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
10669         [BZ #18185]
10670         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
10671         sharing L2 cache to 2 for Silvermont/Knights Landing.
10673 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
10675         [BZ #17711]
10676         * config.make.in (have-protected-data): New.
10677         * configure.ac: Check linker support for protected data symbol.
10678         * configure: Regenerated.
10679         * elf/Makefile (modules-names): Add tst-protected1moda and
10680         tst-protected1modb if $(have-protected-data) is yes.
10681         (tests): Add tst-protected1a and tst-protected1b if
10682         $(have-protected-data) is yes.
10683         ($(objpfx)tst-protected1a): New.
10684         ($(objpfx)tst-protected1b): Likewise.
10685         (tst-protected1modb.so-no-z-defs): Likewise.
10686         * elf/tst-protected1a.c: New file.
10687         * elf/tst-protected1b.c: Likewise.
10688         * elf/tst-protected1mod.h: Likewise.
10689         * elf/tst-protected1moda.c: Likewise.
10690         * elf/tst-protected1modb.c: Likewise.
10692 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
10694         [BZ #17711]
10695         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
10696         indicates it is called from do_lookup_x on relocation against
10697         protected data, skip the data definion in the executable from
10698         copy reloc.
10699         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
10700         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
10701         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
10702         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
10703         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
10704         otherwise to 0.
10705         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
10706         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
10707         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
10708         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
10709         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
10710         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
10712 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
10714         * sysdeps/nptl/pthread.h: Remove duplicate definition of
10715         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
10717 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
10719         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
10720         THREAD_SETMEM_NC.
10721         * sysdeps/x86_64/nptl/tls.h: Ditto.
10723 2015-03-27  Roland McGrath  <roland@hack.frob.com>
10725         * dlfcn/tststatic.c (main): Converted to ...
10726         (do_test): ... this.
10727         (TEST_FUNCTION): New macro.
10728         Include test-skeleton.c.
10730 2015-03-26  Alan Modra  <amodra@gmail.com>
10732         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
10733         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
10734         zero for undefined weak.
10735         (elf_machine_plt_conflict): Similarly.
10737 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
10739         * math/auto-libm-test-in: Add more tests of acosh, asinh and
10740         atanh.
10741         * math/auto-libm-test-out: Regenerated.
10742         * sysdeps/i386/fpu/libm-test-ulps: Update.
10743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10745         * math/auto-libm-test-in: Add another test of asin.
10746         * math/auto-libm-test-out: Regenerated.
10747         * sysdeps/i386/fpu/libm-test-ulps: Update.
10748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10750         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
10751         Remove macro.
10752         (LLL_EBX_REG): Likewise.
10753         (LLL_ENTER_KERNEL): Likewise.
10755         * math/auto-libm-test-in: Add more tests of asin.
10756         * math/auto-libm-test-out: Regenerated.
10757         * sysdeps/i386/fpu/libm-test-ulps: Update.
10758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10760         [BZ #18138]
10761         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
10762         libc_do_syscall_args): New structure.
10763         (INTERNAL_SYSCALL_MAIN_0): New macro.
10764         (INTERNAL_SYSCALL_MAIN_1): Likewise.
10765         (INTERNAL_SYSCALL_MAIN_2): Likewise.
10766         (INTERNAL_SYSCALL_MAIN_3): Likewise.
10767         (INTERNAL_SYSCALL_MAIN_4): Likewise.
10768         (INTERNAL_SYSCALL_MAIN_5): Likewise.
10769         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
10770         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
10771         Replace conditional definitions by conditional definitions of ....
10772         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
10773         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
10774         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
10775         (libpthread-sysdep_routines): Add libc-do-syscall.
10776         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
10777         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
10778         to __NR_futex not 240.
10780 2015-03-25  Alan Modra  <amodra@gmail.com>
10782         * NEWS: Advertise TLS optimization.
10783         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
10784         (DT_PPC_NUM): Increment.
10785         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
10786         (CHECK_STATIC_TLS): Use here.
10787         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
10788         TLS descriptors.
10789         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10790         * sysdeps/powerpc/dl-tls.c: New file.
10791         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
10792         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
10793         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
10794         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
10795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
10796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
10797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10799 2015-03-25  Alan Modra  <amodra@gmail.com>
10801         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
10802         for overlapping .opd entries" to "support...".
10803         * sysdeps/powerpc/powerpc64/configure: Regenerate
10805 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
10807         * math/auto-libm-test-in: Add more tests of acos.
10808         * math/auto-libm-test-out: Regenerated.
10809         * sysdeps/i386/fpu/libm-test-ulps: Update.
10810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10812         * math/auto-libm-test-in: Add more tests of expm1.
10813         * math/auto-libm-test-out: Regenerated.
10814         * sysdeps/i386/fpu/libm-test-ulps: Update.
10815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10817 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
10819         * math/auto-libm-test-in: Add more tests of cosh and sinh.
10820         * math/auto-libm-test-out: Regenerated.
10821         * sysdeps/i386/fpu/libm-test-ulps: Update.
10822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10824         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10827         * math/auto-libm-test-in: Add more tests of log2.
10828         * math/auto-libm-test-out: Regenerated.
10829         * sysdeps/i386/fpu/libm-test-ulps: Update.
10830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10832 2015-03-23  Roland McGrath  <roland@hack.frob.com>
10834         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
10835         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
10836         _IO_IS_APPENDING bit in READ_WRITE instead.
10838 2015-03-23  Florian Weimer  <fweimer@redhat.com>
10840         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10841         (__determine_cpumask_size): Replace extend_alloca with a
10842         variable-length array.  Do not treat res == 0 as an error.
10844 2015-03-23  Florian Weimer  <fweimer@redhat.com>
10846         [BZ #18100]
10847         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
10848         and integer overflow.
10849         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
10850         (main): Add integer overflow tests.
10851         * manual/pattern.texi (Calling Wordexp): Document additional use
10852         for WRDE_SYNTAX.
10854 2015-03-23  Alan Modra  <amodra@gmail.com>
10856         * config.h.in: Remove HAVE_ASM_PPC_REL16.
10857         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
10858         and false branch of conditional.
10859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10860         Likewise.
10862 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
10864         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
10865         libc-modules.h
10866         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
10867         unused declaration of _hurd_intr_rpc_msg_in_trap.
10868         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
10869         defined instead of whether it is non-zero.
10870         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
10871         input constraint instead of both input and output constraint.  Use ecx
10872         clobber instead of %ecx.
10873         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
10874         mutex_unlock): Use a statement expression instead of an expression list.
10875         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
10876         type to vm_size_t instead of vm_address_t.
10877         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
10878         defined instead of whether it is non-zero.
10879         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
10880         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
10881         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
10882         comparisons with mapaddr.
10883         * nscd/nscd-client.h: Include <time.h>.
10884         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
10885         9th parameter to __vm_region instead of int.
10886         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
10887         * scripts/check-local-headers.sh (exclude): Add device/,
10888         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
10889         cthreads.h.
10891 2015-03-19  Roland McGrath  <roland@hack.frob.com>
10893         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
10894         to account for alignment padding.
10895         * sysdeps/arm/memmove.S: Likewise.
10897 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
10899         * sysdeps/unix/sysv/linux/generic/README: New file.
10901 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
10903         [BZ #18138]
10904         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
10905         (futex_abstimed_wait)
10906         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
10907         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
10908         of lll_futex_timed_wait.
10910 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
10912         [BZ #17542]
10913         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
10915 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
10917         [BZ #17090]
10918         [BZ #17620]
10919         [BZ #17621]
10920         [BZ #17628]
10921         * NEWS: Update.
10922         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
10923         entries with Static TLS too.  Skip entries past the end of the
10924         allocated DTV, from Alan Modra.
10925         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
10926         Static TLS DTV entry set up from...
10927         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
10928         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
10929         * nptl/allocatestack.c (init_one_static_tls): ... and here...
10930         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
10931         for Static TLS.
10932         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
10933         that the slot we find is associated with the given map before
10934         using its generation count.
10935         * nptl_db/db_info.c: Include ldsodefs.h.
10936         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
10937         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
10938         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
10939         (link_map::l_tls_offset): New struct field.
10940         (dtv_t::counter): Likewise.
10941         (rtld_global): New struct.
10942         (_rtld_global): New rtld variable.
10943         (dl_tls_dtv_slotinfo_list): New rtld global field.
10944         (dtv_slotinfo_list): New struct.
10945         (dtv_slotinfo): Likewise.
10946         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
10947         (td_lookup): Rename to...
10948         (td_mod_lookup): ... this.  Use new mod parameter instead of
10949         LIBPTHREAD_SO.
10950         * nptl_db/td_thr_tlsbase.c: Include link.h.
10951         (dtv_slotinfo_list, dtv_slotinfo): New functions.
10952         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
10953         addresses even if the DTV is out of date or missing them.
10954         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
10955         index zero-length arrays.
10956         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
10957         (td_lookup): Make it a macro implemented in terms of...
10958         (td_mod_lookup): ... this declaration.
10959         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
10960         (DB_MAIN_VARIABLE): Likewise.
10962 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10964         [BZ #18134]
10965         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
10967 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
10969         * stdlib/setenv.c (__add_to_environ): Revert previous change.
10971 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
10973         [BZ #18128]
10974         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
10975         (atomic_add, atomic_increment_and_test)
10976         (atomic_decrement_and_test): Fix 64-bit arithmetic.
10978 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
10980         * stdlib/setenv.c (__add_to_environ):
10981         Dump core quickly if setenv (..., NULL, ...) is called.
10983 2015-03-13  Roland McGrath  <roland@hack.frob.com>
10985         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
10986         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
10987         all the necessary asm magic in one place.
10988         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
10989         using those.
10991 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
10993         [BZ #14906]
10994         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
10995         traced file mtime. Use consistent log message.
10996         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
10997         (register_traced_file): Call install_watches. Always set mtime.
10998         (invalidate_cache): Iterate over all trace files. Call install_watches.
10999         (inotify_check_files): Don't inline. Handle watching parent
11000         directories and configuration file movement in and out.
11001         (handle_inotify_events): New function.
11002         (main_loop_poll): Call handle_inotify_events.
11003         (main_loop_epoll): Likewise.
11004         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
11005         (struct traced_file): Use array of inotify fds. Add parent directory,
11006         and basename.
11007         (struct database_dyn): Remove unused file_mtime.
11008         (init_traced_file): New inline function.
11009         (define_traced_file): New macro.
11010         * nss/nss_db/db-init.c: Use define_traced_file.
11011         (_nss_db_init): Use init_traced_file.
11012         * nss/nss_files/files-init.c: Use define_traced_file.
11013         (_nss_files_init): Use init_traced_file.
11015 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
11017         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
11018         [_LIBC]: Do not include <stdlib.h>.
11019         [!_LIBC] (abort): Remove declaration.
11020         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
11021         _FP_STATIC_ASSERT instead of conditionally calling abort.
11022         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
11023         (_FP_EXTEND_CNAN): Likewise.
11024         (FP_TRUNC): Likewise.
11025         (__FP_CLZ): Likewise.
11026         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
11028 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
11030         * manual/string.texi (XPG basename): Fix prototype.
11032 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11034         [BZ #18080]
11035         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
11036         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
11037         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
11038         (__setcontext): Likewise.
11039         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
11040         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
11041         Call rt_sigprocmask syscall one time to set new signal mask
11042         and retrieve the current signal mask instead of two calls.
11043         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
11044         (__swapcontext): Likewise.
11045         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
11046         * stdlib/tst-setcontext2.c: New file.
11048 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11050         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11052 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
11054         [BZ #18093]
11055         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
11056         the wrong size.
11058 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11060         [BZ #18043]
11061         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
11063 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11065         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
11066         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
11067         Remove define.
11068         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
11069         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
11070         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
11071         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
11072         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
11073         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
11074         define.
11075         * nptl_db/td_symbol_list.c (td_lookup): Remove
11076         HAVE_ASM_GLOBAL_DOT_NAME code.
11077         * sysdeps/powerpc/powerpc64/configure.ac: Remove
11078         HAVE_ASM_GLOBAL_DOT_NAME check.
11079         * sysdeps/powerpc/powerpc64/configure: Regenerate.
11080         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
11081         (DOT_LABEL): Remove define.
11082         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
11083         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
11084         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
11085         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
11086         (__TLS_GET_ADDR): Likewise.
11087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
11088         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
11090 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
11092         [BZ #18111]
11093         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
11094         (_FPU_SETCW): Initialize cw from fpsr before storing.
11095         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
11096         (fesetexceptflag): Rewrite using fpu_control.h.
11097         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
11099 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
11101         [BZ #18110]
11102         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
11103         asms.
11104         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11106 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
11108         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
11109         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
11110         abort.
11111         (_FP_FMA): Likewise.
11112         (_FP_DIV): Likewise.
11114 2015-03-10  Roland McGrath  <roland@hack.frob.com>
11116         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
11117         with 0 in that case.
11118         * Makefile (summarize-tests): New canned sequence, factored out of
11119         commands for targets tests and xtests.  Display summary lines that
11120         don't start with PASS: or XFAIL: rather than ones that do start with
11121         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
11122         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
11123         do start with ERROR: or FAIL:.
11124         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
11125         (except for [$(build-shared) = yes]).
11126         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
11127         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
11128         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
11129         * nptl/Makefile: Revert 2015-03-04 changes.
11130         [$(CXX) empty] (tests-unsupported): New variable.
11131         * debug/Makefile: Likewise.
11133         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
11134         gnulib file.  Replace __attribute with __attribute__ throughout.
11136 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
11138         * sysdeps/hppa/fpu/libm-test-ulps: Update.
11140 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
11142         [BZ #18104]
11143         * math/auto-libm-test-in: Add another test of pow.
11144         * math/auto-libm-test-out: Regenerated.
11146 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11148         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
11149         $(config-cflags-nofma).
11151 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
11153         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
11154         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
11155         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
11156         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
11157         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
11158         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
11159         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
11160         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
11161         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
11162         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
11163         Add comment on closing #endif.
11165 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11167         * posix/wordexp.c (CHAR_IN_SET): New macro.
11168         (parse_param): Use it.
11170 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11172         * sysdeps/powerpc/fpu/libm-test-ulps: update.
11174 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11176         [BZ #18043]
11177         * posix/wordexp.c (parse_param): Fix buffer overflow.
11178         * posix/wordexp-test.c (test_case): Add test case.
11180 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11182         [BZ #18042]
11183         * posix/wordexp.c (parse_backtick): Fix off-by-one.
11184         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
11186 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11188         [BZ #18043]
11189         * posix/wordexp-test.c (test_case): Add test for BZ #18043
11190         (do_bz18043): Delete.
11191         (at_page_end): New.
11192         (testit): Refactor to have words at the edge of unreadable page.
11194 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11196         [BZ #16734]
11197         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
11198         Cleanup read-only streams as well.
11199         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
11201 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11203         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
11204         <bits/libc-lockP.h>
11206 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
11208         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
11209         on [__KERNEL__].
11210         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
11211         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
11212         * soft-fp/op-common.h (_FP_DECL): Likewise.
11214 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11216         * elf/ifuncdep2.c (global): Replace
11217         __attribute__((visibility("protected"))) with
11218         asm (".protected global").
11219         * elf/ifuncmod1.c (global): Likewise.
11220         * elf/ifuncmod5.c (global): Likewise.
11222 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
11224         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
11225         <asm/sfp-machine.h> instead of <sfp-machine.h>.
11227 2015-03-06  Roland McGrath  <roland@hack.frob.com>
11229         * manual/install.texi (Configuring and compiling):
11230         Document test-wrapper-env-only.
11231         * INSTALL: Regenerated.
11233 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11235         [BZ #18043]
11236         * posix/wordexp.c (parse_param): Fix buffer overflow.
11237         * posix/wordexp-test.c (do_bz18043): Add test case.
11239 2015-03-06  Vincent Bernat  <vincent@bernat.im>
11241         * time/tst-strptime2.c (do_test): Ensure failing tests are
11242         reported correctly.
11243         * time/tst-strptime3.c (do_test): Likewise.
11245 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
11247         Fix aio_error thread-safety.
11248         * sysdeps/pthread/aio_error.c: New file
11249         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
11250         synchronization.
11252 2015-03-06  Florian Weimer  <fweimer@redhat.com>
11254         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
11255         (group_number, vfprintf): Use it.
11256         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
11257         (JUMP, REF): Use it.
11258         (WORK_BUFFER_SIZE): New enum constant.
11259         (process_arg, vfprintf): Use it.
11261 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
11263         * manual/errno.texi (Error Messages): Complete example function
11264         by adding missing #define.
11265         (program_invocation_name): Add statement indicating GNU
11266         extension and reference which header file declares the variable.
11267         (program_invocation_short_name): Likewise.
11269 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
11271         * manual/errno.texi (Error Messages): Delete strerror ISO C89
11272         compatibility note.
11274 2015-03-05  Roland McGrath  <roland@hack.frob.com>
11276         * Makeconfig (test-wrapper-env-only): New variable.
11277         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
11278         then use that with $(test-wrapper-env-only) rather than using
11279         $(test-wrapper-env) $(run-program-env) $($*-ENV).
11281 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
11283         [BZ #18082]
11284         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
11285         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
11286         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
11287         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
11288         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
11289         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
11290         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
11291         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
11292         Likewise.
11293         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
11294         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
11295         Likewise.
11296         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
11297         Likewise.
11298         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
11299         Likewise.
11300         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
11301         Likewise.
11302         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
11303         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
11304         Likewise.
11305         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
11306         Likewise.
11307         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
11308         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
11310 2015-03-04  Roland McGrath  <roland@hack.frob.com>
11312         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
11313         (ETH_ALEN): New macro.
11314         (struct ether_addr): Use it for length of ether_addr_octet.
11316         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
11317         (setdb): Don't call __nss_configure_lookup for "rpc".
11318         (do_test): Don't call test_rpc.
11319         (output_rpcent, test_rpc): Functions moved ...
11320         * sunrpc/test-rpcent.c: ... to this new file.
11321         * sunrpc/Makefile (tests): Add it.
11323         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
11324         __xpg_sigpause.
11325         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
11326         * nptl/tst-signal6.c: Likewise.
11327         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
11328         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
11330         * configure.ac (libc_cv_cxx_link_ok): New check.
11331         Reset CXX to empty if it fails to link.
11332         * configure: Regenerated.
11333         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
11334         bug-atexit3-lib only if $(CXX) is nonempty.
11335         * nptl/Makefile (tests): Likewise for tst-cancel24.
11336         (tests, tests-static): Likewise for tst-cancel24-static.
11337         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
11338         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
11339         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
11340         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
11342 2015-03-04  Andreas Schwab  <schwab@suse.de>
11344         [BZ #17631]
11345         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
11346         for non-GCC compilers.
11347         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11348         Likewise.
11350 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11352         [BZ #17776]
11353         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
11354         integer before bitwise and assembly operations.
11355         (feclearexcept): Likewise.
11356         * math/test-fenvinline.c: New file.
11357         * math/Makefile: Add test-fenvinline test.
11359 2015-03-03  Alan Modra  <amodra@gmail.com>
11361         [BZ #16512]
11362         * scripts/localplt.awk: Strip off symbol version.
11363         * NEWS: Mention bug fix.
11365 2015-03-02  Roland McGrath  <roland@hack.frob.com>
11367         * sysdeps/pthread/timer_routines.c
11368         (timer_free_list, thread_free_list, thread_active_list): Make static.
11370 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
11372         [BZ #17779]
11373         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11374         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11375         Undefine.
11376         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11377         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11378         Likewise.
11379         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11380         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11381         Likewise.
11383 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
11385         [BZ #18036]
11386         * posix/fnmatch_loop.c (END): Detect invalid pattern.
11387         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
11389 2015-03-02  Andreas Schwab  <schwab@suse.de>
11391         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
11392         variable name.
11394 2015-03-02  Florian Weimer  <fweimer@redhat.com>
11396         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
11397         Return error status.
11399 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
11401         [BZ #15969]
11402         * locale/findlocale.c (_nl_find_locale): Introduce const
11403         version of loc_name and drop unsafe type casts.
11405 2015-02-27  Roland McGrath  <roland@hack.frob.com>
11407         * dlfcn/tststatic2.c (main): Converted to ...
11408         (do_test): ... this.
11409         (TEST_FUNCTION): New macro.
11410         Include test-skeleton.c.
11412 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
11414         [BZ #17711]
11415         * elf/Makefile (tests): Add vismain only if PIE is enabled.
11416         (tests-pie): Add vismain.
11417         (CFLAGS-vismain.c): New.
11418         * elf/vismain.c: Add comments for PIE requirement.
11420 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
11422         [BZ #18046]
11423         [BZ #18047]
11424         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
11425         0x1p-56L as threshold for just returning the argument.
11426         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
11427         0x1p-32L as threshold for just returning the argument.
11428         * math/auto-libm-test-in: Add more tests of atanh.
11429         * math/auto-libm-test-out: Regenerated.
11430         * sysdeps/i386/fpu/libm-test-ulps: Update.
11431         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
11433 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
11435         * string/bcopy.c (bcopy): Call memmove for performance.
11437 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
11439         * string/bzero.c (__bzero): Call memset for performance.
11441 2015-02-27  John David Anglin  <dave.anglin@bell.net>
11443         [BZ #18068]
11444         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
11445         to 00100000.
11447 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
11449         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
11451 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
11453         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
11454         (__kernel_standard): Use CSTR macro when setting exc.name.
11455         * sysdeps/ieee754/Makefile [$(subdir) = math]
11456         (CFLAGS-k_standard.c): Remove variable.
11458         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
11459         setting p and q from "else if" to "else".
11460         (qzero): Likewise.
11461         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
11462         (qone): Likewise.
11463         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
11464         (qzerof): Likewise.
11465         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
11466         (qonef): Likewise.
11467         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
11468         (qzero): Likewise.
11469         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
11470         (qone): Likewise.
11472         [BZ #18038]
11473         [BZ #18039]
11474         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
11475         return pi/2 for arguments below 0x1p-113L.
11476         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
11477         return pi/2 for arguments below 0x1p-106L.
11478         * math/auto-libm-test-in: Add more tests of acos.
11479         * math/auto-libm-test-out: Regenerated.
11481         [BZ #16351]
11482         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
11483         (MO): New macro.
11484         (__ieee754_asin): Force underflow exception for results with small
11485         absolute value.
11486         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
11487         (MO): New macro.
11488         (__ieee754_asinf): Force underflow exception for results with
11489         small absolute value.
11490         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
11491         (__ieee754_asin): Force underflow exception for results with small
11492         absolute value.
11493         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
11494         (__ieee754_asinf): Force underflow exception for results with
11495         small absolute value.
11496         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
11497         (__ieee754_asinl): Force underflow exception for results with
11498         small absolute value.
11499         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
11500         (__ieee754_asinl): Force underflow exception for results with
11501         small absolute value.
11502         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
11503         (__ieee754_asinl): Force underflow exception for results with
11504         small absolute value.
11505         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11506         Include <math.h>.
11507         * math/auto-libm-test-in: Do not mark underflow exceptions as
11508         possibly missing for bug 16351.
11509         * math/auto-libm-test-out: Regenerated.
11511         [BZ #18030]
11512         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
11513         of power of 2 down when low part has opposite sign.
11514         * math/libm-test.inc (logb_test_data): Add more tests.
11516 2015-02-26  Andreas Schwab  <schwab@suse.de>
11518         [BZ #18032]
11519         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
11520         over collating symbol inside a bracket expression.  Minor cleanup.
11521         * posix/tst-fnmatch3.c (do_test): Add test case.
11523 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
11525         [BZ #18029]
11526         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
11527         Adjust exponent of power of 2 down when low part has opposite
11528         sign.
11529         * math/libm-test.inc (ilogb_test_data): Add more tests.
11531 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
11533         [BZ #15969]
11534         * locale/findlocale.c (_nl_find_locale): Fix constness error in
11535         the previous change.
11537         [BZ #15969]
11538         * locale/findlocale.c (_nl_find_locale): Retry archive search
11539         after alias expansion.
11541 2015-02-25  Roland McGrath  <roland@hack.frob.com>
11543         * iconv/tst-iconv3.c (main): Converted to ...
11544         (do_test): ... this.
11545         (TEST_FUNCTION): New macro.
11546         Include test-skeleton.c.
11548         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
11549         (convert): Make function static.
11550         (test_unalign): Likewise.  Add const to argument pointee types.
11551         (main): Replace with static function do_test.
11552         Print "Succeeded." only if RET is zero.
11553         (TEST_FUNCTION): New macro.
11554         Include test-skeleton.c.
11556         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
11557         returns a null pointer.
11559 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11561         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
11562         to __memcpy_ppc only for static builds.
11564 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
11566         [BZ #18020]
11567         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
11568         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
11569         * math/auto-libm-test-in: Add more tests of asinh.
11570         * math/auto-libm-test-out: Regenerated.
11571         * sysdeps/i386/fpu/libm-test-ulps: Update.
11572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11574 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
11576         [BZ #15850]
11577         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
11578         and ip6_mtuinfo definitions here.
11579         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
11580         in this define too.  Update comment.
11582 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
11584         * elf/sprof.c (load_shobj): Tweak error message to match others.
11586 2015-02-24  Kevin Easton  <kevin@guarana.org>
11588         [BZ #16145] (partial fix)
11589         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
11590         to reduce lock contention.
11592 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
11594         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
11595         (struct timex): Update time comment.
11596         (ADJ_SETOFFSET): Define.
11598 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
11600         [BZ #18019]
11601         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11602         2**56 not 2**28 as threshold for log (2x) formula.
11603         * math/auto-libm-test-in: Add more tests of acosh.
11604         * math/auto-libm-test-out: Regenerated.
11605         * sysdeps/i386/fpu/libm-test-ulps: Update.
11606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11608 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
11610         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
11611         parenthesis around the buf assignment.
11612         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
11614 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
11616         [BZ #16783]
11617         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
11618         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
11619         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
11620         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
11621         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
11622         * math/libm-test.inc (scalb_test_data): Add more tests.
11624 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
11626         [BZ #17916]
11627         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
11628         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
11630 2015-02-24  Eric Rannaud  <e@nanocritical.com>
11632         [BZ #17523]
11633         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
11634         * io/bits/fcntl2.h (open): Use it.
11635         (openat): Likewise.
11636         * io/open.c (__libc_open): Likewise.
11637         * io/open64.c (__libc_open64): Likewise.
11638         * io/open64_2.c (__open64_2): Likewise.
11639         * io/open_2.c (__open_2): Likewise.
11640         * io/openat.c (__openat): Likewise.
11641         * io/openat64.c (__openat64): Likewise.
11642         * io/openat64_2.c (__openat64_2): Likewise.
11643         * io/openat_2.c (__openat_2): Likewise.
11644         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
11645         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11646         * sysdeps/posix/open64.c (__libc_open64): Likewise.
11647         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11648         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
11649         (__open_nocancel): Likewise.
11650         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
11651         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
11652         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
11654 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11656         [BZ #14841]
11657         * resolv/gethnamaddr.c (getanswer): Skip logging if
11658         RES_USE_DNSSEC is set.
11659         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11661 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
11663         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
11665 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
11667         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
11668         201304L, for Unicode 7.
11670 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
11672         [BZ #17836]
11673         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
11674         shared library.  Add gmon-start.os otherwise.
11675         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
11676         $(objpfx)gmon-start.os if builing shared library.
11677         ($(objpfx)g$(static-start-installed-name)): Likewise.
11679 2015-02-23  Andreas Schwab  <schwab@suse.de>
11681         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
11683 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
11685         [BZ #17269]
11686         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
11687         (enlarge_userbuf): Likewise.
11689 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
11691         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
11692         * math/atest-exp.c (TIMEOUT): Adjust to 200.
11693         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
11694         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
11696 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
11698         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
11699         expression inside statement expression.
11701 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11703         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
11704         <sysdeps/nptl/lowlevellock.h> and remove macros and
11705         functions that are now defined there.
11706         (SYS_futex): Remove.
11707         (lll_compare_and_swap): Remove.
11708         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
11710 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
11712         [BZ #17999]
11713         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
11714         instead of scandirat.
11715         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
11716         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
11717         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
11718         __scandirat.
11719         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
11720         (__scandirat): Declare.  Use libc_hidden_proto.
11721         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
11722         Remove variable.
11723         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11725 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
11727         [BZ #15319]
11728         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
11729         (MO): New macro.
11730         (__ieee754_atan2): For results with small absolute value, force
11731         underflow exception and remove excess range and precision from
11732         return value.
11733         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
11734         (MO): New macro.
11735         (__ieee754_atan2f): For results with small absolute value, force
11736         underflow exception and remove excess range and precision from
11737         return value.
11738         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
11739         (MO): New macro.
11740         (__atan): For results with small absolute value, force underflow
11741         exception and remove excess range and precision from return value.
11742         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
11743         (MO): New macro.
11744         (__atanf): For results with small absolute value, force underflow
11745         exception and remove excess range and precision from return value.
11746         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
11747         <math.h>.
11748         (__ieee754_atan2): Force underflow exception for results with
11749         small absolute value.
11750         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
11751         <math_private.h>.
11752         (atan): Force underflow exception for results with small absolute
11753         value.
11754         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
11755         (__atanf): Force underflow exception for results with small
11756         absolute value.
11757         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
11758         <math.h>.
11759         (__atanl): Force underflow exception for results with small
11760         absolute value.
11761         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
11762         (__atanl): Force underflow exception for results with small
11763         absolute value.
11764         * sysdeps/x86/fpu/bits/mathinline.h
11765         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
11766         (__ieee754_atan2): Only define inline for long double.
11767         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11768         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
11769         * math/auto-libm-test-in: Do not mark underflow exceptions as
11770         possibly missing for bug 15319.  Add more tests of atan2.
11771         * math/auto-libm-test-out: Regenerated.
11772         * math/libm-test.inc (casin_test_data): Do not mark underflow
11773         exceptions as possibly missing for bug 15319.
11774         (casinh_test_data): Likewise.
11775         * sysdeps/i386/fpu/libm-test-ulps: Update.
11777 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
11779         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
11780         * sysdeps/mips/bits/endian.h: Fix comments.
11782 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
11784         [BZ #17996]
11785         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
11786         (hdestroy_r): Likewise.
11787         (hsearch_r): Likewise.
11788         (__hcreate_r): Declare and use libc_hidden_proto.
11789         (__hdestroy_r): Likewise.
11790         (__hsearch_r): Likewise.
11791         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
11792         (hcreate): Call __hcreate_r instead of hcreate_r.
11793         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
11794         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
11795         as weak alias of __hcreate_r.
11796         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
11797         __hdestroy_r.
11798         (hsearch_r): Rename to __hsearch_r and define as weak alias of
11799         __hsearch_r.
11800         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
11801         Remove variable.
11802         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11803         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11804         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11805         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11807 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11809         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
11810         arena_lock into a single arena_get.
11812 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
11814         * dl-reloc.c: Inlucde libc-internal.h.
11815         (_dl_try_allocate_static_tls): Call ALIGN_UP.
11816         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
11817         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
11818         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
11819         (grow_heap): Likewise.
11820         * malloc/malloc.c: Include libc-internal.h.
11821         (do_check_malloc): Call powerof2.
11822         (sysmalloc): Use pagesize. Call ALIGN_UP.
11823         (systrim): Use pagesize.
11824         (mremap_chunk): Use pagesize. Call ALIGN_UP.
11825         (__libc_valloc): Use pagesize.
11826         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
11828 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
11830         [BZ #17991]
11831         * include/sys/resource.h (__getrlimit64): Declare.  Use
11832         libc_hidden_proto.
11833         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
11834         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
11835         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
11836         getrlimit64.
11837         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
11838         __getrlimit64.
11839         [!getrlimit64] (getrlimit64): Define as weak alias of
11840         __getrlimit64.  Use libc_hidden_weak.
11841         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
11842         using __getrlimit64 not __new_getrlimit64.
11843         (__GI_getrlimit64): Likewise.
11844         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
11845         Likewise.
11846         (__GI_getrlimit64): Likewise.
11847         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
11848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
11849         (getrlimit): Add __getrlimit64 alias.
11850         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
11851         Likewise.
11852         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
11853         Remove variable.
11854         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11855         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11857 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
11859         * libio/fileops.c: Add missing sys/mman.h
11860         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
11862 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
11864         * manual/math.texi (Errors in Math Functions): Clarify goals
11865         regarding inexact and underflow exceptions.
11867 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
11869         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
11870         * sysdeps/mips/memset.S: Ditto.
11872 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
11874         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
11876 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11878         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
11879         (__v1longjmp): Remove versioned symbol.
11880         (__v1siglongjmp): Remove alias and versioned symbol.
11881         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
11882         (__v2siglongjmp): Likewise.
11884 2015-02-16  Torvald Riegel  <triegel@redhat.com>
11886         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
11888 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
11890         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
11892 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
11894         [BZ #17987]
11895         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
11896         zero result does not depend on the sign resulting from
11897         subtraction.
11898         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
11899         Likewise.
11900         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
11901         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
11902         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11903         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
11904         * math/libm-test.inc (remquo_test_data): Add more tests.
11906 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
11908         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
11909         Problem reported by J William Piggott.
11911 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
11913         [BZ #17978]
11914         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
11915         products 4 * y and 2 * y where those would overflow.
11916         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
11917         Likewise.
11918         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
11919         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
11920         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11921         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
11922         * math/libm-test.inc (remquo_test_data): Add more tests.
11924         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
11926         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
11927         [defined _COMPILING_NEWLIB].
11928         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
11929         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
11931         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
11932         [!defined __mips_isa_rev || __mips_isa_rev < 6].
11934 2015-02-16  Torvald Riegel  <triegel@redhat.com>
11936         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
11937         acquired.
11939 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
11941         [BZ #17792]
11942         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
11943         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
11944         HOST_STACK_END_ADDR): Likewise.
11946 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
11948         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
11949         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
11950         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
11952 2015-02-13  Roland McGrath  <roland@hack.frob.com>
11954         * sysdeps/generic/c++-types.data: New file.
11955         * sysdeps/generic/ld.abilist: New file.
11956         * sysdeps/generic/libBrokenLocale.abilist: New file.
11957         * sysdeps/generic/libanl.abilist: New file.
11958         * sysdeps/generic/libc.abilist: New file.
11959         * sysdeps/generic/libcrypt.abilist: New file.
11960         * sysdeps/generic/libdl.abilist: New file.
11961         * sysdeps/generic/libm.abilist: New file.
11962         * sysdeps/generic/libpthread.abilist: New file.
11963         * sysdeps/generic/libresolv.abilist: New file.
11964         * sysdeps/generic/librt.abilist: New file.
11966 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
11968         [BZ #17569]
11969         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
11970         Compute absolute value of x as modified by fmod, not original
11971         value of x.
11972         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
11973         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
11974         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
11975         RUN_TEST_ffI_f1_mod8.
11976         (remquo_test_data): Add more tests.
11978 2015-02-13  Roland McGrath  <roland@hack.frob.com>
11980         * sysdeps/init_array/pt-crti.S: New file.
11982 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
11984         [BZ #17967]
11985         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
11986         __builtin_fmaf instead of relying on contraction of a * b + c.
11988 2015-02-12  J William Piggott  <elseifthen@gmx.com>
11990         [BZ #17969]
11991         * manual/time.texi: correct the zoneinfo path in the TZ Variable
11992         node.
11994 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
11996         [BZ #17964]
11997         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
11998         __builtin_fma instead of relying on contraction of a * b + c.
12000 2015-02-12  Roland McGrath  <roland@hack.frob.com>
12002         * Makeconfig (ASFLAGS): Add -Werror=undef.
12003         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
12004         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
12005         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
12007         * Makeconfig (after-link): New variable.
12008         (+link-pie, +link-pie-tests): Use it.
12009         (+link-static, +link-static-tests): Likewise.
12010         (+link, +link-tests): Likewise.
12011         * Makerules (build-module, build-module-asneeded): Likewise.
12012         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
12013         Likewise.
12014         * elf/Makefile ($(objpfx)ld.so): Likewise.
12016 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
12018         [BZ #17965]
12019         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
12020         both struct timeval and struct timespec.
12022 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
12024         [BZ #16560]
12025         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12026         and redefine.
12027         (__ieee754_exp2l): Do not multiply small fractional parts by
12028         M_LN2l.
12029         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
12030         small argument.
12031         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12032         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12033         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
12034         * math/auto-libm-test-in: Add more tests of exp2.
12035         * math/auto-libm-test-out: Regenerated.
12037 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12039         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
12040         unaligned path.
12042 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12044         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
12045         little endian.
12047 2015-02-12  Andreas Schwab  <schwab@suse.de>
12049         [BZ #15790]
12050         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12051         Filter out elision flags from value returned in kind.
12052         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
12053         * nptl/tst-pthread-mutexattr.c: New file.
12055 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12057         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
12058         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
12059         into gnu-gnu, and update comment to refer to abi-tags.
12061 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
12063         [BZ #15467]
12064         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
12065         (__sincos): Set errno to EDOM for infinite argument.
12066         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
12067         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
12068         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
12069         (__sincosl): Set errno to EDOM for infinite argument.
12070         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
12071         (__sincosl): Set errno to EDOM for infinite argument.
12072         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
12073         (__sincosl): Set errno to EDOM for infinite argument.
12074         * math/libm-test.inc (sincos_test_data): Test errno setting.
12076 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
12078         * string/strxfrm_l.c: Remove #define STRCMP.
12079         * string/strcoll_l.c: Remove #define STRLEN.
12080         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
12081         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
12083 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
12085         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
12086         * sysdeps/mips/mips32/sfp-machine.h: ... here.
12087         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
12088         * sysdeps/mips/mips64/Makefile: ... here.
12089         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
12090         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
12091         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
12092         * sysdeps/mips/mips64/sfp-machine.h: ... here.
12093         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
12094         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
12095         * sysdeps/mips/mips64/n64/Implies: Likewise.
12097 2015-02-10  Roland McGrath  <roland@hack.frob.com>
12099         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
12100         <sys/time.h>, <string.h>, and <errno.h>.
12101         (dest_offset, dest_address, value, zero): Remove unused variables.
12102         (ldouble): Remove typedef.
12103         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
12104         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
12105         1).  Fix code style.
12106         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
12107         (check): Function removed.
12108         (CHECK): New macro.
12109         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
12110         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
12111         Don't call set_sigaction_FP and remove_sigaction_FP here.
12112         (ldouble_test): Just use 'long double' as macro argument, no need for
12113         the 'ldouble' typedef.
12114         (do_test): Set up SIGFPE handler at start, using plain signal rather
12115         than sigaction.  Fix code style.
12117 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
12119         [BZ #17949]
12120         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
12121         jump label.
12123 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12125         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
12126         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12128         * sysdeps/powerpc/configure.ac: Remove file.
12129         * sysdeps/powerpc/configure: Likewise.
12131         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
12132         [sysdep_routines]: Remove wordcopy-power6 object.
12133         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12134         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
12135         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
12136         (__memmove_ppc32): Likewise.
12137         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
12138         file.
12139         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
12140         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
12141         Remove preprocessor.
12143         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
12144         [sysdep_routines]: Remove wide chars objects.
12145         [wcsmbs]: New rule for wide char objects.
12147         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12148         Remove wordcopy-power6 obejct.
12149         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
12150         Use local call for wordcopy and memcpy symbols.
12151         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
12152         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
12153         implementation for loader.
12154         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
12156         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12157         Remove wordcopy-power7 object.
12158         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
12159         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
12160         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
12161         (_wordcopy_fwd_dest_aligned): Likewise.
12162         (_wordcopy_bwd_aligned): Likewise.
12163         (_wordcopy_bwd_dest_aligned): Likewise.
12165         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
12166         Rewrite to call __memmove_ppc instead of include default
12167         implementation.
12169         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12170         Remove wide chars objects.
12171         [wcsmbs]: New rule for wide char objects.
12173 2015-02-09  Andreas Schwab  <schwab@suse.de>
12175         [BZ #17912]
12176         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12177         in terms of __O_DIRECTORY.
12179 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12181         * time/getdate.c: Include <stdbool.h>.
12182         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
12183         call PTR_MANGLE.
12184         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
12185         PTR_DEMANGLE.
12187 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
12189         Add ersatz _Static_assert on older C hosts
12190         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
12191         pre-C11 C platform that is not known to support _Static_assert.
12193 2015-02-07  Richard Braun  <rbraun@sceen.net>
12195         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
12196         sigstate.
12197         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
12199 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12201         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
12202         priority against unexistent AIO_PRIO_DELTA_MAX.
12203         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
12204         instead of int.
12205         * misc/fchflags.c (fchflags): Likewise.
12206         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
12207         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
12208         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
12209         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
12210         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
12211         Declare macros.
12212         [__USE_MISC] (chflags, fchflags): Declare functions.
12213         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
12214         EINVAL when nfds is greater than FD_SETSIZE.
12215         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
12216         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
12217         45.
12218         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
12219         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
12220         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
12221         MACH_RCV_TIMED_OUT.
12222         * hurd/hurd/signal.h (_hurd_self_sigstate,
12223         _hurd_critical_section_lock, _hurd_critical_section_unlock):
12224         Explicit casts from void *.
12225         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
12226         * abi-tags: Rename gnu-gnu os into gnu.
12228         [BZ #4719]
12229         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
12230         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
12231         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
12232         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
12233         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
12234         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
12236         [BZ #17944]
12237         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
12238         duplicates ADDR->sun_path with sockaddr LEN limitation.
12239         * sysdeps/mach/hurd/connect.c: Include <string.h>
12240         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
12241         * sysdeps/mach/hurd/sendmsg.c: Likewise.
12242         * sysdeps/mach/hurd/sendto.c: Likewise.
12243         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
12244         implementing it by hand.
12246 2015-02-06  Roland McGrath  <roland@hack.frob.com>
12248         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
12249         Use sfi_breg on ldr.
12250         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
12251         Likewise.
12253         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
12254         it's defined.
12255         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
12256         Test SIGSETXID only if it's defined.
12258         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
12260         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
12261         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
12263         * nptl/tst-align2.c: Moved ...
12264         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
12265         * nptl/Makefile (tests): Remove tst-align2.
12266         * sysdeps/unix/sysv/linux/Makefile
12267         [$(subdir) = nptl] (tests): Add tst-align-clone.
12268         * nptl/tst-getpid1.c: Moved ...
12269         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
12270         * nptl/tst-getpid2.c: Moved ...
12271         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
12272         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
12273         * sysdeps/unix/sysv/linux/Makefile
12274         [$(subdir) = nptl] (tests): ... here.
12275         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
12276         * sysdeps/unix/sysv/linux/Makefile
12277         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
12279         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
12280         Drop trailing \n from perror argument.  Use return rather than exit.
12282         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
12283         on [SA_SIGINFO].
12284         * nptl/tst-cancel21.c (do_test): Likewise.
12285         * debug/tst-backtrace6.c: Include <signal.h> first thing.
12286         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
12287         [!SA_SIGINFO]: Make it a stub test.
12289         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
12290         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
12292         * posix/tst-getlogin.c: Move to ...
12293         * login/tst-getlogin.c: ... here.
12294         * posix/Makefile (tests): Move tst-getlogin to ...
12295         * login/Makefile (tests): ... here.
12297         * libio/tst-atime.c (do_test): Move local variables SV and E
12298         inside [ST_NOATIME] conditional.
12300         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
12302         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
12304         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
12305         (wait_code): New function replaces macro.
12306         Call nanosleep rather than syscall.
12308         * nptl/pt-system.c: Rewritten.  Put everything under
12309         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12310         Use IFUNC to redirect when possible.
12312         * nptl/pt-longjmp.c: Rewritten.  Put everything under
12313         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12314         Use IFUNC to redirect when possible.
12316         * nptl/pt-fork.c: Rewritten.  Put everything under
12317         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12318         Use IFUNC to redirect when possible.
12319         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
12321         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
12322         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
12323         unconditionally nowadays.  This included the only reference to
12324         __vdso_clock_gettime that appears outside libc proper.
12325         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
12326         Remove version set (containing only __vdso_clock_gettime).
12327         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12328         Add attribute_hidden.
12329         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12330         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
12331         libc_hidden_data_def.
12332         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12333         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12335         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
12336         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
12337         setrpcent, and getrpcport to ...
12338         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
12339         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
12340         getrpcbynumber_r, and getrpcent_r to ...
12341         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
12342         * inet/getrpcbyname.c: Moved ...
12343         * sunrpc/getrpcbyname.c: ... here.
12344         * inet/getrpcbyname_r.c: Moved ...
12345         * sunrpc/getrpcbyname_r.c: ... here.
12346         * inet/getrpcbynumber.c: Moved ...
12347         * sunrpc/getrpcbynumber.c: ... here.
12348         * inet/getrpcbynumber_r.c: Moved ...
12349         * sunrpc/getrpcbynumber_r.c: ... here.
12350         * inet/getrpcent.c: Moved ...
12351         * sunrpc/getrpcent.c: ... here.
12352         * inet/getrpcent_r.c: Moved ...
12353         * sunrpc/getrpcent_r.c: ... here.
12354         * inet/Makefile (routines): Move those to ...
12355         * sunrpc/Makefile (routines): ... here.
12356         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
12357         the $(subdirs) list.
12358         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
12359         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
12360         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
12361         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
12363         * elf/Makefile (routines): Include $(all-dl-routines), not just
12364         $(dl-routines).
12365         (rtld-routines): Likewise.  Use = rather than :=.
12366         * sysdeps/aarch64/Makefile [$(subdir) = elf]
12367         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
12368         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
12369         * sysdeps/arm/Makefile: Likewise.
12370         * sysdeps/i386/Makefile: Likewise.
12371         * sysdeps/x86_64/Makefile: Likewise.
12372         * sysdeps/hppa/Makefile [$(subdir) = elf]
12373         (sysdep_routines, sysdep-rtld-routines): Don't add
12374         $(sysdep-dl-routines) to these.
12375         * sysdeps/ia64/Makefile: Likewise.
12376         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
12377         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
12378         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
12379         Don't add dl-static to these; sysdep-dl-routines alone is enough.
12380         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
12381         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
12382         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
12383         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
12384         * sysdeps/powerpc/Makefile [$(subdir) = elf]
12385         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
12386         these; sysdep-dl-routines alone is enough.
12388 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
12390         [BZ #17932]
12391         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
12392         where multiplication results in zero and third argument is finite
12393         and nonzero.
12394         * math/auto-libm-test-in: Add more tests of fma.
12395         * math/auto-libm-test-out: Regenerated.
12397         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
12398         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
12399         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
12400         (_FP_CMP_EQ): Likewise.
12401         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
12403         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
12404         extra argument CHECK_NAN.  Redefine as wrapper around
12405         _FP_EXTEND_CNAN.
12407 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
12409         * version.h (RELEASE): Set to "stable".
12410         (VERSION): Set to "2.21"
12411         * include/features.h (__GLIBC_MINOR__): Set to 21.
12413         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
12415 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12416             Paul Eggert  <eggert@cs.ucla.edu>
12418         [BZ #16618]
12419         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
12420         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
12421         size in bytes. Store needed elements in wpmax. Use needed size
12422         in bytes for extend_alloca.
12424 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
12426         * manual/install.texi: Latest tested versions are GCC 4.9.2,
12427         binutls 2.25, and texinfo 5.2.
12428         * INSTALL: Regenerate.
12429         * sysdeps/nios2/configure: Regenerate.
12430         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
12431         * manual/contrib.texi: Update.
12432         * po/be.po: Update.
12433         * po/bg.po: Update.
12434         * po/ca.po: Update.
12435         * po/cs.po: Update.
12436         * po/da.po: Update.
12437         * po/de.po: Update.
12438         * po/el.po: Update.
12439         * po/eo.po: Update.
12440         * po/es.po: Update.
12441         * po/fi.po: Update.
12442         * po/fr.po: Update.
12443         * po/gl.po: Update.
12444         * po/hr.po: Update.
12445         * po/hu.po: Update.
12446         * po/ia.po: Update.
12447         * po/id.po: Update.
12448         * po/it.po: Update.
12449         * po/ja.po: Update.
12450         * po/ko.po: Update.
12451         * po/lt.po: Update.
12452         * po/nb.po: Update.
12453         * po/nl.po: Update.
12454         * po/pl.po: Update.
12455         * po/pt_BR.po: Update.
12456         * po/ru.po: Update.
12457         * po/rw.po: Update.
12458         * po/sk.po: Update.
12459         * po/sl.po: Update.
12460         * po/sv.po: Update.
12461         * po/tr.po: Update.
12462         * po/uk.po: Update.
12463         * po/vi.po: Update.
12464         * po/zh_CN.po: Update.
12465         * po/zh_TW.po: Update.
12467         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
12468         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
12469         * sysdeps/hppa/dl-irel.h: Remove #warning.
12470         * sysdeps/hppa/entry.h: Provide prototype for
12471         __canonicalize_funcptr_for_compare and cast argument.
12472         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
12473         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
12474         * sysdeps/hppa/sotruss-lib.c: New file.
12475         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
12476         (atomic_compare_and_exchange_val_acq): Use __typeof__.
12477         (atomic_compare_and_exchange_bool_acq): Likewise.
12478         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
12479         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
12481         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
12482         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
12483         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
12485 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
12487         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
12488         called function in non-PIC case.
12490 2015-01-31  David S. Miller  <davem@davemloft.net>
12492         * sysdeps/sparc/sparc32/bits/atomic.h
12493         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
12494         unlock not after it.
12495         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
12496         volatile register usage warnings from the compiler.
12498         * sysdeps/sparc/nptl/sem_init.c: Delete.
12499         * sysdeps/sparc/nptl/sem_post.c: Delete.
12500         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
12501         * sysdeps/sparc/nptl/sem_wait.c: Delete.
12502         * sysdeps/sparc/sparc32/sem_init.c: New file.
12503         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
12504         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
12505         padding explicitly initialized.
12506         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
12507         padding for in-semaphore spinlock.
12508         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
12509         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
12510         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
12511         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
12512         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
12513         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
12514         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
12515         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
12516         version.
12517         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
12518         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
12520 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
12522         [BZ #17801]
12523         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12524         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
12525         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
12526         New.
12527         (index_AVX_Fast_Unaligned_Load): Likewise.
12528         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
12529         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
12530         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
12531         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
12532         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
12533         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
12534         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
12535         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
12536         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
12538 2015-01-29  Andreas Schwab  <schwab@suse.de>
12540         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
12542 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
12544         [BZ #17892]
12545         * nscd/nscd_stat.c (send_stats): Initialize DATA.
12547 2015-01-28  Martin Sebor  <msebor@redhat.com>
12549         * math/README.libm-test: Clarify. Add "How to read the test output."
12551 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
12553         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
12554         Define to 0.
12556 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
12558         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
12559         (__HAVE_64B_ATOMICS): Define to 0.
12561 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12563         [BZ #17885]
12564         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
12565         value to set as new flag.
12567         [BZ #16576]
12568         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
12569         and use _ARCH_PPCSQ instead.
12570         (__ieee754_sqrt): Likewise.
12571         (__ieee754_sqrtf): Likewise.
12572         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
12573         _ARCH_PPCSQ is defined.
12574         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
12575         fsqrt instruction.
12576         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
12577         _ARCH_PPCSQ is defined.
12578         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
12579         fsqrts instruction.
12580         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
12582 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12584         * iconv/loop.c: Suppress array out of bound warning caused by GCC
12585         bug (GCC BZ #64739).
12587 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
12589         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
12590         Mark _retval as used.
12591         (lll_futex_wake_unlock): Likewise.
12592         (lll_futex_timed_wait_requeue_pi): Likewise.
12594         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12595         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
12596         register variables.
12598         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
12599         libm_hidden_def.
12601         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
12602         (__bswap_64): Mark as __always_inline.
12604 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
12606         [BZ #15378]
12607         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
12608         when none of the search directories exist.
12610 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12612         [BZ #17869]
12613         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
12614         power8 in .machine directive.
12616         [BZ #17868]
12617         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
12618         set dependency from opd value.
12620 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
12622         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12623         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
12624         architecture.
12626 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
12628         [BZ #17870]
12629         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
12630         with uint64_t.
12631         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
12632         (uint64_t) 1.
12633         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
12634         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
12635         Replace 1UL with (uint64_t) 1.
12636         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
12637         int with uint64_t.
12639 2015-01-23  Roland McGrath  <roland@hack.frob.com>
12641         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
12642         (if_freenameindex): Likewise.
12644         * resource/getrlimit64.c: Add missing libc_hidden_def.
12646 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
12648         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
12649         __label__.
12650         (_FP_FMA): Likewise.
12651         (_FP_TO_INT_ROUND): Likewise.
12652         (_FP_FROM_INT): Likewise.
12654 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12656         [BZ #16418]
12657         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
12658         Make code racy and cancel safe.
12660 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
12662         * sysdeps/arm/unwind-resume.h: Fix copyright year.
12663         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
12664         attribution.
12666         * pwd/tst-getpw.c: Rewrite.
12668         [BZ #17702]
12669         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
12670         (modules-names): Add moddummy1 and moddummy2.
12671         ($(objpfx)tst-rec-dlopen): Define.
12672         * dlfcn/moddummy1.c: New file.
12673         * dlfcn/moddummy2.c: New file.
12674         * dlfcn/tst-rec-dlopen.c: New file.
12675         * elf/dl-cache.c (_dl_load_cache_lookup):
12676         Return char*. Copy result with alloca/strcpy/strdup.
12677         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
12678         returns char*. Free cached. If not saving realname
12679         free cached.
12680         * elf/dl-open.c (dl_open_worker): Do not assert that
12681         _r_debug->r_state is RT_CONSISTENT.
12682         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
12683         returns char*.
12685 2015-01-21  Torvald Riegel  <triegel@redhat.com>
12686             Carlos O'Donell  <carlos@redhat.com>
12688         [BZ #12674]
12689         * nptl/sem_waitcommon.c: New file.
12690         * nptl/sem_wait.c: Include sem_waitcommon.c.
12691         (__sem_wait_cleanup, do_futex_wait): Remove.
12692         (__new_sem_wait): Adapt.
12693         (__new_sem_trywait): New function.
12694         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
12695         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
12696         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
12697         (sem_timedwait): Adapt.
12698         * nptl/sem_post.c (__new_sem_post): Adapt.
12699         (futex_wake): New function.
12700         (__old_sem_post): Add release MO fence.
12701         * nptl/sem_open.c (sem_open): Adapt.
12702         * nptl/sem_init.c (__new_sem_init): Adapt.
12703         (futex_private_if_supported): New function.
12704         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
12705         (__old_sem_getvalue): Add using previous code.
12706         * sysdeps/nptl/internaltypes.h: Adapt.
12707         * nptl/tst-sem13.c (do_test): Adapt.
12708         * nptl/tst-sem11.c (main): Adapt.
12709         * nptl/sem_trywait.c: Remove.
12710         * nptl/DESIGN-sem.txt: Remove.
12711         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
12712         (gen-as-const-headers): Remove structsem.sym.
12713         * nptl/structsem.sym: Remove.
12714         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
12715         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
12716         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
12717         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
12718         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
12719         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
12720         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
12721         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
12722         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
12723         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
12724         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
12725         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
12726         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
12727         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
12728         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
12729         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
12730         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
12731         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
12732         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
12733         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
12734         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
12735         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
12737 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
12739         * INSTALL: Regenerated.
12741         * po/libc.pot: Regenerated.
12743 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
12744             Sandra Loosemore  <sandra@codesourcery.com>
12745             Andrew Jenner  <andrew@codesourcery.com>
12746             Joseph Myers  <joseph@codesourcery.com>
12747             Nathan Sidwell  <nathan@codesourcery.com>
12749         * NEWS: Mention new Nios II port.
12750         * sysdeps/nios2/Implies: New file.
12751         * sysdeps/nios2/Makefile: New file.
12752         * sysdeps/nios2/Subdirs: New file.
12753         * sysdeps/nios2/Versions: New file.
12754         * sysdeps/nios2/__longjmp.S: New file.
12755         * sysdeps/nios2/abort-instr.h: New file.
12756         * sysdeps/nios2/backtrace.c: New file.
12757         * sysdeps/nios2/bits/endian.h: New file.
12758         * sysdeps/nios2/bits/fenv.h: New file.
12759         * sysdeps/nios2/bits/link.h: New file.
12760         * sysdeps/nios2/bits/setjmp.h: New file.
12761         * sysdeps/nios2/bsd-_setjmp.S: New file.
12762         * sysdeps/nios2/bsd-setjmp.S: New file.
12763         * sysdeps/nios2/configure: New generated file.
12764         * sysdeps/nios2/configure.ac: New file.
12765         * sysdeps/nios2/crti.S: New file.
12766         * sysdeps/nios2/crtn.S: New file.
12767         * sysdeps/nios2/dl-init.c: New file.
12768         * sysdeps/nios2/dl-machine.h: New file.
12769         * sysdeps/nios2/dl-sysdep.h: New file.
12770         * sysdeps/nios2/dl-tls.h: New file.
12771         * sysdeps/nios2/dl-trampoline.S: New file.
12772         * sysdeps/nios2/gccframe.h: New file.
12773         * sysdeps/nios2/gmp-mparam.h: New file.
12774         * sysdeps/nios2/jmpbuf-offsets.h: New file.
12775         * sysdeps/nios2/jmpbuf-unwind.h: New file.
12776         * sysdeps/nios2/ldsodefs.h: New file.
12777         * sysdeps/nios2/libc-tls.c: New file.
12778         * sysdeps/nios2/libm-test-ulps: New file.
12779         * sysdeps/nios2/machine-gmon.h: New file.
12780         * sysdeps/nios2/math-tests.h: New file.
12781         * sysdeps/nios2/math_private.h: New file.
12782         * sysdeps/nios2/memusage.h: New file.
12783         * sysdeps/nios2/nptl/Makefile: New file.
12784         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
12785         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
12786         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
12787         * sysdeps/nios2/nptl/pthreaddef.h: New file.
12788         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
12789         * sysdeps/nios2/nptl/tls.h: New file.
12790         * sysdeps/nios2/preconfigure: New file.
12791         * sysdeps/nios2/s_fma.c: New file.
12792         * sysdeps/nios2/s_fmaf.c: New file.
12793         * sysdeps/nios2/setjmp.S: New file.
12794         * sysdeps/nios2/sfp-machine.h: New file.
12795         * sysdeps/nios2/sotruss-lib.c: New file.
12796         * sysdeps/nios2/stackguard-macros.h: New file.
12797         * sysdeps/nios2/stackinfo.h: New file.
12798         * sysdeps/nios2/start.S: New file.
12799         * sysdeps/nios2/sysdep.h: New file.
12800         * sysdeps/nios2/tls-macros.h: New file.
12801         * sysdeps/nios2/tst-audit.h: New file.
12802         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
12803         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
12804         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
12805         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
12806         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
12807         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
12808         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
12809         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
12810         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
12811         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
12812         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
12813         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
12814         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
12815         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
12816         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
12817         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
12818         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
12819         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
12820         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
12821         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
12822         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
12823         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
12824         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
12825         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
12826         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
12827         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
12828         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
12829         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
12830         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
12831         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
12832         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
12833         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
12834         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
12835         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
12836         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
12837         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
12838         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
12839         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
12840         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
12841         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
12842         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
12843         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
12844         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
12845         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
12847 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12849         [BZ #17844]
12850         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
12851         (getutent): Use weak_alias in non SHARED case
12852         and default_symbol_version in SHARED case.
12853         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
12854         (getutent_r, pututline): Likewise.
12855         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
12856         (getutid): Likewise.
12857         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
12858         (getutid_r): Likewise.
12859         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
12860         (getutline): Likewise.
12861         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
12862         (getutline_r): Likewise.
12863         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
12864         (updwtmp): Likewise.
12866 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12868         [BZ #17848]
12869         * sysdeps/s390/s390-32/memcmp.S
12870         (memcmp_g5): Rename to __memcmp_g5.
12871         * sysdeps/s390/s390-32/memcpy.S
12872         (memcpy_g5): Rename to __memcpy_g5.
12873         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12874         (memcpy_mvcle) Rename to __memcpy_mvcle.
12875         * sysdeps/s390/s390-32/memset.S
12876         (memset_g5): Rename to __memset_g5.
12877         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12878         (IFUNC_RESOLVE): Prefix ifunc-resolve function
12879         and use prefixed functions.
12880         * sysdeps/s390/s390-32/multiarch/memcmp.S
12881         (memcmp_z196): Rename to __memcmp_z196.
12882         (memcmp_z10): Rename to __memcmp_z10.
12883         (memcmp): Set alias to __memcmp_g5.
12884         (bcmp): Set alias to __memcmp_g5.
12885         * sysdeps/s390/s390-32/multiarch/memcpy.S
12886         (memcpy_z196): Rename to __memcpy_z196.
12887         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12888         (memcpy_z10): Rename to __memcpy_z10.
12889         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12890         (memcpy): Set alias to __memcpy_g5.
12891         * sysdeps/s390/s390-32/multiarch/memset.S
12892         (memset_z196): Rename to __memset_z196.
12893         Jump to __memset_mvcle instead of memset_mvcle.
12894         (memset_z10): Rename to __memset_z10.
12895         Jump to __memset_mvcle instead of memset_mvcle.
12896         (memset_mvcle) Rename to __memset_mvcle.
12897         (memset): Set alias to __memset_g5.
12898         * sysdeps/s390/s390-64/memcmp.S
12899         (memcmp_z900): Rename to __memcmp_z900.
12900         * sysdeps/s390/s390-64/memcpy.S
12901         (memcpy_z900): Rename to __memcpy_z900.
12902         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12903         (memcpy_mvcle) Rename to __memcpy_mvcle.
12904         * sysdeps/s390/s390-64/memset.S
12905         (memset_z900): Rename to __memset_z900.
12906         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
12907         (IFUNC_RESOLVE): Prefix ifunc-resolve function
12908         and use prefixed functions.
12909         * sysdeps/s390/s390-64/multiarch/memcmp.S
12910         (memcmp_z196): Rename to __memcmp_z196.
12911         (memcmp_z10): Rename to __memcmp_z10.
12912         (memcmp): Set alias to __memcmp_z900.
12913         (bcmp): Set alias to __memcmp_z900.
12914         * sysdeps/s390/s390-64/multiarch/memcpy.S
12915         (memcpy_z196): Rename to __memcpy_z196.
12916         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12917         (memcpy_z10): Rename to __memcpy_z10.
12918         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12919         (memcpy): Set alias to __memcpy_z900.
12920         * sysdeps/s390/s390-64/multiarch/memset.S
12921         (memset_z196): Rename to __memset_z196.
12922         Jump to __memset_mvcle instead of memset_mvcle.
12923         (memset_z10): Rename to __memset_z10.
12924         Jump to __memset_mvcle instead of memset_mvcle.
12925         (memset_mvcle) Rename to __memset_mvcle.
12926         (memset): Set alias to __memset_z900.
12928 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
12930         [BZ #17748]
12931         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
12932         __fesetenv instead of fesetenv.
12934 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12936         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
12937         macro.
12939 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12941         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
12942         regression on LE.
12944         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
12945         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
12946         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
12947         strncmp-power8 object.
12948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12949         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
12950         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
12951         * NEWS: Update.
12953 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12954             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12956         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
12957         trailing byte check.
12959 2015-01-13  David S. Miller  <davem@davemloft.net>
12961         * include/signal.h (__sigreturn): Guard with __USE_MISC.
12963 2015-01-13  Roland McGrath  <roland@hack.frob.com>
12965         * login/logout.c (logout): Use memset rather than bzero.
12966         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
12967         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
12968         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
12969         (_gethtbyaddr): Likewise.
12970         * locale/programs/simple-hash.c (bcopy): Macro removed.
12972 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12974         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12975         Add strcmp-power8 object.
12976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12977         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
12978         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
12979         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
12980         __strcmp_power8 implementation.
12981         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
12982         * NEWS: Update.
12984         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12985         Add strncpy-power8 and stpncpy-power8 objects.
12986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12987         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
12988         implementations.
12989         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
12990         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
12991         __stpncpy_power8 implementation.
12992         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
12993         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
12994         __strncpy_power8 implementation.
12995         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
12996         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
12997         * NEWS: Update.
12999         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
13000         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
13001         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
13003         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13004         strncat-power8 object.
13005         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
13006         __strcat_power8 implementation.
13007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13008         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
13009         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
13010         optimized strcat for power8.
13012         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13013         strcpy-power8 and stpcpy-power8 objects.
13014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13015         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
13016         implementations.
13017         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
13018         multiarch stpcpy implementation for POWER8.
13019         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
13020         multiarch strcpy implementation for POWER8.
13021         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
13022         __strcpy_power8 function.
13023         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
13024         stpcpy for POWER8.
13025         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
13026         strcpy for POWER8.
13027         * NEWS: Update.
13029 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
13031         [BZ #16009]
13032         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
13033         weights and rules. Use do_xfrm_cached if data fits in cache,
13034         do_xfrm otherwise.  Moved former main loop to...
13035         * (do_xfrm_cached): New function.
13036         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
13037         find_idx, find_position and stack_push.
13038         * (find_idx): New function.
13039         * (find_position): Likewise.
13040         * localedata/sort-test.sh: Added test run for do_xfrm.
13041         * localedata/xfrm-test.c (main): Added command line option
13042         -nocache to run the test with strings that are too large for
13043         the STRXFRM cache.
13045 2015-01-13  Torvald Riegel  <triegel@redhat.com>
13047         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
13048         variable to lll_futex_wake call, not the value itself.
13050 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
13052         [BZ #17803]
13053         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
13054         twom64.  Adjust value to 0x1p-64L.
13055         (__scalblnl): Only return standard underflowing result for K <=
13056         -64 not K <= -63; adjust exponent for underflowing result by 64
13057         not 63.
13058         * math/libm-test.inc (scalbn_test_data): Add more tests.
13059         (scalbln_test_data): Likewise.
13061         [BZ #17834]
13062         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
13063         0x1p63L.
13064         (__scalblnl): Get new exponent of adjusted subnormal value from ES
13065         not HX.
13066         * math/libm-test.inc (scalbn_test_data): Add more tests.
13067         (scalbln_test_data): Likewise.
13069 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13070             Stefani Seibold  <stefani@seibold.net>
13072         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
13073         (sysdep_routines): Add dl-vdso here, ...
13074         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
13075         (sysdep_routines): ... not here.
13076         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
13077         fallback when vDSO is not presented.
13078         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13079         Define with libc_hidden_proto/libc_hidden_data_def definitions.
13080         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
13081         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
13082         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
13083         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
13084         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
13085         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
13086         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
13087         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
13088         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
13089         fallback configurable symbol when vDSO is not available.
13090         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
13091         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
13092         be able to redefine fallback symbol when vDSO is not available.
13093         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
13094         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
13096 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13098         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
13099         (TLS_INIT_TP): Add tm_capable initialization.
13100         (TLS_DEFINE_INIT_TP): Likewise.
13101         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
13102         TCB.
13103         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
13104         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
13105         calculation.
13106         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
13107         transactoion is lock elision is built and TCB tm_capable is set.
13108         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
13109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13110         (INTERNAL_SYSCALL_NCS): Likewise.
13111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13112         (INTERNAL_SYSCALL_NCS): Likewise.
13113         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
13115         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
13116         for powerpc.
13117         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13118         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
13119         and remove it for 32 bits case.
13120         [pthread_rwlock_t] (__rwelision): New field for lock elision.
13121         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
13122         initialization.
13123         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
13124         Disable lock elision with rdlocks if elision is not available.
13126         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
13127         (sysdep_routines): Add lock elision objects.
13128         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13129         [pthread_mutex_t] (__spins): Rework to add lock elision field.
13130         [pthread_mutex_t] (__elision): Add field.
13131         [__PTHREAD_SPINS]: Adjust to init lock elision field.
13132         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
13133         elision definitions for powerpc.
13134         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
13135         implementation of lock elision for powerpc.
13136         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
13137         implementation of timed lock elision for powerpc.
13138         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
13139         implementation of trylock with lock elision for powerpc.
13140         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
13141         implementaion of unlock for lock elision for powerpc.
13142         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
13143         automatic enable lock elision for mutexes.
13144         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
13145         transaction execution definitions for powerpc.
13146         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
13147         definitions.
13148         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
13149         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
13150         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
13151         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
13152         * NEWS: Update.
13154 2015-01-09  Roland McGrath  <roland@hack.frob.com>
13156         * sysdeps/posix/shm-directory.c: Use <> rather than ""
13157         for #include of <shm-directory.h>.
13159 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
13161         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
13162         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
13164 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
13166         [BZ #17791]
13167         * NEWS: Mention bug fix.
13168         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
13169         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
13170         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
13172 2015-01-09  Torvald Riegel <triegel@redhat.com>
13174         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
13176 2015-01-09  Torvald Riegel <triegel@redhat.com>
13178         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
13180 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13182         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
13183         pointer and cast to uintptr_t.
13185 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13187         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
13188         removed.
13189         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
13191 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13193         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
13194         of 0.
13196 2015-01-08  Roland McGrath  <roland@hack.frob.com>
13198         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
13199         <nptl/pthreadP.h> instead.
13200         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
13202         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
13203         already defined.
13204         [__SIGRTMIN] (init): Function removed.
13205         [__SIGRTMIN] (initialized): Variable removed.
13206         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
13207         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
13208         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
13209         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
13210         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
13211         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
13212         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
13213         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
13214         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
13215         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
13216         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
13217         * sysdeps/nptl/allocrtsig.c: New file.
13218         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
13219         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
13220         * sysdeps/generic/testrtsig.h: File removed.
13222         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
13223         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
13225         * nptl/nptl-init.c (pthread_functions): Conditionalize
13226         .ptr__nptl_setxid initialization on [SIGSETXID].
13228         * sysdeps/nptl/sys/procfs.h: New file.
13229         * nptl_db/Makefile (headers): Add it.
13230         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
13232         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
13233         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
13234         * nptl/pthread_attr_setaffinity.c: Include it.
13235         * nptl/pthread_setattr_default_np.c: Likewise.
13236         * nptl/check-cpuset.h: New file.
13238 2015-01-08  Richard Henderson  <rth@redhat.com>
13240         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
13241         (CFLAGS-tst-execstack-prog.c): Likewise.
13242         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
13244 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
13245             Sandra Loosemore  <sandra@codesourcery.com>
13246             Andrew Jenner  <andrew@codesourcery.com>
13247             Joseph Myers  <joseph@codesourcery.com>
13248             Nathan Sidwell  <nathan@codesourcery.com>
13250         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
13251         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
13252         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
13253         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
13254         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
13255         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
13256         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
13257         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
13258         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
13259         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
13260         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
13261         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
13262         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
13263         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
13264         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
13265         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
13266         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
13268 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13270         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
13271         timespec struct member in syscall macro.
13272         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13273         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
13274         first timeval struct member in syscall macro.
13275         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
13277 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
13279         [BZ #17748]
13280         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
13281         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
13282         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
13283         __feupdateenv and define as weak alias of __feupdateenv.  Use
13284         libm_hidden_weak.
13285         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
13286         libm_hidden_def.
13287         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
13288         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
13289         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
13290         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
13291         libm_hidden_def.
13292         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
13293         __feupdateenv and define as weak alias of __feupdateenv.  Use
13294         libm_hidden_weak.
13295         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
13296         libm_hidden_def.
13297         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
13298         __feupdateenv and define as weak alias of __feupdateenv.  Use
13299         libm_hidden_weak.
13300         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
13301         libm_hidden_def.
13302         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13303         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
13304         (__feupdateenv): Likewise.
13305         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
13306         __feupdateenv and define as weak alias of __feupdateenv.  Use
13307         libm_hidden_weak.
13308         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13309         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
13310         libm_hidden_def.
13311         * sysdeps/tile/math_private.h (__feupdateenv): New inline
13312         function.
13313         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
13314         libm_hidden_def.
13315         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
13316         __feupdateenv instead of feupdateenv.
13317         (default_libc_feupdateenv_test): Likewise.
13318         (libc_feresetround_ctx): Likewise.
13320 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13322         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
13323         prototype.
13325 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
13327         * posix/regcomp.c (parse_bracket_exp): Initialize type to
13328         COLL_SYM in a couple of places to avoid uninitialized variable
13329         wanings on tilegx gcc 4.8.2.
13331 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
13333         * sysdeps/aarch64/strcpy.S: New file.
13334         * sysdeps/aarch64/stpcpy.S: New file.
13335         * NEWS: Updated.
13337 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
13339         * sysdeps/aarch64/strrchr.S: New file.
13340         * NEWS: Updated.
13342 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
13344         [BZ #17658]
13345         * stdlib/setenv.c: Fix memory leak when setting large,
13346         duplicate string.
13348 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
13350         [BZ #17273]
13351         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
13352         and tabs from buffer before parsing fstab entry.
13353         * misc/tst-mntent.c (main): Add test for mount entry with
13354         trailing spaces and tabs.
13356 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
13358         [BZ #17748]
13359         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
13360         * math/fesetround.c (fesetround): Rename to __fesetround and
13361         define as weak alias of __fesetround.  Use libm_hidden_weak.
13362         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
13363         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
13364         * sysdeps/arm/fesetround.c (fesetround): Likewise.
13365         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
13366         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
13367         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
13368         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
13369         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
13370         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
13371         __fesetround_inline.
13372         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
13373         __fesetround_inline instead of __fesetround.
13374         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
13375         __fesetround and define as weak alias of __fesetround.  Use
13376         libm_hidden_weak.  Call __fesetround_inline instead of
13377         __fesetround.
13378         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
13379         __fesetround and define as weak alias of __fesetround.  Use
13380         libm_hidden_weak.
13381         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
13382         Likewise.
13383         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
13384         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13385         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
13386         * sysdeps/tile/math_private.h (__fesetround): New inline function.
13387         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
13388         __fesetround and define as weak alias of __fesetround.  Use
13389         libm_hidden_weak.
13390         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
13391         __fesetround instead of fesetround.
13392         (default_libc_feholdexcept_setround): Likewise.
13393         (libc_feholdsetround_ctx): Likewise.
13394         (libc_feholdsetround_noex_ctx): Likewise.
13396         [BZ #17748]
13397         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
13398         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
13399         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
13400         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
13401         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13402         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
13403         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13404         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
13405         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13406         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13407         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13408         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13409         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13410         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13411         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
13412         libm_hidden_def.
13413         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
13414         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
13415         Likewise.
13416         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13417         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13418         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13419         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13420         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
13421         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
13422         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
13423         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
13424         __fesetenv instead of fesetenv.
13425         (libc_feresetround_noex_ctx): Likewise.
13426         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
13427         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
13428         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
13429         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
13430         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
13431         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
13432         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13433         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
13434         (__feupdateenv): Likewise.
13435         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13436         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13437         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13438         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
13440 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
13442         [BZ #17806]
13443         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
13444         addresses have been freed.
13446 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
13448         * resolv/res_init.c (__res_vinit): Improve comments about nserv
13449         and nservall.
13451 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
13453         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
13454         Clean up check_pf allocation pattern. addresses
13456 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13458         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
13459         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
13460         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
13461         * nptl/pthread_exit.c (__pthread_exit): Likewise.
13462         * nptl/pthread_join.c (pthread_join): Likewise.
13463         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
13464         * sysdeps/posix/waitid.c (__waitid): Likewise.
13465         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13466         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13467         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13468         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13469         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13470         Likewise.
13471         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13472         (__libc_pread64): Likewise.
13473         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13474         (__libc_pwrite): Likewise.
13475         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13476         (__libc_pwrite64): Likewsie.
13477         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13478         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13479         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13480         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13481         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13482         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13483         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13485         Likewise.
13486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13487         (__libc_pread64): Likewise.
13488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
13489         Likewise.
13490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13491         (__libc_pwrite64): Likewise.
13492         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13493         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13494         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
13495         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
13496         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13497         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13498         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
13499         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
13500         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
13501         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
13502         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
13503         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
13504         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
13505         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
13506         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13507         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
13508         Likewise.
13510 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
13512         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
13513         (CFLAGS-test-double.c): Likewise.
13514         (CFLAGS-test-ldouble.c): Likewise.
13515         (CPPFLAGS-test-ifloat.c): Likewise.
13516         (CPPFLAGS-test-idouble.c): Likewise.
13517         (CPPFLAGS-test-ildoubl.c): Likewise.
13518         (CFLAGS-test-test-fenv.c): Remove variable.
13519         (CFLAGS-test-misc.c): Likewise.
13521 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
13523         [BZ #17797]
13524         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
13525         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
13526         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
13527         CLOCKS_PER_SEC == 1000000.
13528         * time/clocktest.c (main): Replace %ld with %jd and cast to
13529         intmax_t.
13531 2015-01-05  Roland McGrath  <roland@hack.frob.com>
13533         * sysdeps/generic/unwind-resume.h: New file.
13534         * sysdeps/gnu/unwind-resume.c: Include it.
13535         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
13536         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
13537         argument list.
13538         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
13539         global rather than static.
13540         (_Unwind_Resume): Update user.
13541         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
13542         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
13543         rather than static.  Add __attribute__ ((cold)).
13544         (_Unwind_Resume, __gcc_personality_v0): Update callers.
13545         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13546         * sysdeps/arm/arm-unwind-resume.S: New file.
13547         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
13548         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
13549         * sysdeps/arm/Makefile [$(subdir) = csu]
13550         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
13551         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13552         Add rt-arm-unwind-resume.
13553         [$(subdir) = nptl]
13554         (libpthread-sysdep_routines, libpthread-shared-only-routines):
13555         Add pt-arm-unwind-resume.
13556         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
13557         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
13559 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
13561         [BZ #17748]
13562         * include/fenv.h (__feholdexcept): Declare.  Use
13563         libm_hidden_proto.
13564         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
13565         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
13566         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13567         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
13568         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
13569         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
13570         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
13571         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13572         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
13573         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
13574         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13575         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
13576         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
13577         (feholdexcept): Likewise.
13578         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13579         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13580         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13581         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13582         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
13583         __feholdexcept instead of feholdexcept.
13584         (default_libc_feholdexcept_setround): Likewise.
13586 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
13588         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
13589         to avoid using stl/str to align destination.
13591 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
13593         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
13595 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
13597         [BZ #17796]
13598         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
13599         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
13600         Define as weak alias not strong alias.
13602 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
13604         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
13605         bltzal with addiupc.
13606         (RTLD_START): Ditto.
13608 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
13610         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
13611         for __vdso_* functions in declarations.
13612         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
13613         definitions.
13614         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
13615         INTERNAL_VSYSCALL): Use struct return types to check for error.
13617         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
13618         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
13619         function with cast from llround().
13620         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
13621         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13622         Define.
13624 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
13626         [BZ #17793]
13627         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
13628         Define as weak alias not strong alias.
13630         [BZ #17635]
13631         * ctype/ctype-c99.c: New file.  isblank implementation moved from
13632         ...
13633         * ctype/ctype-extn.c: ... here.
13634         (__isblank_l): Move to ...
13635         * ctype/ctype-c99_l.c: ... here.  New file.
13636         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
13637         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
13638         Remove variable.
13639         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13640         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13641         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13642         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13643         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13645         [BZ #17777]
13646         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
13647         (posix_fadvise64): Define as weak alias not strong alias.
13648         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13649         (posix_fallocate64): Likewise.
13650         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
13651         Remove variable.
13652         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13653         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13654         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13655         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13656         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13658 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
13660         [BZ #16191]
13661         * NEWS: Mention bug fix.
13662         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
13663         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
13664         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
13665         (HOST_STACK_END_ADDR): Likewise.
13667 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
13669         [BZ #17748]
13670         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
13671         * math/fegetround.c (fegetround): Rename to __fegetround and
13672         define as weak alias of __fegetround.  Use libm_hidden_weak.
13673         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
13674         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
13675         * sysdeps/arm/fegetround.c (fegetround): Likewise.
13676         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
13677         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13678         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
13679         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
13680         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
13681         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13682         Undefine after rather than before function definition; use
13683         parentheses around function name in definition.
13684         (__fegetround): Also undefine macro after function definition.
13685         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
13686         __fegetround and define as weak alias of __fegetround.  Use
13687         libm_hidden_weak.  Do not undefine as macro.
13688         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13689         Likewise.
13690         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
13691         __fegetround and define as weak alias of __fegetround.  Use
13692         libm_hidden_weak.
13693         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13694         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13695         * sysdeps/tile/math_private.h (__fegetround): New inline function.
13696         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
13697         __fegetround and define as weak alias of __fegetround.  Use
13698         libm_hidden_weak.
13699         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
13700         __fegetround instead of fegetround.
13702         [BZ #17782]
13703         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
13704         Condition macro definition on [__USE_MISC].
13706         [BZ #17781]
13707         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
13708         (struct sigaction): Change type of sa_flags field to int.
13710         [BZ #17780]
13711         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
13712         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
13713         __glibc_reserved0.
13715         * nptl/version.c (banner): Use single year in copyright notice.
13717         * NEWS: Update copyright dates.
13718         * catgets/gencat.c (print_version): Likewise.
13719         * csu/version.c (banner): Likewise.
13720         * debug/catchsegv.sh: Likewise.
13721         * debug/pcprofiledump.c (print_version): Likewise.
13722         * debug/xtrace.sh (do_version): Likewise.
13723         * elf/ldconfig.c (print_version): Likewise.
13724         * elf/ldd.bash.in: Likewise.
13725         * elf/pldd.c (print_version): Likewise.
13726         * elf/sotruss.sh: Likewise.
13727         * elf/sprof.c (print_version): Likewise.
13728         * iconv/iconv_prog.c (print_version): Likewise.
13729         * iconv/iconvconfig.c (print_version): Likewise.
13730         * locale/programs/locale.c (print_version): Likewise.
13731         * locale/programs/localedef.c (print_version): Likewise.
13732         * login/programs/pt_chown.c (print_version): Likewise.
13733         * malloc/memusage.sh (do_version): Likewise.
13734         * malloc/memusagestat.c (print_version): Likewise.
13735         * malloc/mtrace.pl: Likewise.
13736         * manual/libc.texinfo: Likewise.
13737         * nptl/version.c (banner): Likewise.
13738         * nscd/nscd.c (print_version): Likewise.
13739         * nss/getent.c (print_version): Likewise.
13740         * nss/makedb.c (print_version): Likewise.
13741         * posix/getconf.c (main): Likewise.
13742         * scripts/test-installation.pl: Likewise.
13743         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
13745 2015-01-02  Will Newton  <will.newton@linaro.org>
13747         * sysdeps/arm/armv7/configure: Removed.
13748         * sysdeps/arm/armv7/configure.ac: Likewise.
13750 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
13752         * All files with FSF copyright notices: Update copyright dates
13753         using scripts/update-copyrights.
13754         * intl/plural.c: Regenerated.
13755         * locale/programs/charmap-kw.h: Likewise.
13756         * locale/programs/locfile-kw.h: Likewise.
13758 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13760         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
13762 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
13764         [BZ #17748]
13765         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
13766         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
13767         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
13768         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
13769         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13770         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
13771         define as weak alias of __fegetenv.  Use libm_hidden_weak.
13772         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
13773         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13774         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
13775         define as weak alias of __fegetenv.  Use libm_hidden_weak.
13776         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13777         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
13778         define as weak alias of __fegetenv.  Use libm_hidden_weak.
13779         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
13780         libm_hidden_def.
13781         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
13782         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
13783         Likewise.
13784         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
13785         define as weak alias of __fegetenv.  Use libm_hidden_weak.
13786         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13787         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13788         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
13789         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
13790         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
13791         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
13792         __fegetenv instead of fegetenv.
13793         (libc_feholdsetround_noex_ctx): Likewise.
13795 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
13797         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
13798         (Elf_MIPS_ABIFlags_v0): New structure.
13799         (EF_MIPS_FP64): Define.
13800         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
13801         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
13802         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
13803         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
13804         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
13805         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
13806         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
13807         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
13808         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
13809         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
13810         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
13811         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
13812         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
13813         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
13814         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
13815         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
13816         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
13817         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
13818         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
13819         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
13820         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
13821         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
13822         field.
13823         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
13824         EF_MIPS_FP64.
13825         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
13826         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
13827         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
13828         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
13829         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
13830         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
13831         * sysdeps/mips/tst-abi-interlink.c: Likewise.
13832         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
13833         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
13834         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
13835         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
13836         record the current FP ABI extension.
13837         (mips-mode-switch): Define to show if kernel headers support mode
13838         switching.
13839         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13840         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
13841         supported SYSV ABI version to 3.
13842         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
13843         feature.
13845 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13846             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13848         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
13849         path.
13850         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
13852 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
13854         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
13855         __fegetround and redefine to call __fegetround.  Remove condition
13856         on [!__NO_MATH_INLINES].
13857         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
13858         function.
13859         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
13860         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13861         Remove macro.
13862         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
13863         instead of <fenv_libc.h>.
13864         (__llrintl): Call fegetround instead of __fegetround.
13865         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
13866         instead of <fenv_libc.h>.
13867         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13868         (__lrintl): Call fegetround instead of __fegetround.
13869         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
13870         instead of <fenv_libc.h>.
13871         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13872         (__rintl): Call fegetround instead of __fegetround.
13874 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13876         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
13877         arrays.
13879 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
13881         [BZ #17775]
13882         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
13883         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
13884         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
13886 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
13888         * sysdeps/i386/tls-macros.h: Include <features.h>.
13889         (TLS_LE): Use non-PIC version for GCC >= 5.0.
13890         (TLS_IE): Likewise.
13891         (TLS_LD): Likewise.
13892         (TLS_GD): Likewise.
13893         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
13894         define for GCC >= 5.0.
13896 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
13898         * math/test-fenv.c (test_single_exception, set_single_exc,
13899         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
13900         feexcp_mask_test, feenable_test, fe_single_test): Add
13901         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
13902         case where they are not used.
13903         * math/libm-test.inc: Likewise.
13904         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
13905         unused in the absence of FP rounding/exception support.
13906         * stdio-common/tst-printf-round.c: Likewise.
13907         * stdlib/tst-strtod-round.c: Likewise.
13908         * stdlib/tst-strtod-underflow.c: Likewise.
13910 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
13912         [BZ #17723]
13913         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
13914         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
13915         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
13916         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
13917         libm_hidden_weak.
13918         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
13919         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
13920         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
13921         libm_hidden_def.
13922         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
13923         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
13924         libm_hidden_weak.
13925         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
13926         Likewise.
13927         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
13928         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
13929         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
13930         libm_hidden_weak.
13931         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
13932         libm_hidden_def.
13933         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13934         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
13935         (__feraiseexcept): Likewise.
13936         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
13937         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
13938         libm_hidden_weak.
13939         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
13940         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
13941         libm_hidden_def.
13942         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
13943         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
13944         Use libm_hidden_def.
13945         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
13946         libm_hidden_def.
13947         (feraiseexcept): Define as weak not strong alias.  Use
13948         libm_hidden_weak.
13949         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
13950         New inline function.  Factored out of ...
13951         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
13952         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
13953         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
13954         feraiseexcept.
13955         * math/w_acos.c (__acos): Likewise.
13956         * math/w_asin.c (__asin): Likewise.
13957         * math/w_ilogb.c (__ilogb): Likewise.
13958         * math/w_j0.c (y0): Likewise.
13959         * math/w_j1.c (y1): Likewise.
13960         * math/w_jn.c (yn): Likewise.
13961         * math/w_log.c (__log): Likewise.
13962         * math/w_log10.c (__log10): Likewise.
13963         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
13964         * sysdeps/aarch64/fpu/math_private.h
13965         (libc_feupdateenv_test_aarch64): Likewise.
13966         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
13967         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
13968         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
13969         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
13970         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
13971         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
13972         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
13973         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13974         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13975         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13977 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
13979         [BZ #17732]
13980         * io/test-utime.c (main): Replace %ld with %jd and cast to
13981         intmax_t.
13982         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
13983         * nptl/tst-mutex5.c: Include <stdint.h>.
13984         (do_test): Replace %ld with %jd and cast to intmax_t.
13985         * posix/tst-regex.c (run_test): Likewise.
13986         (run_test_backwards): Likewise.
13987         * rt/tst-clock.c: Include <stdint.h>.
13988         (clock_test): Replace %ld with %jd and cast to intmax_t.
13989         * rt/tst-cpuclock1.c: Include <stdint.h>.
13990         (do_test): Replace %lu with %ju and cast to uintmax_t.
13991         * rt/tst-cpuclock2.c: Include <stdint.h>.
13992         (do_test): Replace %lu with %ju and cast to uintmax_t.
13993         * rt/tst-mqueue1.c: Include <stdint.h>.
13994         (check_attrs): Replace %ld with %jd and cast to intmax_t.
13995         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
13996         intmax_t.
13997         * rt/tst-mqueue4.c (do_test): Likewise.
13998         * rt/tst-timer4.c: Include <stdint.h>.
13999         (check_ts): Replace %ld with %jd and cast to intmax_t.
14000         (do_test): Likewise.
14001         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
14002         and cast to intmax_t.
14003         * sysdeps/pthread/tst-timer.c (main): Likewise.
14004         * time/clocktest.c (main): Likewise.
14005         * time/tst-posixtz.c (do_test): Likewise.
14006         * timezone/tst-timezone.c (main): Likewise.
14008 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14009             H.J. Lu  <hongjiu.lu@intel.com>
14011         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
14012         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
14013         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
14014         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
14015         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
14016         version if bit_Fast_Unaligned_Load is set.
14017         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14018         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14019         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14020         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14021         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14022         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14023         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14024         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
14025         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
14026         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
14027         to 4.
14028         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
14029         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
14030         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
14031         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
14033 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
14035         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
14036         instead of #if to avoid a Wundef warning.
14037         * stdlib/tst-limits.c (do_test): Likewise.
14039         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
14040         parallel other exception macros.
14041         (fegetenv): Convert from macro to extern inline so that it applies
14042         retroactively to inline functions already seen by the compiler.
14043         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
14045         * posix/Makefile (before-compile): Use $(objpfx) for
14046         posix-conf-vars-def.h.
14048 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14050         * posix/getconf.c (main): Use size_t for type of I.
14051         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
14052         NSPEC.
14054         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
14055         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
14056         * posix/posix-envs.def: Likewise.
14057         * sysdeps/posix/sysconf.c: Likewise.
14058         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
14059         (specs): Remove array.
14060         * scripts/gen-posix-conf-vars.awk: Support generation of specs
14061         array.
14063         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
14064         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
14065         (__sysconf): Use CONF_IS_* macros.
14067         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
14068         ($(objpfx)posix-conf-vars-def.h): New target.
14069         * posix/posix-conf-vars.list: New file.
14070         * posix/posix-conf-vars.h: New file.
14071         * posix/confstr.c: Include posix-conf-vars.h.
14072         (confstr): Use CONF_IS_* macros.
14073         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
14074         CONF_IS_* macros.
14075         * scripts/gen-posix-conf-vars.awk: New file.
14077 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
14079         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
14080         fegetround): Add no-op macros to avoid linknamespace issues.
14082         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
14083         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
14085         * sysdeps/unix/sysv/linux/tile/sysdep.h
14086         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
14087         assembly-specific section to avoid a redefinition warning.
14089         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
14090         long before casting to pointer to avoid a cast warning.
14092 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
14094         * sysdeps/tile/tilegx/Implies: New file.
14096 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
14098         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
14100 2014-12-23  Florian Weimer  <fweimer@redhat.com>
14102         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
14104 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14106         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
14107         not define.
14108         * sysdeps/unix/sysv/linux/utimes.c: Do not include
14109         <kernel-features.h>.
14110         (__utimes) [__NR_utimes]: Make code unconditional.
14111         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
14112         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14113         (__ASSUME_UTIMES): Do not undefine.
14114         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14115         (__ASSUME_UTIMES): Likewise.
14116         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14117         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
14118         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
14119         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
14121 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
14123         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
14125 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
14127         [BZ #17747]
14128         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
14129         alias to weak alias for j0l, y0l.
14130         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
14131         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
14133         [BZ #17746]
14134         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
14135         conversion.
14137 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
14139         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
14140         to zero if not already defined.
14142 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14144         [BZ #17724]
14145         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
14146         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
14147         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
14148         (char *) casts added.
14149         * sysdeps/ieee754/k_standardf.c: New file.
14150         * sysdeps/ieee754/k_standardl.c: Likewise.
14151         * math/Makefile (libm-support): Remove k_standard.
14152         (libm-calls): Add k_standard.
14154 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14156         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14157         Optimize to avoid an unnecessary FPCR read.
14159 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14161         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14162         Optimize to reduce FPCR/FPSR accesses.
14164 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14166         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
14167         Call libc_fetestexcept_aarch64.
14169 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14171         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
14172         Call libc_fesetround_aarch64.
14174 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14176         [BZ #17733]
14177         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
14178         (__bind): Do not define as weak alias.
14179         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
14180         define.
14181         (__getsockname): Do not define as weak alias.
14183 2014-12-22  Will Newton  <will.newton@linaro.org>
14185         * manual/install.texi: Document that we require bison 2.7
14186         or above.
14187         * INSTALL: Regenerate.
14188         * configure.ac: Use AC_CHECK_PROG_VER instead of
14189         AC_PATH_PROG when checking for bison and check for
14190         version 2.7 or above.
14191         * configure: Regenerate.
14193 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
14195         [BZ #17745]
14196         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
14197         * sysdeps/tile/ffsll.c (ffsll): To here.
14199         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
14201 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
14203         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
14204         if not defined.
14205         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
14206         definition.
14207         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
14208         hidden ___tls_get_addr.
14209         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
14210         hidden __tls_get_addr.
14211         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
14212         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
14213         Likewise.
14215 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
14217         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
14218         _dl_init call.
14220 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
14222         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
14223         from "call _dl_init@PLT".
14224         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
14226 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
14228         * manual/search.texi: (Array Sort Function): Clarify stable sorting
14229         guarantees.
14231 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
14233         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
14235 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
14237         [BZ #17744]
14238         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
14239         strnlen.
14241 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
14243         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
14244         of multu on MIPSr6.
14245         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
14246         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
14247         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
14248         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
14249         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
14251 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
14253         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
14254         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
14255         (PTR_SUBU): Use subu for mips32r6/mips64r6.
14256         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
14257         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
14258         mips32r6/mips64r6.
14259         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
14261 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
14263         * string/strncat.c (STRNCAT): Simplify implementation.
14265 2014-12-19  David S. Miller  <davem@davemloft.net>
14267         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
14268         access the quad as both a long double and as a series of 4 words.
14270         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
14271         link_map->l_info array access.
14273 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
14275         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
14277         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
14278         * math/atest-exp2.c (TIMEOUT): Likewise.
14279         * math/atest-sincos.c (TIMEOUT): Likewise.
14281 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14283         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
14284         -Wno-error with -fno-builtin-lround.
14286 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14288         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
14289         Contains futex constants and functions moved over from ...
14290         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
14291         <lowlevellock-futex.h>.
14292         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
14293         (lll_timedwait_tid): Add comments and parentheses around macro
14294         arguments.
14296 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14298         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
14299         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
14300         (__lll_private_flag): Remove.
14301         (lll_futex_wait): Likewise.
14302         (lll_futex_timed_wait): Likewise.
14303         (lll_futex_wake): Likewise.
14304         (lll_futex_requeue): Likewise.
14305         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
14306         (__lll_timedwait_tid): Spell out argument names.
14307         (lll_timedwait_tid): Add comments and parentheses around macro
14308         arguments.
14309         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
14310         LLL_SHARED and LLL_PRIVATE usable from assembly code.
14312 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14314         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
14315         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
14316         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14317         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
14318         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
14319         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
14320         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
14321         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
14322         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
14323         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
14324         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
14325         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
14326         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
14327         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
14328         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
14329         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
14330         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
14331         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
14332         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
14334 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14336         * sysdeps/x86_64/x32/Makefile: New file.
14338 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14340         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
14341         1L with (mp_limb_t) 1.
14343 2014-12-17  Roland McGrath  <roland@hack.frob.com>
14345         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
14346         * nptl/libc_pthread_init.c: ... here.
14347         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
14348         * nptl/register-atfork.c: ... here.
14350         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
14351         Use pthread_sigmask rather than INTERNAL_SYSCALL.
14352         Use assert_perror to check its return value.
14353         (__gai_create_helper_thread): Likewise.
14355         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
14357         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
14359 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
14361         [BZ #17725]
14362         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
14363         __profil_counter.
14364         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
14365         Likewise.
14366         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
14367         Likewise.
14368         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
14369         Likewise.
14370         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
14371         (profil_counter): Likewise.
14372         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
14373         (profil_counter): Likewise.
14374         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
14375         Likewise.
14376         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
14377         Likewise.
14378         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
14379         (profil_counter): Likewise.
14380         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
14381         Likewise.
14382         [!__profil_counter] (profil_counter): Define as weak alias of
14383         __profil_counter.
14384         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
14385         (profil_counter): Rename to __profil_counter.
14386         [!__profil_counter] (profil_counter): Define as weak alias of
14387         __profil_counter.
14388         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
14389         (profil_counter): Rename to __profil_counter.
14390         [!__profil_counter] (profil_counter): Define as weak alias of
14391         __profil_counter.
14392         * sysdeps/posix/profil.c: Update comment referring to
14393         profil_counter.
14394         (__profil): Use __profil_counter instead of profil_counter.
14395         * sysdeps/posix/sprofil.c (profil_counter): Rename to
14396         __profil_counter.  Use __profil_counter_ushort and
14397         __profil_counter_uint in definitions.
14398         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
14399         instead of profil_counter_uint and profil_counter_ushort.
14401         [BZ #17722]
14402         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
14403         define as weak alias of __inet_makeaddr.
14404         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
14405         as weak alias of __inet_addr.
14406         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
14407         as weak alias of __inet_pton.  Use libc_hidden_weak.
14408         * include/arpa/inet.h (__inet_pton): Declare.  Use
14409         libc_hidden_proto.
14410         (inet_makeaddr): Don't use libc_hidden_proto.
14411         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
14412         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
14413         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
14414         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
14415         Remove variable.
14416         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14417         (test-xfail-POSIX/time.h/linknamespace): Likewise.
14419 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
14421         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
14423 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14425         * stdio-common/bug-vfprintf-nargs.c (do_test):
14426         Cast value to intptr_t to avoid format warning
14427         for usage with PRIdPTR printing macro.
14429 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14431         * libio/tst-widetext.c (do_test):
14432         Use format type %td instead of %Zd for ptrdiff_t
14433         in order to avoid format warning.
14435 2014-12-17  Andreas Schwab  <schwab@suse.de>
14437         * nscd/mem.c (gc): Add size_t cast to match printf format.
14439 2014-12-16  Roland McGrath  <roland@hack.frob.com>
14441         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
14442         (init): Apply PTR_MANGLE to pointers before storing them.
14443         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
14444         before using them.
14446 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
14448         [BZ #17719]
14449         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
14450         define as weak alias of __memrchr.
14451         (__memrchr): Do not define as strong alias of memrchr.
14452         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
14453         Remove variable.
14454         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14455         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14456         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14458         [BZ #17717]
14459         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
14460         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
14461         (if_indextoname): Rename to __if_indextoname and define as weak
14462         alias of __if_indextoname.  Use libc_hidden_weak.
14463         (if_freenameindex): Rename to __if_freenameindex and define as
14464         weak alias of __if_freenameindex.
14465         (if_nameindex): Rename to __if_nameindex and define as weak alias
14466         of __if_nameindex.
14467         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
14468         __if_nametoindex and define as weak alias of __if_nametoindex.
14469         Use libc_hidden_weak.
14470         (if_freenameindex): Rename to __if_freenameindex and define as
14471         weak alias of __if_freenameindex.
14472         (if_nameindex): Rename to __if_nameindex and define as weak alias
14473         of __if_nameindex.
14474         (if_indextoname): Rename to __if_indextoname and define as weak
14475         alias of __if_indextoname.  Use libc_hidden_weak.
14476         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
14477         __if_nametoindex and define as weak alias of __if_nametoindex.
14478         Use libc_hidden_weak.
14479         (if_freenameindex): Rename to __if_freenameindex and define as
14480         weak alias of __if_freenameindex.  Use libc_hidden_weak.
14481         (if_nameindex_netlink): Use __if_freenameindex instead of
14482         if_freenameindex.
14483         (if_nameindex): Rename to __if_nameindex and define as weak alias
14484         of __if_nameindex.  Use libc_hidden_weak.
14485         (if_indextoname): Rename to __if_indextoname and define as weak
14486         alias of __if_indextoname.  Use libc_hidden_weak.
14487         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
14488         libc_hidden_proto.
14489         [!_ISOMAC] (__if_freenameindex): Likewise.
14490         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
14491         if_nametoindex.
14492         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
14493         variable.
14494         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14495         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14496         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14497         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14498         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14499         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14500         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14502         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
14503         Remove variable.
14504         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14505         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
14507 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14509         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
14510         subscript above bounds'
14512         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
14513         bounds.
14515 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
14517         * libio/tst-fopenloc.c: Use test-skeleton.c.
14519         * stdlib/tst-bsearch.c: Use test-skeleton.c.
14520         (entry): Rename to ITEM.
14521         (do_test, comp): Adjust.
14523         * stdio-common/tst-fseek.c: Use test-skeleton.c.
14525 2014-12-16  Torvald Riegel  <triegel@redhat.com>
14527         * string/tester.c: Include <libc-internal.h>.
14528         (test_memset): Ignore -Wmemset-transposed-args.
14530 2014-12-16  Torvald Riegel  <triegel@redhat.com>
14532         * misc/tst-mntent2.c (do_test): Fix warning.
14534 2014-12-16  Torvald Riegel  <triegel@redhat.com>
14536         * elf/tst-unique4lib.cc(a): Mark as used.
14538 2014-12-16  Florian Weimer  <fweimer@redhat.com>
14540         [BZ #17630]
14541         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
14542         names.
14544 2014-12-16  Allan McRae  <allan@archlinux.org>
14546         * stdio-common/Makefile (tests): Re-add bug26.
14548 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
14550         [BZ #17657]
14551         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
14552         static array.
14554 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
14556         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
14557         (__lll_lock_wait): Likewise.
14558         (__lll_timedlock_wait): Likewise.
14559         (__lll_timedwait_tid): Likewise.
14560         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
14561         (__lll_robust_timedlock_wait): Likewise.
14562         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
14563         (lll_cond_trylock): Likewise.
14564         (__lll_lock): Likewise.
14565         (__lll_robust_lock): Likewise.
14566         (__lll_cond_lock): Likewise.
14567         (lll_robust_cond_lock): Likewise.
14568         (__lll_timedlock): Likewise.
14569         (__lll_robust_timedlock): Likewise.
14570         (__lll_unlock): Likewise.
14571         (__lll_robust_unlock): Likewise.
14572         (lll_wait_tid): Likewise.
14573         (lll_timedwait_tid): Likewise.
14575 2014-12-15  Torvald Riegel  <triegel@redhat.com>
14577         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
14579 2014-12-15  Torvald Riegel  <triegel@redhat.com>
14581         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
14583 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
14585         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
14586         * stdio-common/tst-sprintf.c: Likewise.
14588 2014-12-15  Torvald Riegel  <triegel@redhat.com>
14590         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
14592 2014-12-15  Jeff Law  <law@redhat.com>
14594         [BZ #16617]
14595         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
14596         on the heap.  (CVE-2012-3406)
14597         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
14598         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
14599         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
14601 2014-12-15  Will Newton  <will.newton@linaro.org>
14603         * manual/install.texi: Bump required version of texinfo
14604         to 4.7 from 4.5.
14605         * INSTALL: Regenerated.
14606         * configure.ac: Check for makeinfo version 4.7 and above.
14607         * configure: Regenerated.
14609 2014-12-12  Roland McGrath  <roland@hack.frob.com>
14611         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
14612         PREFIX, string constant to insert between directory and name.
14613         * sysdeps/posix/shm_open.c: Update caller.
14614         * sysdeps/posix/shm_unlink.c: Likewise.
14615         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
14616         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
14617         (SEM_SHM_PREFIX): New macro.
14618         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
14619         [$(have-thread-library) = no].
14620         * nptl/Makefile (libpthread-routines): Add shm-directory.
14621         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
14622         * sysdeps/nptl/shm-directory.h: New file.
14623         * sysdeps/posix/shm-directory.c
14624         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
14625         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
14626         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
14627         INTERNAL_SYSCALL.
14628         (__where_is_shmfs): Function removed.
14629         (mountpoint, defaultmount, defaultdir, __namedsem_once):
14630         Variables removed.
14631         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
14632         Use SHM_GET_NAME.
14633         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
14635         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
14636         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
14637         unconditional for use inside libpthread.
14638         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
14640 2014-12-12  Roland McGrath  <roland@hack.frob.com>
14642         * nptl/pthread_getaffinity.c: New file.
14643         * nptl/pthread_setaffinity.c: New file.
14644         * nptl/pthread_getname.c: New file.
14645         * nptl/pthread_setname.c: New file.
14647         * nptl/pthread_create.c (START_THREAD_DEFN)
14648         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
14650 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14651             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14653         * resolv/res_send.c (send_vc): Disable warning resplen may
14654         be used uninitialized.
14656 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14658         * nptl/tst-mutex6.c
14659         (ATTR_NULL): New define checks ATTR against NULL.
14660         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
14661         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
14663 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
14665         [BZ #17581]
14666         * malloc/hooks.c
14667         (mem2mem_check): Revert my previous change.
14668         (malloc_check_get_size): Revert my previous change.
14669         (mem2chunk_check): Revert my previous change.
14671 2014-12-11  Roland McGrath  <roland@hack.frob.com>
14673         * sysdeps/posix/shm-directory.c: New file.
14674         * sysdeps/posix/shm-directory.h: New file.
14675         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
14676         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
14677         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
14678         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
14679         Transmute EPERM to EACCES.
14680         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
14681         from ...
14682         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
14683         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
14685 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14687         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
14688         pointer and cast to uintptr_t.
14689         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
14690         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
14691         Add cast to avoid warning.
14692         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
14694 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
14696         * nptl/semaphore.h: Move to ...
14697         * sysdeps/pthread/semaphore.h: ... here.
14698         * Makefile (installed-headers): Change nptl/semaphore.h to
14699         sysdeps/pthread/semaphore.h.
14701 2014-12-11  Roland McGrath  <roland@hack.frob.com>
14703         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
14704         generated error format strings.
14706         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
14707         -Wformat-extra-args warnings for scanf formats.
14708         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
14709         test of zero-length format (duh).
14710         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
14711         corner-case scanf format test.
14712         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
14713         generated fprintf format string.
14714         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
14715         corner-case sprintf format tests.
14716         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
14717         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
14718         -Wformat-extra-args warnings throughout.
14719         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
14720         (CFLAGS-scanf4.c): Likewise.
14721         (CFLAGS-scanf7.c): Likewise.
14722         (CFLAGS-tst-sprintf.c): Likewise.
14723         (CFLAGS-tst-printf.c): Likewise.
14724         (CFLAGS-tst-printfsz.c): Likewise.
14726 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
14728         * include/cpio.h: New file.
14729         * include/fmtmsg.h: Likewise.
14731         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
14732         corresponding format argument to size_t.
14733         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
14734         arguments.
14735         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
14736         corresponding format argument to size_t.
14737         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
14738         arguments.
14739         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
14740         corresponding format argument to size_t.
14741         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
14742         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
14743         (CFLAGS-tst-mbswcs2.c): Likewise.
14744         (CFLAGS-tst-mbswcs3.c): Likewise.
14745         (CFLAGS-tst-mbswcs4.c): Likewise.
14746         (CFLAGS-tst-mbswcs5.c): Likewise.
14747         (CFLAGS-tst-trans.c): Likewise
14749 2014-12-11  Roland McGrath  <roland@hack.frob.com>
14751         * posix/regexbug1.c (main): Use "%s" format with regerror results,
14752         rather than assuming they won't contain any '%'s.
14754 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
14756         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
14757         inhibit_loop_to_libcall to avoid recursive calls.
14758         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
14759         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
14761 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
14763         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
14764         prototype.
14766 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
14768         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
14769         integer value instead of boolean.
14771 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
14773         * malloc/malloc.c: Fix powerof2 check.
14775 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14777         * locale/programs/locfile.h (maybe_swap_uint32):
14778         Remove inline and add unused attribute.
14780 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14782         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14783         Truncating assembler expression to a .long expression.
14785 2014-12-11  Andreas Schwab  <schwab@suse.de>
14787         * elf/rtld.c (struct map_args): Constify str member.
14788         (do_preload): Constify fname argument.
14790 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14792         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
14793         constants definition.
14795 2014-12-11  Andreas Schwab  <schwab@suse.de>
14797         [BZ #16657]
14798         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
14799         FORCE_ELISION instead of DO_ELISION.
14800         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
14801         Remove.
14802         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
14803         Likewise.
14805         * iconvdata/gconv-modules: Remove duplicate entry.
14807 2014-12-11  Will Newton  <will.newton@linaro.org>
14809         Merge gettext 0.19.3 into intl/.
14811         This involves a number of cosmetic changes to comments
14812         and ANSI function definitions and prototypes throughout
14813         all the files. The gettext copyright header is used but
14814         with the date ranges taken from the glibc copy.
14816         * NEWS: Add gettext merge to 2.21.
14817         * intl/bindtextdom.c: Switch to gettext copyright.
14818         Use ANSI definitions and prototypes.
14819         Use gl_* locking primitives rather than __libc_* ones.
14820         Use __builtin_expect rather than __glibc_likely/unlikely.
14821         * intl/dcgettext.c: Switch to gettext copyright.
14822         Use ANSI definitions and prototypes.
14823         * intl/dcigettext.c: Switch to gettext copyright.
14824         Use ANSI definitions and prototypes.
14825         (INTDIV0_RAISES_SIGFPE): New define.
14826         Use gl_* locking primitives rather than __libc_* ones.
14827         Include eval-plural.h instead of plural-eval.c.
14828         Use __builtin_expect rather than __glibc_likely/unlikely.
14829         * intl/dcngettext.c: Switch to gettext copyright.
14830         Use ANSI definitions and prototypes.
14831         * intl/dgettext.c: Likewise.
14832         * intl/dngettext.c: Likewise.
14833         * intl/plural-eval.c: Renamed to...
14834         * intl/eval-plural.h: ...this.
14835         * intl/explodename.c: Switch to gettext copyright.
14836         Use ANSI definitions and prototypes.
14837         (_nl_explode_name): Use strchr instead of __rawmemchr.
14838         * intl/finddomain.c: Switch to gettext copyright.
14839         Use ANSI definitions and prototypes.
14840         Use gl_* locking primitives rather than __libc_* ones.
14841         (_nl_find_domain): Use malloc rather than alloca for
14842         allocation of temporary locale name.
14843         * intl/gettext.c: Switch to gettext copyright.
14844         Use ANSI definitions and prototypes.
14845         * intl/gettextP.h: Switch to gettext copyright.
14846         Use ANSI definitions and prototypes.
14847         Use gl_* locking primitives rather than __libc_* ones.
14848         * intl/gmo.h: Switch to gettext copyright.
14849         (struct sysdep_string): Move struct segment_pair outside of
14850         struct definition.
14851         * intl/hash-string.c: Use ANSI definitions and prototypes.
14852         * intl/hash-string.h: Switch to gettext copyright.
14853         Use ANSI definitions and prototypes.
14854         * intl/l10nflist.c: Switch to gettext copyright.
14855         Use ANSI definitions and prototypes.
14856         (_nl_normalize_codeset): Avoid integer overflow.
14857         * intl/loadinfo.h: Switch to gettext copyright.
14858         Use ANSI definitions and prototypes.
14859         (LIBINTL_DLL_EXPORTED): New define.
14860         (PATH_SEPARATOR): New define.
14861         * intl/loadmsgcat.c: Switch to gettext copyright.
14862         * intl/localealias.c: Switch to gettext copyright.
14863         Use ANSI definitions and prototypes.
14864         (_nl_expand_alias): Use PATH_SEPARATOR.
14865         * intl/ngettext.c: Switch to gettext copyright.
14866         Use ANSI definitions and prototypes.
14867         * intl/plural-exp.c: Likewise.
14868         * intl/plural-exp.h: Switch to gettext copyright.
14869         Use ANSI definitions and prototypes.
14870         (struct expression): Move definition of enum operator outside
14871         of struct definition.
14872         * intl/plural.c: Regenerate.
14873         * intl/plural.y: Switch to gettext copyright.
14874         Use ANSI definitions and prototypes.
14875         Port to bison 3.0.
14876         * intl/textdomain.c: Switch to gettext copyright.
14877         Use ANSI definitions and prototypes.
14878         Use gl_* locking primitives rather than __libc_* ones.
14880 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
14882         * debug/warning-nop.c: Add used atrribute.
14884 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
14886         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
14888         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
14889         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
14890         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
14892 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
14893             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14895         [BZ #17634]
14896         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
14897         Undefine after defining function.  Define as weak alias of
14898         __wcschr.  Use libc_hidden_weak.
14899         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
14900         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
14901         (libc_hidden_def): Also define __GI___wcschr alias.
14902         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
14903         __wcschr and define as weak alias of __wcschr.
14904         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
14905         __wcschr.
14906         [!WCSCHR] (DEFAULT_WCSCHR): Define.
14907         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
14908         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
14909         libc_hidden_weak.  Do not use libc_hidden_def.
14910         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
14911         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
14912         __GI___wcschr alias.
14913         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
14914         [IS_IN (libc)] (wcschr): Define as macro expanding to
14915         __redirect_wcschr.
14916         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
14917         [IS_IN (libc)] (__wcschr_power6): Likewise.
14918         [IS_IN (libc)] (__wcschr_power7): Likewise.
14919         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
14920         instead of wcschr.
14921         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
14922         __libc_wcschr.
14923         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
14924         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
14925         __wcschr and define as weak alias of __wcschr.  Use
14926         libc_hidden_builtin_def.
14927         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
14928         as weak alias of __wcschr.  Use libc_hidden_weak.
14929         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
14930         wcschr.
14931         * time/era.c (_nl_init_era_entries): Likewise.
14932         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
14933         variable.
14934         (test-xfail-XPG3/time.h/linknamespace): Likewise.
14935         (test-xfail-XPG4/time.h/linknamespace): Likewise.
14937 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
14939         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
14940         format for long int variable.
14942 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
14944         [BZ #10672]
14945         * manual/search.texi: (Array Sort Function): Remove claim how to make
14946         qsort stable.
14948 2014-12-10  Andreas Schwab  <schwab@suse.de>
14950         [BZ #12847]
14951         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
14952         user-controlled locks.
14954 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
14956         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
14957         register.
14959 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
14961         * configure.ac (--disable-werror): New configure option.
14962         (enable_werror): New AC_SUBST.
14963         * configure: Regenerated.
14964         * config.make.in (enable-werror): New variable.
14965         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
14966         -Wno-error=undef.
14967         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
14968         * manual/install.texi (Configuring and compiling): Document
14969         --disable-werror.
14970         * INSTALL: Regenerated.
14971         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
14972         (CFLAGS-tst-chk2.c): Likewise.
14973         (CFLAGS-tst-chk3.c): Likewise.
14974         (CFLAGS-tst-chk4.cc): Likewise.
14975         (CFLAGS-tst-chk5.cc): Likewise.
14976         (CFLAGS-tst-chk6.cc): Likewise.
14977         (CFLAGS-tst-lfschk1.c): Likewise.
14978         (CFLAGS-tst-lfschk2.c): Likewise.
14979         (CFLAGS-tst-lfschk3.c): Likewise.
14980         (CFLAGS-tst-lfschk4.cc): Likewise.
14981         (CFLAGS-tst-lfschk5.cc): Likewise.
14982         (CFLAGS-tst-lfschk6.cc): Likewise.
14984         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
14985         (main): Disable -Wdeprecated-declarations around calls to
14986         register_printf_function.
14988         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
14989         (do_test): Disable -Wdiv-by-zero around some calls to
14990         fwrite_unlocked and fread_unlocked.
14992         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
14993         (DIAG_POP_NEEDS_COMMENT): Likewise.
14994         (_DIAG_STR1): Likewise.
14995         (_DIAG_STR): Likewise.
14996         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
14997         * stdio-common/bug21.c: Include <libc-internal.h>.
14998         (do_test): Disable -Wformat around call to sscanf.
14999         * stdio-common/scanf14.c: Include <libc-internal.h>.
15000         (main): Disable -Wformat around some calls to scanf functions.
15002 2014-12-09  Torvald Riegel  <triegel@redhat.com>
15004         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
15006 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15008         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
15009         stack variable alignment.
15011 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
15013         [BZ #17682]
15014         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
15015         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
15016         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
15017         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
15018         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
15019         __getrlimit instead of getrlimit.
15020         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
15021         __gettimeofday instead of gettimeofday.
15022         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15023         Likewise.
15024         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15025         Likewise.
15026         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15027         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
15028         Remove variable.
15029         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
15030         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
15032 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15034         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
15035         for wide-character tests.
15037 2014-12-04  Roland McGrath  <roland@hack.frob.com>
15039         * io/openat64.c: #include <libc-internal.h>
15040         (__openat64): Prototypify.  Use ignore_value on MODE.
15041         * io/openat.c: Likewise.
15042         * misc/reboot.c: #include <libc-internal.h>
15043         (reboot): Prototypify.  Use ignore_value on HOWTO.
15044         * misc/ptrace.c: #include <libc-internal.h>
15045         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
15047 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
15049         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
15050         XPG4, UNIX98 and XOPEN2K.
15051         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
15052         Remove variable.
15053         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
15055 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15057         * libio/fileops.c: Use ISO C style for function definitions.
15058         * libio/iofopen.c: Likewise.
15059         * libio/wfileops.c: Likewise.
15061         [BZ #17653]
15062         * libio/fileops.c (_IO_new_file_underflow): Unset cached
15063         offset on EOF.
15064         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15065         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
15066         (fgets_func): Function pointer to fgets and fgetws.
15067         (do_ftell_test): Add test to verify ftell value after read
15068         EOF.
15069         (do_test): Set fgets_func.
15071         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
15072         O_TRUNC flag for w and w+ modes.
15073         (do_rewind_test): Likewise.
15074         (do_ftell_test): Likewise.
15075         (do_write_test): Likewise.
15077         [BZ #17647]
15078         * libio/fileops.c (do_ftell): Seek only when there are
15079         unflushed writes.
15080         * libio/wfileops.c (do_ftell_wide): Likewise.
15081         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
15082         test case.
15083         (do_one_test): Call it.
15085 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
15087         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
15088         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
15089         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
15090         Remove variable.
15091         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
15092         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
15093         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
15095 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
15097         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
15098         Remove variable.
15099         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
15101         [BZ #17668]
15102         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
15103         as weak alias of __getifaddrs.  Use libc_hidden_weak.
15104         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15105         __freeifaddrs.  Use libc_hidden_weak.
15106         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
15107         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
15108         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15109         __freeifaddrs.  Use libc_hidden_weak.
15110         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
15111         __getifaddrs and define as weak alias of __getifaddrs.  Use
15112         libc_hidden_weak.
15113         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15114         __freeifaddrs.  Use libc_hidden_weak.
15115         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
15116         Remove variable.
15117         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
15118         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
15120 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
15122         [BZ #17601]
15123         * sysdeps/mips/start.S (__start): Use indirect jump to call
15124         __libc_start_main.
15126 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
15128         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
15130         * nptl/tst-mutex1.c: Include <stdbool.h>.
15131         [!ATTR] (ATTR_NULL): New macro.
15132         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
15133         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
15134         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
15136         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
15137         to char *.
15139         [BZ #17665]
15140         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
15141         Change conditional to [__USE_MISC].
15143         [BZ #17664]
15144         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
15145         fgets_unlocked.
15146         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
15147         __fgets_unlocked.
15148         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
15149         fgets_unlocked.
15150         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
15151         Remove variable.
15152         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
15153         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
15154         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
15155         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
15156         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
15157         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
15158         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
15159         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
15160         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
15162         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
15164 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15166         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15167         Remove strpbrk objects.
15168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15169         (__libc_ifunc_impl_list): Remove strpbrk implementation.
15170         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
15171         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
15172         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
15173         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
15175         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15176         Remove strcspn objects.
15177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15178         (__libc_ifunc_impl_list): Remove strcspn implementation.
15179         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
15180         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
15181         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
15182         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
15184         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15185         Remove strspn objetcs.
15186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15187         (__libc_ifunc_impl_list): Remove strspn implementation.
15188         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
15189         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
15190         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
15191         * sysdeps/powerpc/powerpc64/strspn.S: New file.
15193 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
15195         [BZ #17581]
15196         * malloc/hooks.c
15197         (mem2mem_check): Add a terminator to the chain of checking blocks.
15198         (malloc_check_get_size): Use it here.
15199         (mem2chunk_check): Ditto.
15201 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15203         * sysdeps/powerpc/powerpc64/strtok.S: New file.
15204         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
15206 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
15208         * bits/ioctl-types.h: Indent preprocessor directives correctly.
15210         * nptl/nptl-init.c: Include libc-internal.h.
15211         (__pthread_initialize_minimal_internal): Use ROUND_UP.
15213         * elf/ldconfig.c (search_dir): Expand comment.
15215 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
15217         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
15218         variable.
15219         (linknamespace-symlist-stdlibs-tests): Likewise.
15220         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
15221         instead of $(objpfx)symlist-stdlibs.
15222         (linknamespace-libs-isoc): New variable.
15223         (linknamespace-libs): Use $(linknamespace-libs-isoc).
15224         (linknamespace-libs-ISO): New variable.
15225         (linknamespace-libs-ISO99): Likewise.
15226         (linknamespace-libs-ISO11): Likewise.
15227         (linknamespace-libs-XPG3): Likewise.
15228         (linknamespace-libs-XPG4): Likewise.
15229         (linknamespace-libs-POSIX): Likewise.
15230         (linknamespace-libs-UNIX98): Likewise.
15231         (linknamespace-libs-XOPEN2K): Likewise.
15232         (linknamespace-libs-POSIX2008): Likewise.
15233         (linknamespace-libs-XOPEN2K8): Likewise.
15234         ($(objpfx)symlist-stdlibs): Replace by
15235         $(linknamespace-symlist-stdlibs-tests).  Use
15236         $(linknamespace-libs-$*) as set of libraries.
15237         ($(linknamespace-header-tests)): Update dependencies.  Use
15238         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
15239         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
15240         * conform/linknamespace.pl: Remove comment about considering
15241         definitions of symbols from irrelevant libraries.
15243 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
15245         [BZ #13862]
15246         * elf/dl-tls.c: Include <atomic.h>.
15247         (oom): Remove #ifdef SHARED/#endif.
15248         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
15249         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
15250         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
15251         big enough.
15252         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
15253         * nptl/Makefile (tests): Add tst-stack4.
15254         (modules-names): Add tst-stack4mod.
15255         ($(objpfx)tst-stack4): New.
15256         (tst-stack4mod.sos): Likewise.
15257         ($(objpfx)tst-stack4.out): Likewise.
15258         ($(tst-stack4mod.sos)): Likewise.
15259         (clean): Likewise.
15260         * nptl/tst-stack4.c: New file.
15261         * nptl/tst-stack4mod.c: Likewise.
15263 2014-11-27  J. Brown  <jb999@gmx.de>
15265         * sysdeps/x86/bits/string.h: Add recent CPUs.
15267 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
15269         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
15270         sigblock.
15272         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
15273         feof.
15275         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
15276         variable.
15278 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
15280         * nscd/connections.c: Include libc-internal.h because of macro
15281         usage ignore_value.
15283 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15285         * string/bits/string3.h (__warn_memset_zero_len): Don't
15286         declare for gcc newer than 5.0.
15287         (memset): Don't test for zero-length __LEN for gcc newer than
15288         5.0.
15290 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
15292         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
15293         size_t for %zu format.
15295         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
15296         difference, not %ju.
15298 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
15300         * include/libc-internal.h (ignore_value): New macro.
15301         * nscd/connections.c (restart): Wrap calls to setuid and setgid
15302         with ignore_value.
15304         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
15305         definition.
15307         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
15308         pthread_cleanup_push to void *.
15310         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
15311         Undefine.
15313         [BZ #16619]
15314         [BZ #16740]
15315         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
15316         instead of 1L << 52.
15318         * libio/bug-rewind.c (do_test): Check fwscanf return values.
15319         * libio/bug-rewind2.c (do_test): Likewise.
15321         * debug/test-stpcpy_chk-ifunc.c: Remove file.
15322         * debug/test-strcpy_chk-ifunc.c: Likewise.
15323         * wcsmbs/test-wcschr-ifunc.c: Likewise.
15324         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15325         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15326         * wcsmbs/test-wcslen-ifunc.c: Likewise.
15327         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15328         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15329         * Rules [$(multi-arch) = no] (tests): Do not filter out
15330         $(tests-ifunc).
15331         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
15332         * debug/Makefile (tests-ifunc): Remove variable.
15333         (tests): Do not add $(tests-ifunc).
15334         * wcsmbs/Makefile (tests-ifunc): Remove variable.
15335         (tests): Do not add $(tests-ifunc).
15336         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
15337         [TEST_IFUNC]: Remove conditionals.
15338         * string/test-string.h (TEST_IFUNC): Remove macro.
15339         [TEST_IFUNC]: Remove conditionals.
15341         * string/test-strchr.c [!WIDE] (L): New macro.
15342         [WIDE] (L): Likewise.
15343         (check1): Use CHAR instead of char.  Use L on string and character
15344         constants.
15346 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
15348         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
15349         tests.
15350         * sysdeps/powerpc/bits/atomic.h
15351         (__arch_atomic_exchange_and_add_32_acq): Add definition.
15352         (__arch_atomic_exchange_and_add_32_rel): Likewise.
15353         (atomic_exchange_and_add_acq): Likewise.
15354         (atomic_exchange_and_add_rel): Likewise.
15355         * sysdeps/powerpc/powerpc32/bits/atomic.h
15356         (__arch_atomic_exchange_and_add_64_acq): Add definition.
15357         (__arch_atomic_exchange_and_add_64_rel): Likewise.
15358         * sysdeps/powerpc/powerpc64/bits/atomic.h
15359         (__arch_atomic_exchange_and_add_64_acq): Add definition.
15360         (__arch_atomic_exchange_and_add_64_rel): Likewise.
15362 2014-11-26  Torvald Riegel  <triegel@redhat.com>
15364         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
15365         Change synchronization of __sched_fifo_min_prio and
15366         __sched_fifo_max_prio.
15367         * nptl/pthread_mutexattr_getprioceiling.c
15368         (pthread_mutexattr_getprioceiling): Likewise.
15369         * nptl/pthread_mutexattr_setprioceiling.c
15370         (pthread_mutexattr_setprioceiling): Likewise.
15371         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
15372         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
15373         Likewise.
15375 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
15377         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
15378         void.
15380 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
15382         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
15383         third argument const.
15385 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
15387         fnmatch: work around GCC compiler warning bug with uninit var
15388         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
15389         This works around a bug with x86-64 GCC 4.9.2 and earlier
15390         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
15391         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
15392         used uninitialized in this function [-Wmaybe-uninitialized]".
15394 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
15396         * posix/bug-regex31.c (main): Return RES not 0.
15398 2014-11-25  Anton Blanchard <anton@samba.org>
15400         * sysdeps/powerpc/bits/atomic.h
15401         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
15403 2014-11-24  Sterling Augustine  <saugustine@google.com>
15405         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
15407 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
15409         [BZ #17608]
15410         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
15412 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
15414         [BZ #17633]
15415         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
15416         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
15417         variable.
15418         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
15419         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
15421 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
15423         * string/strncpy.c (strncpy): Improve performance by using memset.
15425 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
15427         * string/strcpy.c (strcpy):
15428         Improve performance by using strlen and memcpy.
15430 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
15432         * string/strcoll_l.c (get_next_seq): __always_inline.
15433         * string/strcoll_l.c (do_compare): __always_inline.
15435 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15437         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
15438         defined.
15439         * include/mqueue.h: Likewise.
15440         * include/stdlib.h: Likewise.
15442         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
15443         (get_null_defines): Adjust.
15444         * sunrpc/Makefile: Adjust comment.
15445         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
15446         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
15447         (CFLAGS-interp.c): Likewise.
15448         (CFLAGS-ldconfig.c): Likewise.
15449         (CPPFLAGS-.os): Likewise.
15450         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15451         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
15452         * extra-modules.mk (extra-modules.mk): Likewise.
15453         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
15454         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
15455         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
15456         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
15457         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
15458         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
15459         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
15460         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
15461         * iconvdata/Makefile (CPPFLAGS): Likewise.
15462         (cpp-srcs-left): Add libof for all iconvdata routines.
15463         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
15464         * include/assert.h: Likewise.
15465         * include/ctype.h: Likewise.
15466         * include/errno.h: Likewise.
15467         * include/libc-symbols.h: Likewise.
15468         * include/math.h: Likewise.
15469         * include/netdb.h: Likewise.
15470         * include/resolv.h: Likewise.
15471         * include/stdio.h: Likewise.
15472         * include/stdlib.h: Likewise.
15473         * include/string.h: Likewise.
15474         * include/sys/stat.h: Likewise.
15475         * include/wctype.h: Likewise.
15476         * intl/l10nflist.c: Likewise.
15477         * libidn/idn-stub.c: Likewise.
15478         * libio/libioP.h: Likewise.
15479         * nptl/libc_multiple_threads.c: Likewise.
15480         * nptl/pthreadP.h: Likewise.
15481         * posix/regex_internal.h: Likewise.
15482         * resolv/res_hconf.c: Likewise.
15483         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
15484         * sysdeps/arm/memmove.S: Likewise.
15485         * sysdeps/arm/sysdep.h: Likewise.
15486         * sysdeps/generic/_itoa.h: Likewise.
15487         * sysdeps/generic/symbol-hacks.h: Likewise.
15488         * sysdeps/gnu/errlist.awk: Likewise.
15489         * sysdeps/gnu/errlist.c: Likewise.
15490         * sysdeps/i386/i586/memcpy.S: Likewise.
15491         * sysdeps/i386/i586/memset.S: Likewise.
15492         * sysdeps/i386/i686/memcpy.S: Likewise.
15493         * sysdeps/i386/i686/memmove.S: Likewise.
15494         * sysdeps/i386/i686/mempcpy.S: Likewise.
15495         * sysdeps/i386/i686/memset.S: Likewise.
15496         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15497         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15498         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
15499         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
15500         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15501         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15502         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
15503         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15504         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15505         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15506         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15507         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15508         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15509         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15510         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15511         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15512         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
15513         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
15514         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
15515         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15516         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15517         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15518         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15519         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15520         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15521         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15522         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
15523         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15524         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
15525         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15526         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15527         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15528         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15529         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15530         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15531         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15532         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15533         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15534         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15535         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15536         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15537         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15538         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15539         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15540         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15541         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15542         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
15543         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
15544         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15545         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15546         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15547         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
15548         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
15549         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15550         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
15551         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
15552         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15553         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
15554         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
15555         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15556         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
15557         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15558         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
15559         * sysdeps/nptl/bits/libc-lock.h: Likewise.
15560         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
15561         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
15562         * sysdeps/posix/closedir.c: Likewise.
15563         * sysdeps/posix/opendir.c: Likewise.
15564         * sysdeps/posix/readdir.c: Likewise.
15565         * sysdeps/posix/rewinddir.c: Likewise.
15566         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
15567         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
15568         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15569         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15570         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15571         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
15572         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
15573         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
15574         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
15575         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
15576         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
15577         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
15578         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
15579         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
15580         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
15581         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
15582         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
15583         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
15584         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
15585         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
15586         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
15587         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
15588         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
15589         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
15590         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
15591         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
15592         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
15593         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
15594         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
15595         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
15596         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
15597         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
15598         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
15599         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
15600         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
15601         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
15602         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15603         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15604         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
15605         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
15606         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
15607         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
15608         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
15609         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
15610         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
15611         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
15612         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
15613         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
15614         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
15615         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
15616         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
15617         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
15618         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
15619         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
15620         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
15621         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
15622         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
15623         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
15624         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
15625         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
15626         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
15627         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
15628         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
15629         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
15630         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
15631         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
15632         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
15633         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
15634         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
15635         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
15636         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
15637         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
15638         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
15639         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
15640         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
15641         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
15642         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
15643         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
15644         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
15645         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
15646         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
15647         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15648         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
15649         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
15650         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15651         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
15652         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
15653         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15654         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15655         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15656         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
15657         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
15658         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
15659         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15660         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15661         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
15662         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15663         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15664         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
15665         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
15666         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15667         * sysdeps/unix/alpha/sysdep.S: Likewise.
15668         * sysdeps/unix/alpha/sysdep.h: Likewise.
15669         * sysdeps/unix/make-syscalls.sh: Likewise.
15670         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
15671         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15672         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
15673         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
15674         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
15675         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
15676         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
15677         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15678         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
15679         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
15680         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15681         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
15682         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15683         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
15684         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
15685         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15686         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15687         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15688         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
15689         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
15690         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
15691         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15692         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
15693         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
15694         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
15695         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
15696         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
15698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
15699         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
15700         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15701         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
15702         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15703         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15704         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15705         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
15706         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15707         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15708         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15709         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
15710         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15711         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
15712         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15713         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15714         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15715         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
15716         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15717         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15718         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
15719         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15720         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15721         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
15722         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15723         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
15724         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
15725         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15726         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
15727         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15728         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
15729         * sysdeps/x86_64/memcpy.S: Likewise.
15730         * sysdeps/x86_64/memmove.c: Likewise.
15731         * sysdeps/x86_64/memset.S: Likewise.
15732         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
15733         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15734         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15735         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
15736         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
15737         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15738         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15739         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15740         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15741         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15742         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15743         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15744         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
15745         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15746         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15747         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
15748         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15749         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15750         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15751         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15752         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
15753         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15754         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15755         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15756         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15757         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15758         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15759         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
15760         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15761         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15762         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
15763         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15764         * sysdeps/x86_64/strcmp.S: Likewise.
15766         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
15768         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
15769         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
15770         * elf/rtld-Rules: Likewise.
15771         * elf/setup-vdso.h: Likewise.
15772         * include/assert.h: Likewise.
15773         * include/bits/stdlib-float.h: Likewise.
15774         * include/errno.h: Likewise.
15775         * include/sys/stat.h: Likewise.
15776         * include/unistd.h: Likewise.
15777         * sysdeps/aarch64/setjmp.S: Likewise.
15778         * sysdeps/alpha/setjmp.S: Likewise.
15779         * sysdeps/arm/__longjmp.S: Likewise.
15780         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
15781         * sysdeps/arm/setjmp.S: Likewise.
15782         * sysdeps/arm/sysdep.h: Likewise.
15783         * sysdeps/generic/_itoa.h: Likewise.
15784         * sysdeps/generic/dl-sysdep.h: Likewise.
15785         * sysdeps/generic/ldsodefs.h: Likewise.
15786         * sysdeps/i386/dl-tls.h: Likewise.
15787         * sysdeps/i386/setjmp.S: Likewise.
15788         * sysdeps/m68k/setjmp.c: Likewise.
15789         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
15790         * sysdeps/mach/hurd/opendir.c: Likewise.
15791         * sysdeps/posix/getcwd.c: Likewise.
15792         * sysdeps/posix/opendir.c: Likewise.
15793         * sysdeps/posix/profil.c: Likewise.
15794         * sysdeps/powerpc/dl-procinfo.h: Likewise.
15795         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15796         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15797         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15798         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15799         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
15800         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15801         * sysdeps/s390/dl-tls.h: Likewise.
15802         * sysdeps/s390/s390-32/setjmp.S: Likewise.
15803         * sysdeps/s390/s390-64/setjmp.S: Likewise.
15804         * sysdeps/sh/sh3/setjmp.S: Likewise.
15805         * sysdeps/sh/sh4/setjmp.S: Likewise.
15806         * sysdeps/unix/alpha/sysdep.h: Likewise.
15807         * sysdeps/unix/arm/sysdep.S: Likewise.
15808         * sysdeps/unix/i386/sysdep.S: Likewise.
15809         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15810         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15811         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15812         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15813         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15814         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
15815         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15816         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15817         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15818         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
15819         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15820         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15821         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15824         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15825         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15826         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15827         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15828         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15829         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15830         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15831         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15832         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15833         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15834         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15835         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15836         * sysdeps/unix/x86_64/sysdep.S: Likewise.
15837         * sysdeps/x86_64/setjmp.S: Likewise.
15839         * include/math.h: Use IS_IN instead of IS_IN_libm.
15840         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
15841         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15842         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15843         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15844         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15845         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15846         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15847         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15848         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15849         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15850         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
15851         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
15852         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
15853         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
15854         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
15855         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
15856         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
15857         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
15858         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
15859         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
15860         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
15861         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
15862         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
15863         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
15864         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
15865         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
15866         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
15867         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
15868         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
15869         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
15870         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
15871         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15872         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
15874         Likewise.
15875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
15876         Likewise.
15877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
15878         Likewise.
15879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
15880         Likewise.
15881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
15882         Likewise.
15883         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15884         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
15885         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15886         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15887         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15888         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
15890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
15891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
15892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
15893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
15894         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
15895         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
15896         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15897         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15898         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
15899         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15900         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15901         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
15902         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15903         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
15904         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
15905         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
15906         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
15907         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
15908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15909         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
15911         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
15912         * nptl/pthreadP.h: Likewise.
15913         * nptl_db/structs.def: Likewise.
15914         * sysdeps/arm/sysdep.h: Likewise.
15915         * sysdeps/nptl/bits/libc-lock.h: Likewise.
15916         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
15917         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
15918         * sysdeps/unix/alpha/sysdep.h: Likewise.
15919         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
15920         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15921         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
15922         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
15923         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
15924         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
15925         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15926         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
15927         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15928         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
15929         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
15930         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
15931         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
15932         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
15933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
15934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
15935         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
15936         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
15937         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
15938         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
15939         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
15940         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
15941         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15942         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
15943         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
15944         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
15946         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
15947         * nptl/pthreadP.h: Likewise.
15948         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
15949         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
15950         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
15951         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
15952         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
15953         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
15954         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15955         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
15956         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
15957         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
15958         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
15959         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
15960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15961         Likewise.
15962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15963         Likewise.
15964         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
15965         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
15966         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
15967         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
15968         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
15969         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
15970         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
15971         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
15973         * dlfcn/dladdr.c: Use IS_IN.
15974         * dlfcn/dladdr1.c: Likewise.
15975         * dlfcn/dlclose.c: Likewise.
15976         * dlfcn/dlerror.c: Likewise.
15977         * dlfcn/dlinfo.c: Likewise.
15978         * dlfcn/dlmopen.c: Likewise.
15979         * dlfcn/dlopen.c: Likewise.
15980         * dlfcn/dlsym.c: Likewise.
15981         * dlfcn/dlvsym.c: Likewise.
15983         * include/ifaddrs.h: Use IS_IN.
15984         * inet/check_pf.c: Likewise.
15985         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15986         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
15988         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
15989         IS_IN_ldconfig.
15990         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
15991         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
15993         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
15994         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
15995         IS_IN (libc).
15997         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
15999         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
16000         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16001         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
16002         * include/libc-symbols.h (IS_IN_LIB): New macro.
16003         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
16004         * include/netdb.h: Likewise.
16005         * include/stap-probe.h: Remove all uses of IN_LIB.
16007         * Makeconfig (module-cppflags-real): Define MODULE_NAME
16008         instead of IN_MODULE.
16009         * include/libc-symbols.h (IN_MODULE): Define using
16010         MODULE_NAME.
16011         (PASTE_NAME, PASTE_NAME1): New macros.
16012         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
16013         of IN_LIB.
16014         (STAP_PROBE_ASM): Likewise.
16016 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16018         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
16019         __mach_init in dlopened libc.
16021 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
16023         * sysdeps/arm/preconfigure.ac: Delete EABI check.
16024         * sysdeps/arm/preconfigure: Regenerate.
16026 2014-11-21  Roland McGrath  <roland@hack.frob.com>
16028         * nptl/pthread_create.c (__pthread_create_2_1): Set
16029         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
16030         when copying values from IATTR into PD.
16032 2014-11-21  Will Newton  <will.newton@linaro.org>
16033             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
16035         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
16036         Refactor inline-asm.  Also add comment.
16038         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
16039         ElfW macro instead of hardcoded Elf64 types.
16040         (la_aarch64_gnu_pltenter): Likewise.
16041         * sysdeps/aarch64/dl-machine.h
16042         (elf_machine_runtime_setup): Use ElfW(Addr).
16044         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
16045         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
16046         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
16047         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
16048         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
16049         (R_AARCH64_TLS_DTPMOD64): Rename to ..
16050         (R_AARCH64_TLS_DTPMOD): This.
16051         (R_AARCH64_TLS_DTPREL64): Rename to ...
16052         (R_AARCH64_TLS_DTPREL): This.
16053         (R_AARCH64_TLS_TPREL64): Rename to ...
16054         (R_AARCH64_TLS_TPREL): This.
16055         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
16056         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
16057         R_AARCH64_TLS_TPREL64.
16058         (elf_machine_rela): Likewise.
16060 2014-11-21  Torvald Riegel  <triegel@redhat.com>
16062         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
16063         by setting it to 0.  64b atomics are not supported currently.
16065 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16067         [BZ #16469]
16068         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
16069         search domain names.
16071 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16073         [BZ #16469]
16074         * NEWS: Update.
16075         * resolv/res_query.c (__libc_res_nquerydomain): Retain
16076         trailing dot.
16077         * posix/tst-getaddrinfo5.c: New.
16078         * posix/Makefile (tests): Add it.
16080 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16082         [BZ #14498]
16083         * NEWS: Fixed.
16084         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
16085         after parsing line but before break_if_match.
16086         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
16087         if there is a protocol mismatch.
16089 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
16091         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
16092         because the potential race is on the user-supplied stream.
16094 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16096         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
16097         string literal if not passed a buffer.
16098         * manual/job.texi (ctermid): Update reasoning, note deviation
16099         from posix, suggest mtasurace when not passed a buffer, for
16100         future non-preliminary safety notes.
16102 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16104         * manual/users.texi (cuserid): Fix MT-Safety note for the case
16105         of not passing it a buffer.
16106         Reported by Peng Haitao.
16108 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16110         * manual/Makefile ($(objpfx)stamp-summary): Require
16111         check-safety.sh to pass.
16112         * manual/check-safety.sh: Wish for verification that every
16113         @deftypefn and @deftypefun is followed by a @safety remark.
16115 2014-11-20  Roland McGrath  <roland@hack.frob.com>
16117         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
16119         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
16120         PTHREAD_CANCEL_ASYNCHRONOUS.
16121         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
16122         send SIGCANCEL.
16124         * nptl/default-sched.h: New file.
16125         * sysdeps/unix/sysv/linux/default-sched.h: New file.
16126         * nptl/pthread_create.c: Include it.
16127         (__pthread_create_2_1): Use collect_default_sched instead of making
16128         Linux syscalls here directly.
16130 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16132         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
16133         __pthread_once): Use C11 atomics.
16135 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16137         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
16139 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16141         * include/atomic.h (__atomic_link_error, __atomic_check_size,
16142         atomic_thread_fence_acquire, atomic_thread_fence_release,
16143         atomic_thread_fence_seq_cst, atomic_load_relaxed,
16144         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
16145         atomic_compare_exchange_weak_relaxed,
16146         atomic_compare_exchange_weak_acquire,
16147         atomic_compare_exchange_weak_release,
16148         atomic_exchange_acquire, atomic_exchange_release,
16149         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
16150         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
16151         atomic_fetch_and_acquire,
16152         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
16154 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16156         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
16157         USE_ATOMIC_COMPILER_BUILTINS): Define.
16158         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
16159         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16160         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
16161         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16162         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
16163         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16164         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
16165         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16166         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
16167         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16168         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
16169         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16170         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
16171         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16172         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
16173         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16174         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
16175         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16176         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
16177         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16178         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
16179         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16180         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
16181         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16182         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
16183         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16184         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
16185         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16186         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
16187         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16188         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
16189         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16190         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
16191         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16192         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16193         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16194         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
16195         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16196         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
16197         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16199 2014-11-19  Roland McGrath  <roland@hack.frob.com>
16201         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
16202         the sched_priority value here.  It was already checked when the user
16203         called pthread_attr_setschedparam.
16205         * nptl/tst-bad-schedattr.c: New file.
16206         * nptl/Makefile (tests): Add it.
16208 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
16209             Florian Weimer  <fweimer@redhat.com>
16210             Joseph Myers  <joseph@codesourcery.com>
16211             Adam Conrad  <adconrad@0c3.net>
16212             Andreas Schwab  <schwab@suse.de>
16213             Brooks  <bmoses@google.com>
16215         [BZ #17625]
16216         * wordexp-test.c (__dso_handle): Add prototype.
16217         (__register_atfork): Likewise.
16218         (__app_register_atfork): New function.
16219         (registered_forks): New global.
16220         (register_fork): New function.
16221         (test_case): Add 3 new tests for WRDE_CMDSUB.
16222         (main): Call __app_register_atfork.
16223         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
16224         fork count is non-zero fail the test.
16225         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
16226         is set.
16227         (parse_dollars): Remove check for WRDE_NOCMD.
16228         (parse_dquote): Likewise.
16230 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16232         * Makeconfig (built-modules): List non-library modules to be
16233         built.
16234         (module-cppflags): Include libc-modules.h for
16235         everything except shlib-versions.v.i.
16236         (CPPFLAGS): Use it.
16237         (before-compile): Add libc-modules.h.
16238         ($(common-objpfx)libc-modules.h,
16239         $(common-objpfx)libc-modules.stmp): New targets.
16240         (common-generated): Add libc-modules.h and libc-modules.stmp.
16241         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
16242         * include/libc-symbols.h: Don't include libc-modules.h.
16243         * include/libc-modules.h: Remove file.
16244         * scripts/gen-libc-modules.awk: New script to generate
16245         libc-modules.h.
16246         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
16247         Depend on libc-modules.stmp.
16249         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
16251         * Makeconfig (in-module): Get value of libof set for the
16252         translation unit.
16253         (CPPFLAGS): Use $(in-module).
16254         * Makerules: Don't suffix routine names for nonlib.
16255         * include/libc-modules.h: New file.
16256         * include/libc-symbols.h: Include libc-modules.h
16257         (IS_IN): New macro to replace IS_IN_* macros.
16258         * elf/Makefile: Set libof-* for each routine.
16259         * elf/rtld-Rules: Likewise.
16260         * extra-modules.mk: Likewise.
16261         * iconv/Makefile: Likewise.
16262         * iconvdata/Makefile: Likewise.
16263         * locale/Makefile: Likewise.
16264         * malloc/Makefile: Likewise.
16265         * nss/Makefile: Likewise.
16266         * sysdeps/gnu/Makefile: Likewise.
16267         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
16268         * sysdeps/unix/sysv/linux/Makefile: Likewise.
16269         * sysdeps/s390/s390-64/Makefile: Likewise.
16270         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
16271         CPPFLAGS for nscd instead of nonlib.
16273 2014-11-18  Roland McGrath  <roland@hack.frob.com>
16275         * nptl/createthread.c: New file.
16277         * nptl/createthread.c: Moved ...
16278         * sysdeps/unix/sysv/linux/createthread.c: ... here.
16280         * nptl/createthread.c: Add proper top-line comment.
16281         (do_clone): Folded into ...
16282         (create_thread): ... here.  Take new arguments STOPPED_START and
16283         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
16284         increment __nptl_threads, do event-reporting logic, do
16285         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
16286         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
16287         resource cleanup if sched_setaffinity or sched_setscheduler fails,
16288         just send SIGCANCEL.
16289         * nptl/pthread_create.c: Forward-declare create_thread before
16290         including createthread.c.
16291         (start_thread): Use new macro START_THREAD_DEFN to replace defining
16292         declaration, and new macro START_THREAD_SELF to replace argument.
16293         Remove return statement.
16294         (report_thread_creation): New function.
16295         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
16296         synchronization logic, and __nptl_nthreads increment here, around
16297         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
16298         PD->parent_cancelhandling here, before create_thread.  When
16299         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
16300         __deallocate_stack, and ENOMEM translation here.
16302 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
16304         [BZ #17616]
16305         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
16306         (mptwo): Rename to __mptwo.
16307         (__inv): Use __mptwo instead of mptwo.
16308         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
16309         (mptwo): Rename to __mptwo.
16310         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
16311         of mpone and __mptwo instead of mptwo.
16312         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
16313         instead of mpone.
16314         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16315         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
16316         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
16317         of mpone and __mptwo instead of mptwo.
16318         (__mpranred): Use __mpone instead of mpone.
16319         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
16320         variable.
16321         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
16322         (test-xfail-ISO99/math.h/linknamespace): Likewise.
16323         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
16324         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
16325         (test-xfail-ISO11/math.h/linknamespace): Likewise.
16326         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
16327         (test-xfail-XPG3/math.h/linknamespace): Likewise.
16328         (test-xfail-XPG4/math.h/linknamespace): Likewise.
16329         (test-xfail-POSIX/math.h/linknamespace): Likewise.
16330         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
16331         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
16332         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
16333         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
16334         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
16335         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
16336         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
16337         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
16338         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
16339         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
16341 2014-11-18  Tom de Vries  <tom@codesoucery.com>
16343         * manual/signal.texi (Primitives Interrupted by Signals): In section,
16344         replace BSD Handler xref with BSD Signal Handling.
16346 2014-11-17  Richard Henderson  <rth@redhat.com>
16348         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
16349         (_FP_PACK_RAW_2): Remove.
16350         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
16351         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
16352         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
16353         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
16354         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
16355         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
16356         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
16357         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
16358         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
16359         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
16360         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
16361         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
16362         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
16363         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
16364         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
16365         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
16367 2014-11-14  Roland McGrath  <roland@hack.frob.com>
16369         * signal/signal.h [__USE_MISC]
16370         (struct sigvec): Remove type.
16371         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
16372         (sigvec): Remove declaration.
16373         * sysdeps/posix/sigvec.c: Moved ...
16374         * signal/sigvec.c: ... here, replacing old file.
16375         (struct sigvec): New type, copied from old signal.h definition.
16376         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
16377         (__sigvec): Convert definition to prototype.
16378         (sigvec): Replace weak_alias with compat_symbol.
16379         * signal/Versions (libc: GLIBC_2.21): New version set.
16380         * include/signal.h: Remove __sigvec declaration.
16381         * sysdeps/unix/bsd/sigvec.c: Remove file.
16382         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
16383         * manual/signal.texi (BSD Handler): Remove subsection.
16384         Move siginterrupt up to ...
16385         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
16386         (Blocking in BSD): Fold subsection into its parent.
16387         * NEWS: Mention sigvec removal.
16389 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
16391         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
16392         (DLA_FMS): Make definition conditional only on [__FMA4__].
16393         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
16394         definition.
16396         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
16397         Make definition conditional only on [PROF].
16398         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
16399         definition.
16400         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
16401         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
16403         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
16404         !__GNUC__].
16405         * include/signal.h (__sigpause): Move declaration above call to
16406         libc_hidden_proto.
16407         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
16408         variable.
16409         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
16410         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
16412 2014-11-14  David S. Miller  <davem@davemloft.net>
16414         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
16415         Define before including <string/memcpy.c> and <string/mempcpy.c>.
16417 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
16419         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
16420         * configure: Regenerated.
16421         * manual/install.texi (Tools for Compilation): Document a
16422         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
16423         compiler verified to work.
16424         * INSTALL: Regenerated.
16426         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
16427         redeclare with asm name.
16428         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
16429         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
16430         including <string.h>.
16431         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16432         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
16433         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16434         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
16435         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16436         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16437         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16439 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
16441         * stdlib/strtol.c (__strtol): Use prototype definition.
16443         [BZ #17594]
16444         * stdlib/strtol.c (SYM__): New macro.
16445         (SYM__1): Likewise.
16446         (__strtol): Likewise.
16447         (strtol): Rename to __strtol and define as weak alias of
16448         __strtol.  Use libc_hidden_weak.
16450 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16452         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
16453         Use numbered labels in inline assembly.
16455 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16457         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
16458         Add setjmp LIBC_PROBE.
16459         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
16460         Likewise.
16461         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
16462         Add longjmp, longjmp_target LIBC_PROBE.
16463         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
16464         Likewise.
16466 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16468         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16469         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
16470         to get rid of unused variable warning.
16472 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16474         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
16475         Check for unwind_backtrace ==  NULL only in SHARED case.
16476         (__backchain_backtrace): Compile only in SHARED case.
16477         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
16478         Likewise.
16479         (__backchain_backtrace): Declare as static.
16481 2014-11-12  Roland McGrath  <roland@hack.frob.com>
16483         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
16484         (__libc_multiple_threads_ptr): Variable moved ...
16485         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
16487 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
16489         * conform/GlibcConform.pm: New file.
16490         * conform/conformtest.pl: Use GlibcConform module.
16491         * conform/linknamespace.pl: New file.
16492         * conform/list-header-symbols.pl: Likewise.
16493         * conform/Makefile (linknamespace-symlists-base): New variable.
16494         (linknamespace-symlists-tests): Likewise.
16495         (linknamespace-header-base): Likewise.
16496         (linknamespace-header-tests): Likewise.
16497         (tests-special): Add new tests.
16498         ($(linknamespace-symlists-tests)): New rule.
16499         (linknamespace-libs): New variable.
16500         ($(objpfx)symlist-stdlibs): New rule.
16501         ($(linknamespace-header-tests)): Likewise.
16502         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
16503         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
16504         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
16505         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
16506         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
16507         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
16508         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
16509         (test-xfail-ISO/math.h/linknamespace): Likewise.
16510         (test-xfail-ISO/signal.h/linknamespace): Likewise.
16511         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
16512         (test-xfail-ISO/time.h/linknamespace): Likewise.
16513         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
16514         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
16515         (test-xfail-ISO99/math.h/linknamespace): Likewise.
16516         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
16517         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
16518         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
16519         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
16520         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
16521         (test-xfail-ISO11/math.h/linknamespace): Likewise.
16522         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
16523         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
16524         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
16525         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
16526         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
16527         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
16528         (test-xfail-XPG3/math.h/linknamespace): Likewise.
16529         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
16530         (test-xfail-XPG3/search.h/linknamespace): Likewise.
16531         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
16532         (test-xfail-XPG3/time.h/linknamespace): Likewise.
16533         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
16534         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
16535         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
16536         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
16537         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
16538         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
16539         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
16540         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
16541         (test-xfail-XPG4/math.h/linknamespace): Likewise.
16542         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
16543         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
16544         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
16545         (test-xfail-XPG4/search.h/linknamespace): Likewise.
16546         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
16547         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
16548         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
16549         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
16550         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
16551         (test-xfail-XPG4/time.h/linknamespace): Likewise.
16552         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
16553         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
16554         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
16555         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
16556         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
16557         (test-xfail-POSIX/math.h/linknamespace): Likewise.
16558         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
16559         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
16560         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
16561         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
16562         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
16563         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
16564         (test-xfail-POSIX/time.h/linknamespace): Likewise.
16565         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
16566         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
16567         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
16568         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
16569         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16570         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
16571         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
16572         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
16573         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
16574         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
16575         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
16576         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16577         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
16578         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
16579         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
16580         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
16581         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
16582         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
16583         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
16584         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
16585         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
16586         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
16587         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16588         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
16589         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
16590         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
16591         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
16592         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
16593         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
16594         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
16595         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16596         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
16597         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
16598         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
16599         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
16600         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
16601         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
16602         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
16603         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
16604         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
16605         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
16606         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
16607         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
16608         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
16609         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
16610         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
16611         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
16612         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
16613         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
16614         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
16615         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16616         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
16617         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
16618         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
16619         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
16620         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
16621         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
16622         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
16623         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
16624         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
16625         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
16626         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16627         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
16628         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
16629         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
16630         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16631         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
16632         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
16633         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16634         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
16635         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
16636         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
16637         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
16638         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
16639         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
16640         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
16641         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
16642         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
16643         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
16644         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16645         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
16646         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
16647         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
16648         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
16649         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
16650         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16651         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
16652         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
16653         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
16654         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
16655         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
16656         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
16657         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
16658         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
16659         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
16660         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
16661         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
16662         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
16664         [BZ #17589]
16665         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
16666         of fgets_unlocked.
16668         [BZ #17585]
16669         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
16670         (memmem): Rename to __memmem and define as weak alias of
16671         __memmem.  Use libc_hidden_weak.
16672         (__memmem): Use libc_hidden_def.
16673         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
16674         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
16675         memmem.
16677         [BZ #17582]
16678         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
16679         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
16680         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
16681         and define as weak alias of __fgets_unlocked.  Use
16682         libc_hidden_weak.
16683         (__fgets_unlocked): Use libc_hidden_def.
16684         * include/stdio.h (__fgets_unlocked): Declare.  Use
16685         libc_hidden_proto.
16686         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
16687         __fgets_unlocked instead of fgets_unlocked.
16688         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
16689         (GET_NPROCS_CONF_PARSER): Likewise.
16690         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
16691         (GET_NPROCS_CONF_PARSER): Likewise.
16693         [BZ #17574]
16694         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
16695         weak alias of __wmemset.  Use libc_hidden_weak.
16696         (__wmemset): Use libc_hidden_def.
16697         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
16698         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
16699         of wmemset.
16701         [BZ #17573]
16702         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
16703         with asm name __mempcpy.
16704         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
16706         [BZ #17572]
16707         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
16708         and define as weak alias of __rawmemchr.
16709         (__rawmemchr): Do not define as strong alias of rawmemchr.
16711         [BZ #17571]
16712         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
16713         alias of __qsort_r.
16714         (qsort): Call __qsort_r instead of qsort_r.
16715         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
16716         (__qsort_r): Declare.  Call libc_hidden_proto.
16717         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
16718         instead of qsort_r.
16719         * nscd/gai.c (__qsort_r): Define to qsort_r.
16720         * posix/tst-rfc3484.c (__qsort_r): Likewise.
16721         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
16722         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
16724         [BZ #17570]
16725         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
16726         define as weak alias of __malloc_info.
16728         [BZ #17584]
16729         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
16730         as weak alias of __rewinddir.  Don't use libc_hidden_def.
16731         (__rewinddir): Use libc_hidden_def.
16732         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
16733         as weak alias of __rewinddir.  Don't use libc_hidden_def.
16734         (__rewinddir): Use libc_hidden_def.
16735         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
16736         weak alias of __rewinddir.  Don't use libc_hidden_def.
16737         (__rewinddir): Use libc_hidden_def.
16738         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
16739         (__rewinddir): Use libc_hidden_proto.
16740         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
16741         rewinddir.
16742         (__getcwd): Use __rewinddir instead of rewinddir.
16744         [BZ #17583]
16745         * libio/fileno.c (fileno): Rename to __fileno and define as weak
16746         alias of __fileno.  Use libc_hidden_weak.
16747         (__fileno): Use libc_hidden_def.
16748         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
16749         * libio/ftello.c (ftello): Rename to __ftello and define as weak
16750         alias of __ftello.
16751         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
16752         __ftello.
16753         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
16754         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
16755         libc_hidden_def.
16756         (fread_unlocked): Don't use libc_hidden_ver.
16757         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
16758         and define as weak alias of __fread_unlocked.  Don't use
16759         libc_hidden_def.
16760         (__fread_unlocked): Use libc_hidden_def.
16761         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
16762         (ftello): Don't use libc_hidden_proto.
16763         (__ftello): Declare.  Use libc_hidden_proto.
16764         (fread_unlocked): Don't use libc_hidden_proto.
16765         (__fread_unlocked): Declare.  Use libc_hidden_proto.
16766         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
16767         and __ftello instead of fileno, fread_unlocked and ftello.
16769 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16771         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
16772         GOT12.
16773         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
16774         Likewise.
16775         (_dl_start_user): Likewise.
16776         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
16778 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
16779             Siddhesh Poyarekar  <siddhesh@redhat.com>
16781         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
16782         Move argv and envp down instead of moving argc up.
16783         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
16785 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
16787         [BZ #17506]
16788         * test-skeleton.c (main): Return successful if one of
16789         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
16790         * string/tst-strcoll-overflow.c: Define expected status.
16792 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
16794         [BZ #17475]
16795         * locale/iso-639.def: Define Bhili and Tulu language codes.
16797 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
16799         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
16801 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
16803         [BZ #17555]
16804         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
16806 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
16808         * configure.ac: Updated check of minimal required version to
16809         2.22.
16810         * manual/install.texi (Tools for Compilation): Updated version
16811         number.
16812         * configure: Regenerated.
16813         * INSTALL: Likewise.
16815 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
16817         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
16818         __tls_get_addr.
16820 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
16822         * include/sys/wait.h (__libc_waitpid): Remove declaration.
16823         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
16824         (__waitpid): Don't define as alias.  Use libc_hidden_def not
16825         libc_hidden_weak.
16826         (waitpid): Define as alias of __waitpid.
16827         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
16828         __waitpid.
16829         (__waitpid): Don't define as alias.  Use libc_hidden_def not
16830         libc_hidden_weak.
16831         (waitpid): Define as alias of __waitpid.
16832         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
16833         __libc_waitpid alias.
16834         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
16835         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
16836         Likewise.
16837         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
16838         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
16839         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
16840         alias.
16841         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
16842         __waitpid.
16843         (__waitpid): Don't define as alias.  Use libc_hidden_def not
16844         libc_hidden_weak.
16845         (waitpid): Define as alias of __waitpid.
16847 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
16849         * manual/llio.texi: Add comment that write safety has been
16850         fixed in Linux.
16852         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
16853         (localplt-build-dso): Add elf/ld.so.
16854         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
16855         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
16856         and free for ld.so.
16857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
16858         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
16859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
16860         Likewise.
16861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16862         Likewise.
16863         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
16864         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
16865         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
16866         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
16867         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
16868         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
16869         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
16870         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
16871         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
16872         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
16873         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
16875 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
16877         [BZ #14132]
16878         * include/libc-symbols.h (INTUSE): Remove macro.
16879         (INTDEF): Likewise.
16880         (INTVARDEF): Likewise.
16881         (_INTVARDEF): Likewise.
16882         (INTDEF2): Likewise.
16883         (INTVARDEF2): Likewise.
16884         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
16885         rtld_hidden_def instead of INTVARDEF.
16886         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
16887         (_dl_starting_up_internal): Remove declaration.
16888         (_dl_starting_up): Use rtld_hidden_proto.
16889         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
16890         declaration.
16891         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
16892         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
16893         _dl_starting_up.
16894         * elf/dl-writev.h (_dl_writev): Likewise.
16895         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
16896         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
16897         _dl_starting_up_internal.
16899 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16901         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
16902         test-skeleton.c.
16904 2014-11-05  Will Newton  <will.newton@linaro.org>
16906         * benchtests/Makefile: (bench-malloc): Add malloc thread
16907         scalability benchmark.
16908         * benchtests/bench-malloc-threads.c: New file.
16910 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
16912         * sysdeps/aarch64/strchrnul.S: New file.
16914 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16916         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
16917         definition.
16918         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
16919         Likwise.
16920         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
16921         Likewise.
16922         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
16923         Likewise.
16924         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
16925         Likewise.
16926         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
16927         Likewise.
16929 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
16931         * catgets/test-gencat.c: Use test-skeleton.c.
16932         * catgets/tst-catgets.c: Likewise.
16933         * csu/tst-empty.c: Likewise.
16934         * elf/tst-audit2.c: Likewise.
16935         * elf/tst-global1.c: Likewise.
16936         * elf/tst-pathopt.c: Likewise.
16937         * elf/tst-piemod1.c: Likewise.
16938         * elf/tst-tls10.c: Likewise.
16939         * elf/tst-tls11.c: Likewise.
16940         * elf/tst-tls12.c: Likewise.
16941         * gnulib/tst-gcc.c: Likewise.
16942         * iconvdata/tst-e2big.c: Likewise.
16943         * iconvdata/tst-loading.c: Likewise.
16944         * iconv/tst-iconv1.c: Likewise.
16945         * iconv/tst-iconv2.c: Likewise.
16946         * inet/test-inet6_opt.c: Likewise.
16947         * inet/tst-gethnm.c: Likewise.
16948         * inet/tst-network.c: Likewise.
16949         * inet/tst-ntoa.c: Likewise.
16950         * intl/tst-codeset.c: Likewise.
16951         * intl/tst-gettext2.c: Likewise.
16952         * intl/tst-gettext3.c: Likewise.
16953         * intl/tst-ngettext.c: Likewise.
16954         * intl/tst-translit.c: Likewise.
16955         * io/test-stat.c: Likewise.
16956         * libio/test-fmemopen.c: Likewise.
16957         * libio/tst-freopen.c: Likewise.
16958         * libio/tst-sscanf.c: Likewise.
16959         * libio/tst-ungetwc1.c: Likewise.
16960         * libio/tst-ungetwc2.c: Likewise.
16961         * libio/tst-widetext.c: Likewise.
16962         * localedata/tst-ctype.c: Likewise.
16963         * localedata/tst-digits.c: Likewise.
16964         * localedata/tst-leaks.c: Likewise.
16965         * localedata/tst-mbswcs1.c: Likewise.
16966         * localedata/tst-mbswcs2.c: Likewise.
16967         * localedata/tst-mbswcs3.c: Likewise.
16968         * localedata/tst-mbswcs4.c: Likewise.
16969         * localedata/tst-mbswcs5.c: Likewise.
16970         * localedata/tst-setlocale.c: Likewise.
16971         * localedata/tst-trans.c: Likewise.
16972         * localedata/tst-wctype.c: Likewise.
16973         * localedata/tst-xlocale1.c: Likewise.
16974         * login/tst-grantpt.c: Likewise.
16975         * malloc/tst-calloc.c: Likewise.
16976         * malloc/tst-malloc.c: Likewise.
16977         * malloc/tst-mallocstate.c: Likewise.
16978         * malloc/tst-mcheck.c: Likewise.
16979         * malloc/tst-mtrace.c: Likewise.
16980         * malloc/tst-obstack.c: Likewise.
16981         * math/atest-exp2.c: Likewise.
16982         * math/atest-exp.c: Likewise.
16983         * math/atest-sincos.c: Likewise.
16984         * math/test-matherr.c: Likewise.
16985         * math/test-misc.c: Likewise.
16986         * math/test-powl.c: Likewise.
16987         * math/tst-definitions.c: Likewise.
16988         * misc/tst-dirname.c: Likewise.
16989         * misc/tst-efgcvt.c: Likewise.
16990         * misc/tst-fdset.c: Likewise.
16991         * misc/tst-hsearch.c: Likewise.
16992         * misc/tst-mntent2.c: Likewise.
16993         * nptl/tst-sem7.c: Likewise.
16994         * nptl/tst-sem8.c: Likewise.
16995         * nptl/tst-sem9.c: Likewise.
16996         * nss/test-netdb.c: Likewise.
16997         * posix/tst-fnmatch.c: Likewise.
16998         * posix/tst-getlogin.c: Likewise.
16999         * posix/tst-gnuglob.c: Likewise.
17000         * posix/tst-mmap.c: Likewise.
17001         * pwd/tst-getpw.c: Likewise.
17002         * resolv/tst-inet_ntop.c: Likewise.
17003         * rt/tst-timer.c: Likewise.
17004         * stdio-common/test-fseek.c: Likewise.
17005         * stdio-common/test-popen.c: Likewise.
17006         * stdio-common/test-vfprintf.c: Likewise.
17007         * stdio-common/tst-cookie.c: Likewise.
17008         * stdio-common/tst-fileno.c: Likewise.
17009         * stdio-common/tst-gets.c: Likewise.
17010         * stdio-common/tst-obprintf.c: Likewise.
17011         * stdio-common/tst-perror.c: Likewise.
17012         * stdio-common/tst-sprintf2.c: Likewise.
17013         * stdio-common/tst-sprintf3.c: Likewise.
17014         * stdio-common/tst-sprintf.c: Likewise.
17015         * stdio-common/tst-swprintf.c: Likewise.
17016         * stdio-common/tst-tmpnam.c: Likewise.
17017         * stdio-common/tst-unbputc.c: Likewise.
17018         * stdio-common/tst-wc-printf.c: Likewise.
17019         * stdlib/tst-environ.c: Likewise.
17020         * stdlib/tst-fmtmsg.c: Likewise.
17021         * stdlib/tst-limits.c: Likewise.
17022         * stdlib/tst-rand48-2.c: Likewise.
17023         * stdlib/tst-rand48.c: Likewise.
17024         * stdlib/tst-random2.c: Likewise.
17025         * stdlib/tst-random.c: Likewise.
17026         * stdlib/tst-strtol.c: Likewise.
17027         * stdlib/tst-strtoll.c: Likewise.
17028         * stdlib/tst-tls-atexit.c: Likewise.
17029         * stdlib/tst-xpg-basename.c: Likewise.
17030         * string/test-ffs.c: Likewise.
17031         * string/tst-bswap.c: Likewise.
17032         * string/tst-inlcall.c: Likewise.
17033         * string/tst-strtok.c: Likewise.
17034         * string/tst-strxfrm.c: Likewise.
17035         * sysdeps/x86_64/tst-audit10.c: Likewise.
17036         * sysdeps/x86_64/tst-audit3.c: Likewise.
17037         * sysdeps/x86_64/tst-audit4.c: Likewise.
17038         * sysdeps/x86_64/tst-audit5.c: Likewise.
17039         * time/tst-ftime_l.c: Likewise.
17040         * time/tst-getdate.c: Likewise.
17041         * time/tst-mktime3.c: Likewise.
17042         * time/tst-mktime.c: Likewise.
17043         * time/tst-posixtz.c: Likewise.
17044         * time/tst-strptime2.c: Likewise.
17045         * time/tst-strptime3.c: Likewise.
17046         * wcsmbs/tst-btowc.c: Likewise.
17047         * wcsmbs/tst-mbrtowc.c: Likewise.
17048         * wcsmbs/tst-mbsrtowcs.c: Likewise.
17049         * wcsmbs/tst-wchar-h.c: Likewise.
17050         * wcsmbs/tst-wcpncpy.c: Likewise.
17051         * wcsmbs/tst-wcrtomb.c: Likewise.
17052         * wcsmbs/tst-wcsnlen.c: Likewise.
17053         * wcsmbs/tst-wcstof.c: Likewise.
17055 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
17057         [BZ #14132]
17058         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
17059         INTDEF.
17060         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
17061         declaration.
17062         (_dl_mcount): Use rtld_hidden_proto.
17063         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
17064         _dl_mcount.
17065         * elf/rtld.c (_rtld_global_ro): Likewise.
17067         [BZ #14132]
17068         * elf/dl-init.c (_dl_init): Don't use INTDEF.
17069         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
17070         of _dl_init_internal.
17071         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
17072         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
17073         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
17074         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
17075         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
17076         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
17077         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
17078         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
17079         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
17080         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
17081         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
17082         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
17083         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17084         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17085         * sysdeps/tile/dl-start.S (_start): Likewise.
17086         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
17087         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
17089         [BZ #14132]
17090         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
17091         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
17092         (rtld_progname): Make macro definition unconditional.
17093         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
17094         INTDEF.
17095         (dlmopen_doit): Do not use INTUSE with _dl_argv.
17096         (dl_main): Likewise.
17097         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17098         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
17099         instead of _dl_argv_internal.
17100         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17101         __GI__dl_argv instead of INTUSE(_dl_argv).
17102         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
17103         __GI__dl_argv instead of _dl_argv_internal.
17105         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
17106         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
17107         macro.
17108         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
17109         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
17110         New macro.
17111         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
17112         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
17113         macro.
17114         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
17115         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
17117 2014-11-04  Andreas Schwab  <schwab@suse.de>
17119         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
17121 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17123         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
17124         mtvsrd instruction in binary form.
17126 2014-11-03  Andreas Schwab  <schwab@suse.de>
17128         [BZ #17522]
17129         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
17130         for less than MB_LEN_MAX use a local buffer of that size.
17131         * libio/tst-fputws.c: New file.
17132         * libio/Makefile (tests): Add tst-fputws.
17134 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
17136         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
17137         the size of the fpu_fr.fpu_dregs[] array.
17139 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
17141         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
17142         (__nanosleep): Do not define as alias.
17143         (nanosleep): Define as alias of __nanosleep.
17144         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
17145         __libc_nanosleep name.
17147 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
17149         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
17150         install.texi in comment.
17152 2014-10-31  Torvald Riegel  <triegel@redhat.com>
17154         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
17155         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
17156         ... add here and use lwsync or sync ...
17157         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
17158         ... and add here using lwsync.
17160 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
17162         * elf/dl-machine-reject-phdr.h: New file.
17163         * elf/dl-load.c: #include that.
17164         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
17165         if that returned true.
17167 2014-10-31  Roland McGrath  <roland@hack.frob.com>
17169         [BZ #17496]
17170         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
17171         gen-as-const-headers chunk.  Add a big scare comment after the last
17172         safe place to touch before-compile.
17174 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
17176         * manual/install.texi (Tools for Compilation): Update autoconf
17177         version requirements.
17178         * INSTALL: Regenerated.
17180         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
17181         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
17182         (__libc_pselect): Likewise.
17184         [BZ #14138]
17185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
17186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17190 2014-10-31  Torvald Riegel  <triegel@redhat.com>
17192         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
17193         correct barrier instruction.
17194         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
17195         Likewise.
17196         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
17197         Likewise.
17199 2014-10-30  Roland McGrath  <roland@hack.frob.com>
17201         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
17202         after defining inlines.  Instead, just use parens to defeat macro
17203         expansion of __isctype in its declaration.
17205 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
17207         * include/sys/uio.h (__libc_readv): Remove declaration.
17208         (__libc_writev): Likewise.
17209         * misc/readv.c (__libc_readv): Rename to __readv.
17210         (__readv): Do not define as alias.
17211         (readv): Define as alias of __readv.
17212         * misc/writev.c (__libc_writev): Rename to __writev.
17213         (__writev): Do not define as alias.
17214         (writev): Define as alias of __writev.
17215         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
17216         (__readv): Do not define as alias.
17217         (readv): Define unconditionally as alias of __readv.
17218         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
17219         (__writev): Do not define as alias.
17220         (writev): Define unconditionally as alias of __writev.
17221         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
17222         name.
17223         (writev): Do not define __libc_writev name.
17225 2014-10-30  Roland McGrath  <roland@hack.frob.com>
17227         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
17228         (convert_charseq): New function, broken out of ...
17229         (use_from_charmap): ... here.  Call it.
17230         (use_to_charmap): Use convert_charseq and free instead of duplicating
17231         its code with a variable-length stack struct.
17233 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
17235         * include/fcntl.h (__libc_creat): Remove declaration.
17236         * io/creat.c (__libc_creat): Rename to creat.
17237         (creat): Do not define as alias.
17238         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
17239         of creat instead of __libc_creat.
17240         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
17241         to creat.
17242         (creat): Do not define as alias.
17243         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
17244         __libc_creat.
17245         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
17246         __libc_creat name.
17247         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
17248         Likewise.
17250 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
17252         * manual/llio.texi: Add comments discussing why write() may be
17253         considered MT-unsafe on Linux.
17255 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
17257         * dl-load.c (local_strdup): Remove.
17258         (expand_dynamic_string_token): Use __strdup.
17259         (decompose_rpath): Likewise.
17260         (_dl_map_object): Likewise.
17262 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
17264         [BZ #14132]
17265         * sysdeps/generic/unwind-dw2-fde.c
17266         (__register_frame_info_bases_internal): Do not declare.
17267         (__register_frame_info_table_bases_internal): Likewise.
17268         (__deregister_frame_info_bases_internal): Likewise.
17269         (__register_frame_info_bases): Declare and use hidden_proto before
17270         definition.  Use hidden_def instead of INTDEF.
17271         (__register_frame_info_table_bases): Likewise.
17272         (__deregister_frame_info_bases): Likewise.
17273         (__register_frame_info): Do not use INTUSE.
17274         (__register_frame): Likewise.
17275         (__register_frame_info_table): Likewise.
17276         (__register_frame_table): Likewise.
17277         (__deregister_frame_info): Likewise.
17278         (__deregister_frame): Likewise.
17280 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
17282         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17283         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
17284         not undefine.
17285         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
17286         Likewise.
17287         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
17288         Likewise.
17290 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
17292         [BZ #14138]
17293         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
17294         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
17295         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
17296         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
17297         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
17298         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
17299         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
17300         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
17301         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
17302         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
17303         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
17304         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
17305         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
17306         syscall.
17307         (setfsuid): Likewise.
17308         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
17309         (setfsuid): Likewise.
17310         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
17311         (setfsuid): Likewise.
17312         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
17313         Likewise.
17314         (setfsuid): Likewise.
17315         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
17316         (setfsuid): Likewise.
17317         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
17318         Likewise.
17319         (setfsuid): Likewise.
17321 2014-10-27  Andreas Schwab  <schwab@suse.de>
17323         [BZ #17501]
17324         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
17325         check for Slow_SSE4_2 feature bit.
17326         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
17327         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17328         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
17329         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
17331 2014-10-24  Roland McGrath  <roland@hack.frob.com>
17333         * configure.ac: Validate compiler version with a empirical test of
17334         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
17335         $CC -v output.
17336         * configure: Regenerated.
17338         * inet/htons.c (htons): Prototypify.
17339         * inet/htonl.c (htonl): Likewise.
17341 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17343         * string/strncat.c (strncat): Improve performance by using strlen.
17345 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17347         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
17349 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17351         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
17352         Call libc_fetestexcept_aarch64.
17354 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17356         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
17357         Call libc_feholdexcept_aarch64.
17359 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17361         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
17362         Call get_rounding_mode.
17364 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17366         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17367         Simplify logic.
17369 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17371         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
17372         Simplify logic.
17374 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
17376         [BZ #14138]
17377         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
17378         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
17379         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
17380         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
17381         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
17382         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
17383         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
17384         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
17385         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
17386         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
17387         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17388         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
17389         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
17390         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
17391         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
17392         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
17393         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
17394         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
17395         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
17396         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
17397         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
17398         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
17399         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
17400         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
17401         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
17402         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
17403         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
17404         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
17405         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
17406         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
17407         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
17408         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
17409         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
17410         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
17411         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
17412         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
17413         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
17414         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
17415         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
17416         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
17417         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
17418         syscall.
17419         (geteuid): Likewise.
17420         (getgid): Likewise.
17421         (getuid): Likewise.
17422         (getresgid): Likewise.
17423         (getresuid): Likewise.
17424         (getgroups): Likewise.
17425         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
17426         (geteuid): Likewise.
17427         (getgid): Likewise.
17428         (getuid): Likewise.
17429         (getresgid): Likewise.
17430         (getresuid): Likewise.
17431         (getgroups): Likewise.
17432         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
17433         (geteuid): Likewise.
17434         (getgid): Likewise.
17435         (getuid): Likewise.
17436         (getresgid): Likewise.
17437         (getresuid): Likewise.
17438         (getgroups): Likewise.
17439         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
17440         Likewise.
17441         (geteuid): Likewise.
17442         (getgid): Likewise.
17443         (getuid): Likewise.
17444         (getresgid): Likewise.
17445         (getresuid): Likewise.
17446         (getgroups): Likewise.
17447         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
17448         (geteuid): Likewise.
17449         (getgid): Likewise.
17450         (getuid): Likewise.
17451         (getresgid): Likewise.
17452         (getresuid): Likewise.
17453         (getgroups): Likewise.
17454         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
17455         Likewise.
17456         (geteuid): Likewise.
17457         (getgid): Likewise.
17458         (getuid): Likewise.
17459         (getgroups): Likewise.
17461         [BZ #14138]
17462         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
17463         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
17464         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
17465         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17466         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
17467         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
17468         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
17469         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
17470         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
17471         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
17472         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
17473         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
17474         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
17475         __chown.
17476         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
17477         (lchown): Likewise.
17478         (fchown): Likewise.
17479         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
17480         Likewise.
17481         (lchown): Likewise.
17482         (fchown): Likewise.
17483         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
17484         (lchown): Likewise.
17485         (fchown): Likewise.
17486         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
17487         Likewise.
17488         (lchown): Likewise.
17489         (fchown): Likewise.
17491 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17493         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
17494         Simplify logic.
17496 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17498         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
17499         Cleanup logic.
17501 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17503         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
17504         Remove unused include.
17506 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17508         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
17509         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
17510         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
17511         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
17513 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
17514             Helge Deller <deller@gmx.de>
17516         [BZ #17508]
17517         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
17518         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
17519         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
17521 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
17523         [BZ #14132]
17524         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
17525         Remove macro definition.
17526         (__ashrdi3_v_glibc20): Likewise.
17527         (__lshrdi3_v_glibc20): Likewise.
17528         (__cmpdi2_v_glibc20): Likewise.
17529         (__ucmpdi2_v_glibc20): Likewise.
17530         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
17531         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17532         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17533         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17534         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17535         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
17537 2014-10-22  Roland McGrath  <roland@hack.frob.com>
17539         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
17540         old GNU extension [0] syntax.
17541         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
17542         alloca rather than an array member with variable length.
17543         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
17544         * nscd/nscd.c (invalidate_db): New function, broken out of ...
17545         (parse_opt): ... here.  Likewise use alloca there.
17546         Validate the -i argument before checking for rootness.
17547         (send_shutdown): New function, broken out of ...
17548         (parse_opt): ... here.
17550 2014-10-22  Roland McGrath  <roland@hack.frob.com>
17552         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
17553         macro to get at the _rt_local_ro field.
17554         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
17555         ([PIC] case) or _dl_hwcap ([!PIC] case).
17556         * sysdeps/arm/setjmp.S: Likewise.
17558         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
17559         * sysdeps/arm/configure.ac: New check to define it.
17560         * sysdeps/arm/configure: Regenerated.
17561         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
17562         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
17563         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
17564         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
17565         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
17566         Use move/movt pair instead of a load.
17567         (LDST_GLOBAL): Macro removed.
17568         (LDR_GLOBAL): New macro replaces it.
17569         (LDR_HIDDEN): New macro.
17570         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
17571         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
17573         * setjmp/tst-setjmp-static.c: New file.
17574         * setjmp/Makefile (tests): Add it.
17575         (tests-static): New variable.
17577 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
17579         [BZ #17485]
17580         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
17582 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
17584         [BZ #14132]
17585         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
17587 2014-10-21  Roland McGrath  <roland@hack.frob.com>
17589         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
17591 2014-10-20  Roland McGrath  <roland@hack.frob.com>
17593         * io/fts.c (dirent_not_directory): New function.
17594         (fts_build): Call it.
17596 2014-10-20  Roland McGrath  <roland@hack.frob.com>
17598         * nptl/version.c (__nptl_main): Use normal __write rather than
17599         INTERNAL_SYSCALL.
17600         (banner): Update copyright years.
17602         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
17603         gettimeofday.
17604         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17605         * nptl/pthread_cond_timedwait.c: Likewise.
17606         * nptl/pthread_mutex_timedlock.c: Likewise.
17607         * nptl/sem_timedwait.c: Likewise.
17609         * sysdeps/nptl/bits/libc-lock.h
17610         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17611         (__libc_lock_init_recursive): Return void, not 0.
17612         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
17613         (__libc_rwlock_init): Likewise.
17614         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
17616 2014-10-20  Torvald Riegel  <triegel@redhat.com>
17618         [BZ #15215]
17619         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
17620         (__pthread_once_slow): ... here.
17621         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
17622         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
17624 2014-10-20  Torvald Riegel  <triegel@redhat.com>
17626         [BZ #15215]
17627         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
17628         __PTHREAD_ONCE_FORK_GEN_INCR): New.
17629         * sysdeps/nptl/fork.c (__libc_fork): Use them.
17630         * nptl/pthread_once.c (__pthread_once): Likewise.
17631         Update comments.
17633 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
17635         [BZ #14138]
17636         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
17637         name.
17638         (writev): Use __libc_writev as strong name.
17639         * sysdeps/unix/sysv/linux/readv.c: Remove file.
17640         * sysdeps/unix/sysv/linux/writev.c: Likewise.
17642 2014-10-17  Roland McGrath  <roland@hack.frob.com>
17644         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
17646         * sysdeps/i386/nptl/tls.h
17647         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
17648         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
17649         New macros.
17650         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
17651         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
17652         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
17653         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
17654         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
17655         Call CHECK_THREAD_SYSINFO instead of doing an assert.
17657         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17658         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
17659         on [__NR_futex].
17660         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
17661         broken out of ...
17662         (__pthread_mutex_init): ... here.  Call it.
17663         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
17664         Conditionalize PI cases on [__NR_futex].
17665         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
17666         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
17667         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17669         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
17670         conditional on [SIGSETXID].
17671         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
17672         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
17673         is defined.  Likewise for SIGSETXID.
17674         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
17675         Conditionalize definitions on [SIGSETXID].
17676         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
17677         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
17678         unblocking on [SIGCANCEL].
17680         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
17681         [__NR_set_robust_list].
17683 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17685         * string/strcoll_l.c (get_next_seq): Fix up formatting.
17686         (do_compare): Likewise.
17688 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
17690         [BZ #15884]
17691         * string/strcoll_l.c: Don't include stdio.h.
17692         (coll_seq): Remove members idxarr and rulearr.
17693         (get_next_seq_cached): Remove function.
17694         (get_next_seq): Likewise.
17695         (get_next_seq_nocache): Rename to get_next_seq.
17696         (do_compare): Remove function.
17697         (do_compare_nocache): Rename to do_compare.
17698         (STRCOLL): Remove weight and rules cache.
17700 2014-10-16  Roland McGrath  <roland@hack.frob.com>
17702         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
17703         * sysdeps/arm/sfp-machine.h: ... to here.
17704         * sysdeps/arm/Implies: Remove arm/soft-fp.
17706 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
17708         * conform/data/sys/utsname.h-data (*_t): Allow.
17709         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
17710         [POSIX] (WEXITED): Do not expect constant.
17711         [POSIX] (WSTOPPED): Likewise.
17712         [POSIX] (WNOHANG): Likewise.
17713         [POSIX] (WNOWAIT): Likewise.
17714         [POSIX] (siginfo_t): Do not expect type or elements.
17715         [POSIX] (pid_t): Do not expect type.
17716         [POSIX] (signal.h): Do not allow header.
17717         [POSIX] (sys/resource.h): Likewise.
17718         [POSIX] (si_*): Do not allow pattern.
17719         [POSIX] (W*): Likewise.
17720         [POSIX] (P_*): Likewise.
17721         [POSIX] (BUS_*): Likewise.
17722         [POSIX] (CLD_*): Likewise.
17723         [POSIX] (FPE_*): Likewise.
17724         [POSIX] (ILL_*): Likewise.
17725         [POSIX] (POLL_*): Likewise.
17726         [POSIX] (SEGV_*): Likewise.
17727         [POSIX] (SI_*): Likewise.
17728         [POSIX] (TRAP_*): Likewise.
17729         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
17730         variable.
17732 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17734         [BZ #12926]
17735         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
17736         infinite loop when __recvmsg returns 0.
17738 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
17740         * CANCEL-FCT-WAIVE: Remove file.
17741         * CANCEL-FILE-WAIVE: Likewise.
17743         [BZ #14132]
17744         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
17745         instead of INTVARDEF.
17746         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
17747         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
17748         rtld_hidden_data_def instead of INTVARDEF.
17749         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
17750         * elf/dl-deps.c (expand_dst): Likewise.
17751         * elf/dl-load.c (_dl_dst_count): Likewise.
17752         (_dl_dst_substitute): Likewise.
17753         (decompose_rpath): Likewise.
17754         (_dl_init_paths): Likewise.
17755         (open_path): Likewise.
17756         (_dl_map_object): Likewise.
17757         * elf/rtld.c (dl_main): Likewise.
17758         (process_dl_audit): Likewise.
17759         (process_envvars): Likewise.
17760         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
17761         Remove declaration.
17762         (__libc_enable_secure): Use rtld_hidden_proto.
17764 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17766         * elf/dl-load.c
17767         (add_path): New function broken out of _dl_rtld_di_serinfo.
17768         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
17770 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
17772         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
17773         parentheses around macro arguments.
17774         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
17775         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
17776         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
17777         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
17778         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
17779         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
17780         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
17781         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
17782         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
17783         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
17784         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
17785         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
17786         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
17787         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
17788         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
17789         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
17790         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
17791         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
17792         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
17793         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
17794         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
17795         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
17796         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
17797         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
17798         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
17799         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
17800         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
17801         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
17802         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
17803         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
17804         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
17805         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
17806         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
17807         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
17808         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
17809         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
17810         Likewise.
17811         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
17812         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
17813         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
17814         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
17815         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
17816         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
17817         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
17818         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
17819         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
17820         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
17821         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
17822         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
17823         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
17824         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
17825         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
17826         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
17827         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
17828         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
17829         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
17830         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
17831         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
17832         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
17833         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
17834         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
17835         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
17836         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
17837         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
17838         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
17839         (_FP_FRAC_SRS_1): Likewise.
17840         (_FP_FRAC_CLZ_1): Likewise.
17841         (_FP_MUL_MEAT_1_imm): Likewise.
17842         (_FP_MUL_MEAT_1_wide): Likewise.
17843         (_FP_MUL_MEAT_1_hard): Likewise.
17844         (_FP_SQRT_MEAT_1): Likewise.
17845         (_FP_FRAC_ASSEMBLE_1): Likewise.
17846         (_FP_FRAC_DISASSEMBLE_1): Likewise.
17847         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
17848         (__FP_CLZ_2): Likewise.
17849         (_FP_MUL_MEAT_2_wide): Likewise.
17850         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
17851         (_FP_MUL_MEAT_2_gmp): Likewise.
17852         (_FP_MUL_MEAT_2_120_240_double): Likewise.
17853         (_FP_SQRT_MEAT_2): Likewise.
17854         (_FP_FRAC_ASSEMBLE_2): Likewise.
17855         (_FP_FRAC_DISASSEMBLE_2): Likewise.
17856         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
17857         (_FP_FRAC_CLZ_4): Likewise.
17858         (_FP_MUL_MEAT_4_wide): Likewise.
17859         (_FP_MUL_MEAT_4_gmp): Likewise.
17860         (_FP_SQRT_MEAT_4): Likewise.
17861         (_FP_FRAC_ASSEMBLE_4): Likewise.
17862         (_FP_FRAC_DISASSEMBLE_4): Likewise.
17863         * soft-fp/op-common.h (_FP_CMP): Likewise.
17864         (_FP_CMP_EQ): Likewise.
17865         (_FP_CMP_UNORD): Likewise.
17866         (_FP_TO_INT): Likewise.
17867         (_FP_FROM_INT): Likewise.
17868         [!__FP_CLZ] (__FP_CLZ): Likewise.
17869         (_FP_DIV_HELP_imm): Likewise.
17870         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
17871         Likewise.
17872         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
17873         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
17874         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
17875         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
17876         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
17877         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
17878         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
17879         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
17880         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
17881         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
17882         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
17883         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
17884         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
17885         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
17886         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
17887         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
17888         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
17889         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
17890         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
17891         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
17892         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
17893         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
17894         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
17895         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
17896         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
17897         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
17898         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
17899         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
17900         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
17901         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
17902         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
17903         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
17904         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
17905         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
17906         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
17907         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
17908         (FP_UNPACK_RAW_SP): Likewise.
17909         (FP_PACK_RAW_S): Likewise.
17910         (FP_PACK_RAW_SP): Likewise.
17911         (FP_UNPACK_S): Likewise.
17912         (FP_UNPACK_SP): Likewise.
17913         (FP_UNPACK_SEMIRAW_S): Likewise.
17914         (FP_UNPACK_SEMIRAW_SP): Likewise.
17915         (FP_PACK_S): Likewise.
17916         (FP_PACK_SP): Likewise.
17917         (FP_PACK_SEMIRAW_S): Likewise.
17918         (FP_PACK_SEMIRAW_SP): Likewise.
17919         (_FP_SQRT_MEAT_S): Likewise.
17920         (FP_CMP_S): Likewise.
17921         (FP_CMP_EQ_S): Likewise.
17922         (FP_CMP_UNORD_S): Likewise.
17923         (FP_TO_INT_S): Likewise.
17924         (FP_FROM_INT_S): Likewise.
17926         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
17928         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
17929         (FP_EX_INVALID_IMZ): Likewise.
17930         (FP_EX_INVALID_IMZ_FMA): Likewise.
17931         (FP_EX_INVALID_ISI): Likewise.
17932         (FP_EX_INVALID_ZDZ): Likewise.
17933         (FP_EX_INVALID_IDI): Likewise.
17934         (FP_EX_INVALID_SQRT): Likewise.
17935         (FP_EX_INVALID_CVI): Likewise.
17936         (FP_EX_INVALID_VC): Likewise.
17937         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
17938         "invalid" exceptions.
17939         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
17940         (_FP_ADD_INTERNAL): Likewise.
17941         (_FP_MUL): Likewise.
17942         (_FP_FMA): Likewise.
17943         (_FP_DIV): Likewise.
17944         (_FP_CMP_CHECK_NAN): Likewise.
17945         (_FP_SQRT): Likewise.
17946         (_FP_TO_INT): Likewise.
17947         (FP_EXTEND): Likewise.
17949 2014-10-09  Allan McRae  <allan@archlinux.org>
17951         * po/fr.po: Update French translation from translation project.
17953 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
17955         [BZ #14132]
17956         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
17957         of INTDEF.
17958         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
17959         (__cxa_atexit): Use libc_hidden_proto.
17960         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
17962         [BZ #14132]
17963         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
17964         declaration.
17965         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
17966         [!_ISOMAC] (__iswspace_l_internal): Likewise.
17967         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
17968         [!_ISOMAC] (__iswctype_internal): Likewise.
17969         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
17970         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
17971         alias.
17972         (fcntl): Remove __fcntl_internal alias.
17973         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
17974         __connect_internal alias.
17975         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
17976         Likewise.
17978         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
17979         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
17980         FP_DENORM_ZERO.
17981         (_FP_CHECK_FLUSH_ZERO): New macro.
17982         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
17983         (_FP_CMP): Likewise.
17984         (_FP_CMP_EQ): Likewise.
17985         (_FP_TO_INT): Do not set inexact for subnormal arguments if
17986         FP_DENORM_ZERO.
17987         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
17988         (FP_TRUNC): Likewise.
17990         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
17991         treated as invalid conversion, not as normal exponent.
17993         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
17994         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
17995         (_FP_CMP_EQ): Likewise.
17996         (_FP_CMP_UNORD): Likewise.
17997         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
17998         (FP_CMP_EQ_D): Likewise.
17999         (FP_CMP_UNORD_D): Likewise.
18000         * soft-fp/extended.h (FP_CMP_E): Likewise.
18001         (FP_CMP_EQ_E): Likewise.
18002         (FP_CMP_UNORD_E): Likewise.
18003         * soft-fp/quad.h (FP_CMP_Q): Likewise.
18004         (FP_CMP_EQ_Q): Likewise.
18005         (FP_CMP_UNORD_Q): Likewise.
18006         * soft-fp/single.h (FP_CMP_S): Likewise.
18007         (FP_CMP_EQ_S): Likewise.
18008         (FP_CMP_UNORD_S): Likewise.
18009         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
18010         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
18011         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
18012         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
18013         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
18014         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
18015         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
18016         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
18017         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
18018         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
18019         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
18020         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
18021         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
18022         to FP_CMP_Q.
18023         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
18024         FP_CMP_Q.
18025         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
18026         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
18027         FP_CMP_EQ_Q.
18028         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
18029         FP_CMP_Q.
18030         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
18031         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
18032         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
18033         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
18034         FP_CMP_EQ_Q.
18035         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
18036         FP_CMP_Q.
18037         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
18038         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
18039         FP_CMP_EQ_Q.
18040         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
18041         FP_CMP_Q.
18042         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
18043         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
18044         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
18045         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
18046         FP_CMP_EQ_Q.
18048         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
18049         a subnormal result, set the underflow exception if trapping on
18050         underflow is enabled.
18051         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
18052         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
18053         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
18054         redefine to 0.
18055         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
18056         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
18057         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
18058         * soft-fp/extendxftf2.c (__extendxftf2): Use
18059         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
18061         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
18062         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
18063         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18064         FP_HANDLE_EXCEPTIONS.
18065         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
18066         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18067         FP_HANDLE_EXCEPTIONS.
18068         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
18069         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18070         FP_HANDLE_EXCEPTIONS.
18071         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
18072         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18073         FP_HANDLE_EXCEPTIONS.
18075 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
18077         [BZ #14132]
18078         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
18079         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
18080         use INTUSE.
18081         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
18082         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
18083         Remove alias.
18084         (__adjtimex): Define using libc_hidden_ver.
18085         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
18086         Remove declaration.
18087         (ntp_gettime): Call __adjtimex directly.
18088         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
18089         Remove declaration.
18090         (ntp_gettimex): Call __adjtimex directly.
18091         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
18092         __adjtimex_internal alias.
18094 2014-10-08  Roland McGrath  <roland@hack.frob.com>
18096         [BZ #17460]
18097         * nscd/nscd.c (more_help): Rewrite list of tables collection
18098         using xstrdup and asprintf.
18100         * nscd/nscd_conf.c: Remove local xstrdup declaration.
18102 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18103             Roland McGrath  <roland@hack.frob.com>
18105         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
18106         (do_lookup_unique): ... local function 'enter' here; update callers.
18108 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
18110         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
18111         compat_symbol calls on [SHARED].
18112         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
18113         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
18114         Remove.
18115         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18116         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
18117         (oldsetrlimit): Remove.
18118         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
18120         (lchown): New syscall entry.
18121         (oldsetrlimit): Remove.
18122         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18123         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
18124         (oldsetrlimit): Remove.
18125         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18127         [BZ #14138]
18128         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
18129         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
18130         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
18131         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
18132         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18133         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
18134         (fchown): Likewise.
18135         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
18136         (fchown): Likewise.
18137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
18138         Likewise.
18140 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18142         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
18143         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
18144         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
18145         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
18146         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
18147         Likewise.
18148         (__old_sem_post): Likewise.
18150 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
18152         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
18153         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
18154         HAVE_CLOCK_GETTIME_VSYSCALL macros.
18155         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
18156         Use INLINE_VSYSCALL macro.
18157         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
18158         __vdso_clock_gettime.
18159         * sysdeps/unix/sysv/linux/tile/init-first.c
18160         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
18161         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
18162         __vdso_clock_gettime.
18164         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
18165         to set up frame more cleanly.
18167         * sysdeps/tile/memcmp.c: New file.
18169         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
18171         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
18172         * sysdeps/tile/tilegx/strcasestr.c: New file.
18173         * sysdeps/tile/tilegx/strnlen.c: New file.
18174         * sysdeps/tile/tilegx/strstr.c: New file.
18176         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
18178 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
18180         * nptl/tst-setuid3.c: Write errors to stdout.
18182 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18184         * elf/dl-deps.c
18185         (preload): New functions broken out of _dl_map_object_deps.
18186         (_dl_map_object_deps):  Remove a nested function. Update call sites.
18188 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
18190         [BZ #14138]
18191         * sysdeps/unix/sysv/linux/execve.c: Remove file.
18192         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
18194 2014-10-01  Steve Ellcey  <sellcey@mips.com>
18196         * sysdeps/mips/strcmp.S: New.
18198 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
18200         [BZ #14138]
18201         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
18202         (linkat): Likewise.
18203         (mkdirat): Likewise.
18204         (readlinkat): Likewise.
18205         (renameat): Likewise.
18206         (symlinkat): Likewise.
18207         (unlinkat): Likewise.
18208         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
18209         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
18210         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
18211         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
18212         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
18213         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
18214         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
18216 2014-09-30  Will Newton  <will.newton@linaro.org>
18218         * math/math.h: Define long double math functions if
18219         _LIBC_TEST is defined.
18220         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
18222         * localedata/Makefile: Move assignment to tests-special
18223         into an ifdef testing run-built-tests.
18224         * timezone/Makefile: Likewise.
18226 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
18228         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
18229         with $(BASH) not $(SHELL).
18231 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
18232             Matthew LeGendre  <legendre1@llnl.gov>
18234         [BZ #17411]
18235         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
18236         l_reloc_result.
18238 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18240         * stdio-common/printf_fp.c
18241         (hack_digit): New function, broken out of ...
18242         (__printf_fp): ... local function here.  Update call sites.
18243         hack_digit now takes an additional parameter that is a pointer
18244         to a struct of the referenced locals.  Those locals moved inside
18245         the struct and references updated.
18247 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
18249         * aclocal.m4: Require autoconf 2.69.
18250         * configure: Regenerated.
18251         * sysdeps/aarch64/configure: Likewise.
18252         * sysdeps/alpha/configure: Likewise.
18253         * sysdeps/arm/armv7/configure: Likewise.
18254         * sysdeps/arm/configure: Likewise.
18255         * sysdeps/ia64/configure: Likewise.
18256         * sysdeps/mach/configure: Likewise.
18257         * sysdeps/mips/configure: Likewise.
18258         * sysdeps/s390/configure: Likewise.
18259         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
18260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
18262         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
18263         file.
18264         * sysdeps/ia64/configure.ac: Likewise.
18266 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
18268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
18269         specify symbol version for ld.so.  Do not include entry for
18270         libpthread.
18271         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
18272         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
18273         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18275         [BZ #14171]
18276         * Makeconfig [$(build-shared) = yes]
18277         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
18278         makefiles.
18279         [$(build-shared) = yes && $(soversions.mk-done) = t]
18280         ($(common-objpfx)gnu/lib-names.h): Remove rule.
18281         [$(build-shared) = yes && $(soversions.mk-done) = t]
18282         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
18283         to Makerules.
18284         [$(build-shared) = yes && $(soversions.mk-done) = t]
18285         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
18286         here.
18287         [$(build-shared) = yes && $(soversions.mk-done) = t]
18288         (common-generated): Don't append gnu/lib-names.h and
18289         gnu/lib-names.stmp here.
18290         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
18291         (lib-names-h-abi): New variable.
18292         [$(build-shared) = yes && $(soversions.mk-done) = t]
18293         (lib-names-stmp-abi): Likewise.
18294         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18295         abi-variants] (before-compile): Append
18296         $(common-objpfx)$(lib-names-h-abi).
18297         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18298         abi-variants] (common-generated): Append gnu/lib-names.h.
18299         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18300         abi-variants] (install-others-nosubdir): Depend on
18301         $(inst_includedir)/$(lib-names-h-abi).
18302         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18303         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
18304         [$(build-shared) = yes && $(soversions.mk-done) = t]
18305         ($(common-objpfx)$(lib-names-h-abi)): New rule.
18306         [$(build-shared) = yes && $(soversions.mk-done) = t]
18307         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
18308         [$(build-shared) = yes && $(soversions.mk-done) = t]
18309         (common-generated): Append $(lib-names-h-abi) and
18310         $(lib-names-stmp-abi).
18311         * scripts/lib-names.awk: Do not handle multi being set.
18312         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
18313         Remove variable.
18314         (abi-lp64_be-ld-soname): Likewise.
18315         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
18316         Likewise.
18317         (abi-hard-ld-soname): Likewise.
18318         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
18319         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
18320         Remove variable.
18321         (abi-o32_hard-ld-soname): Likewise.
18322         (abi-o32_soft_2008-ld-soname): Likewise.
18323         (abi-o32_hard_2008-ld-soname): Likewise.
18324         (abi-n32_soft-ld-soname): Likewise.
18325         (abi-n32_hard-ld-soname): Likewise.
18326         (abi-n32_soft_2008-ld-soname): Likewise.
18327         (abi-n32_hard_2008-ld-soname): Likewise.
18328         (abi-n64_soft-ld-soname): Likewise.
18329         (abi-n64_hard-ld-soname): Likewise.
18330         (abi-n64_soft_2008-ld-soname): Likewise.
18331         (abi-n64_hard_2008-ld-soname): Likewise.
18332         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
18333         Likewise.
18334         (abi-64-v2-ld-soname): Likewise.
18335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
18336         ld.so entries.
18337         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
18338         variable.
18339         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
18340         entry.
18341         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
18342         variable.
18343         (abi-64-ld-soname): Likewise.
18344         (abi-x32-ld-soname): Likewise.
18345         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
18346         entry.
18347         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18349 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
18351         [BZ #14138]
18352         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
18353         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
18354         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
18355         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
18356         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
18357         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
18358         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
18359         syscall entry for GLIBC_2.2 symbol version.
18360         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
18361         Likewise.
18362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
18363         (setrlimit): Likewise.
18364         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
18365         Likewise.
18367 2014-09-23  Will Newton  <will.newton@linaro.org>
18369         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
18370         _LINUX_ARM_SYSDEP_H include guard too.
18371         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
18372         define.
18374 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18376         * sysdeps/unix/sysv/linux/eventfd.c:
18377         Make first argument unsigned.
18378         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
18379         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
18381 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
18383         * socket/recvmmsg.c (recvmmsg): Drop const argument.
18384         * socket/sys/socket.h: Likewise
18385         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
18387 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18389         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
18391 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
18393         * time/tst-ftime.c: New test.
18394         * time/Makefile (tests): Add tst-ftime.
18396 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
18398         * soft-fp/extended.h: Fix comment formatting.
18399         * soft-fp/op-1.h: Likewise.
18400         * soft-fp/op-2.h: Likewise.
18401         * soft-fp/op-4.h: Likewise.
18402         * soft-fp/op-8.h: Likewise.
18403         * soft-fp/op-common.h: Likewise.
18404         * soft-fp/soft-fp.h: Likewise.
18406         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
18408 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
18410         [BZ #6652]
18411         * Makeconfig (soversions-default-setname): Remove variable.
18412         ($(common-objpfx)soversions.i): Don't pass default_setname to
18413         soversions.awk.
18414         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
18415         oldest_abi to abi-versions.awk.
18416         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
18417         * config.make.in (oldest-abi): Remove variable.
18418         * configure.ac (--enable-oldest-abi): Remove configure option.
18419         * configure: Regenerated.
18420         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
18421         text.
18422         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
18423         * scripts/soversions.awk: Do not handle default_setname variable.
18424         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
18425         variable.
18426         * sysdeps/mach/hurd/configure: Regenerated.
18427         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
18428         variable.
18429         * sysdeps/unix/sysv/linux/configure: Regenerated.
18431 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18433         * elf/Makefile (CFLAGS-interp.c): Remove.
18434         ($(elf-objpfx)runtime-linker.h): Generate header with linker
18435         path string.
18436         * elf/interp.c: Include generated runtime-linker.h
18438         * Makerules (lib%.so): Don't include $(+interp) in
18439         prerequisites.
18440         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
18441         * dlfcn/eval.c: Remove file.
18443         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
18444         macros.
18446         [BZ #17266]
18447         * misc/sys/cdefs.h: Define __extern_always_inline for clang
18448         4.2 and newer.
18450         [BZ #17370]
18451         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
18453 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18454             Jakub Jelinek  <jakub@redhat.com>
18456         [BZ #17266]
18457         * libio/stdio.h: Check definition of __fortify_function
18458         instead of __extern_always_inline to include bits/stdio2.h.
18459         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
18460         check if __extern_always_inline is defined.
18461         [__USE_MISC || __USE_XOPEN]: Likewise.
18462         [__USE_ISOC99] Likewise.
18463         * misc/sys/cdefs.h (__fortify_function): Define only if
18464         __extern_always_inline is defined.
18465         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
18466         __extern_always_inline and __extern_inline only for g++-4.3
18467         and newer or a compatible gcc.
18469 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
18471         [BZ #17371]
18472         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18473         last change to handle zero prefix length.
18475 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18477         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
18478         _SC_REGEX_VERSION.
18480         * posix/getconf.c (vars): Add _POSIX_IPV6 and
18481         _POSIX_RAW_SOCKETS.
18483 2014-09-13  Allan McRae  <allan@archlinux.org>
18485         * po/ru.po: Update Russian translation from translation project.
18487 2014-09-12  Roland McGrath  <roland@hack.frob.com>
18489         * locale/programs/locale.c (show_locale_vars): Inline local function
18490         into its sole call site.  Clean up some style nits.
18491         (print_item): New function, broken out of ...
18492         (show_info): ... local function here.  Clean up style nits.
18494         * locale/programs/ld-ctype.c (set_one_default): New function, broken
18495         out of ...
18496         (set_class_defaults): ... local function set_default here.
18497         Define set_default as a macro locally to pass constant parameters.
18498         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
18499         rather than a shared local.
18501         * stdlib/rpmatch.c (try): New function, broken out of ...
18502         (rpmatch): ... local function here.  Also, prototypify definition.
18504 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
18506         * scripts/soversions.awk: Do not handle configuration names.
18507         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
18508         vendor and os variables to soversions.awk.
18509         * configure.ac: Do not modify gnu-* host_os.
18510         * configure: Regenerated
18511         * shlib-versions: Remove first column with configuration names.
18512         * nptl/shlib-versions: Likewise.
18513         * nptl_db/shlib-versions: Likewise.
18514         * sysdeps/hppa/shlib-versions: Likewise.
18515         * sysdeps/m68k/shlib-versions: Likewise.
18516         * sysdeps/mach/hurd/shlib-versions: Likewise.
18517         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
18518         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
18519         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
18520         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
18521         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
18522         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
18523         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
18524         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
18525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
18526         Likewise.
18527         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
18528         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
18529         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
18530         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
18531         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
18532         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
18533         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
18534         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18537         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
18538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
18539         Regenerated.
18540         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
18541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
18542         Condition symbol version definitions on [HAVE_ELFV2_ABI].
18544         * shlib-versions: Remove OS-specific entries.  Moved to files in
18545         sysdeps.
18546         * sysdeps/mach/hurd/shlib-versions: New file.
18547         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
18549         * nptl/shlib-versions: Remove architecture-specific entries.
18550         Moved to files in sysdeps.
18551         * shlib-versions: Likewise.
18552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
18553         file.
18554         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
18555         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
18556         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
18557         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
18559         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
18560         (UDP_NO_CHECK6_RX): Likewise.
18562 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18564         * sysdeps/posix/sysconf.c (__sysconf): Spell
18565         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
18567 2014-08-12  Florian Weimer  <fweimer@redhat.com>
18569         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
18570         loading.
18571         * iconv/Versions (__gconv_transliterate): Export for use from
18572         gconv modules.
18573         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
18574         (struct __gconv_trans_data, __gconv_trans_fct,
18575         __gconv_trans_context_fct, __gconv_trans_query_fct,
18576         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
18577         definitions.
18578         (struct __gconv_step_data): Remove __trans member.
18579         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
18580         longer hidden.  Remove unused trans_data argument.
18581         * iconv/gconv_int.h (struct trans_struct): Remove definition.
18582         (__gconv_translit_find): Remove declaration.
18583         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
18584         prototype.
18585         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
18586         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
18587         trans_data argument.  Add hidden definition.
18588         (__gconv_translit_find): Remove.
18589         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
18590         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
18591         * iconv/skeleton.c: Remove transliteration initialization.
18592         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
18593         __gconv_step_data initialization.
18594         * libio/iofwide.c (__libio_translit_): Remove.
18595         (_IO_fwide): Adjust struct __gconv_step_data initialization.
18596         * wcsmbs/btowc.c (__btowc): Likewise.
18597         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18598         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18599         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
18600         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
18601         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
18602         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
18603         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
18604         * wcsmbs/wctob.c (wctob): Likewise.
18606 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18608         [BZ #16194]
18609         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
18610         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
18611         register usage.
18612         * sysdeps/x86/Makefile: Adjust.
18614 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18615             Roland McGrath  <roland@hack.frob.com>
18617         * locale/weight.h: Add include guard.
18618         (findidx): Make static rather than auto; take new parameters
18619         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
18620         * locale/weightwc.h: Likewise.
18621         * posix/fnmatch_loop.c
18622         (FCT): Change type of EXTRA from int32_t to wint_t.
18623         Don't include either header inside the function.
18624         Call FINDIDX rather than findidx, and pass new arguments.
18625         #undef FINDIDX at the end of the file.
18626         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
18627         FINDIDX before including fnmatch_loop.c for the non-wide version.
18628         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
18629         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
18630         for the wide version.
18631         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
18632         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
18633         Pass new arguments to findidx.
18634         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
18635         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
18636         Don't #include it inside the function.  Pass new arguments to findidx.
18637         * posix/regex_internal.h
18638         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
18639         (re_string_elem_size_at): Don't #include it inside the function.
18640         Pass new arguments to findidx.
18641         * string/strcoll_l.c: #include WEIGHT_H at top level.
18642         (get_next_seq): Don't #include it inside the function.
18643         Pass new arguments to findidx.
18644         (get_next_seq_nocache): Likewise.
18645         * string/strxfrm_l.c: #include WEIGHT_H at top level.
18646         (STRXFRM): Don't #include it inside the function.
18647         Pass new arguments to findidx.
18649 2014-09-11  Florian Weimer  <fweimer@redhat.com>
18651         [BZ #17344]
18652         * malloc/malloc.c (unlink): Turn asserts into a call to
18653         malloc_printerr.
18655 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
18657         [BZ #17370]
18658         * libio/wfileops (do_ftell_wide): Free OUT.
18660 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
18662         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
18664 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18666         [BZ #17363]
18667         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
18668         group if the current group is empty.
18670 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18672         * benchtests/bench-memset.c (test_main): Add more test from size
18673         from 32 to 512 bytes.
18674         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18675         Add POWER8 memset object.
18676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18677         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
18678         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
18679         implementation.
18680         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
18681         Likewise.
18682         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
18683         multiarch POWER8 memset optimization.
18684         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
18685         POWER8 memset optimization.
18687         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18688         Remove bzero multiarch objects.
18689         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
18690         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
18691         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
18692         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
18693         Remove define.
18694         [__bzero]: Redefine to specific name.
18695         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
18696         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
18697         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
18698         define.
18699         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18700         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18702 2014-09-10  Florian Weimer  <fweimer@redhat.com>
18704         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
18705         warnings into errors.
18707         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
18708         __cxa_thread_atexit_impl prototype.
18710 2014-09-09  Steve Ellcey  <sellcey@mips.com>
18712         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
18713         Fix capitalization of error message.
18715 2014-09-09  Steve Ellcey  <sellcey@mips.com>
18717         * sysdeps/mips/preconfigure: Modify ABI tests.
18719 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
18721         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
18723 2014-09-07  Roland McGrath  <roland@hack.frob.com>
18724             Carlos O'Donell  <carlos@systemhalted.org>
18726         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
18727         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
18728         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
18729         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
18730         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
18731         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
18732         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
18733         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
18734         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
18735         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
18736         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
18737         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
18738         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
18739         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
18740         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
18741         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
18742         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
18743         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
18744         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
18745         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
18746         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
18747         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
18748         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
18749         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
18750         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
18751         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
18752         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
18753         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
18754         Deconditionalize the code that was previously under [RESET_PID].
18755         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
18756         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
18757         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
18758         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
18759         include sysdep.h.
18761 2014-09-08  Allan McRae  <allan@archlinux.org>
18763         * version.h (RELEASE): Set to "development".
18764         (VERSION): Set to "2.20.90"
18766 2014-09-07  Allan McRae  <allan@archlinux.org
18768         * version.h (RELEASE): Set to "stable".
18769         (VERSION): Set to "2.20"
18770         * include/features.h (__GLIBC_MINOR__): Set to 20.
18772         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
18773         Liebler.
18775         * po/ko.po: Update Korean translation from translation project.
18777 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
18779         [BZ #17354]
18780         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
18781         macro for handling signed relocations.
18783 2014-09-03  Florian Weimer  <fweimer@redhat.com>
18785         [BZ #17325]
18786         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
18787         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
18788         assert.
18789         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
18790         * iconvdata/ibm935.c (BODY): Likewise.
18791         * iconvdata/ibm937.c (BODY): Likewise.
18792         * iconvdata/ibm939.c (BODY): Likewise.
18793         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
18794         assert.
18795         * iconvdata/Makefile (iconv-test.out): Pass module list to test
18796         script.
18797         * iconvdata/run-iconv-test.sh: New test loop for checking for
18798         decoder crashers.
18800 2014-09-02  Khem Raj  <raj.khem@gmail.com>
18802         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
18803         libm_hidden_ver.
18805 2014-09-01  Allan McRae  <allan@archlinux.org>
18807         * po/eo.po: Update Esperanto translation from translation project.
18809         * po/ca.po: Update Catalan translation from translation project.
18811 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18813         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
18814         __proc_dostop call.
18816 2014-08-27  Mark Wielaard  <mjw@redhat.com>
18818         [BZ #17319]
18819         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
18820         to call set_thread_area instead of hand written asm.
18821         (__NR_set_thread_area): Removed define.
18822         (TLS_FLAG_WRITABLE): Likewise.
18823         (__ASSUME_SET_THREAD_AREA): Remove check.
18824         (TLS_EBX_ARG): Remove define.
18825         (TLS_LOAD_EBX): Likewise.
18827 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18829         Simplify atomicity of socket creation in bind.
18831         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
18832         looking up the name after linking the file.
18834 2014-08-27  Allan McRae  <allan@archlinux.org>
18836         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18838 2014-08-26  Florian Weimer  <fweimer@redhat.com>
18840         [BZ #17187]
18841         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
18842         trans_compare, open_translit, __gconv_translit_find):
18843         Remove module loading code.
18845 2014-08-26  Allan McRae  <allan@archlinux.org>
18847         * po/vi.po: Update Vietnamese translation from translation project.
18849         * po/uk.po: Update Ukrainian translation from translation project.
18851         * po/fr.po: Update French translation from translation project.
18853         * po/ru.po: Update Russian translation from translation project.
18855         * po/pl.po: Update Polish translation from translation project.
18857         * po/cs.po: Update Czech translation from translation project.
18859         * po/de.po: Update German translation from translation project.
18861         * po/bg.po: Update Bulgarian translation from translation project.
18863         * po/sv.po: Update Sweedish translation from translation project.
18865         * po/nl.po: Update Dutch translation from translation project.
18867         * po/es.po: Update Spanish translation from translation project.
18869 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18871         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
18873         * catgets/Makefile (CPPFLAGS-gencat): Remove.
18874         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
18875         (CPPFLAGS-iconvconfig): Likewise.
18876         * timezone/Makefile (CPPFLAGS-zic): Likewise.
18878         * include/libc-symbols.h: Remove unnecessary check for
18879         NOT_IN_libc.
18880         * nptl/pthreadP.h: Likewise.
18881         * sysdeps/aarch64/setjmp.S: Likewise.
18882         * sysdeps/alpha/setjmp.S: Likewise.
18883         * sysdeps/arm/sysdep.h: Likewise.
18884         * sysdeps/i386/setjmp.S: Likewise.
18885         * sysdeps/m68k/setjmp.c: Likewise.
18886         * sysdeps/posix/getcwd.c: Likewise.
18887         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18888         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
18889         * sysdeps/s390/s390-32/setjmp.S: Likewise.
18890         * sysdeps/s390/s390-64/setjmp.S: Likewise.
18891         * sysdeps/sh/sh3/setjmp.S: Likewise.
18892         * sysdeps/sh/sh4/setjmp.S: Likewise.
18893         * sysdeps/unix/alpha/sysdep.h: Likewise.
18894         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18895         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18896         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
18897         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18900         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18901         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18902         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18903         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18904         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18905         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18906         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18907         * sysdeps/x86_64/setjmp.S: Likewise.
18909 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
18911         [BZ #17263]
18912         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
18913         <stdint.h>.
18914         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
18915         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
18917 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18919         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
18921         [BZ #17262]
18922         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
18923         and __x86_64__ when disabling x87 inline functions.
18925 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
18927         [BZ #17259]
18928         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
18929         asm statement with __cpuid_count.
18931 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
18933         * configure.ac: Change __ehdr_start code to dereference the struct.
18934         Run readelf on the output to look for relocations.
18935         * configure: Regenerated.
18937 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
18939         [BZ #17261]
18940         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
18941         value to 0.
18942         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
18944 2014-08-12  Roland McGrath  <roland@hack.frob.com>
18946         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
18948 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
18950         [BZ #16892]
18951         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
18952         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
18954 2014-08-12  Sean Anderson  <seanga2@gmail.com>
18956         * malloc/malloc.c: Fix typo in comment.
18958 2014-08-09  Allan McRae  <allan@archlinux.org>
18960         * Regenerate libc.po.
18962 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
18964         * intl/tst-gettext2.sh: Check every lang file for creation.
18966 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
18968         * sysdeps/aarch64/fpu/math_private.h
18969         (libc_feholdsetround_noex_aarch64_ctx): New function.
18971 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
18973         * sysdeps/arm/armv6/strcpy.S (strcpy):
18974         Fix performance issue in misaligned cases.
18976 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18978         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
18979         Move definition from termios.h.
18980         (struct termio): Likewise.
18981         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18982         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
18983         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
18984         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
18985         Likewise.
18986         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
18987         Move definition to ioctl-types.h
18988         (struct termio): Likewise.
18989         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18990         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
18991         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
18992         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
18993         Likewise.
18995 2014-08-05  Richard Henderson  <rth@redhat.com>
18997         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
18998         exceptions.
18999         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
19000         Add fraiseexcpt.
19001         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
19002         Use __feraiseexcept.
19003         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
19004         Protect libm symbols with IS_IN_libm.
19006         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
19008 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
19010         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
19012 2014-08-04  Will Newton  <will.newton@linaro.org>
19014         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
19015         file.
19017 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
19019         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
19020         variants for each function.
19022 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19024         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
19025         appended ...
19026         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
19027         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
19028         appended ...
19029         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
19030         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
19031         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
19032         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
19033         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
19034         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
19035         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
19036         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
19037         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
19038         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
19039         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
19040         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
19041         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
19042         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
19043         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
19044         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
19045         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
19046         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
19047         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
19048         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
19049         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
19050         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
19051         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
19052         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
19053         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
19054         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
19055         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
19056         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
19057         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
19058         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
19059         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
19060         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
19061         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
19062         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
19063         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
19064         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
19065         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
19066         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
19067         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
19068         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
19069         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
19070         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
19071         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
19072         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
19073         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
19074         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
19075         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
19076         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
19077         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
19078         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
19079         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
19080         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
19081         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
19082         Update #include.
19083         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
19084         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
19086 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19088         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
19089         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
19090         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
19091         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
19092         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
19093         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
19095 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19097         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
19098         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
19099         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19100         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
19102 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19104         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
19105         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
19106         (__libc_vfork): Define function under this name.
19107         (__vfork): Define as an alias.
19108         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
19109         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
19111 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19113         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
19114         that was previously under [RESET_PID].
19115         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
19117 2014-08-04  Andreas Schwab  <schwab@suse.de>
19119         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
19121 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
19123         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
19124         (main): Likewise.
19126 2014-08-01  Roland McGrath  <roland@hack.frob.com>
19128         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
19130 2014-08-01  Richard Henderon  <rth@redhat.com>
19132         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
19133         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
19134         typo in exact zero test.
19135         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19136         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19137         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19139 2014-08-01  Roland McGrath  <roland@hack.frob.com>
19141         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
19142         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
19143         * sysdeps/arm/sysdep.h: ... here.
19144         [!__ASSEMBLER__]: Include <stdint.h>.
19146 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19148         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
19149         (HAVE_WCTYPE_H): Likewise.
19150         (HAVE_ISWCTYPE): Likewise.
19151         (ENABLE_NLS): Likewise.
19152         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
19153         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
19155         * posix/regex_internal.c: Check if DEBUG is defined and is
19156         set.
19158         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
19159         (HAVE_MBSRTOWCS): Likewise.
19160         * posix/fnmatch.c: Include string.h unconditionally.
19162 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
19164         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
19165         reversal.
19167 2014-07-31  Roland McGrath  <roland@hack.frob.com>
19169         * sysdeps/generic/safe-fatal.h: New file.
19170         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
19171         * nptl/forward.c: Include it.
19172         (__pthread_unwind): Use __safe_fatal as default action, rather
19173         than a bogus use of INTERNAL_SYSCALL that could never work.
19175         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
19176         * configure.ac (libc_cv_builtin_trap): New test.
19177         * configure: Regenerated.
19178         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
19179         (ABORT_INSTRUCTION): Define using __builtin_trap.
19181         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
19182         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
19183         * sysdeps/nptl/nptl-signals.h: New file.
19184         * nptl/pthreadP.h: Include <nptl-signals.h>.
19186 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19188         * sysdeps/s390/s390-64/utf16-utf32-z9.c
19189         (ONE_DIRECTION): Define.
19190         * sysdeps/s390/s390-64/utf8-utf16-z9.c
19191         (ONE_DIRECTION): Define.
19192         * sysdeps/s390/s390-64/utf8-utf32-z9.c
19193         (ONE_DIRECTION): Define.
19195 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19197         * sysdeps/s390/Makefile: Delete file.
19198         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
19199         * sysdeps/s390/__longjmp.c: Delete file.
19200         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
19201         Remove fields __flags and __reserved.
19202         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
19203         and add versioning.
19204         * sysdeps/s390/rtld-__longjmp.c: Delete file.
19205         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
19206         * sysdeps/s390/rtld-setjmp.S: Likewise.
19207         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
19208         * sysdeps/s390/s390-32/__longjmp.c: ... here.
19209         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
19210         * sysdeps/s390/s390-32/setjmp.S: ... here.
19211         Add versioning.
19212         (__sigsetjmp): Remove setting __flags field.
19213         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
19214         * sysdeps/s390/s390-64/__longjmp.c: ... here.
19215         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
19216         * sysdeps/s390/s390-64/setjmp.S: ... here.
19217         Add versioning.
19218         (__sigsetjmp): Remove setting __flags field.
19219         * sysdeps/s390/setjmp.S: Delete file.
19220         * sysdeps/s390/sigjmp.c: Likewise.
19221         * sysdeps/s390/v1-longjmp.c: Likewise.
19222         * sysdeps/s390/v1-setjmp.h: Likewise.
19223         * sysdeps/s390/v1-sigjmp.c: Likewise.
19224         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
19225         Remove v1-longjmp_chk.
19226         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
19227         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
19228         Include debug/longjmp_chk.c and add versioning.
19229         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
19230         Include nptl/pt-longjmp.c and add versioning.
19231         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
19232         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
19233         Include __longjmp.c.
19234         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19235         Move to ...
19236         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
19237         (__getcontext): Remove setting __flags field.
19238         Add versioning.
19239         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19240         Don't restore upper high grps.
19241         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
19242         Likewise.
19243         (__swapcontext): Remove setting uc_flags field.
19244         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
19245         Delete file.
19246         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19247         Include __longjmp.c.
19248         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19249         Move to ...
19250         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
19251         (__getcontext): Remove setting __flags field.
19252         Add versioning.
19253         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
19254         (__swapcontext): Remove setting uc_flags field.
19255         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
19256         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
19257         Remove fields uc_high_gprs and __reserved.
19258         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
19259         New file with reverted content.
19260         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
19261         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
19262         Regenerated.
19263         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
19264         Regenerated.
19266 2014-07-31  Andreas Schwab  <schwab@suse.de>
19268         * config.h.in (HAVE_IFUNC): Define to 0.
19269         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
19270         definedness.
19272 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
19274         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19275         memmove-avx-unaligned, memcpy-avx-unaligned and
19276         mempcpy-avx-unaligned.
19277         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19278         Add tests for AVX memcpy functions.
19279         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
19280         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
19281         memcpy_chk.
19282         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
19283         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
19284         memmove_chk.
19285         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
19286         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
19287         mempcpy_chk.
19288         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
19289         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
19290         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
19292 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19294         [BZ #17213]
19295         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
19296         powerpc64le.
19298 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
19300         [BZ #16839]
19301         * manual/llio.texi: Add section about open file description locks.
19302         * manual/examples/ofdlocks.c: Example of open file description
19303         lock usage.
19304         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
19305         F_OFD_SETLK, and F_OFD_SETLKW.
19307 2014-07-23  Allan McRae  <allan@archlinux.org>
19309         * po/es.po: Update Spanish translation from translation project.
19311 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
19313         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
19315 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
19317         [BZ #17078]
19318         * sysdeps/arm/dl-machine.h (elf_machine_rela)
19319         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
19320         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
19322 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
19324         [BZ #17088]
19325         * math/fesetenv.c (__fesetenv)
19326         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
19327         * math/feupdateenv.c (__feupdateenv)
19328         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
19330         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
19331         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19332         (__ASSUME_SOCKETCALL): Do not define.
19334         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
19335         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
19336         (__ASSUME_SOCKETCALL): Do not define.
19337         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
19338         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
19339         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19340         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
19341         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19342         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
19343         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19344         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19346         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
19347         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
19348         (__ASSUME_SOCKETCALL): Do not define.
19349         (__ASSUME_IPC64): Define unconditionally.
19350         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
19351         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19352         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
19353         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19354         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
19355         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19356         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
19357         Likewise.
19359         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
19360         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
19361         (__ASSUME_SOCKETCALL): Do not define.
19362         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
19363         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19364         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19365         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
19366         (__ASSUME_REQUEUE_PI): Define unconditionally.
19367         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
19368         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
19369         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19370         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
19371         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19372         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19374         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
19375         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
19376         (__ASSUME_SOCKETCALL): Do not define.
19377         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
19378         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19379         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19380         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
19381         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19382         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19384         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
19385         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
19386         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19387         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
19388         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19389         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
19390         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19391         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
19392         (__ASSUME_GETCPU_SYSCALL): Likewise.
19394         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
19395         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
19396         cases for individual architectures.
19397         * sysdeps/gnu/configure: Regenerated.
19398         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
19399         LIBC_SLIBDIR_RTLDDIR.
19400         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
19401         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
19402         LIBC_SLIBDIR_RTLDDIR.
19403         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
19404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
19405         LIBC_SLIBDIR_RTLDDIR.
19406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
19407         Regenerated.
19408         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
19409         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
19410         file.
19411         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
19412         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
19413         file.
19414         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
19415         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
19416         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
19417         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
19419         * sysdeps/aarch64/shlib-versions: Move to ...
19420         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
19421         * sysdeps/alpha/shlib-versions: Move to ...
19422         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
19423         * sysdeps/arm/shlib-versions: Move to ...
19424         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
19425         * sysdeps/hppa/shlib-versions: Move all contents except for
19426         libgcc_s entry to ...
19427         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
19428         entry from ...
19429         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
19430         * sysdeps/ia64/shlib-versions: Move to ...
19431         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
19432         entry from ...
19433         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
19434         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
19435         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
19436         * sysdeps/microblaze/shlib-versions: Move to ...
19437         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
19438         * sysdeps/mips/shlib-versions: Move to ...
19439         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
19440         entry from ...
19441         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
19442         * sysdeps/tile/shlib-versions: Move to ...
19443         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
19444         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
19445         from ...
19446         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
19447         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
19448         entry from ...
19449         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
19451 2014-07-17  Will Newton  <will.newton@linaro.org>
19453         * sysdeps/arm/bits/atomic.h
19454         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
19455         (__arch_compare_and_exchange_bool_16_int): Likewise.
19456         (__arch_compare_and_exchange_bool_64_int): Likewise.
19458         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
19459         into an #else block.
19461 2014-07-16  Roland McGrath  <roland@hack.frob.com>
19463         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
19464         just Linux configurations.  Test empirically that the compiler sets
19465         __ARM_EABI__, rather than using the tuple to decide.
19466         * sysdeps/arm/preconfigure: Regenerated.
19467         * sysdeps/unix/sysv/linux/arm/configure: File removed.
19468         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
19469         contents appended ...
19470         * sysdeps/arm/configure.ac: ... here.
19471         * sysdeps/arm/configure: Regenerated.
19473 2014-07-15  Roland McGrath  <roland@hack.frob.com>
19475         * nptl/pthread_kill.c: New file.
19476         * nptl/pthread_sigmask.c: New file.
19477         * nptl/pthread_sigqueue.c: New file.
19479         * sysdeps/nptl/lowlevellock.h: New file.
19480         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
19481         * sysdeps/nptl/lowlevellock-futex.h: New file.
19483         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
19484         Remove dead declarations.
19486 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
19488         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
19489         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
19490         config-cflags-avx2.
19491         * sysdeps/x86_64/configure.ac: Likewise.
19492         * sysdeps/i386/configure: Regenerated.
19493         * sysdeps/x86_64/configure: Likewise.
19494         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19495         memset-avx2 only if config-cflags-avx2 is yes.
19496         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19497         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
19498         defined.
19499         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
19500         only if HAVE_AVX2_SUPPORT is defined.
19501         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19503 2014-07-14  Alan Modra  <amodra@gmail.com>
19505         [BZ #17153]
19506         * elf/elf.h (DT_PPC64_NUM): Correct value.
19507         * NEWS: Add to fixed bug list.
19509 2014-07-13  Jim Meyering  <meyering@fb.com>
19511         [BZ 17150]
19512         regex: don't deref NULL upon heap allocation failure
19513         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
19514         failure in one more place.
19515         To trigger the segfault, configure grep -with-included-regex,
19516         build it, and run these commands:
19517         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
19519 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
19521         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19523 2014-07-11  Richard Henderson  <rth@redhat.com>
19525         * sysdeps/aarch64/libm-test-ulps: Update.
19527 2014-07-10  Florian Weimer  <fweimer@redhat.com>
19529         [BZ #17135]
19530         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
19531         * nptl/allocatestack.c (__nptl_setxid_error): New function.
19532         (__nptl_setxid): Initialize error member.  Call
19533         __nptl_setxid_error.
19534         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
19535         * nptl/descr.h (struct xid_command): Add error member.
19536         * nptl/tst-setuid3.c: New file.
19537         * nptl/Makefile (tests): Add it.
19539 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19541         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
19542         New define.
19543         (__lll_trylock): Use __lll_base_trylock.
19544         (__lll_cond_trylock): Likewise.
19546 2014-07-10  Roland McGrath  <roland@hack.frob.com>
19548         * nptl/pthread_create.c (start_thread): Use atomic_or and
19549         lll_futex_wake directly rather than lll_robust_dead.
19550         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
19551         (lll_robust_dead): Macro removed.
19552         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
19553         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
19554         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
19555         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19556         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19557         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
19558         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
19559         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19560         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
19561         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19562         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19563         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19564         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19565         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19566         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19568         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
19569         Use atomic_compare_and_exchange_val_acq directly rather than
19570         lll_robust_trylock.
19571         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
19572         (__lll_robust_trylock, lll_robust_trylock): Removed.
19573         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
19574         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
19575         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19576         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19577         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
19578         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
19579         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19580         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
19581         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19582         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19583         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19584         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19585         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19586         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19588 2014-07-02  Florian Weimer  <fweimer@redhat.com>
19590         * manual/locale.texi (Locale Names): New section documenting
19591         locale name syntax.  Adjust menu and node chaining accordingly.
19592         (Choosing Locale): Reference Locale Names, Locale Categories.
19593         Mention setting LC_ALL=C.  Reflect that name syntax is now
19594         documented.
19595         (Locale Categories): New section title.  Reference Locale Names.
19596         LC_ALL is an environment variable, but not a category.
19597         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
19598         description, now in Locale Name.  Reference that section.  Locale
19599         name syntax is now documented.
19601 2014-07-02  Florian Weimer  <fweimer@redhat.com>
19603         [BZ #17137]
19604         * locale/findlocale.c (name_present, valid_locale_name): New
19605         functions.
19606         (_nl_find_locale): Use the loc_name variable to store name
19607         candidates.  Call name_present and valid_locale_name to check and
19608         validate locale names.  Return an error if the locale is invalid.
19610 2014-07-02  Florian Weimer  <fweimer@redhat.com>
19612         * locale/setlocale.c (setlocale): Use strdup for allocating
19613         composite name copy.
19615 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19617         Sync up with gnulib.
19618         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
19619         [!_LIBC && ENABLE_NLS]: Include gettext.h.
19620         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
19621         and _GL_ARG_NONNULL.
19622         [USE_UNLOCKED_IO]: Include unlocked-io.h.
19623         [!_LIBC]: Include code for Windows and Cygwin.
19624         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
19625         Include prototype for int strerror_r.
19626         [!_LIBC] (is_open): New function.
19627         (flush_stdout): New function.
19628         (print_errno_message): Use it.
19629         (error): Likewise.
19630         (error_at_line): Likewise.
19631         (error_tail) Add function attribute macros.  Use
19632         __builtin_expect.
19634         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
19636         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
19638         * io/ftw.c: Include sys/param.h unconditionally.
19640         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
19642         [BZ #17125]
19643         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
19644         libc_freeres_ptr.
19645         (freecache): New function to free CACHE on exit.
19647         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
19648         initialization.
19650 2014-07-09  David S. Miller  <davem@davemloft.net>
19652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19654         * sysdeps/sparc/nptl/internaltypes.h: Delete.
19655         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
19656         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
19657         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
19658         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
19659         * sysdeps/sparc/nptl/sem_init.c: Likewise.
19660         * sysdeps/sparc/nptl/sem_post.c: Likewise.
19661         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
19662         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
19663         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
19664         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
19665         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
19666         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
19668 2014-07-09  Andreas Schwab  <schwab@suse.de>
19670         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
19671         output.
19672         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
19673         (do_test): Likewise.
19675         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19677 2014-07-09  Will Newton  <will.newton@linaro.org>
19679         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
19680         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
19681         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
19682         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
19683         * sysdeps/hppa/start.S (_start): Likewise.
19685 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
19687         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
19689         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
19690         defined.
19692 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19694         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
19695         after checking that it is non-NULL.
19697         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
19699 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19701         * sysdeps/powerpc/memmove.c: Remove file.
19702         * sysdeps/powerpc/powerpc32/power4/memcopy.h
19703         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
19704         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19705         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
19706         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
19707         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
19708         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
19709         string memmove instead of removed powerpc one.
19711         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19712         [weak_alias]: Fix compiler warning due trailing data.
19713         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
19714         [weak_alias]: Likewise.
19715         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
19716         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
19718         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19719         (__libc_ifunc_impl_list): Add memmove functions.
19721 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19723         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
19724         Remove code.
19725         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
19726         Likewise
19727         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
19728         Likewise
19729         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
19730         Likewise
19731         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
19732         Likewise
19733         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
19734         Likewise
19735         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
19736         Likewise
19737         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
19738         Likewise
19739         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
19740         Likewise
19741         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
19742         Likewise
19743         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
19744         Likewise
19745         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
19746         Likewise
19747         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
19748         Likewise
19749         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
19750         Likewise
19751         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
19752         Likewise
19753         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
19754         Likewise
19755         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
19756         Likewise
19758 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19760         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
19761         to avoid alignment traps in non-cacheable memory.
19762         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19764         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
19765         multiarch objects.
19766         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
19767         file: multiarch power7 memmove.
19768         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
19769         multiarch default memmove.
19770         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
19771         multiarch memove for powerpc32/power4.
19773         * string/bcopy.c: Use full path to include memmove.c.
19774         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
19775         multiarch objects.
19776         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
19777         bcopy for powerpc64.
19778         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
19779         bcopy for powerpc64.
19780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
19781         and memmove implementations.
19782         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
19783         optimized multiarch memmove for POWER7/powerpc64.
19784         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
19785         default multiarch memmove for powerpc64.
19786         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
19787         multiarch for powerpc64.
19788         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
19789         for POWER7/powerpc64.
19790         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
19791         memmove for POWER7/powerpc64.
19793         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
19794         glibc default one.
19796         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
19797         __ELF_NATIVE_CLASS equal to 64.
19799 2014-07-07  Roland McGrath  <roland@hack.frob.com>
19801         * sysdeps/nptl/lowlevellock.h: File removed.
19803         * NEWS: NPTL is no longer an add-on!
19804         * nptl/internaltypes.h: Moved ...
19805         * sysdeps/nptl/internaltypes.h: ... here.
19806         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
19807         * sysdeps/nptl/fork.c: Likewise.
19808         * sysdeps/nptl/gai_misc.h: Likewise.
19809         * sysdeps/nptl/librt-cancellation.c: Likewise.
19810         * sysdeps/nptl/jmp-unwind.c: Likewise.
19811         * sysdeps/nptl/setxid.h: Likewise.
19812         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
19813         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
19814         * sysdeps/unix/sysv/linux/arm/Implies: New file.
19815         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
19816         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
19817         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
19818         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
19819         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
19820         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
19821         * sysdeps/unix/sysv/linux/mips/Implies: New file.
19822         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
19823         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
19824         * sysdeps/unix/sysv/linux/sh/Implies: New file.
19825         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
19826         * sysdeps/unix/sysv/linux/tile/Implies: New file.
19827         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
19828         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
19829         * nptl/Makeconfig: Moved ...
19830         * sysdeps/nptl/Makeconfig: ... here.
19831         * nptl/configure: File removed.
19832         * nptl/ANNOUNCE: File removed.
19833         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
19834         * sysdeps/unix/sysv/linux/configure: Regenerated.
19836         * nptl/Makefile (routines): Add libc_pthread_init,
19837         libc_multiple_threads, register-atfork and unregister-atfork.
19838         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
19839         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
19840         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
19841         pthread-pi-defines.sym, structsem.sym.
19842         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
19843         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
19844         [$(subdir) = nptl] (tests): Add tst-setgetname.
19845         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
19846         * sysdeps/unix/sysv/linux/sigaction.c: Just include
19847         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
19848         [!LIBC_SIGACTION]: Remove aliases.
19849         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
19850         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
19851         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
19852         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
19853         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
19854         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
19855         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19856         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19857         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
19858         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
19859         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
19860         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
19861         __libc_allocate_rtsig_private.
19862         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
19863         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
19864         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
19865         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
19866         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
19867         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
19868         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
19869         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
19870         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
19871         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
19872         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
19873         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
19874         * nptl/internaltypes.h: ... here.
19875         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
19876         * sysdeps/nptl/jmp-unwind.c: ... here.
19877         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
19878         * nptl/libc-lowlevellock.c: ... here.
19879         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
19880         * nptl/libc_multiple_threads.c: ... here.
19881         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
19882         * nptl/libc_pthread_init.c: ... here.
19883         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
19884         * nptl/lowlevelbarrier.sym: ... here.
19885         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
19886         * nptl/lowlevelcond.sym: ... here.
19887         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
19888         * nptl/lowlevellock.c: ... here.
19889         * nptl/lowlevellock.h: Moved ...
19890         * sysdeps/nptl/lowlevellock.h: ... here.
19891         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
19892         * nptl/lowlevelrobustlock.c: ... here.
19893         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
19894         * nptl/lowlevelrobustlock.sym: ... here.
19895         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
19896         * nptl/lowlevelrwlock.sym: ... here.
19897         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
19898         * nptl/pt-fork.c: ... here.
19899         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
19900         * nptl/pthread-pi-defines.sym: ... here.
19901         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
19902         * nptl/pthread_attr_getaffinity.c: ... here.
19903         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
19904         * nptl/pthread_attr_setaffinity.c: ... here.
19905         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
19906         * nptl/pthread_mutex_cond_lock.c: ... here.
19907         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19908         Update #include.
19909         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
19910         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
19911         * nptl/pthread_once.c: ... here, replacing old file.
19912         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
19913         * nptl/pthread_yield.c: ... here.
19914         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
19915         * nptl/register-atfork.c: ... here.
19916         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
19917         * nptl/sem_post.c: ... here.
19918         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
19919         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
19920         * nptl/sem_timedwait.c: ... here.
19921         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
19922         * nptl/sem_trywait.c: ... here.
19923         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
19924         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
19925         * nptl/sem_wait.c: ... here.
19926         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
19927         * nptl/structsem.sym: ... here.
19928         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
19929         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
19930         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
19931         * nptl/unregister-atfork.c: ... here.
19932         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
19933         * nptl/unwindbuf.sym: ... here.
19934         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
19935         * sysdeps/nptl/fork.c: ... here.
19936         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
19937         * sysdeps/nptl/fork.h: ... here.
19938         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
19939         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
19940         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
19941         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
19942         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
19943         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
19944         * sysdeps/unix/sysv/linux/getpid.c: ... here.
19945         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
19946         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
19947         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
19948         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
19949         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
19950         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
19951         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
19952         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
19953         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
19954         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
19955         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
19956         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
19957         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
19958         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
19959         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
19960         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
19961         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
19962         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
19963         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
19964         * sysdeps/unix/sysv/linux/raise.c: ... here.
19965         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
19966         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
19967         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
19968         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
19969         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
19970         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
19971         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
19972         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
19973         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
19974         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
19975         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
19976         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
19977         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
19978         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
19979         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
19981 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19983         * sysdeps/generic/memcopy.h: Add comment for
19984         MEMCPY_OK_FOR_FWD_MEMMOVE.
19986 2014-07-04  Will Newton  <will.newton@linaro.org>
19988         * string/memchr.c: Merge from gnulib.
19989         [_LIBC]: Remove conditionals.
19990         (__ptr_t): Remove define.
19991         (LONG_MAX_32_BITS): Likewise.
19992         (LONG_MAX): Likewise.
19993         (MEMCHR): Use ANSI prototype and optimize algorithm.
19995         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
19997 2014-07-03  Roland McGrath  <roland@hack.frob.com>
19999         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
20000         (lll_futex_timed_wait_bitset): Fix syscall argument count.
20002         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
20003         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
20004         in a bare environment with no <stdlib.h> installed.
20005         * sysdeps/nptl/configure: Regenerated.
20007         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
20009         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
20010         AC_EGREP_CPP for kernel header checks, so they only succeed if
20011         including <linux/version.h> actually works right.
20012         * sysdeps/unix/sysv/linux/configure: Regenerated.
20014         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
20015         value so it's not diagnosed as unused.
20017         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
20018         thing) with "ifeq ($(subdir),rt)".
20020 2014-07-03  Richard Henderson  <rth@redhat.com>
20022         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
20023         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
20024         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
20026         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
20027         (math_force_eval): New.
20029         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
20030         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
20032         * sysdeps/alpha/fpu/s_round.c: Remove file.
20033         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
20035         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
20036         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
20037         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
20038         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
20039         (_dl_start, print_statistics): Likewise.
20040         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
20041         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
20043         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20044         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20045         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20046         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20047         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20048         (HP_SMALL_TIMING_AVAIL): Define.
20049         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20050         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
20051         (HP_SMALL_TIMING_AVAIL): Define.
20052         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20053         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20055         * sysdeps/aarch64/hp-timing.h: New file.
20057         * sysdeps/generic/hp-timing.h: Remove dead comment.
20058         * sysdeps/generic/hp-timing-common.h: New file.
20059         * sysdeps/alpha/hp-timing.h: Include it.
20060         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
20061         * sysdeps/i386/i686/hp-timing.h: Likewise.
20062         * sysdeps/ia64/hp-timing.h: Likewise.
20063         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20064         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20065         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20066         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20067         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
20068         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
20069         (hp_timing_t): New.
20071         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
20072         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
20073         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
20074         * elf/rtld.c (_dl_start_final): Likewise.
20075         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
20076         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20077         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20078         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20079         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20080         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20081         (HP_TIMING_DIFF_INIT): Remove.
20082         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20083         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
20084         (HP_TIMING_DIFF_INIT): Remove.
20085         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20086         * sysdeps/i386/i686/hp-timing.c: Remove file.
20087         * sysdeps/x86_64/hp-timing.c: Remove file.
20088         * sysdeps/ia64/hp-timing.c: Remove file.
20089         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
20090         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
20091         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
20092         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
20094         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
20095         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
20096         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
20097         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20098         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20099         (HP_TIMING_ACCUM): Remove.
20100         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20101         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
20102         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20104         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
20105         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
20106         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
20107         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
20108         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
20109         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
20110         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
20111         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
20113         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
20115 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
20117         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
20119 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20121         Sync up with gettext.
20122         * intl/loadmsgcat.c: Define O_BINARY if not defined.
20123         [_MSC_VER]: Include malloc.h
20124         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
20125         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
20126         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
20127         TEMP_FAILURE_RETRY.  Cast return of alloca.
20128         [!_LIBC] Call gl_rwlock_init.
20129         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
20131 2014-07-02  Roland McGrath  <roland@hack.frob.com>
20133         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
20134         before checking its value.
20136 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20138         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
20140         * debug/memcpy_chk.c: Don't include pagecopy.h.
20141         * debug/mempcpy_chk.c: Likewise.
20142         * string/memcpy.c: Likewise.
20143         * string/memmove.c: Likewise.
20144         * sysdeps/powerpc/memmove.c: Likewise.
20145         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
20146         definition of PAGE_COPY_FWD_MAYBE here...
20147         * sysdeps/generic/pagecopy.h: ... from here.
20148         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
20150 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20151             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20153         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
20154         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
20155         optimizations.
20156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20157         (__libc_ifunc_impl_list): Likewise.
20158         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
20159         multiarch strcat for PPC64.
20160         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
20161         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
20163 2014-07-02  Roland McGrath  <roland@hack.frob.com>
20165         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
20167 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20169         * intl/loadmsgcat.c: Remove declaration of
20170         get_sysdep_segment_value.
20171         (get_sysdep_segment_value): Use ISO C style.
20172         (_nl_load_domain): Use ISO C style.  Get rid of redundant
20173         semicolon.  Fix typo and formatting in comment.
20174         (_nl_unload_domain): Use ISO C style.
20176         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
20178 2014-07-02  Will Newton  <will.newton@linaro.org>
20180         * malloc/obstack.c: Merge from gnulib master.
20181         [HAVE_CONFIG_H]: Remove conditional code.
20182         [!_LIBC]: Include config.h.
20183         [!ELIDE_CODE]: Don't include inttypes.h, include
20184         stdint.h unconditionally.
20185         (print_and_abort): Mark as _Noreturn.
20186         (_obstack_allocated_p): Mark as __attribute_pure__.
20187         (obstack_free): Rename to __obstack_free.
20188         [!__attribute__]: Remove conditional code.
20189         * malloc/obstack.h: Merge from gnulib master.
20190         [__cplusplus]: Move conditional down.
20191         [!__attribute_pure__]: Define __attribute_pure__ here
20192         if it is not already defined.
20193         (_obstack_memory_used): Mark as __attribute_pure__.
20194         [!__obstack_free]: Define as obstack_free.
20195         [__GNUC__]: Remove check for ancient NeXT gcc.
20197 2014-07-02  Will Newton  <will.newton@linaro.org>
20198             Paul Eggert  <eggert@cs.ucla.edu>
20200         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
20202 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20204         * resolv/gethnamaddr.c: Add comment warning that the file is
20205         not maintained.
20207 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
20209         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
20210         entries.
20212         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
20213         entry for aio_cancel and aio_cancel64.
20214         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
20215         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
20216         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
20217         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
20218         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
20219         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
20220         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
20221         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
20222         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
20223         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
20224         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
20225         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
20226         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
20228 2014-07-01  Roland McGrath  <roland@hack.frob.com>
20230         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
20231         * nptl/pthread_mutex_lock.c: Likewise.
20232         * nptl/pthread_mutex_timedlock.c: Likewise.
20233         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
20235 2014-07-01  Richard henderson  <rth@redhat.com>
20237         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
20238         (__isnan, __isnanl): Remove.
20239         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
20241         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20243 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20245         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20247 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20249         * resolv/nss_dns/dns-host.c (getanswer_r)
20250         [MULTI_PTRS_ARE_ALIASES]: Remove code.
20252 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
20254         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20255         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
20256         undefine.
20257         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
20258         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
20260 2014-07-01  Roland McGrath <roland@hack.frob.com>
20262         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
20263         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
20265         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
20266         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
20268         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
20269         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
20270         ... here.
20271         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
20272         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
20274         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
20275         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
20276         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
20277         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
20279         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
20280         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
20281         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
20282         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
20283         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
20284         Moved ...
20285         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
20286         ... here.
20287         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
20288         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
20289         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
20290         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
20291         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
20292         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
20293         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
20294         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
20295         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
20296         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
20297         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
20298         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
20299         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
20300         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
20301         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
20302         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
20303         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
20304         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
20305         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
20306         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
20307         ... here.
20308         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
20309         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
20310         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
20311         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
20312         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
20313         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
20314         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
20315         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
20317 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
20319         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
20320         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
20321         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
20322         Add sysdep.
20324 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20328 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
20330         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20331         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20333         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20335         * sysdeps/arm/libm-test-ulps: Regenerated.
20337 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
20338             Roland McGrath <roland@hack.frob.com>
20340         * test-skeleton.c (signal_handler): Kill the whole process group
20341         before killing the child individually.
20342         (main): Report any failure on `setpgid'.
20344 2014-06-30  Roland McGrath  <roland@hack.frob.com>
20346         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
20347         from _TLS_H to _ARM_NPTL_TLS_H.
20348         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
20349         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
20351 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
20353         [BZ #16539]
20354         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
20355         (__expm1l): Return argument unchanged when small but not
20356         subnormal.
20358         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
20359         include macro name.
20360         (_FP_UNPACK_RAW_1_P): Likewise.
20361         (_FP_PACK_RAW_1): Likewise.
20362         (_FP_PACK_RAW_1_P): Likewise.
20363         (_FP_MUL_MEAT_1_wide): Likewise.
20364         (_FP_MUL_MEAT_DW_1_hard): Likewise.
20365         (_FP_MUL_MEAT_1_hard): Likewise.
20366         (_FP_DIV_MEAT_1_imm): Likewise.
20367         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
20368         (_FP_DIV_MEAT_1_udiv): Likewise.
20369         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
20370         (_FP_UNPACK_RAW_2): Likewise.
20371         (_FP_UNPACK_RAW_2_P): Likewise.
20372         (_FP_PACK_RAW_2): Likewise.
20373         (_FP_PACK_RAW_2_P): Likewise.
20374         (_FP_MUL_MEAT_DW_2_wide): Likewise.
20375         (_FP_MUL_MEAT_2_wide): Likewise.
20376         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
20377         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
20378         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
20379         (_FP_MUL_MEAT_2_gmp): Likewise.
20380         (_FP_DIV_MEAT_2_udiv): Likewise.
20381         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
20382         (_FP_FRAC_SRL_4): Likewise.
20383         (_FP_FRAC_SRST_4): Likewise.
20384         (_FP_FRAC_SRS_4): Likewise.
20385         (_FP_UNPACK_RAW_4): Likewise.
20386         (_FP_UNPACK_RAW_4_P): Likewise.
20387         (_FP_PACK_RAW_4): Likewise.
20388         (_FP_PACK_RAW_4_P): Likewise.
20389         (_FP_MUL_MEAT_DW_4_wide): Likewise.
20390         (_FP_MUL_MEAT_4_wide): Likewise.
20391         (_FP_MUL_MEAT_4_gmp): Likewise.
20392         (umul_ppppmnnn): Likewise.
20393         (_FP_DIV_MEAT_4_udiv): Likewise.
20394         (__FP_FRAC_ADD_4): Likewise.
20395         (__FP_FRAC_SUB_3): Likewise.
20396         (__FP_FRAC_SUB_4): Likewise.
20397         (__FP_FRAC_DEC_3): Likewise.
20398         (__FP_FRAC_DEC_4): Likewise.
20399         (__FP_FRAC_ADDI_4): Likewise.
20400         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
20401         (_FP_FRAC_SRL_8): Likewise.
20402         (_FP_FRAC_SRS_8): Likewise.
20404         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
20405         include macro name.
20406         (FP_UNPACK_RAW_EP): Likewise.
20407         (FP_PACK_RAW_E): Likewise.
20408         (FP_PACK_RAW_EP): Likewise.
20409         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
20410         (_FP_ISSIGNAN): Likewise.
20411         (_FP_ADD_INTERNAL): Likewise.
20412         (_FP_FMA): Likewise.
20413         (_FP_CMP): Likewise.
20414         (_FP_SQRT): Likewise.
20415         (_FP_TO_INT): Likewise.
20416         (_FP_FROM_INT): Likewise.
20417         (FP_EXTEND): Likewise.
20418         (_FP_DIV_MEAT_N_loop): Likewise.
20420 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
20422         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
20423         throughout.
20425 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
20427         [BZ #17097]
20428         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
20429         result with correct sign in case of exponents that produce
20430         overflow except for X very close to 1.
20432 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
20434         mktime: merge #if/#ifdef usage from glibc
20435         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
20436         as that works with both Glibc's and Gnulib's style.
20437         See thread starting at Siddhesh Poyarekar's bug report at:
20438         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
20440 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20442         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
20443         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
20444         * sysdeps/tile/tilegx/memmove.c: Remove file.
20446 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
20448         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
20449         abi-name definition.
20450         * scripts/soversions.awk: Do not handle or generate ABI lines.
20451         * shlib-versions: Remove ABI entries.
20452         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
20453         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
20455 2014-06-27  Roland McGrath  <roland@hack.frob.com>
20457         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
20458         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
20459         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
20460         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
20461         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
20462         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
20463         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
20464         Moved ...
20465         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
20466         ... here.
20467         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
20468         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
20469         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
20470         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
20471         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
20472         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
20473         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
20474         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
20475         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
20476         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
20477         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
20478         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
20479         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
20480         Moved ...
20481         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
20482         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
20483         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
20484         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
20485         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
20486         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
20487         Moved ...
20488         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
20489         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
20490         Moved ...
20491         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
20492         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
20493         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
20494         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
20495         Moved ...
20496         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
20497         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
20498         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
20499         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
20500         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
20501         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
20502         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
20503         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
20504         Moved ...
20505         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
20506         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
20507         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
20508         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
20509         Moved ...
20510         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
20511         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
20512         Moved ...
20513         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
20514         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
20515         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
20516         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
20517         Moved ...
20518         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
20519         ... here.
20520         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
20521         Identical file removed.
20522         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
20523         Moved ...
20524         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
20525         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
20526         Identical file removed.
20527         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
20528         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
20529         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
20530         Moved ...
20531         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
20532         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
20533         Identical file removed.
20534         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
20535         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
20536         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
20537         Identical file removed.
20538         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
20539         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
20540         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
20541         Identical file removed.
20542         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
20543         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
20544         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
20545         Identical file removed.
20546         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
20547         Moved ...
20548         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
20549         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
20550         Identical file removed.
20551         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
20552         Moved ...
20553         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
20554         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
20555         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
20556         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
20557         Identical file removed.
20558         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
20559         Moved ...
20560         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
20561         ... here.
20562         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
20563         Identical file removed.
20564         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
20565         Moved ...
20566         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
20567         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
20568         Identical file removed.
20569         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
20570         Moved ...
20571         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
20572         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
20573         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
20574         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
20575         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
20576         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
20577         Moved ...
20578         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
20579         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
20580         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
20582         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
20583         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
20584         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
20585         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
20586         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
20588 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
20590         [BZ #17092]
20591         * nscd/nscd.c (monitor_child): Return exit status of child
20592         instead of return value from wait syscall.
20594 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
20596         * configure.ac (libc_commonpagesize): Remove variable.
20597         (libc_relro_required): Likewise.
20598         (libc_cv_z_relro): Remove configure test.
20599         * configure: Regenerated.
20600         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
20601         variable.
20602         (libc_relro_required): Likewise.
20603         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
20604         (libc_relro_required): Likewise.
20605         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
20606         (libc_relro_required): Likewise.
20607         * sysdeps/arm/preconfigure: Regenerated.
20608         * sysdeps/ia64/preconfigure: Remove file.
20609         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
20610         variable.
20611         (libc_relro_required): Likewise.
20613         [BZ #16561]
20614         [BZ #16562]
20615         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
20616         (__ieee754_yn): Set FE_TONEAREST mode internally and then
20617         recompute overflowing results in original rounding mode.
20618         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
20619         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
20620         recompute overflowing results in original rounding mode.
20621         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
20622         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
20623         recompute overflowing results in original rounding mode.
20624         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
20625         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
20626         recompute overflowing results in original rounding mode.
20627         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
20628         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
20629         recompute overflowing results in original rounding mode.
20630         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
20631         (libc_feholdsetround_ctx): New macro.
20632         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
20633         * sysdeps/i386/fpu/libm-test-ulps: Update.
20634         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
20636 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20638         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
20639         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
20640         corresponding .cpsetup call.
20642 2014-06-26  Roland McGrath  <roland@hack.frob.com>
20644         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
20645         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
20646         * sysdeps/arm/Makefile [$(subdir) = csu]
20647         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
20648         (static-only-routines): Add aeabi_read_tp here.
20649         (shared-only-routines): Add libc-aeabi_read_tp here.
20650         (CFLAGS-libc-start.c): Add -fexceptions here.
20651         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
20652         (sysdep_routines, static-only-routines, shared-only-routines):
20653         Don't add to these here.
20654         (CFLAGS-libc-start.c): Likewise.
20656         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
20657         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20658         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
20659         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20660         * sysdeps/arm/Makefile [$(subdir) = rt]
20661         (librt-sysdep_routines, librt-shared-only-routines):
20662         Append rt-aeabi_unwind_cpp_pr1 here.
20663         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
20664         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
20665         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
20666         (libpthread-sysdep_routines, libpthread-shared-only-routines):
20667         Append nptl-aeabi_unwind_cpp_pr1 here.
20668         (tests): Filter out tst-cleanupx4 here.
20669         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
20670         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
20671         Don't do those here.
20673 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20675         * scripts/list-sources.sh: Do not handle ports specially.
20677 2014-06-26  Roland McGrath  <roland@hack.frob.com>
20679         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
20680         * sysdeps/arm/feupdateenv.c: Likewise.
20682         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
20684 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20686         * manual/texinfo.tex: Update to version 2014-05-05.10 with
20687         trailing whitespace removed.
20688         * scripts/config.guess: Update to version 2014-03-23.
20689         * scripts/config.sub: Update to version 2014-05-01
20690         * scripts/install-sh: Update to version 2013-12-25.23.
20691         * scripts/move-if-change: Update from gnulib.
20693 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20695         * debug/memmove_chk.c: Remove pagecopy.h include.
20697 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
20699         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
20700         identical to gnulib mktime.
20702 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20704         * configure.ac: Do not test for machine being rs6000.  Do not test
20705         for powerpc*-*soft.
20706         * configure: Regenerated.
20708         [BZ #11505]
20709         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
20710         test.
20711         * configure: Regenerated.
20712         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
20713         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
20714         Remove configure test.
20715         * sysdeps/arm/configure: Regenerated.
20716         * sysdeps/nptl/configure.ac: Do not check
20717         libc_cv_asm_cfi_directives.
20718         * sysdeps/nptl/configure: Regenerated.
20719         * sysdeps/x86_64/nptl/configure.ac: Remove file.
20720         * sysdeps/x86_64/nptl/configure: Remove generated file.
20721         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
20722         unconditional.
20723         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
20725 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20727         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
20728         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
20729         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
20730         it is defined.
20732         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
20733         instead of whether it is defined.
20734         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
20735         * sysdeps/hppa/dl-machine.h: Likewise.
20736         * sysdeps/ia64/dl-machine.h: Likewise.
20737         * sysdeps/m68k/dl-machine.h: Likewise.
20738         * sysdeps/microblaze/dl-machine.h: Likewise.
20739         * sysdeps/mips/dl-machine.: Likewise.
20740         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20741         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20742         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20743         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20744         * sysdeps/sh/dl-machine.h: Likewise.
20745         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20746         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20747         * sysdeps/tile/dl-machine.h: Likewise.
20748         * sysdeps/x86_64/dl-machine.h: Likewise.
20750         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
20751         code.
20752         (verify_persistent_db): Likewise.
20754 2014-06-26  Roland McGrath  <roland@hack.frob.com>
20756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
20757         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
20758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
20759         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
20760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20761         Moved ...
20762         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
20763         ... here.
20764         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
20765         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
20766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
20767         Identical file removed.
20768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
20769         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
20770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
20771         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
20772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
20773         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
20774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
20775         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
20776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
20777         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
20778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20779         Moved ...
20780         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
20781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
20782         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
20783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
20784         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
20785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20786         Moved ...
20787         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
20788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
20789         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
20790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
20791         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
20792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20793         Identical file removed.
20794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
20795         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
20796         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
20797         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
20798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20799         Moved ...
20800         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
20801         ... here.
20802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
20803         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
20804         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
20805         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
20806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
20807         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
20808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
20809         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
20810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
20811         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
20812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20813         Moved ...
20814         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
20815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
20816         Moved ...
20817         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
20818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
20819         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
20820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20821         Moved ...
20822         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
20823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
20824         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
20826         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
20827         folded into ...
20828         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
20829         * sysdeps/unix/sysv/linux/s390/Versions
20830         (libpthread: GLIBC_2.19): New version set.
20831         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
20832         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
20833         (librt: GLIBC_2.3.3): New version set.
20834         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
20835         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
20836         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
20837         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
20838         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
20839         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
20840         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
20841         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
20842         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
20843         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
20844         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
20845         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
20846         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
20847         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
20848         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
20849         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
20850         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
20851         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
20852         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
20853         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
20854         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
20855         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
20856         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
20857         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
20858         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
20859         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
20860         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
20861         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
20862         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
20863         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
20864         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
20865         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
20866         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
20867         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
20868         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
20869         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
20870         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
20871         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
20872         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
20873         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
20874         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
20875         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
20876         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
20877         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
20878         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
20880         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
20881         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
20882         (__libc_vfork): Define the function under this name.
20883         [!NOT_IN_libc] (__vfork): Make this an alias.
20884         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
20885         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
20886         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
20887         (__libc_vfork): Define the function under this name.
20888         [!NOT_IN_libc] (__vfork): Make this an alias.
20889         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
20890         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
20891         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
20892         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
20893         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
20894         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20896         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
20897         code that was previously under [RESET_PID].
20898         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
20899         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
20900         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
20902         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
20903         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
20904         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
20905         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
20906         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
20907         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
20908         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
20909         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
20910         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
20911         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
20912         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
20913         Moved ...
20914         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
20915         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
20916         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
20917         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
20918         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
20919         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
20920         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
20921         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
20922         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
20923         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
20924         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
20925         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
20926         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
20927         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
20928         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
20929         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
20930         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
20931         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
20932         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
20933         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
20934         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
20935         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
20936         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
20937         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
20938         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
20939         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
20940         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
20941         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
20942         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
20944 2014-06-25  Roland McGrath  <roland@hack.frob.com>
20946         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
20947         that was previously under [RESET_PID].
20948         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
20950 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
20952         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
20953         not undefine and redefine.
20954         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
20955         [O_CLOEXEC]: Make code unconditional.
20956         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
20957         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
20958         <kernel-features.h>.
20959         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
20960         conditional variable definition.
20961         (shm_open) [O_CLOEXEC]: Make code unconditional.
20962         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
20963         code.
20965         * configure.ac (USE_REGPARMS): Don't define here.
20966         * configure: Regenerated.
20967         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
20968         * sysdeps/i386/configure: Regenerated.
20970         * nptl/createthread.c: Don't include kernel-features.h.
20971         * nptl/pthread_cancel.c: Likewise.
20972         * nptl/pthread_condattr_setclock.c: Likewise.
20973         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
20974         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
20975         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
20976         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
20977         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
20978         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
20979         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
20980         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
20981         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
20982         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
20983         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
20984         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
20985         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
20986         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
20987         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
20988         * nscd/gai.c: Likewise.
20989         * nss/nss_db/db-open.c: Likewise.
20990         * sysdeps/generic/ldsodefs.h: Likewise.
20991         * sysdeps/sh/nptl/tls.h: Likewise.
20992         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
20993         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
20994         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
20995         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
20996         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
20997         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
20998         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
20999         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21000         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21001         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21002         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21003         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21004         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
21005         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
21006         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
21007         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
21008         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
21009         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
21010         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
21011         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
21012         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
21013         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
21014         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
21015         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
21016         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
21017         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
21018         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
21019         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
21020         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
21021         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
21022         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
21023         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
21024         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
21025         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21026         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21027         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
21028         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21029         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
21030         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
21031         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
21032         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21033         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
21034         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
21035         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21036         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
21037         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
21038         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
21039         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
21040         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
21041         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
21042         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
21043         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
21044         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
21045         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
21046         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
21047         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21048         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21049         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
21050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
21052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
21053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
21054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
21055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
21056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
21057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
21058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
21061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
21062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
21063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
21064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
21070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
21071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
21072         * sysdeps/unix/sysv/linux/pread.c: Likewise.
21073         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
21074         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
21075         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
21076         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
21077         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
21078         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
21079         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
21080         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
21081         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
21082         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
21083         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
21084         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
21085         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
21086         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
21087         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
21088         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21089         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
21090         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
21091         * sysdeps/unix/sysv/linux/system.c: Likewise.
21092         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
21093         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21094         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21095         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21096         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21097         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
21098         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21100         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
21101         * configure: Regenerated.
21102         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
21104         * configure.ac (base_machine): Do not set specially for particular
21105         machines here.
21106         * configure: Regenerated.
21107         * sysdeps/powerpc/preconfigure: Move machine and base_machine
21108         settings from configure.ac.
21109         * sysdeps/i386/preconfigure: New file.
21110         * sysdeps/s390/preconfigure: Likewise.
21111         * sysdeps/sh/preconfigure: Likewise.
21112         * sysdeps/sparc/preconfigure: Likewise.
21114 2014-06-25  Roland McGrath  <roland@hack.frob.com>
21116         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
21117         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
21118         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
21119         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
21120         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
21121         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
21122         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
21123         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
21124         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
21125         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
21126         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
21127         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
21128         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
21129         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
21130         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
21131         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
21132         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
21133         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
21134         * sysdeps/sparc/sparc64/Makefile: ... appended here.
21136         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
21137         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
21138         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
21139         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
21140         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
21141         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
21142         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
21143         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
21144         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
21145         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
21146         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
21147         * sysdeps/sparc/sparc32/sem_post.c: ... here.
21148         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
21149         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
21150         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
21151         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
21152         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
21153         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
21154         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
21155         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
21156         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
21157         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
21158         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
21159         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
21160         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
21161         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
21162         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
21163         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
21164         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
21165         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
21166         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
21167         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
21168         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
21169         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
21170         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
21171         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
21172         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
21173         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
21175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
21176         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
21177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
21178         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
21179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21180         Moved ...
21181         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
21182         ... here.
21183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
21184         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
21185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
21186         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
21187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
21188         Moved ...
21189         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
21190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
21191         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
21192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
21193         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
21194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
21195         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
21196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21197         Moved ...
21198         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
21199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21200         Moved ...
21201         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
21202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
21203         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
21204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21205         Moved ...
21206         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
21207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
21208         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
21209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
21210         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
21211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
21212         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
21213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
21214         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
21215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21216         Moved ...
21217         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
21218         ... here.
21219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
21220         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
21221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
21222         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
21223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
21224         Moved ...
21225         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
21226         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
21227         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
21228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
21229         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
21230         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
21231         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
21232         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21233         Moved ...
21234         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
21235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21236         Moved ...
21237         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
21238         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
21239         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
21240         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21241         Moved ...
21242         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
21243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
21244         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
21245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
21246         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
21248 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21250         * timezone/checktab.awk: Update from tzcode 2014e.
21251         * timezone/private.h: Likewise.
21252         * timezone/tzfile.h: Likewise.
21253         * timezone/zdump.c: Likewise.
21254         * timezone/zic.c: Likewise.
21256         * sysdeps/unix/sysv/linux/kernel-features.h
21257         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
21258         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
21259         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
21260         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21261         Remove conditional code.
21263 2014-06-25  Will Newton  <will.newton@linaro.org>
21265         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
21266         (_dl_arm_cap_flags): Add HWCAP2 values.
21267         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
21268         (_DL_HWCAP_COUNT): Increase to 37.
21269         (_DL_HWCAP_LAST): New define.
21270         (_DL_HWCAP2_LAST): New define.
21271         (_dl_procinfo): Add support for printing
21272         AT_HWCAP2 entries.
21273         (_dl_string_hwcap): Use _dl_hwcap_string.
21275 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21279 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21281         * README: Do not mention ports directory.
21283         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
21284         Remove macro.
21285         * sysdeps/unix/sysv/linux/futimes.c: Do not include
21286         <kernel-features.h>.
21287         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
21288         conditional variable definition.
21289         (__futimes): Update comment.
21290         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
21291         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
21293         [BZ #16560]
21294         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
21295         arguments close to 0.
21296         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
21297         Likewise.
21298         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
21299         Likewise.
21300         * math/auto-libm-test-in: Add more tests of exp10.
21301         * math/auto-libm-test-out: Regenerated.
21302         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21304         * sysdeps/unix/sysv/linux/kernel-features.h
21305         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
21306         * sysdeps/unix/sysv/linux/readv.c: Do not include
21307         <kernel-features.h>.
21308         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
21309         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
21310         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
21311         unconditional.
21312         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
21313         conditional code.
21314         * sysdeps/unix/sysv/linux/writev.c: Do not include
21315         <kernel-features.h>.
21316         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
21317         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
21318         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
21319         unconditional.
21320         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
21321         conditional code.
21323 2014-06-25  Will Newton  <will.newton@linaro.org>
21325         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
21326         comment changes throughout the file.  Remove checks
21327         for HAVE_*_H definitions that are not required.
21328         (__gen_tempname): Call abort if an unknown kind value is
21329         passed.
21331 2014-06-25  Andreas Schwab  <schwab@suse.de>
21333         [BZ #17086]
21334         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
21335         scalbln, scalblnf, scalblnl in libc.
21337 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21339         [BZ #17086]
21340         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
21341         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
21342         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
21344 2014-06-24  Roland McGrath  <roland@hack.frob.com>
21346         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
21347         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
21348         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
21349         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
21350         Update #include.
21351         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
21352         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
21353         Update #include.
21354         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
21355         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
21356         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
21357         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
21358         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
21359         * sysdeps/x86/bits/pthreadtypes.h: ... here.
21360         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
21361         * sysdeps/x86/bits/semaphore.h: ... here.
21362         * sysdeps/x86/nptl/elide.h: Moved ...
21363         * sysdeps/x86/elide.h: ... here.
21364         * sysdeps/x86_64/nptl/Implies: File removed.
21365         * sysdeps/i386/nptl/Implies: File removed.
21367 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
21369         [BZ #16539]
21370         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
21371         return the argument for normal arguments with exponent below -64.
21372         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21373         Likewise.
21374         * math/auto-libm-test-in: Add another test of expm1.
21375         * math/auto-libm-test-out: Regenerated.
21377         [BZ #16287]
21378         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
21379         calling __erfcl for arguments at least 16.
21380         * math/auto-libm-test-in: Add more tests of erf.
21381         * math/auto-libm-test-out: Regenerated.
21383         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
21384         individual architectures.
21385         * sysdeps/unix/sysv/linux/configure: Regenerated.
21386         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
21387         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
21388         * sysdeps/unix/sysv/linux/powerpc/configure.ac
21389         (ldd_rewrite_script): Define variable.
21390         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
21391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
21392         file.
21393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
21394         generated file.
21395         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
21396         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
21397         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
21398         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
21399         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
21400         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
21401         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
21402         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
21404 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21406         [BZ #17084]
21407         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
21408         Rename member __data.d to __data.__elision_data.
21410 2014-06-24  Wilco  <wdijkstr@arm.com>
21412         * NEWS: Add 16918 to fixed bug list.
21414 2014-06-24  Wilco  <wdijkstr@arm.com>
21416         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
21418 2014-06-24  Wilco  <wdijkstr@arm.com>
21420         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
21421         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
21422         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
21423         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
21424         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
21425         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
21426         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
21427         Use _FPU_MASK_RM.
21429 2014-06-24  Wilco  <wdijkstr@arm.com>
21431         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
21433 2014-06-24  Wilco  <wdijkstr@arm.com>
21435         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
21436         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
21437         * sysdeps/arm/fesetround.c (fesetround): Remove space.
21438         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
21440 2014-06-24  Wilco  <wdijkstr@arm.com>
21442         [BZ #16918]
21443         * sysdeps/arm/feupdateenv.c (feupdateenv):
21444         Rewrite to reduce FPSCR accesses and fix return value.
21446 2014-06-24  Wilco  <wdijkstr@arm.com>
21448         * sysdeps/arm/fclrexcpt.c (feclearexcept):
21449         Optimize to avoid unnecessary FPSCR writes.
21450         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
21451         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
21452         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
21453         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
21455 2014-06-24  Wilco  <wdijkstr@arm.com>
21457         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
21458         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
21459         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
21460         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
21461         Call libc_fetestexcept_vfp.
21462         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
21463         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
21464         __SOFTFP__ ifdef so that they can be built for softfp.
21466 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21468         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
21469         argument type signed char.
21471         * Makerules (check-abi): Dump diff of symlist if the test
21472         fails.
21474 2014-06-23  Roland McGrath  <roland@hack.frob.com>
21476         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
21477         using abort.
21479         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21480         Remove unused variable ST.
21482 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
21484         [BZ #16354]
21485         [BZ #17061]
21486         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
21487         small arguments before calling __expm1.
21488         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
21489         small arguments before calling __expm1f.
21490         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
21491         small arguments before calling __expm1l.
21492         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
21493         Likewise.
21494         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
21495         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
21496         spurious underflow for some cosh tests.
21497         * math/auto-libm-test-out: Regenerated.
21498         * sysdeps/i386/fpu/libm-test-ulps: Update.
21500         [BZ #17050]
21501         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
21502         (__ieee754_y1): Set errno if return value overflows.
21503         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
21504         (__ieee754_y1f): Set errno if return value overflows.
21505         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
21506         (__ieee754_y1l): Set errno if return value overflows.
21507         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
21508         (__ieee754_y1l): Set errno if return value overflows.
21509         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
21510         * math/auto-libm-test-out: Regenerated.
21512         * math/gen-auto-libm-tests.c: Document use of
21513         ignore-zero-inf-sign.
21514         (input_flag_type): Add value flag_ignore_zero_inf_sign.
21515         (input_flags): Add ignore-zero-inf-sign.
21516         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
21517         * math/gen-libm-test.pl (generate_testfile): Handle
21518         ignore-zero-inf-sign.
21519         * math/auto-libm-test-in: Mark some cpow tests with
21520         ignore-zero-inf-sign and some with xfail-rounding.
21521         * math/auto-libm-test-out: Regenerated.
21522         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
21523         * sysdeps/i386/fpu/libm-test-ulps: Update.
21524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21526         [BZ #16315]
21527         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
21528         overflowing or underflowing operations take place with sign of
21529         result.
21530         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21531         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21532         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
21533         (__ieee754_pow): Recompute overflowing and underflowing results in
21534         original rounding mode.
21535         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
21536         (__powl_helper): Allow negative argument X and scale negated value
21537         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
21538         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
21539         overflowing or underflowing operations take place with sign of
21540         result.
21541         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
21542         Include <math.h>.
21543         * math/auto-libm-test-in: Add more tests of pow.
21544         * math/auto-libm-test-out: Regenerated.
21545         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
21546         (pow_tonearest_test_data): Remove.
21547         (pow_test_tonearest): Likewise.
21548         (pow_towardzero_test_data): Likewise.
21549         (pow_test_towardzero): Likewise.
21550         (pow_downward_test_data): Likewise.
21551         (pow_test_downward): Likewise.
21552         (pow_upward_test_data): Likewise.
21553         (pow_test_upward): Likewise.
21554         (main): Don't call removed functions.
21555         * sysdeps/i386/fpu/libm-test-ulps: Update.
21556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21558 2014-06-23  Roland McGrath  <roland@hack.frob.com>
21560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
21561         Moved ...
21562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
21563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21564         Moved ...
21565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
21566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21567         Moved ...
21568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
21569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21570         Moved ...
21571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
21572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21573         File removed.
21574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21575         File removed.
21576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
21577         File removed.
21578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
21579         File removed.
21580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
21581         File removed.
21582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
21583         File removed.
21584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
21585         File removed.
21586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21587         File removed.
21588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
21589         File removed.
21590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21591         File removed.
21592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
21593         File removed.
21594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
21595         File removed.
21596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
21597         Moved ...
21598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
21599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
21600         Moved ...
21601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
21602         ... here.
21603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
21604         Moved ...
21605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
21606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
21607         Moved ...
21608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
21609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
21610         Moved ...
21611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
21612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
21613         Moved ...
21614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
21615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
21616         Moved ...
21617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
21618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
21619         Moved ...
21620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
21621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
21622         Moved ...
21623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
21624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
21625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
21626         ... here.
21627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
21628         Moved ...
21629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
21630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21631         Moved ...
21632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21633         ... here.
21634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
21635         Moved ...
21636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21637         ... here.
21638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21639         Moved ...
21640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
21641         ... here.
21642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21643         Moved ...
21644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
21645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21646         Moved ...
21647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
21648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
21649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
21650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21651         Moved ...
21652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
21653         ... here.
21654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21655         Moved ...
21656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
21657         ... here.
21658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21659         Moved ...
21660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
21661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21662         Moved ...
21663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
21664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21665         Moved ...
21666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
21667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21668         Moved ...
21669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
21670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21671         Moved ...
21672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
21673         ... here.
21674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21675         Moved ...
21676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
21677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21678         Moved ...
21679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
21680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21681         Moved ...
21682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
21683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21684         Moved ...
21685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
21686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
21687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
21688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21689         Moved ...
21690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
21691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21692         Moved ...
21693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
21694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21695         Moved ...
21696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
21697         ... here.
21698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21699         Moved ...
21700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
21701         ... here.
21702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21703         Moved ...
21704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
21705         ... here.
21706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21707         Moved ...
21708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
21709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21710         Moved ...
21711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
21712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21713         Moved ...
21714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
21715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21716         Moved ...
21717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
21718         ... here.
21719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21720         Moved ...
21721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
21722         ... here.
21723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21724         Moved ...
21725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
21726         ... here.
21727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21728         Moved ...
21729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
21730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21731         Moved ...
21732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
21734 2014-06-23  Will Newton  <will.newton@linaro.org>
21735             Wilco  <wdijkstr@arm.com>
21737         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
21738         implementation.  Include get-rounding-mode.h.
21739         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
21740         [!libc_feholdsetround_noex_ctx]: Define
21741         libc_feholdsetround_noex_ctx.
21742         [!libc_feholdsetround_noexf_ctx]: Define
21743         libc_feholdsetround_noexf_ctx.
21744         [!libc_feholdsetround_noexl_ctx]: Define
21745         libc_feholdsetround_noexl_ctx.
21746         (libc_feholdsetround_ctx): New function.
21747         (libc_feresetround_ctx): New function.
21748         (libc_feholdsetround_noex_ctx): New function.
21749         (libc_feresetround_noex_ctx): New function.
21751 2014-06-23  Roland McGrath  <roland@hack.frob.com>
21753         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
21754         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
21755         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
21756         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
21757         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
21758         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
21760         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
21761         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
21762         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
21763         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
21764         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
21765         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
21766         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
21767         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
21768         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
21769         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
21770         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
21771         Moved ...
21772         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
21773         ... here.
21774         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
21775         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
21776         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
21777         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
21778         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
21779         Moved ...
21780         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
21781         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
21782         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
21783         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
21784         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
21785         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
21786         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
21787         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
21788         Moved ...
21789         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
21790         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
21791         Moved ...
21792         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
21793         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
21794         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
21795         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
21796         Moved ...
21797         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
21798         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
21799         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
21800         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
21801         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
21802         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
21803         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
21804         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
21805         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
21806         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
21807         Moved ...
21808         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
21809         ... here.
21810         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
21811         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
21812         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
21813         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
21814         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
21815         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
21816         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
21817         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
21818         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
21819         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
21820         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
21821         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
21822         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
21823         Moved ...
21824         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
21825         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
21826         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
21827         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
21828         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
21829         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
21830         Moved ...
21831         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
21832         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
21833         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
21834         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
21835         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
21837         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
21838         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
21839         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
21840         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
21841         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
21842         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
21843         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
21844         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
21845         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
21846         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
21847         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
21848         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
21849         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
21850         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
21851         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
21852         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
21853         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
21854         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
21855         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
21856         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
21857         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
21858         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
21859         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
21860         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
21861         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
21862         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
21863         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
21864         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
21866 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
21868         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
21869         (FALLOC_FL_COLLAPSE_RANGE): New macro.
21870         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
21871         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
21872         (IPV6_PMTUDISC_INTERFACE): Likewise.
21873         (IPV6_PMTUDISC_OMIT): Likewise.
21875 2014-06-23  Andreas Schwab  <schwab@suse.de>
21877         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
21878         Remove unused errout label.
21880 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21882         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
21883         macro: hardware supports Vector Crypto instructions.
21885 2014-06-23  Will Newton  <will.newton@linaro.org>
21887         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
21888         rather than __builtin_expect.
21890         * elf/dl-lookup.c (undefined_msg): Remove variable.
21891         (_dl_lookup_symbol_x): Replace undefined_msg with string
21892         literal.
21894         * elf/dl-lookup.c (do_lookup_unique): New function.
21895         (do_lookup_x): Move STB_GNU_UNIQUE handling code
21896         to a separate function.
21898 2014-06-23  Andreas Schwab  <schwab@suse.de>
21900         [BZ #17079]
21901         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
21902         before reading the next line.
21904 2014-06-23  Will Newton  <will.newton@linaro.org>
21906         * test-skeleton.c (signal_handler): Use printf and %m
21907         rather than perror.  Use printf rather than fprintf to
21908         stderr.  Use puts rather than fputs to stderr.
21909         (main): Likewise.
21911 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
21913         * nscd/nscd.c (thread_info_t): Remove typedef.
21914         (thread_info): Remove variable.
21916 2014-06-21  Allan McRae  <allan@archlinux.org>
21918         * NEWS: Mention CVE-2014-4043.
21920 2014-06-20  Roland McGrath  <roland@hack.frob.com>
21922         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
21923         * nptl/smp.h: ... here.
21925         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
21927         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
21928         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
21929         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
21930         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
21932         * nptl/allocatestack.c: Include <stack-aliasing.h>.
21933         * nptl/stack-aliasing.h: New file.
21934         * sysdeps/i386/i686/stack-aliasing.h: New file.
21935         * sysdeps/i386/i686/nptl/Makefile: File removed.
21936         * sysdeps/x86_64/stack-aliasing.h: New file.
21937         * sysdeps/x86_64/nptl/Makefile
21938         (CFLAGS-pthread_create.c): Variable removed.
21940         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
21941         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
21942         old file.
21943         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
21944         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
21945         old file.
21947 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
21949         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21950         (__ASSUME_SIGFRAME_V2): Remove macro.
21951         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
21952         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
21953         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
21954         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
21955         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
21956         Declare as function.  Remove conditional macro definitions.
21957         (__default_rt_sa_restorer): Likewise.
21958         (__default_sa_restorer_v1): Remove declaration.
21959         (__default_sa_restorer_v2): Likewise.
21960         (__default_rt_sa_restorer_v1): Likewise.
21961         (__default_rt_sa_restorer_v2): Likewise.
21962         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
21963         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
21964         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
21966 2014-06-20  Roland McGrath  <roland@hack.frob.com>
21968         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
21969         (libpthread-routines): Add sysdep.
21970         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
21971         * sysdeps/unix/sysv/linux/sparc/Versions
21972         (libpthread: GLIBC_2.3.3): New version set.
21973         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
21974         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
21975         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
21976         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
21977         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
21978         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
21979         Moved ...
21980         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
21981         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
21982         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
21983         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
21984         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
21985         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
21986         * sysdeps/sparc/nptl/sem_init.c: ... here.
21987         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
21988         * sysdeps/sparc/nptl/sem_post.c: ... here.
21989         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
21990         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
21991         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
21992         * sysdeps/sparc/nptl/sem_wait.c: ... here.
21993         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
21994         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
21995         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
21996         (libpthread-routines): Add cpu_relax.
21997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
21998         File removed.
21999         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
22000         (librt: GLIBC_2.3.3): New version set.
22001         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
22002         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
22003         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
22004         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
22005         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
22006         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
22007         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
22008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
22009         Moved ...
22010         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
22011         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
22012         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
22013         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
22014         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
22015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
22016         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
22017         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
22018         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
22019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
22020         Moved ...
22021         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
22022         Update #include.
22023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
22024         Moved ...
22025         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
22026         Update #include.
22027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
22028         Moved ...
22029         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
22030         Update #include.
22031         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
22032         Moved ...
22033         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
22034         Update #include.
22035         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
22036         Moved ...
22037         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
22038         Update #include.
22039         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
22040         Moved ...
22041         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
22042         Update #include.
22043         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
22044         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
22045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
22046         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
22047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
22048         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
22049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
22050         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
22051         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
22052         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
22053         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22054         Moved ...
22055         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
22056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
22057         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
22058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
22059         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
22061 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22063         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
22064         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
22065         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22066         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
22067         * nscd/nscd.c: Likewise.
22068         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
22069         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
22070         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
22071         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
22073         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
22074         <kernel-features.h>.
22075         (init_mq_netlink): Remove conditional have_sock_cloexec
22076         definitions.  Remove code conditional on have_sock_cloexec < 0.
22077         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
22078         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
22079         * sysdeps/unix/sysv/linux/opensock.c: Do not include
22080         <kernel-features.h>.
22081         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
22082         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
22084 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
22086         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22087         Add tests for memset_chk and memset.
22089         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
22090         with AVX2_Usable.
22092 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
22094         [BZ #16046]
22095         * elf/tst-dl-iter-static.c: New file.
22096         * elf/Makefile (tests-static): Add tst-dl-iter-static.
22098         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
22099         error.
22101 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22103         * sysdeps/unix/sysv/linux/kernel-features.h
22104         (__ASSUME_F_GETOWN_EX): Remove macro.
22105         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
22106         <kernel-features.h>.
22107         (miss_F_GETOWN_EX): Remove variable or macro.
22108         (do_fcntl): Do not check miss_F_GETOWN_EX.
22109         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
22111         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
22112         Remove macro.
22113         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
22114         [!__ASSUME_AT_RANDOM]: Remove conditional code.
22115         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
22117         * sysdeps/unix/sysv/linux/kernel-features.h
22118         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
22119         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
22120         [ADJ_OFFSET_SS_READ]: Make code unconditional.
22121         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
22123 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
22125         [BZ #17075]
22126         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
22127         Fix calculation of the symbol's value.
22128         * sysdeps/arm/tst-armtlsdescloc.c: New file.
22129         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
22130         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
22131         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
22132         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
22133         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
22134         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
22135         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
22136         (modules-names): Add `tst-armtlsdescmod',
22137         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
22138         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
22139         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
22140         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
22141         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
22142         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
22143         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
22144         ($(objpfx)tst-armtlsdescloc): New dependency.
22145         ($(objpfx)tst-armtlsdescextnow): Likewise.
22146         ($(objpfx)tst-armtlsdescextlazy): Likewise.
22147         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
22148         TLS scheme support.
22149         * sysdeps/arm/configure: Regenerate.
22151 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22153         * include/fcntl.h (__atfct_seterrno): Remove prototype.
22154         (__atfct_seterrno_2): Likewise.
22155         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
22156         <kernel-features.h>.
22157         (__ASSUME_ATFCTS): Do not undefine and redefine.
22158         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
22159         (__have_atfcts): Remove conditional definition.
22160         (__fxstatat([__NR_fstatat64]: Make code unconditional.
22161         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
22162         unreachable if [__ASSUME_ATFCTS].
22163         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
22164         not undefine and redefine.
22165         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
22166         <kernel-features.h>.
22167         (faccessat) [__NR_faccessat]: Make code unconditional.
22168         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
22169         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
22170         <kernel-features.h>.
22171         (fchmodat) [__NR_fchmodat]: Make code unconditional.
22172         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
22173         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
22174         <kernel-features.h>.
22175         (fchownat) [__NR_fchownat]: Make code unconditional.
22176         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
22177         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
22178         <kernel-features.h>.
22179         (futimesat) [__NR_futimesat]: Make code unconditional.
22180         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
22181         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22182         <kernel-features.h>.
22183         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
22184         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22185         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22186         <kernel-features.h>.
22187         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
22188         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
22189         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
22190         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22191         <kernel-features.h>.
22192         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
22193         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22194         * sysdeps/unix/sysv/linux/linkat.c: Do not include
22195         <kernel-features.h>.
22196         (linkat) [__NR_linkat]: Make code unconditional.
22197         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22198         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
22199         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
22200         <kernel-features.h>.
22201         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
22202         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
22203         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
22204         <kernel-features.h>.
22205         (mkdirat) [__NR_mkdirat]: Make code unconditional.
22206         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
22207         * sysdeps/unix/sysv/linux/openat.c: Do not include
22208         <kernel-features.h>.
22209         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
22210         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
22211         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
22212         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
22213         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
22214         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
22215         <kernel-features.h>.
22216         (readlinkat) [__NR_readlinkat]: Make code unconditional.
22217         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
22218         result of INLINE_SYSCALL directly, not via int variable.
22219         * sysdeps/unix/sysv/linux/renameat.c: Do not include
22220         <kernel-features.h>.
22221         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
22222         (renameat) [__NR_renameat]: Make code unconditional.
22223         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
22224         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
22225         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
22226         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
22227         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
22228         (__ASSUME_ATFCTS): Do not undefine and redefine.
22229         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
22230         <kernel-features.h>.
22231         (symlinkat) [__NR_symlinkat]: Make code unconditional.
22232         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22233         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
22234         <kernel-features.h>.
22235         (unlinkat) [__NR_unlinkat]: Make code unconditional.
22236         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22237         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
22238         (__ASSUME_ATFCTS): Do not undefine and redefine.
22239         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22240         <kernel-features.h>.
22241         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
22242         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22243         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22244         <kernel-features.h>.
22245         (__xmknodat) [__NR_mknodat]: Make code unconditional.
22246         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
22248 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
22250         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
22252 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
22254         [BZ #17069]
22255         * posix/regcomp.c (parse_reg_exp): Deallocate partially
22256         constructed tree before returning error.
22257         * posix/bug-regexp36.c: Expand test case.
22259 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22261         [BZ #6803]
22262         * math/libm-test.inc (scalbln_test_date):
22263         Add errno expectations.
22264         * math/w_scalblnf.c: New File.
22265         Add wrapper which checks for setting errno to ERANGE.
22266         Add weak_alias for corresponding scalbln function.
22267         * math/w_scalbln.c: Likewise.
22268         * math/w_scalblnl.c: Likewise.
22269         * math/Makefile (libm-calls): Add w_scalbln.
22270         * sysdeps/ieee754/flt-32/s_scalblnf.c:
22271         Remove weak_alias for corresponding scalbln function.
22272         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22273         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22274         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22275         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22276         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22277         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
22278         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
22279         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
22280         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
22281         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
22282         Remove long_double_symbol for scalblnl function in libm, libc.
22283         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
22284         Add wrapper which checks for setting errno to ERANGE.
22285         Add long_double_symbol for scalblnl function in libm, libc.
22286         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
22287         Remove long_double_symbol for scalblnl in libm.
22288         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
22289         Add wrapper which checks for setting errno to ERANGE.
22290         Add long_double_symbol for scalblnl function in libm.
22291         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
22292         Do not use wrapper because of own implementation.
22294 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
22296         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
22297         3 bytes for __pad1 for x32.
22298         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
22300 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
22301             H.J. Lu  <hongjiu.lu@intel.com>
22303         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
22304         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
22305         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22306         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22307         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
22309 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
22311         [BZ #17069]
22312         * posix/regcomp.c (parse_expression): Deallocate partially
22313         constructed tree before returning error.
22314         * posix/Makefile.c (tests): Add bug-regex36.
22315         (generated): Add bug-regex36.mtrace.
22316         (tests-special): Add $(objpfx)bug-regex36-mem.out
22317         (bug-regex36-ENV): New variable.
22318         ($(objpfx)bug-regex36-mem.out): New rule.
22319         * posix/bug-regex36.c: New file.
22321 2014-06-19  Will Newton  <will.newton@linaro.org>
22323         * malloc/malloc.c (systrim): If extra is zero then return
22324         early.
22326 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22328         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
22330 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
22332         * sysdeps/aarch64/strchr.S: New file.
22334 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
22336         [BZ #17022]
22337         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
22338         from arguments -2 or below.
22339         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22340         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
22342 2014-06-18  Andreas Schwab  <schwab@suse.de>
22344         [BZ #17062]
22345         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
22346         of a bracket expr not to run off the end of the string.
22347         * posix/Makefile (tests): Add tst-fnmatch3.
22348         * posix/tst-fnmatch3.c: New file.
22350 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
22352         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
22353         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
22354         [$(cross-compiling) = no]: Likewise.
22355         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
22356         [$(cross-compiling) = no]: Likewise.
22358 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22360         [BZ #17031]
22361         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
22362         double, adjusted for any remainder from the high double.
22363         * math/libm-test.inc (nearbyint): Add tests.
22364         (rint): Likewise.
22366 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22368         * nptl/sysdeps/powerpc/Makefile: Moved ...
22369         * sysdeps/powerpc/nptl/Makefile: ... here.
22370         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
22371         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
22372         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
22373         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
22374         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
22375         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
22376         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
22377         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
22378         * nptl/sysdeps/powerpc/tls.h: Moved ...
22379         * sysdeps/powerpc/nptl/tls.h: ... here.
22381 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
22383         [BZ #16681]
22384         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
22385         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
22386         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
22387         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
22388         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
22389         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
22390         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
22391         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
22392         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
22394 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
22396         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22398 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
22400         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
22401         defined operator.
22403         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
22404         $TIMEOUTFACTOR.
22406 2014-06-16  Florian Weimer  <fweimer@redhat.com>
22408         [BZ #17058]
22409         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
22410         non-executed part of the test.
22412 2014-06-16  Andreas Schwab  <schwab@suse.de>
22414         * string/bits/string2.h (strdup, strndup): Update feature guard.
22416 2014-06-14  David S. Miller  <davem@davemloft.net>
22418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22420 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
22422         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
22423         that was previously under [RESET_PID].
22424         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
22426         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
22427         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
22428         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
22429         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22430         (__libc_vfork): New strong alias.
22431         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
22433 2014-06-14 Andi Kleen  <ak@linux.intel.com>
22435         * sysdeps/generic/elide.h: New file.
22437 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22439         * Makefile (installed-headers): Adjust path of pthread.h header.
22441 2014-06-13  Roland McGrath  <roland@hack.frob.com>
22443         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
22444         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
22445         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
22446         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
22448         * nptl/sysdeps/s390/Makefile: Moved ...
22449         * sysdeps/s390/nptl/Makefile: ... here.
22450         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
22451         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
22452         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
22453         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
22454         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
22455         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
22456         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
22457         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
22458         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
22459         * sysdeps/s390/nptl/pthreaddef.h: ... here.
22460         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
22461         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
22462         * nptl/sysdeps/s390/tls.h: Moved ...
22463         * sysdeps/s390/nptl/tls.h: ... here.
22465         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
22466         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
22468 2014-06-13  David S. Miller  <davem@davemloft.net>
22470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
22471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
22472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
22473         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
22474         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
22475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
22476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
22477         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
22478         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
22479         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
22480         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
22481         Remove RESET_PID cpp guards.
22482         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
22483         Remove RESET_PID cpp guards.
22484         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
22486 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
22488         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
22489         __sp to uintptr_t.
22491 2014-06-13  Andi Kleen  <ak@linux.intel.com>
22493         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
22494         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
22495         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
22496         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
22497         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
22498         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
22499         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
22500         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
22501         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
22502         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
22503         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
22504         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
22505         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
22506         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
22507         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
22508         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
22509         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
22510         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
22511         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
22512         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
22514         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
22515         (pthread_rwlock_rdlock): Add elision.
22516         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
22517         (pthread_rwlock_wrlock): Add elision.
22518         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
22519         (pthread_rwlock_trywrlock): Add elision.
22520         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
22521         (pthread_rwlock_tryrdlock): Add elision.
22522         * nptl/pthread_rwlock_unlock.c: Include elide.h.
22523         (pthread_rwlock_tryrdlock): Add elision unlock.
22524         * nptl/sysdeps/pthread/pthread.h:
22525         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
22526         (PTHREAD_RWLOCK_INITIALIZER,
22527         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
22528         Handle new elision field.
22529         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
22530         * sysdeps/arm/nptl/bits/pthreadtypes.h
22531         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22532         * sysdeps/sh/nptl/bits/pthreadtypes.h
22533         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22534         * sysdeps/tile/nptl/bits/pthreadtypes.h
22535         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22536         * sysdeps/a/nptl/bits/pthreadtypes.h
22537         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22538         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22539         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22540         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22541         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22542         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
22543         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22544         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22545         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22546         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22547         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22548         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22549         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22550         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22551         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22552         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
22553         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22554         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
22555         (elision_init): Set try_xbegin to zero when no RTM.
22556         * sysdeps/x86/nptl/bits/pthreadtypes.h
22557         (pthread_rwlock_t): Change __pad1 to __rwelision.
22558         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22560 2014-06-13  Andi Kleen  <ak@linux.intel.com>
22562         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
22563         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
22564         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
22565         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
22567 2014-06-13  Meador Inge  <meadori@codesourcery.com>
22569         [BZ #16996]
22570         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
22571         that the cached result has been set before returning it.
22573 2014-06-12  Roland McGrath  <roland@hack.frob.com>
22575         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
22576         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
22577         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
22578         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
22579         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
22580         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
22582         * nptl/sysdeps/sparc/Makefile: Moved ...
22583         * sysdeps/sparc/nptl/Makefile: ... here.
22584         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
22585         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
22586         * nptl/sysdeps/sparc/tls.h: Moved ...
22587         * sysdeps/sparc/nptl/tls.h: ... here.
22588         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
22589         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
22590         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
22591         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
22592         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
22593         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
22594         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
22595         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
22596         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
22597         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
22598         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
22599         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
22600         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
22601         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
22602         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
22603         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
22604         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
22605         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
22606         Update #include.
22607         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
22608         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
22609         Update #include.
22610         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
22611         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
22612         Update #include.
22613         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
22614         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
22615         Update #include.
22617         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
22619         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
22620         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
22622         * sysdeps/pthread/posix-timer.h: Include <list.h>.
22623         (struct list_links): Type removed.
22624         (struct thread_node, struct timer_node): Replace struct list_links
22625         with struct list_head.
22626         (list_unlink_ip): Likewise.
22627         * sysdeps/pthread/timer_routines.c
22628         (timer_free_list, thread_free_list, thread_active_list): Likewise.
22629         (list_append, list_insbefore): Likewise.
22630         (list_init): Function removed.
22631         (thread_init, init_module): Use INIT_LIST_HEAD instead.
22632         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
22633         * sysdeps/pthread/Makefile: ... here, new file.
22635         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
22636         * sysdeps/nptl/Implies: ... here.
22637         * sysdeps/unix/sysv/linux/Implies: Add nptl.
22638         * nptl/sysdeps/pthread/list.h: Moved ...
22639         * include/list.h: ... here.
22640         * nptl/sysdeps/pthread/createthread.c: Moved ...
22641         * nptl/createthread.c: ... here.
22642         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
22643         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
22644         * nptl/pt-longjmp.c: ... here.
22645         * nptl/sysdeps/pthread/Makefile: Moved ...
22646         * sysdeps/nptl/Makefile: ... here.
22647         * nptl/sysdeps/pthread/Subdirs: Moved ...
22648         * sysdeps/nptl/Subdirs: ... here.
22649         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
22650         * sysdeps/nptl/aio_misc.h: ... here.
22651         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
22652         * sysdeps/nptl/bits/libc-lock.h: ... here.
22653         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
22654         * sysdeps/nptl/bits/libc-lockP.h: ... here.
22655         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
22656         * sysdeps/nptl/bits/stdio-lock.h: ... here.
22657         * nptl/sysdeps/pthread/configure: Moved ...
22658         * sysdeps/nptl/configure: ... here.
22659         * nptl/sysdeps/pthread/configure.ac: Moved ...
22660         * sysdeps/nptl/configure.ac: ... here.
22661         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
22662         * sysdeps/nptl/gai_misc.h: ... here.
22663         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
22664         * sysdeps/nptl/librt-cancellation.c: ... here.
22665         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
22666         * sysdeps/nptl/malloc-machine.h: ... here.
22667         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
22668         * sysdeps/nptl/pthread-functions.h: ... here.
22669         * nptl/sysdeps/pthread/pthread.h: Moved ...
22670         * sysdeps/nptl/pthread.h: ... here.
22671         * nptl/sysdeps/pthread/setxid.h: Moved ...
22672         * sysdeps/nptl/setxid.h: ... here.
22673         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
22674         * sysdeps/nptl/sigfillset.c: ... here.
22675         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
22676         * sysdeps/nptl/tcb-offsets.h: ... here.
22677         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
22678         * sysdeps/nptl/tst-mqueue8x.c: ... here.
22679         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
22680         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
22681         * nptl/sysdeps/pthread/allocalim.h: Moved ...
22682         * sysdeps/pthread/allocalim.h: ... here.
22683         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
22684         * sysdeps/pthread/bits/sigthread.h: ... here.
22685         * nptl/sysdeps/pthread/flockfile.c: Moved ...
22686         * sysdeps/pthread/flockfile.c: ... here.
22687         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
22688         * sysdeps/pthread/ftrylockfile.c: ... here.
22689         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
22690         * sysdeps/pthread/funlockfile.c: ... here.
22691         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
22692         * sysdeps/pthread/posix-timer.h: ... here.
22693         * nptl/sysdeps/pthread/timer_create.c: Moved ...
22694         * sysdeps/pthread/timer_create.c: ... here.
22695         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
22696         * sysdeps/pthread/timer_delete.c: ... here.
22697         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
22698         * sysdeps/pthread/timer_getoverr.c: ... here.
22699         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
22700         * sysdeps/pthread/timer_gettime.c: ... here.
22701         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
22702         * sysdeps/pthread/timer_routines.c: ... here.
22703         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
22704         * sysdeps/pthread/timer_settime.c: ... here.
22705         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
22706         * sysdeps/pthread/tst-timer.c: ... here.
22707         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
22708         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
22710         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
22711         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
22713         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
22714         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
22715         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
22716         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
22717         Update #include target.
22718         * nptl/sysdeps/i386/i686/Makefile: Moved ...
22719         * sysdeps/i386/i686/nptl/Makefile: ... here.
22720         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
22721         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
22722         Update #include target.
22723         * nptl/sysdeps/i386/i686/tls.h: Moved ...
22724         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
22725         * nptl/sysdeps/i386/Makefile: Moved ...
22726         * sysdeps/i386/nptl/Makefile: ... here.
22727         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
22728         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
22729         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
22730         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
22731         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
22732         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
22733         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
22734         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
22735         * sysdeps/i386/nptl/pthreaddef.h: ... here.
22736         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
22737         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
22738         * nptl/sysdeps/i386/tls.h: Moved ...
22739         * sysdeps/i386/nptl/tls.h: ... here.
22741         * sysdeps/sh/Makefile [$(subdir) = csu]
22742         (gen-as-const-headers): Add tcb-offsets.sym.
22743         * nptl/sysdeps/sh/Makefile: File removed.
22744         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
22745         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
22746         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
22747         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
22748         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
22749         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
22750         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
22751         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
22752         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
22753         * sysdeps/sh/nptl/pthreaddef.h: ... here.
22754         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
22755         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
22756         * nptl/sysdeps/sh/tls.h: Moved ...
22757         * sysdeps/sh/nptl/tls.h: ... here.
22758         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
22759         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
22760         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
22761         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
22762         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
22763         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
22764         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
22765         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
22766         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
22767         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
22768         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
22769         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
22770         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
22771         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
22772         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
22773         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
22774         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
22775         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
22776         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
22777         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
22778         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
22779         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
22780         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
22781         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
22782         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
22783         Moved ...
22784         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
22785         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
22786         Moved ...
22787         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
22788         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
22789         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
22790         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
22791         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
22792         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
22793         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
22794         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
22795         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
22796         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
22797         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
22798         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
22799         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
22800         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
22801         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
22802         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
22803         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
22804         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
22805         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
22807 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22809         * posix/spawn_faction_addopen.c: Include string.h.
22811 2014-06-11  Roland McGrath  <roland@hack.frob.com>
22813         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
22814         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
22815         * nptl/sysdeps/x86_64/Makefile: Moved ...
22816         * sysdeps/x86_64/nptl/Makefile: ... here.
22817         * nptl/sysdeps/x86_64/configure: Moved ...
22818         * sysdeps/x86_64/nptl/configure: ... here.
22819         * nptl/sysdeps/x86_64/configure.ac: Moved ...
22820         * sysdeps/x86_64/nptl/configure.ac: ... here.
22821         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
22822         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
22823         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
22824         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
22825         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
22826         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
22827         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
22828         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
22829         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
22830         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
22831         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
22832         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
22833         * nptl/sysdeps/x86_64/tls.h: Moved ...
22834         * sysdeps/x86_64/nptl/tls.h: ... here.
22835         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
22836         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
22837         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
22838         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
22840         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
22842 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22846 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
22848         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
22849         type.
22850         [POSIX] (off_t): Likewise.
22851         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
22852         [POSIX] (S_ISBLK): Require macro.
22853         [POSIX] (S_ISCHR): Likewise.
22854         [POSIX] (S_ISDIR): Likewise.
22855         [POSIX] (S_ISFIFO): Likewise.
22856         [POSIX] (S_ISREG): Likewise.
22857         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
22858         optional-macro.
22859         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
22860         type.
22861         [POSIX] (time_t): Likewise.
22862         [POSIX] (timer_t): Likewise.
22864 2014-06-11  Florian Weimer  <fweimer@redhat.com>
22866         [BZ #17048]
22867         * posix/spawn_int.h (struct __spawn_action): Make the path string
22868         non-const to support deallocation.
22869         * posix/spawn_faction_addopen.c
22870         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
22871         * posix/spawn_faction_destroy.c
22872         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
22873         path in all spawn_do_open actions.
22874         * posix/tst-spawn.c (do_test): Exercise the copy operation in
22875         posix_spawn_file_actions_addopen.
22877 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
22879         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
22880         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
22881         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
22882         conditional code always true.
22883         (__libc_vfork): New alias.
22885 2014-06-11  Roland McGrath  <roland@hack.frob.com>
22887         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22888         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
22890         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
22892         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22893         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
22895         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
22896         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
22898         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22899         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
22901 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22903         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
22904         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
22905         multiarch strcmp for PPC64.
22906         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
22907         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
22908         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
22909         multiarch optimizations.
22910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22911         (__libc_ifunc_impl_list): Likewise.
22913 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22915         * benchtests/scripts/validate_benchout.py: New script.
22916         * benchtests/Makefile (bench-func): Call it.
22917         * benchtests/scripts/benchout.schema.json: New file.
22919 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
22921         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
22922         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
22923         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
22924         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
22925         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
22926         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
22927         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
22928         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
22929         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
22930         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
22931         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
22932         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
22933         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
22934         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
22935         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
22936         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
22937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
22938         Moved ...
22939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
22940         ... here.
22941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
22942         Moved ...
22943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
22944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
22945         Moved ...
22946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
22947         ... here.
22948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
22949         Moved ...
22950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
22951         ... here.
22952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
22953         Moved ...
22954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
22955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
22956         Moved ...
22957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
22958         ... here.
22959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
22960         Moved ...
22961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
22962         ... here.
22963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
22964         Moved ...
22965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
22966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
22967         Moved ...
22968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
22969         ... here.
22970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
22971         Moved ...
22972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
22973         ... here.
22974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
22975         Moved ...
22976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
22977         ... here.
22978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
22979         Moved ...
22980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
22981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
22982         Moved ...
22983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
22984         ... here.
22985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
22986         Moved ...
22987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
22988         ... here.
22989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
22990         Moved ...
22991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
22992         ... here.
22993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
22994         Moved ...
22995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
22996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
22997         Moved ...
22998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
22999         ... here.
23000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
23001         Moved ...
23002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
23003         ... here.
23004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
23005         Moved ...
23006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
23007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
23008         Moved ...
23009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
23010         ... here.
23011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
23012         Moved ...
23013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
23014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
23015         Moved ...
23016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
23017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
23018         Moved ...
23019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
23020         ... here.
23021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
23022         Moved ...
23023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
23024         ... here.
23025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
23026         Moved ...
23027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
23028         ... here.
23029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
23030         Moved ...
23031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
23032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
23033         Moved ...
23034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
23035         ... here.
23036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
23037         Moved ...
23038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
23039         ... here.
23040         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
23041         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
23042         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
23043         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
23044         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
23045         Moved ...
23046         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23047         ... here.
23048         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
23049         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
23050         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
23051         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
23052         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
23053         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
23054         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
23055         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
23056         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
23057         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
23058         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
23059         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
23060         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
23061         Moved ...
23062         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
23063         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
23064         Moved ...
23065         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
23066         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
23067         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
23068         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
23069         Moved ...
23070         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
23071         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
23072         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
23073         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
23074         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
23075         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
23076         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
23078 2014-06-10  Wilco  <wdijkstr@arm.com>
23080         * math/test-fenv-return.c: New file.
23081         * math/Makefile: Add new test test-fenv-return.
23083 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
23085         [BZ #17042]
23086         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
23087         when x - 1 is zero.
23088         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
23089         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
23090         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
23091         0.0L for an argument of 1.0L.
23092         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
23093         Likewise.
23094         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
23095         value when x - 1 is zero.
23096         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
23097         * sysdeps/i386/fpu/libm-test-ulps: Update.
23098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23100 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
23102         [BZ #15119]
23103         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
23105 2014-06-09  Roland McGrath  <roland@hack.frob.com>
23107         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
23108         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
23110 2014-06-09  Roland McGrath  <roland@hack.frob.com>
23112         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23113         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
23115         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23116         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
23118         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23119         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
23121         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23122         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
23124         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
23125         if not already defined.
23126         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
23127         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
23128         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
23129         (TLS_INIT_TP): Use it.
23130         (TLS_DEFINE_INIT_TP): New macro.
23131         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
23133 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
23135         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
23136         constant.
23137         [POSIX] (IXANY): Likewise.
23138         [POSIX] (OLCUC): Likewise.
23139         [POSIX || POSIX2008] (CBAUD): Do not allow.
23140         [POSIX || POSIX2008] (DEFECHO): Likewise.
23141         [POSIX || POSIX2008] (ECHOCTL): Likewise.
23142         [POSIX || POSIX2008] (ECHOKE): Likewise.
23143         [POSIX || POSIX2008] (ECHOPRT): Likewise.
23144         [POSIX || POSIX2008] (EXTA): Likewise.
23145         [POSIX || POSIX2008] (EXTB): Likewise.
23146         [POSIX || POSIX2008] (FLUSHO): Likewise.
23147         [POSIX || POSIX2008] (LOBLK): Likewise.
23148         [POSIX || POSIX2008] (PENDIN): Likewise.
23149         [POSIX || POSIX2008] (SWTCH): Likewise.
23150         [POSIX || POSIX2008] (VDISCARD): Likewise.
23151         [POSIX || POSIX2008] (VDSUSP): Likewise.
23152         [POSIX || POSIX2008] (VLNEXT): Likewise.
23153         [POSIX || POSIX2008] (VREPRINT): Likewise.
23154         [POSIX || POSIX2008] (VSTATUS): Likewise.
23155         [POSIX || POSIX2008] (VWERASE): Likewise.
23156         (B*): Change to B[0123456789]*.
23157         * conform/data/time.h-data [POSIX || UNIX98]
23158         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
23159         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23160         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
23161         [POSIX] (tm_*): Do not allow.
23163 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
23165         * Makefile (install): Don't set LANGUAGE.
23166         * Makefile.in (install): Likewise.
23167         * assert/Makefile (test-assert-ENV): Remove variable.
23168         (test-assert-perr-ENV): Likewise.
23169         * elf/Makefile (neededtest4-ENV): Likewise.
23170         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
23171         [$(cross-compiling) = no]: Don't set LANGUAGE.
23172         * io/ftwtest-sh (LANG): Remove variable.
23173         * libio/Makefile (tst-widetext-ENV): Likewise.
23174         * manual/install.texi (Running make install): Don't refer to
23175         environment settings for make install.
23176         * INSTALL: Regenerated.
23177         * nptl/tst-tls6.sh: Don't set LANG.
23178         * posix/globtest.sh (LANG): Remove variable.
23179         * string/Makefile (tester-ENV): Likewise.
23180         (inl-tester-ENV): Likewise.
23181         (noinl-tester-ENV): Likewise.
23182         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
23183         [$(cross-compiling) = no]: Don't set LANGUAGE.
23184         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
23185         without explicit environment settings.
23187 2014-06-06  Roland McGrath  <roland@hack.frob.com>
23189         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
23190         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
23191         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
23192         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
23194 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
23196         * crypt/crypt-private.h [DOS]: Add some includes taken from the
23197         other files in the crypt directory.
23198         * crypt/crypt.c: Remove duplicate includes.
23199         * crypt/crypt-entry.c: Likewise.
23200         * crypt/crypt_util.c: Likewise.
23202 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
23204         * Makeconfig (run-program-env): New variable.
23205         (run-program-prefix-before-env): Likewise.
23206         (run-program-prefix-after-env): Likewise.
23207         (run-program-prefix): Define in terms of new variables.
23208         (built-program-cmd-before-env): New variable.
23209         (built-program-cmd-after-env): Likewise.
23210         (built-program-cmd): Define in terms of new variables.
23211         (test-program-prefix-before-env): New variable.
23212         (test-program-prefix-after-env): Likewise.
23213         (test-program-prefix): Define in terms of new variables.
23214         (test-program-cmd-before-env): New variable.
23215         (test-program-cmd-after-env): Likewise.
23216         (test-program-cmd): Define in terms of new variables.
23217         * Rules (make-test-out): Use $(run-program-env).
23218         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
23219         (help): Do not mention environment variables.  Mention
23220         --timeoutfactor option.
23221         (timeoutfactor): New variable.
23222         (blacklist_exports): Remove function.
23223         (exports): Remove variable.
23224         (command): Do not include ${exports}.
23225         * manual/install.texi (Configuring and compiling): Do not mention
23226         test wrappers preserving environment variables.  Mention that last
23227         assignment to a variable must take precedence.
23228         * INSTALL: Regenerated.
23229         * benchtests/Makefile (run-bench): Use $(run-program-env).
23230         * catgets/Makefile ($(objpfx)test1.cat): Use
23231         $(built-program-cmd-before-env), $(run-program-env) and
23232         $(built-program-cmd-after-env).
23233         ($(objpfx)test2.cat): Do not specify environment variables
23234         explicitly.
23235         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
23236         $(run-program-env) and $(built-program-cmd-after-env).
23237         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
23238         $(run-program-env) and $(test-program-cmd-after-env).
23239         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
23240         explicitly.
23241         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
23242         run_program_env and test_program_cmd_after_env arguments.
23243         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
23244         * elf/tst-pathopt.sh: Use run_program_env argument.
23245         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
23246         $(test-wrapper-env) and $(run-program-env).
23247         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
23248         run_program_env arguments.
23249         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
23250         * intl/Makefile ($(objpfx)tst-gettext.out): Use
23251         $(test-program-prefix-before-env), $(run-program-env) and
23252         $(test-program-prefix-after-env).
23253         ($(objpfx)tst-gettext2.out): Likewise.
23254         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
23255         run_program_env and test_program_prefix_after_env arguments.
23256         * intl/tst-gettext2.sh: Likewise.
23257         * intl/tst-gettext4.sh: Do not set environment variables
23258         explicitly.
23259         * intl/tst-gettext6.sh: Likewise.
23260         * intl/tst-translit.sh: Likewise.
23261         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
23262         $(test-program-prefix-before-env), $(run-program-env) and
23263         $(test-program-prefix-after-env).
23264         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
23265         run_program_env and test_program_prefix_after_env arguments.
23266         * math/Makefile (run-regen-ulps): Use $(run-program-env).
23267         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
23268         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
23269         explicitly with each use of ${test_wrapper_env}.
23270         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
23271         $(test-program-prefix-before-env), $(run-program-env) and
23272         $(test-program-prefix-after-env).
23273         * posix/tst-getconf.sh: Do not set environment variables
23274         explicitly.
23275         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
23276         run_program_env and test_program_prefix_after_env arguments.
23277         * stdio-common/tst-printf.sh: Do not set environment variables
23278         explicitly.
23279         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
23280         $(test-program-prefix-before-env), $(run-program-env) and
23281         $(test-program-prefix-after-env).
23282         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
23283         run_program_env and test_program_prefix_after_env arguments.
23284         Split $test calls into $test_pre and $test.
23285         * timezone/Makefile (build-testdata): Use
23286         $(built-program-cmd-before-env), $(run-program-env) and
23287         $(built-program-cmd-after-env).
23289 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23291         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
23292         strlen for non SHARED builds.
23294 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23296         * nptl/allocatestack.c (check_list): Inlined function...
23297         (__reclaim_stacks): ... here.
23299 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
23301         [BZ #15698]
23302         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
23303         memory overrun.
23305 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
23307         * Rules (make-test-out): Include
23308         LOCPATH=$(common-objpfx)localedata in default environment.
23309         * debug/Makefile (tst-chk1-ENV): Remove variable.
23310         (tst-chk2-ENV): Likewise.
23311         (tst-chk3-ENV): Likewise.
23312         (tst-chk4-ENV): Likewise.
23313         (tst-chk5-ENV): Likewise.
23314         (tst-chk6-ENV): Likewise.
23315         (tst-lfschk1-ENV): Likewise.
23316         (tst-lfschk2-ENV): Likewise.
23317         (tst-lfschk3-ENV): Likewise.
23318         (tst-lfschk4-ENV): Likewise.
23319         (tst-lfschk5-ENV): Likewise.
23320         (tst-lfschk6-ENV): Likewise.
23321         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
23322         (tst-iconv7-ENV): Likewise.
23323         * intl/Makefile (LOCPATH-ENV): Likewise.
23324         (tst-codeset-ENV): Likewise.
23325         (tst-gettext3-ENV): Likewise.
23326         (tst-gettext5-ENV): Likewise.
23327         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
23328         (tst-fopenloc-ENV): Likewise.
23329         (tst-fgetws-ENV): Remove variable.
23330         (tst-ungetwc1-ENV): Likewise.
23331         (tst-ungetwc2-ENV): Likewise.
23332         (bug-ungetwc2-ENV): Likewise.
23333         (tst-swscanf-ENV): Likewise.
23334         (bug-ftell-ENV): Likewise.
23335         (tst-fgetwc-ENV): Likewise.
23336         (tst-fseek-ENV): Likewise.
23337         (tst-ftell-partial-wide-ENV): Likewise.
23338         (tst-ftell-active-handler-ENV): Likewise.
23339         (tst-ftell-append-ENV): Likewise.
23340         * posix/Makefile (tst-fnmatch-ENV): Likewise.
23341         (tst-regexloc-ENV): Likewise.
23342         (bug-regex1-ENV): Likewise.
23343         (tst-regex-ENV): Likewise.
23344         (tst-regex2-ENV): Likewise.
23345         (bug-regex5-ENV): Likewise.
23346         (bug-regex6-ENV): Likewise.
23347         (bug-regex17-ENV): Likewise.
23348         (bug-regex18-ENV): Likewise.
23349         (bug-regex19-ENV): Likewise.
23350         (bug-regex20-ENV): Likewise.
23351         (bug-regex22-ENV): Likewise.
23352         (bug-regex23-ENV): Likewise.
23353         (bug-regex25-ENV): Likewise.
23354         (bug-regex26-ENV): Likewise.
23355         (bug-regex30-ENV): Likewise.
23356         (bug-regex32-ENV): Likewise.
23357         (bug-regex33-ENV): Likewise.
23358         (bug-regex34-ENV): Likewise.
23359         (bug-regex35-ENV): Likewise.
23360         (tst-rxspencer-ENV): Likewise.
23361         (tst-rxspencer-no-utf8-ENV): Likewise.
23362         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
23363         (tst-sscanf-ENV): Likewise.
23364         (tst-swprintf-ENV): Likewise.
23365         (tst-swscanf-ENV): Likewise.
23366         (test-vfprintf-ENV): Likewise.
23367         (scanf13-ENV): Likewise.
23368         (bug14-ENV): Likewise.
23369         (tst-grouping-ENV): Likewise.
23370         * stdlib/Makefile (tst-strtod-ENV): Likewise.
23371         (tst-strtod3-ENV): Likewise.
23372         (tst-strtod4-ENV): Likewise.
23373         (tst-strtod5-ENV): Likewise.
23374         (testmb2-ENV): Likewise./
23375         * string/Makefile (tst-strxfrm-ENV): Likewise.
23376         (tst-strxfrm2-ENV): Likewise.
23377         (bug-strcoll1-ENV): Likewise.
23378         (test-strcasecmp-ENV): Likewise.
23379         (test-strncasecmp-ENV): Likewise.
23380         * time/Makefile (tst-strptime-ENV): Likewise.
23381         (tst-ftime_l-ENV): Likewise.
23382         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
23383         (tst-mbrtowc-ENV): Likewise.
23384         (tst-wcrtomb-ENV): Likewise.
23385         (tst-mbrtowc2-ENV): Likewise.
23386         (tst-c16c32-1-ENV): Likewise.
23387         (tst-mbsnrtowcs-ENV): Likewise.
23389 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
23391         * manual/resource.texi (How to get information about the memory
23392         subsystem?): Fix typo.
23393         Reported by Peon de la Parra Ivan <peon@keba.com>
23395 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
23397         [BZ #16882]
23398         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
23399         (pthread_spin_lock): Branch out of spin loop to proper location.
23400         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
23401         (pthread_spin_lock): Likewise.
23403         * nptl/tst-spin4.c: New test.
23404         * nptl/Makefile (tests): Add tst-spin4.
23406 2014-06-03  Andreas Schwab  <schwab@suse.de>
23408         [BZ #15946]
23409         * resolv/res_send.c (send_dg): Reload file descriptor after
23410         calling reopen.
23412 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
23414         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23416 2014-06-03  Richard Henderson  <rth@redhat.com>
23418         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
23419         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
23420         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
23421         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
23422         in the SAVE_PID block.
23423         (__libc_vfork): New alias.
23424         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
23426         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
23427         child in registers, not on the stack.  Remove RESET_PID conditionals.
23428         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
23430 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23432         * sysdeps/aarch64/libm-test-ulps: Regenerate.
23434 2014-06-03  Wilco  <wdijkstr@arm.com>
23436         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
23437         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
23438         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
23439         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
23440         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
23441         Likewise.
23443 2014-06-03  Wilco  <wdijkstr@arm.com>
23445         * sysdeps/aarch64/fpu/math_private.h
23446         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
23447         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
23448         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
23449         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
23450         Fix declarations.
23452 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23454         * crypt/crypt-private.h: Include ufc-crypt.h.
23455         (__b64_from_24bit): Declare extern.
23456         * crypt/crypt_util.c(__b64_from_24bit): New function.
23457         (b64t): New static const variable.
23458         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
23459         (b64t): Remove variable.
23460         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
23461         * crypt/sha256-crypt.c: Include crypt-private.h.
23462         (b64t): Remove variable.
23463         (__sha256_crypt_r): Remove b64_from_24bit and replace
23464         with __b64_from_24bit.
23465         * crypt/sha512-crypt.c: Likewise.
23467 2014-06-02  Roland McGrath  <roland@hack.frob.com>
23469         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
23470         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
23471         Label the code __libc_vfork rather than __vfork.
23472         [!NOT_IN_libc] (vfork): Define as weak alias.
23473         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
23474         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
23475         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
23477 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23479         * malloc/malloc.c (malloc_info): Fix format specifier for
23480         n_mmaps.
23482 2014-06-02  Wilco  <wdijkstr@arm.com>
23484         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
23485         FPCR write.
23487 2014-06-02  Wilco  <wdijkstr@arm.com>
23489         [BZ #17009]
23490         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
23491         Rewrite to reduce FPCR/FPSR accesses.
23493 2014-06-01  David S. Miller  <davem@davemloft.net>
23495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23497 2014-05-31  David S. Miller  <davem@davemloft.net>
23499         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
23500         to occur in round to nearest mode when |x| >= 2.0
23502 2014-05-30  Richard Henderson  <rth@twiddle.net>
23504         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
23505         (PSEUDO_RET_NOERRNO): Remove.
23506         (ret): Don't redefine.
23507         (ret_NOERRNO): Define in terms of ret.
23508         (ret_ERRVAL): Likewise.
23510         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
23511         use of PSEUDO_RET; perform the error check directly.
23513 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
23515         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
23516         with __int128_t.
23518 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23520         * malloc/malloc (malloc_info): Fix formatting.
23522 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23523             Roland McGrath  <roland@hack.frob.com>
23525         * malloc/malloc (malloc_info): Also print mmapped statistics.
23527 2014-05-30  Roland McGrath  <roland@hack.frob.com>
23529         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
23530         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
23532 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
23534         * malloc/malloc.c (malloc_info): Inline mi_arena.
23536 2014-05-29  Richard Henderson  <rth@twiddle.net>
23538         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
23539         Remove comma before expanding ASM_ARGS_##nr.
23540         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
23541         Make _x0 a strict output; make _x8 a strict input; adjust expansion
23542         of ASM_ARGS_##nr.
23543         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
23544         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
23545         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
23546         (ASM_ARGS_1): Add leading comma.
23548         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
23549         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
23550         to __errno_location.
23551         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
23552         Remove the expected plt for __errno_location.
23554         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23555         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
23556         call to __read_tp.
23558         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
23559         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
23560         it and break it down.
23561         (DOCARGS_0, DOCARGS_1): Do nothing.
23562         (DOCARGS_2): Update to store into the new stack frame.
23563         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
23564         (UNDOCARGS_1): Update to restore from the new stack frame.
23565         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
23566         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
23568         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23569         (SINGLE_THREAD_P): New parameter for result regno.
23570         (PSEUDO): Update to match; use cbz instead of beq.
23572         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
23573         Use ENTRY to define the _nocancel entry point.  Share the syscall
23574         and syscall error check paths with the cancel path.
23575         (PSEUDO_END): New.
23577         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
23578         whitespace; tabs before and after asm mnemonics.
23580 2014-05-29  Eric Wong  <normalperson@yhbt.net>
23582         [BZ #15132]
23583         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23584         Call fstat64 or stat64 internally, depending on arguments passed.
23585         Replace stat buffer argument with file descriptor argument.
23586         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
23587         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
23588         Pass fd to __internal_statvfs instead of calling fstat64.
23589         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
23590         Pass fd to __internal_statvfs64 instead of calling fstat64.
23591         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
23592         Pass -1 to __internal_statvfs instead of calling stat64.
23593         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
23594         Pass -1 to __internal_statvfs64 instead of calling stat64.
23596 2014-05-28  Roland McGrath  <roland@hack.frob.com>
23598         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
23599         that was previously under [RESET_PID].
23600         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
23602         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
23603         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
23605 2014-05-27  Roland McGrath  <roland@hack.frob.com>
23607         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
23609         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
23610         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
23612 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
23614         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
23616 2014-05-27  Andreas Schwab  <schwab@suse.de>
23618         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
23619         TLS_INIT_TP macro.
23620         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
23621         * elf/rtld.c (init_tls, dl_main): Likewise.
23622         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
23623         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
23624         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
23625         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
23626         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
23627         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
23628         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
23629         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
23630         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
23631         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
23632         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
23633         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
23634         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
23635         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
23636         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
23637         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
23638         * sysdeps/generic/tls.h: Update description.
23640 2014-05-27  Will Newton  <will.newton@linaro.org>
23642         [BZ #16990]
23643         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
23644         and restore r2 rather than just restoring.
23646 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23648         [BZ #16724]
23649         * libio/tst-ftell-append.c: New test case.
23650         * libio/Makefile (tests): Add test case.
23651         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
23652         append mode.
23653         * libio/wfileops.c (do_ftell_wide): Likewise.
23655 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23659         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
23660         ...
23661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
23662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23663         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
23664         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
23665         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
23666         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
23667         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
23668         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
23669         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
23670         Moved ...
23671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
23672         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
23673         Moved ...
23674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
23675         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
23676         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
23677         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
23678         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
23679         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
23680         ...
23681         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
23682         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
23683         Moved ...
23684         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
23685         here.
23686         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
23687         ...
23688         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
23689         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
23690         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
23692         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
23693         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
23694         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
23695         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
23697         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
23698         merge into ...
23699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
23700         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
23701         ...
23702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
23703         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
23704         ...
23705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
23706         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
23707         Moved ...
23708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
23709         here.
23710         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
23711         Moved ...
23712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
23713         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
23714         Moved ...
23715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
23717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
23718         conditional [RESET_PID].
23719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
23720         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
23721         removed.
23722         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
23723         removed.
23725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
23726         <tcb-offsets.h>.
23727         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
23728         (__libc_vfork): New strong alias.
23729         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
23730         removed.
23731         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
23732         Removed.
23734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
23735         <tcb-offsets.h>.
23736         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
23737         (__libc_vfork): New strong alias.
23738         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
23739         removed.
23740         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
23741         removed.
23743 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
23745         * malloc/malloc.c (mi_arena): New function.
23746         (malloc_info): Remove nested function mi_arena. Call non-nosted
23747         function mi_arena.
23749 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23751         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
23752         by insrwi.
23753         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
23754         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
23755         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
23756         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
23757         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
23758         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
23759         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
23761 2014-05-26  Andreas Schwab  <schwab@suse.de>
23763         [BZ #16984]
23764         * locale/programs/repertoire.c (repertoire_read): Add slash
23765         between I18NPATH element and file name.
23766         * locale/programs/locfile.c (locfile_read): Likewise.
23768 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
23770         * nptl/pthread_mutexattr_settype.c
23771         (__pthread_mutexattr_settype):
23772         Disable lock elision for PTHREAD_MUTEX_NORMAL.
23774 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
23776         * nptl/tst-mutex5 (do_test):
23777         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
23779 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23781         * benchtests/README: Document 'init' directive.
23782         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
23783         BENCH_INIT.
23784         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
23785         (parse_file): Recognize 'init' directive.
23787 2014-05-26  Kyle McMartin  <kyle@redhat.com>
23789         [BZ #16796]
23790         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
23791         alignment of struct pthread.
23793 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23795         [BZ #16878]
23796         * nscd/netgroupcache.c (addgetnetgrentX): Look for
23797         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
23798         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
23799         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
23801 2014-05-25  Richard Henderson  <rth@twiddle.net>
23803         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23804         (SINGLE_THREAD_P_PIC): Remove.
23805         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
23806         (SINGLE_THREAD_P_PIC): Remove.
23808         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
23809         branch to syscall error ...
23810         (PSEUDO): ... here.
23811         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
23812         from __local_syscall_error to .Lsyscall_error.
23813         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
23814         (SYSCALL_ERROR): Update label name.
23816         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
23817         Do not use DOARGS/UNDOARGS.
23818         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
23819         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
23820         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
23821         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
23822         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
23824         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
23825         block comment.
23827         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
23828         define if !NOT_IN_libc.
23829         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
23830         define with non-default symbol versions.
23832 2014-05-23  Richard Henderson  <rth@twiddle.net>
23834         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
23835         (vfork, __vfork): Define via compat_symbol.
23837         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
23838         [!HAVE_IFUNC] (vfork_compat): Remove.
23839         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
23841 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
23843         [BZ #16978]
23844         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
23845         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
23846         variable.
23848 2014-05-23  Richard Henderson  <rth@twiddle.net>
23850         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
23851         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
23852         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
23853         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
23855         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
23856         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
23857         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
23858         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
23859         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
23860         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
23861         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
23862         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
23863         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
23864         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
23865         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
23866         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
23867         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
23868         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
23869         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
23870         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
23871         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
23872         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
23873         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
23874         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
23875         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
23876         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
23877         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
23878         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
23879         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
23880         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
23881         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
23882         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
23883         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
23884         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
23885         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
23886         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
23887         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
23888         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
23889         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
23890         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
23891         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
23892         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
23893         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
23894         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
23895         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
23896         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
23897         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
23898         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
23899         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
23900         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
23901         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
23902         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
23903         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
23904         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
23905         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
23906         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
23907         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
23908         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
23909         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
23910         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
23912         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
23913         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
23914         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
23915         before exiting on error.
23916         (__libc_vfork): New strong alias.
23917         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
23918         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
23920         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
23921         that was previously under [RESET_PID].
23922         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
23924         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
23926 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
23928         [BZ #16977]
23929         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
23930         value when x - 1 is zero.
23931         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
23932         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
23933         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
23934         0.0L for an argument of 1.0L.
23935         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
23936         Likewise.
23937         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
23938         value when x - 1 is zero.
23939         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
23940         * sysdeps/i386/fpu/libm-test-ulps: Update.
23941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23943 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
23945         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
23946         alphasort and versionsort.
23948 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23950         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
23951         macro.
23952         [copysignf]: Likewise.
23954 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23956         * crypt/md5-crypt.c: Fix formatting.
23958 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23960         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
23961         (b64_from_24bit): New function.
23963 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23965         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
23966         libc_hidden_builtin_def to ifunc.
23967         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
23968         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
23970 2014-05-21  Roland McGrath  <roland@hack.frob.com>
23972         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
23973         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
23975 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
23977         * nscd/Depend (linuxthreads): Remove.
23978         (nptl): Add.
23979         * resolv/Depend (linuxthreads): Remove.
23980         * rt/Depend (linuxthreads): Remove.
23982         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
23983         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
23984         $(common-objpfx)elf/.
23985         (link-libc-before-gnulib): Likewise.
23986         (elfobjdir): Remove variable.
23987         * Makefile (install): Use $(elf-objpfx) instead of
23988         $(common-objpfx)elf/.
23989         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
23990         $(elfobjdir)/.
23991         (link-libc-deps): Likewise.
23992         ($(common-objpfx)libc.so): Likewise.
23993         ($(common-objpfx)linkobj/libc.so): Likewise.
23994         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
23995         instead of $(common-objpfx)elf/.
23996         (symbolic-link-list): Likewise.
23997         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
23998         [$(cross-compiling) = no]: Likewise.
23999         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
24000         $(elfobjdir)/.
24001         (static-gnulib-arch): Likewise.
24002         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24003         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
24004         $(common-objpfx)elf/.
24006 2014-05-21  Richard Henderson  <rth@redhat.com>
24008         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24009         (SINGLE_THREAD_P): Use the correct width load.  Fold
24010         into the ldr offset.
24012         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
24013         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
24015 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
24017         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
24018         (libgcc_s_resume): Use __attribute_used__.
24019         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
24020         Likewise.
24022 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24024         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
24025         optimization when used with float constants.
24027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24029 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
24031         [BZ #16915]
24032         * locale/nl_langinfo_l.c: Make direct reference to every
24033         _nl_current_CATEGORY symbol.
24034         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
24035         (tests-static): Add tst-langinfo-static.
24036         (tests-special): Add tst-langinfo-static.out.
24037         ($(objpfx)tst-langinfo.out): Redirect output.
24038         ($(objpfx)tst-langinfo-static.out): New.
24039         * localedata/tst-langinfo.sh: Send output to stdout.
24040         * localedata/tst-langinfo-static.c: New file.
24042         [BZ #16965]
24043         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
24044         when the shift amount is modulo the limb size.
24046 2014-05-20  Richard Henderson  <rth@redhat.com>
24048         [BZ #16967]
24049         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
24050         Change type of sa_flags from unsigned int to int.
24052         [BZ #16966]
24053         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
24055         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
24057 2014-05-20  Will Newton  <will.newton@linaro.org>
24059         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24060         Test the return value of the system call in the nocancel case.
24062 2014-05-20  Will Newton  <will.newton@linaro.org>
24063             Yvan Roux  <yvan.roux@linaro.org>
24065         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
24066         #include of asm/ptrace.h.
24067         (PTRACE_GET_THREAD_AREA): Remove #undef.
24068         (PTRACE_GETHBPREGS): Likewise.
24069         (PTRACE_SETHBPREGS): Likewise.
24070         (struct user_regs_struct): New structure.
24071         (struct user_fpsimd_struct): New structure.
24072         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
24073         #include of asm/ptrace.h and second #include of sys/user.h.
24074         (PTRACE_GET_THREAD_AREA): Remove #undef.
24075         (PTRACE_GETHBPREGS): Likewise.
24076         (PTRACE_SETHBPREGS): Likewise.
24077         (ELF_NGREG): Use new struct user_regs_struct.
24078         (elf_fpregset_t): Use new struct user_fpsimd_struct.
24080 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24082         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
24083         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
24085 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
24087         [BZ #16958]
24088         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
24089         membar to avoid block loads/stores to overlap previous stores.
24091 2014-05-17  Richard Henderson  <rth@redhat.com>
24093         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
24094         Create the __##syscall_name##_nocancel entry point.
24095         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
24096         Remove; let the sysdep-cancel.h code create it.
24098 2014-05-17  David S. Miller  <davem@davemloft.net>
24100         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
24101         Protect with __USE_GNU.
24102         (TIOCSET_TEMPT): Likewise.
24103         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24104         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
24105         these are already provided in bits/ioctl-types.h
24107 2014-05-16  Roland McGrath  <roland@hack.frob.com>
24109         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
24110         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
24112         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
24113         Use wait4 regardless of [__NR_waitpid].
24115 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
24117         PR libgcc/60166
24118         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24119         (_FP_NANSIGN_Q): Set the quiet bit.
24121 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
24123         * benchtests/Makefile
24124         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
24125         not $(common-objpfx)math/libm.so.
24126         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
24127         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
24128         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
24129         $(common-objpfx)dlfcn/libdl.so.
24130         ($(objpfx)tst-audit8): Depend on $(libm), not
24131         $(common-objpfx)math/libm.so.
24132         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
24133         not $(common-objpfx)dlfcn/libdl.so.
24134         * math/Makefile
24135         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24136         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
24137         [$(build-shared) = yes].
24138         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
24139         $(common-objpfx)nptl/libpthread.so.
24140         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
24141         $(common-objpfx)math/libm.so$(libm.so-version) or
24142         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
24143         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
24144         $(common-objpfx)dlfcn/libdl.so.
24145         * setjmp/Makefile (link-libm): Remove variable.
24146         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
24147         * stdio-common/Makefile (link-libm): Remove variable.
24148         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
24149         * stdlib/Makefile (link-libm): Remove variable.
24150         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
24151         ($(objpfx)tst-strtod-round): Likewise.
24152         ($(objpfx)tst-tininess): Likewise.
24153         ($(objpfx)tst-strtod-underflow): Likewise.
24154         ($(objpfx)tst-strtod6): Likewise.
24155         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
24156         $(libdl), not $(common-objpfx)nptl/libpthread.so and
24157         $(common-objpfx)dlfcn/libdl.so.
24159 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24161         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
24162         BSD terminal modes definitions.
24164 2014-05-16  Roland McGrath  <roland@hack.frob.com>
24166         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
24167         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
24169         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
24170         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
24171         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
24172         Don't do #include_next.
24173         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
24174         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
24175         Don't do #include_next.
24176         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
24177         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
24178         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
24179         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
24181 2014-05-16  Allan McRae  <allan@archlinux.org>
24183         * po/sv.po: Update Swedish translation from translation project.
24185         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
24186         in sed expression.
24188 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
24190         [BZ #16917]
24191         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
24192         errno if the TIOCGPTN ioctl fails with an error different than
24193         EINVAL.
24194         * login/tst-ptsname.c: New file.
24195         * login/Makefile (tests): Add tst-ptsname.
24197         [BZ #16943]
24198         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
24199         and prlimit64.
24201 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24203         [BZ #16849]
24204         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
24205         herrno to return EAI_AGAIN.
24207 2014-05-14  Roland McGrath  <roland@hack.frob.com>
24209         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
24210         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
24211         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
24212         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
24213         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
24214         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
24215         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
24216         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
24217         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
24218         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
24219         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
24220         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
24221         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
24222         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
24223         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
24224         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
24225         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
24226         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
24227         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
24228         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
24229         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
24230         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
24231         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
24232         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
24233         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
24234         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
24235         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
24236         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
24237         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
24238         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
24239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
24240         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
24241         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
24242         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
24243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24244         Moved ...
24245         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
24246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
24247         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
24248         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
24249         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
24250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
24251         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
24252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
24253         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
24254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
24255         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
24256         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
24257         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
24258         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
24259         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
24260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
24261         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
24262         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
24263         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
24264         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
24265         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
24266         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
24267         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
24268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
24269         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
24270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
24271         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
24272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24273         Moved ...
24274         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
24275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
24276         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
24277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
24278         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
24279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
24280         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
24281         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
24282         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
24283         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
24284         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
24285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
24286         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
24287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
24288         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
24289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
24290         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
24291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
24292         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
24293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24294         Moved ...
24295         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
24296         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
24297         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
24299         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
24300         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
24301         (libpthread-sysdep_routines): Add elision-related stuff here instead.
24302         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
24303         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
24304         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
24305         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
24306         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
24307         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
24308         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
24309         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
24310         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
24311         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
24312         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
24313         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
24314         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
24315         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
24316         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
24317         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
24318         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
24319         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
24320         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
24321         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
24322         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
24323         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
24324         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
24325         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
24326         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
24327         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
24328         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
24329         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
24331         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
24332         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
24334         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
24335         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
24336         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
24337         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
24338         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
24339         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
24340         Moved ...
24341         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
24342         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
24343         Moved ...
24344         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
24345         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
24346         Moved ...
24347         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
24348         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
24349         Moved ...
24350         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
24351         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
24352         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
24353         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
24354         Moved ...
24355         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
24356         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
24357         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
24358         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
24359         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
24360         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
24361         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
24362         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
24363         Moved ...
24364         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
24365         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
24366         Moved ...
24367         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
24368         ... here.
24369         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
24370         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
24371         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
24372         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
24373         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
24374         Moved ...
24375         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
24376         ... here.
24377         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
24378         Moved ...
24379         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
24380         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
24381         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
24382         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
24383         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
24384         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
24385         Moved ...
24386         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
24387         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
24388         Moved ...
24389         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
24390         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
24391         Moved ...
24392         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
24393         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
24394         Moved ...
24395         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
24396         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
24397         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
24398         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
24399         Moved ...
24400         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
24401         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
24402         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
24403         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
24404         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
24405         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
24406         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
24407         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
24408         Moved ...
24409         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
24410         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
24411         Moved ...
24412         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
24413         ... here.
24414         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
24415         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
24416         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
24417         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
24418         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
24419         Moved ...
24420         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
24421         ... here.
24422         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
24423         Moved ...
24424         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
24425         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
24426         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
24427         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
24428         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
24429         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
24430         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
24431         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
24432         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
24433         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
24434         Moved ...
24435         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
24436         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
24437         Moved ...
24438         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
24439         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
24440         Moved ...
24441         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
24442         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
24443         Moved ...
24444         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
24445         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
24446         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
24447         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
24448         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
24449         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
24450         Moved ...
24451         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
24452         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
24453         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
24454         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
24455         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
24456         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
24457         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
24458         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
24459         Moved ...
24460         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
24461         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
24462         Moved ...
24463         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
24464         ... here.
24465         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
24466         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
24467         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
24468         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
24469         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
24470         Moved ...
24471         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
24472         ... here.
24473         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
24474         Moved ...
24475         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
24476         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
24477         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
24478         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
24479         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
24480         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
24481         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
24482         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
24483         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
24484         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
24485         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
24487         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
24488         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
24490         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
24491         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
24493         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
24494         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
24495         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
24496         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
24497         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
24498         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
24499         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
24500         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
24501         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
24502         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
24503         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
24504         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
24505         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
24506         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
24507         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
24508         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
24509         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
24510         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
24511         Moved ...
24512         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
24513         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
24514         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
24515         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
24516         Moved ...
24517         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
24518         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
24519         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
24520         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
24521         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
24522         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
24523         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
24524         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
24525         Moved ...
24526         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
24527         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
24528         Moved ...
24529         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
24530         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
24531         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
24532         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
24533         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
24534         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
24535         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
24536         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
24537         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
24538         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
24539         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
24540         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
24541         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
24542         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
24543         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
24544         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
24545         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
24547         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
24548         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
24549         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
24550         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
24551         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
24553         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
24554         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
24555         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
24556         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
24557         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
24558         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
24559         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
24560         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
24561         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
24562         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
24564         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
24565         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
24567         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
24568         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
24569         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
24570         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
24571         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
24572         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
24573         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
24574         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
24575         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
24576         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
24577         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
24578         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
24579         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
24580         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
24581         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
24582         Update #include.
24583         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
24584         Likewise.
24585         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
24586         Likewise.
24587         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
24588         Likewise.
24589         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
24590         Likewise.
24591         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
24592         Likewise.
24593         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
24594         Likewise.
24595         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
24596         Likewise.
24597         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
24598         Likewise.
24599         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
24600         Likewise.
24601         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
24602         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
24603         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
24604         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
24605         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
24606         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
24607         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
24608         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
24609         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
24610         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
24611         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
24612         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
24613         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
24614         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
24615         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
24617         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
24618         that was previously under [RESET_PID].
24619         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24620         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
24621         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
24623         * sysdeps/i386/nptl/Implies: New file.
24624         * sysdeps/x86_64/nptl/Implies: New file.
24625         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
24626         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
24627         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
24628         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
24630         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
24631         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24632         (__libc_vfork): New strong alias.
24633         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
24634         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
24636         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
24637         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24638         (__libc_vfork): New strong alias.
24639         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
24640         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
24642         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
24643         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24644         (__libc_vfork): New strong alias.
24645         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
24646         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
24647         * nptl/pt-vfork.c: New file.
24648         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
24649         (libpthread: GLIBC_2.20): New version set (empty).
24651 2014-05-14  Will Newton  <will.newton@linaro.org>
24653         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
24654         rather than #if.
24656 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
24658         [BZ #16564]
24659         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
24660         arguments with exponent 65 or above.
24661         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
24662         arguments 0x1p113L or above.
24663         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
24664         to arguments 0x1p107L or above.
24665         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
24666         positive arguments with exponent 65 or above.
24667         * math/auto-libm-test-in: Add more tests of log1p.
24668         * math/auto-libm-test-out: Regenerated.
24670         [BZ #16928]
24671         * math/s_cacos.c (__cacos): Ensure zero real part of result from
24672         non-finite arguments is +0.
24673         * math/s_cacosf.c (__cacosf): Likewise.
24674         * math/s_cacosl.c (__cacosl): Likewise.
24675         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
24676         * sysdeps/i386/fpu/libm-test-ulps: Update.
24677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24679         [BZ #16927]
24680         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
24681         value.
24682         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
24683         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
24684         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
24685         for explicit high bit of mantissa when testing for argument equal
24686         to 1.
24687         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
24688         * sysdeps/i386/fpu/libm-test-ulps: Update.
24689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24691         [BZ #16516]
24692         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
24693         (__erf): Scale by 16 instead of 8 in potentially underflowing
24694         case.  Ensure exception if result actually underflows.
24695         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
24696         (__erff): Scale by 16 instead of 8 in potentially underflowing
24697         case.  Ensure exception if result actually underflows.
24698         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
24699         (efx8): Remove variable.
24700         (__erfl): Scale by 16 instead of 8 in potentially underflowing
24701         case.  Ensure exception if result actually underflows.
24702         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
24703         (efx8): Remove variable.
24704         (__erfl): Scale by 16 instead of 8 in potentially underflowing
24705         case.  Ensure exception if result actually underflows.
24706         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
24707         (efx8): Remove variable.
24708         (__erfl): Scale by 16 instead of 8 in potentially underflowing
24709         case.  Ensure exception if result actually underflows.
24710         * math/auto-libm-test-in: Add more tests of erf.
24711         * math/auto-libm-test-out: Regenerated.
24713 2014-05-14  Andreas Schwab  <schwab@suse.de>
24715         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
24716         Remove code conditionalized on USE___THREAD.
24718         * config.h.in (HAVE_PT_CHOWN): Define as 0.
24719         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
24720         not definedness.
24722 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
24724         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
24725         Define unconditionally.
24726         (__ASSUME_O_CLOEXEC): Likewise.
24727         (__ASSUME_SOCK_CLOEXEC): Likewise.
24728         (__ASSUME_IN_NONBLOCK): Likewise.
24729         (__ASSUME_PIPE2): Likewise.
24730         (__ASSUME_EVENTFD2): Likewise.
24731         (__ASSUME_SIGNALFD4): Likewise.
24732         (__ASSUME_DUP3): Likewise.
24733         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24734         (__ASSUME_DUP3): Do not define.
24735         (__ASSUME_EVENTFD2): Likewise.
24736         (__ASSUME_IN_NONBLOCK): Likewise.
24737         (__ASSUME_O_CLOEXEC): Likewise.
24738         (__ASSUME_PIPE2): Likewise.
24739         (__ASSUME_SIGNALFD4): Likewise.
24740         (__ASSUME_SOCK_CLOEXEC): Likewise.
24741         (__ASSUME_UTIMES): Undefine.
24742         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24743         (__ASSUME_UTIMES): Do not define.
24744         (__ASSUME_O_CLOEXEC): Likewise.
24745         (__ASSUME_SOCK_CLOEXEC): Likewise.
24746         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
24747         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
24748         0x020621].
24749         (__ASSUME_PIPE2): Likewise.
24750         (__ASSUME_EVENTFD2): Likewise.
24751         (__ASSUME_SIGNALFD4): Likewise.
24752         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
24753         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
24754         Do not define.
24755         (__ASSUME_EVENTFD2): Likewise.
24756         (__ASSUME_SIGNALFD4): Likewise.
24757         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24758         (__ASSUME_32BITUIDS): Likewise.
24759         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24760         (__ASSUME_IPC64): Likewise.
24761         (__ASSUME_ST_INO_64_BIT): Likewise.
24762         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
24763         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
24764         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24765         (__ASSUME_UTIMES): Do not define.
24766         (__ASSUME_PSELECT): Likewise.
24767         (__ASSUME_PPOLL): Likewise.
24768         (__ASSUME_O_CLOEXEC): Likewise.
24769         (__ASSUME_SOCK_CLOEXEC): Likewise.
24770         (__ASSUME_IN_NONBLOCK): Likewise.
24771         (__ASSUME_PIPE2): Likewise.
24772         (__ASSUME_EVENTFD2): Likewise.
24773         (__ASSUME_SIGNALFD4): Likewise.
24774         (__ASSUME_DUP3): Likewise.
24775         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24776         (__ASSUME_UTIMES): Likewise.
24777         (__ASSUME_O_CLOEXEC): Likewise.
24778         (__ASSUME_SOCK_CLOEXEC): Likewise.
24779         (__ASSUME_IN_NONBLOCK): Likewise.
24780         (__ASSUME_PIPE2): Likewise.
24781         (__ASSUME_EVENTFD2): Likewise.
24782         (__ASSUME_SIGNALFD4): Likewise.
24783         (__ASSUME_DUP3): Likewise.
24784         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24785         (__ASSUME_UTIMES): Likewise.
24786         (__ASSUME_O_CLOEXEC): Likewise.
24787         (__ASSUME_SOCK_CLOEXEC): Likewise.
24788         (__ASSUME_IN_NONBLOCK): Likewise.
24789         (__ASSUME_PIPE2): Likewise.
24790         (__ASSUME_EVENTFD2): Likewise.
24791         (__ASSUME_SIGNALFD4): Likewise.
24792         (__ASSUME_DUP3): Likewise.
24793         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
24794         Likewise.
24795         (__ASSUME_UTIMES): Likewise.
24796         (__ASSUME_EVENTFD2): Likewise.
24797         (__ASSUME_SIGNALFD4): Likewise.
24798         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24799         (__ASSUME_O_CLOEXEC): Likewise.
24800         (__ASSUME_SOCK_CLOEXEC): Likewise.
24801         (__ASSUME_IN_NONBLOCK): Likewise.
24802         (__ASSUME_PIPE2): Likewise.
24803         (__ASSUME_EVENTFD2): Likewise.
24804         (__ASSUME_SIGNALFD4): Likewise.
24805         (__ASSUME_DUP3): Likewise.
24806         (__ASSUME_UTIMES): Undefine.
24808         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
24809         feclearexcept.  Remove symbol versioning code.
24810         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
24811         symbol versioning code.
24812         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
24813         symbol versioning code.
24814         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
24815         feupdateenv.  Remove symbol versioning code.
24816         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
24817         fegetexceptflag.  Remove symbol versioning code.
24818         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
24819         fesetexceptflag.  Remove symbol versioning code.
24820         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
24821         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
24822         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
24823         (__posix_fadvise64_l32): Remove prototype.
24824         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
24825         code.
24827 2014-05-13  Roland McGrath  <roland@hack.frob.com>
24829         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
24830         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
24831         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
24832         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
24834 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
24836         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
24837         current working directory
24839 2014-05-13  Roland McGrath  <roland@hack.frob.com>
24841         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
24842         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
24843         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
24844         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
24845         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
24846         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
24847         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
24848         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
24849         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
24850         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
24851         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
24852         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
24853         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
24854         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
24855         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
24856         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
24857         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
24858         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
24859         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
24860         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
24861         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
24862         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
24863         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
24864         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
24865         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
24866         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
24867         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
24868         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
24869         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
24870         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
24871         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
24872         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
24873         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
24874         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
24875         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
24876         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
24877         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
24878         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
24879         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
24880         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
24881         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
24882         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
24884         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
24885         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
24887         * sysdeps/unix/sysv/linux/arm/Makefile
24888         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
24889         Add rt-aeabi_unwind_cpp_pr1.
24890         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
24891         Add nptl-aeabi_unwind_cpp_pr1.
24892         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
24893         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
24894         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
24895         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
24896         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
24897         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
24899         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
24900         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
24901         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
24902         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
24904         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
24905         Deconditionalize the code that was previously under [RESET_PID].
24906         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
24908         * sysdeps/generic/exit-thread.h: New file.
24909         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
24910         * include/unistd.h (__exit_thread): Remove declaration.
24911         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
24912         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
24913         * csu/libc-start.c: Include <exit-thread.h>.
24914         (LIBC_START_MAIN): Pass no argument to __exit_thread.
24915         * nptl/pthread_create.c: Include <exit-thread.h>.
24916         (start_thread): Call __exit_thread in place of __exit_thread_inline.
24917         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
24918         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
24919         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
24920         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
24921         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
24922         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
24923         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
24924         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
24925         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
24926         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
24927         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
24928         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
24929         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
24930         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
24931         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
24932         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
24934 2014-05-13  Andreas Schwab  <schwab@suse.de>
24936         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
24938 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
24940         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
24941         (__ASSUME_UTIMES): Do not condition on kernel version.
24942         (__ASSUME_PSELECT): Define unconditionally.
24943         (__ASSUME_PPOLL): Likewise.
24944         (__ASSUME_ATFCTS): Likewise.
24945         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
24946         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
24947         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
24948         (__ASSUME_UTIMENSAT): Define unconditionally.
24949         (__ASSUME_PRIVATE_FUTEX): Likewise.
24950         (__ASSUME_FALLOCATE): Likewise.
24951         (__ASSUME_O_CLOEXEC): Likewise.
24952         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
24953         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
24954         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
24955         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
24956         (__ASSUME_IN_NONBLOCK): Likewise.
24957         (__ASSUME_PIPE2): Likewise.
24958         (__ASSUME_EVENTFD2): Likewise.
24959         (__ASSUME_SIGNALFD4): Likewise.
24960         (__ASSUME_DUP3): Likewise.
24961         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24962         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
24963         (__ASSUME_AT_RANDOM): Likewise.
24964         (__ASSUME_PREADV): Likewise.
24965         (__ASSUME_PWRITEV): Likewise.
24966         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
24967         (__ASSUME_F_GETOWN_EX): Define unconditionally.
24968         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
24969         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24970         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
24971         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24972         (__ASSUME_O_CLOEXEC): Define unconditionally.
24973         (__ASSUME_PSELECT): Do not undefine conditionally.
24974         (__ASSUME_PPOLL): Likewise.
24975         (__ASSUME_ATFCTS): Likewise.
24976         (__ASSUME_SET_ROBUST_LIST): Likewise.
24977         (__ASSUME_UTIMENSAT): Likewise.
24978         (__ASSUME_FDATASYNC): Define unconditionally.
24979         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24980         (__ASSUME_SIGFRAME_V2): Likewise.
24981         )__ASSUME_EVENTFD2): Likewise.
24982         (__ASSUME_SIGNALFD4): Likewise.
24983         (__ASSUME_PSELECT): Do not undefine conditionally.
24984         (__ASSUME_PPOLL): Likewise.
24985         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24986         (__ASSUME_PSELECT): Define unconditionally.
24987         (__ASSUME_PPOLL): Likewise.
24988         (__ASSUME_O_CLOEXEC): Likewise.
24989         (__ASSUME_SOCK_CLOEXEC): Likewise.
24990         (__ASSUME_IN_NONBLOCK): Likewise.
24991         (__ASSUME_PIPE2): Likewise.
24992         (__ASSUME_EVENTFD2): Likewise.
24993         (__ASSUME_SIGNALFD4): Likewise.
24994         (__ASSUME_DUP3): Likewise.
24995         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24996         (__ASSUME_O_CLOEXEC): Likewise.
24997         (__ASSUME_SOCK_CLOEXEC): Likewise.
24998         (__ASSUME_IN_NONBLOCK): Likewise.
24999         (__ASSUME_PIPE2): Likewise.
25000         (__ASSUME_EVENTFD2): Likewise.
25001         (__ASSUME_SIGNALFD4): Likewise.
25002         (__ASSUME_DUP3): Likewise.
25003         * sysdeps/unix/sysv/linux/mips/kernel-features.h
25004         (__ASSUME_EVENTFD2): Likewise.
25005         (__ASSUME_SIGNALFD4): Likewise.
25006         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25008 2014-05-12  Andreas Schwab  <schwab@suse.de>
25010         [BZ #16932]
25011         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
25012         (_nss_nis_gethostbyname4_r): Return error if item length is larger
25013         than maximum RPC packet size.
25014         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
25015         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
25016         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
25017         (_nss_nis_getservbyport_r): Likewise.
25019 2014-05-12  Will Newton  <will.newton@linaro.org>
25021         * malloc/Makefile (tests): Add tst-mallopt.
25022         * malloc/tst-mallopt.c: New file.
25024 2014-05-09  Roland McGrath  <roland@hack.frob.com>
25026         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
25027         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
25029 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25031         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
25032         (tst-tlsmod6.so): Likewise.
25034 2014-05-09  Roland McGrath  <roland@hack.frob.com>
25036         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
25038 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
25040         [BZ #16064]
25041         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
25042         and <dl-procinfo.h>.
25043         (__fegetenv): Save SSE state in envp->__eip if supported.
25044         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
25045         envp->__eip if supported.
25046         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
25047         and <dl-procinfo.h>.
25048         (__fesetenv): Always set __eip, __cs_selector, __opcode,
25049         __data_offset and __data_selector in environment to 0.  Set SSE
25050         state if supported.
25051         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25052         test-fenv-sse.
25053         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
25054         -mfpmath=sse.
25055         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
25057 2014-05-09  Will Newton  <will.newton@linaro.org>
25059         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
25060         and libc_relro_required for ARM.
25061         * sysdeps/arm/preconfigure: Regenerate.
25063 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
25064             Stefan Liebler  <stli@linux.vnet.ibm.com>
25066         * config.make.in (enable-lock-elision): New Makefile variable.
25067         * configure.ac: Likewise.
25068         * configure: Regenerate.
25069         * sysdeps/s390/configure.ac:
25070         Add check for gcc transactions support.
25071         * sysdeps/s390/configure: Regenerate.
25072         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
25073         Build elision files if enabled.
25074         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
25075         Add lock elision support for s390.
25076         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25077         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
25078         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
25079         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
25080         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
25081         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25082         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
25083         Likewise.
25084         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
25085         Likewise.
25086         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
25087         Likewise.
25088         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
25089         Likewise.
25090         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
25091         (__lll_timedlock_elision, __lll_lock_elision)
25092         (__lll_unlock_elision, __lll_trylock_elision)
25093         (lll_timedlock_elision, lll_lock_elision)
25094         (lll_unlock_elision, lll_trylock_elision): Add.
25095         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
25096         (pthread_mutex_t): Add lock elision support for s390.
25098 2014-05-14  Wilco  <wdijkstr@arm.com>
25100         * sysdeps/arm/fclrexcpt.c: Cleanup.
25101         * sysdeps/arm/fedisblxcpt.c: Cleanup.
25102         * sysdeps/arm/feenablxcpt.c: Cleanup.
25103         * sysdeps/arm/fegetenv.c: Cleanup.
25104         * sysdeps/arm/fegetexcept.c: Cleanup.
25105         * sysdeps/arm/fegetround.c: Cleanup.
25106         * sysdeps/arm/feholdexcpt.c: Cleanup.
25107         * sysdeps/arm/fesetenv.c: Cleanup.
25108         * sysdeps/arm/fesetround.c: Cleanup.
25109         * sysdeps/arm/feupdateenv.c: Cleanup.
25110         * sysdeps/arm/fgetexcptflg.c: Cleanup.
25111         * sysdeps/arm/fraiseexcpt.c: Cleanup.
25112         * sysdeps/arm/fsetexcptflg.c: Cleanup.
25113         * sysdeps/arm/ftestexcept.c: Cleanup.
25114         * sysdeps/arm/get-rounding-mode.h: Cleanup.
25115         * sysdeps/arm/setfpucw.c: Cleanup.
25117 2014-05-09  Will Newton  <will.newton@linaro.org>
25119         * sysdeps/arm/armv7/strcmp.S: New file.
25120         * NEWS: Mention addition of ARMv7 optimized strcmp.
25122 2014-05-08  Roland McGrath  <roland@hack.frob.com>
25124         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
25125         look for %.ac rather than %.in.
25127         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
25128         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
25129         * sysdeps/mach/hurd/configure: Regenerated.
25130         * sysdeps/unix/sysv/linux/configure: Regenerated.
25132         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
25134 2014-05-07  Steve Ellcey  <sellcey@mips.com>
25136         [BZ# 16922]
25137         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
25138         (LONG_SUB): Ditto.
25139         (PTR_SUB): Ditto.
25141 2014-05-07  Andreas Schwab  <schwab@suse.de>
25143         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
25144         when skipping over non-matching result from nscd.
25146 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
25148         [BZ #16876]
25149         * nptl/sockperf.c (client): Check socket return value.
25151         [BZ #16877]
25152         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
25153         nscd security class.
25155 2014-05-06  Roland McGrath  <roland@hack.frob.com>
25157         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
25158         * sysdeps/arm/unwind.h: ... here.
25160 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
25162         [BZ# 16916]
25163         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
25164         Define.
25166 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25168         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
25169         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
25170         multiarch strncpy for PPC64.
25171         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
25172         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
25173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
25174         multiarch optimizations.
25175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25176         (__libc_ifunc_impl_list): Likewise.
25177         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
25178         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
25179         multiarch stpncpy for PPC64.
25180         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
25181         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
25183 2014-05-06  Andreas Schwab  <schwab@suse.de>
25185         [BZ #16912]
25186         * gmon/mcount.c (_MCOUNT_DECL): Use
25187         atomic_compare_and_exchange_bool_acq instead of
25188         catomic_compare_and_exchange_bool_acq.
25190 2014-05-05  Roland McGrath  <roland@hack.frob.com>
25192         * elf/Makefile (others, install-bin): Remove pldd.
25193         (pldd-modules): Variable removed.
25194         ($(objpfx)pldd): Target removed.
25195         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
25196         (others, install-bin): Append pldd here.
25197         ($(objpfx)pldd): New target.
25199         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
25200         to 0, so the first #if test emitted later doesn't see it undefined.
25201         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
25202         * sysdeps/gnu/errlist.c: Regenerated.
25204 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25206         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25207         [libc_hidden_builtin_def]: Define to empty value.
25208         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
25209         [libc_hidden_builtin_def]: Likewise.
25210         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
25211         [libc_hidden_builtin_def]: Likewise.
25212         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
25213         [libc_hidden_builtin_def]: Likewise.
25214         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
25215         __redirect_memcpy and define ifunc as default hidden symbol.
25216         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
25217         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
25219 2014-05-04  Adam Conrad  <adconrad@0c3.net>
25221         * locale/iso-4217.def: Reintroduce XDR currency.
25223 2014-05-04  Allan McRae  <allan@archlinux.org>
25225         * po/eo.po: Update Esperanto translation from translation project.
25227 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
25229         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
25230         and FEATURE_INDEX_MAX to 1.
25231         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
25233 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25235         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
25236         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
25237         * iconvdata/big5.c (ONE_DIRECTION): Define.
25238         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
25239         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
25240         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
25241         * iconvdata/cp932.c (ONE_DIRECTION): Define.
25242         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
25243         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
25244         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
25245         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
25246         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
25247         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
25248         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
25249         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
25250         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
25251         * iconvdata/gbk.c (ONE_DIRECTION): Define.
25252         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
25253         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
25254         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
25255         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
25256         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
25257         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
25258         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
25259         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
25260         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
25261         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
25262         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
25263         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
25264         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
25265         * iconvdata/iso646.c (ONE_DIRECTION): Define.
25266         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
25267         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
25268         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
25269         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
25270         * iconvdata/johab.c (ONE_DIRECTION): Define.
25271         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
25272         * iconvdata/sjis.c (ONE_DIRECTION): Define.
25273         * iconvdata/t.61.c (ONE_DIRECTION): Define.
25274         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
25275         * iconvdata/tscii.c (ONE_DIRECTION): Define.
25276         * iconvdata/uhc.c (ONE_DIRECTION): Define.
25277         * iconvdata/unicode.c (ONE_DIRECTION): Define.
25278         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
25279         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
25280         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
25282 2014-05-01  Roland McGrath  <roland@hack.frob.com>
25284         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
25285         (_IO_JUMPS_OFFSET): Define to 0.
25287         * nptl/sysdeps/pthread/bits/libc-lock.h
25288         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
25289         (__libc_lock_define_initialized_recursive): Always define using
25290         initializer.  Modern compilers treat uninitialized (implicit zero) and
25291         explicit zero initializers the same (i.e. put the datum in bss).
25293 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25295         * nscd/nscd-client.h: Include <string.h>.
25297 2014-05-01  David S. Miller  <davem@davemloft.net>
25299         [BZ #16885]
25300         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
25301         multiple zero bytes exist at the end of a string.
25302         Reported by Aurelien Jarno <aurelien@aurel32.net>
25304         * string/test-strcmp.c (check): Add explicit test for situations where
25305         there are multiple zero bytes after the first.
25307 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25309         [BZ #16890]
25310         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
25311         when compiling wprintf.
25312         * stdio-common/tstdiomisc.c (t3): New function.
25313         (main): Call it.
25315 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25317         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
25318         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
25319         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
25320         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
25322 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25324         * stdlib/longlong.h: Updated from GCC.
25326 2014-05-01  Will Newton  <will.newton@linaro.org>
25327             Bernard Ogden  <bernie.ogden@linaro.org>
25329         * NEWS: Update fixed bug list.
25331         [BZ #15119]
25332         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
25334 2014-04-30  David S. Miller  <davem@davemloft.net>
25336         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
25337         (libc_feholdexcept_setround_sparc_ctx): New function.
25338         (libc_fesetenv_sparc_ctx): Likewise.
25339         (libc_feupdateenv_sparc_ctx): Likewise.
25340         (libc_feholdsetround_sparc_ctx): Likewise.
25341         (libc_feholdexcept_setround_ctx): Define.
25342         (libc_feholdexcept_setroundf_ctx): Likewise.
25343         (libc_feholdexcept_setroundl_ctx): Likewise.
25344         (libc_fesetenv_ctx): Likewise.
25345         (libc_fesetenvf_ctx): Likewise.
25346         (libc_fesetenvl_ctx): Likewise.
25347         (libc_feupdateenv_ctx): Likewise.
25348         (libc_feupdateenvf_ctx): Likewise.
25349         (libc_feupdateenvl_ctx): Likewise.
25350         (libc_feresetround_ctx): Likewise.
25351         (libc_feresetroundf_ctx): Likewise.
25352         (libc_feresetroundl_ctx): Likewise.
25353         (libc_feholdsetround_ctx): Likewise.
25354         (libc_feholdsetroundf_ctx): Likewise.
25355         (libc_feholdsetroundl_ctx): Likewise.
25357         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
25358         with __USE_GNU instead of XOPEN cpp guards.
25360         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
25361         0.
25363         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
25364         with XOPEN cpp guards.
25366 2014-04-30  Julian Brown  <julian@codesourcery.com>
25368         [BZ #16888]
25369         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
25370         handling.
25372 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
25374         [BZ #9894]
25375         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
25376         Change to 2.6.32.
25377         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
25378         * sysdeps/unix/sysv/linux/configure: Regenerated.
25379         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
25380         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
25381         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
25382         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
25383         * README: Update reference to required Linux kernel version.
25384         * manual/install.texi (Linux): Update reference to required Linux
25385         kernel headers version.
25386         * INSTALL: Regenerated.
25388         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
25389         header inclusion.
25390         [POSIX] (limits.h): Likewise.
25391         [POSIX] (math.h): Likewise.
25392         [POSIX] (sys/wait.h): Likewise.
25393         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
25394         function.
25395         [POSIX] (stddef.h): Do not allow header inclusion.
25397 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25399         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
25401 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
25403         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
25404         Return immediately after lll_futex_wake.
25406 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25408         [BZ #16791]
25409         * nscd/nscd-client.h (datahead_init_common): Initialize entire
25410         structure.
25411         (datahead_init_pos): Call datahead_init_common early.
25412         (datahead_init_neg): Likewise.
25414         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
25415         datahead_init_neg): New functions.
25416         * nscd/aicache.c (addhstaiX): Use them.
25417         * nscd/grpcache.c (cache_addgr): Likewise.
25418         * nscd/hstcache.c (cache_addhst): Likewise.
25419         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25420         * nscd/netgroupcache.c (do_notfound): Likewise.
25421         (addgetnetgrentX): Likewise.
25422         (addinnetgrX): Likewise.
25423         * nscd/pwdcache.c (cache_addpw): Likewise.
25424         * nscd/servicescache.c (cache_addserv): Likewise.
25426 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25427             Atsushi Onoe  <atsushi@onoe.org>
25429         [BZ #14308]
25430         [BZ #12994]
25431         [BZ #13651]
25432         * resolv/res_query.c (__libc_res_nsearch): Return if at least
25433         one response is valid.
25434         * resolv/res_send.c (send_dg): Check for validity of other
25435         response if the current response is a referral.
25437 2014-04-29  Steve Ellcey  <sellcey@mips.com>
25439         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
25441 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
25443         [BZ #16823]
25444         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
25445         Always divide by positive zero when computing -Inf result.
25446         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25447         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
25449 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25451         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
25452         FPSCR if value do not change.
25453         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
25454         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
25455         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25456         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25457         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
25458         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
25459         function.
25461 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
25463         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
25464         * sysdeps/unix/sysv/linux/hppa: Move directory from
25465         ports/systeps/unix/sysv/linux/hppa.
25466         * README: Update listing for hppa-*-linux-gnu.
25468 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
25470         [BZ #16754]
25471         * manual/stdio.texi (Hook functions): Fix types of stream hook
25472         functions.
25473         [BZ #16854]
25474         * socket/sys/socket.h: Fix typo in comment.
25476 2014-04-28  Wilco  <wdijkstr@arm.com>
25478         * sysdeps/arm/fenv_private.h: New file.
25479         * sysdeps/arm/math_private.h: New file.
25480         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
25482 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
25484         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
25485         with __int128_t.
25486         (La_x86_64_retval): Likewise.
25488 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
25490         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
25491         fpsr if value didn't change.
25492         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
25493         to fpcr if value didn't change.
25494         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
25495         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
25496         fpsr or fpcr if value didn't change.
25497         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25498         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
25499         fpcr if value didn't change.
25500         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
25501         to fpsr if value didn't change.
25503 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25505         * nptl/tst-sem3.c: Use test-skeleton.c
25506         (main): Rename to do_test.  Use return instead of
25507         exit.
25508         * nptl/tst-sem4.c: Use test-skeleton.c
25509         (main): Rename to do_test.
25511 2014-04-22  David S. Miller  <davem@davemloft.net>
25513         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
25514         (struct sigaction): New struct member __glibc_reserved0, change
25515         type of sa_flags to int.
25517 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
25519         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
25520         (COUNT_LEADING_ZEROS_0): Define for AArch64.
25522 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25524         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
25525         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
25527 2014-04-22  Will Newton  <will.newton@linaro.org>
25528             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
25530         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
25531         (__longjmp): Add longjmp and longjmp_target SystemTap
25532         probes.
25533         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
25534         (__sigsetjmp): Add setjmp SystemTap probe.
25536 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
25538         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
25539         match manual order.
25541 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25543         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
25545         * sysdeps/powerpc/fpu/fenv_private.h
25546         (libc_feholdexcept_setroundl_ctx): Define to
25547         libc_feholdexcept_setround_ppc_ctx.
25548         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
25549         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
25550         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
25551         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
25553 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
25555         * sysdeps/aarch64/math-tests.h: New file.
25557 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
25559         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
25560         New.
25561         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25562         Check and set bit_AVX2_Usable.
25563         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
25564         macro.
25565         (bit_AVX2): Likewise.
25566         (index_AVX2_Usable): Likewise.
25567         (CPUID_AVX2): Likewise.
25568         (HAS_AVX2): Likewise.
25570 2014-04-17  Will Newton  <will.newton@linaro.org>
25572         * manual/setjmp.texi (System V contexts): Add note that
25573         calling setcontext on a context created by a call to a
25574         signal handler is undefined.  Update text to note that
25575         setcontext from a signal handler is possible but not
25576         recommended.
25578         [BZ #16629]
25579         * stdlib/tst-setcontext.c: Include signal.h.
25580         (main): Check that the signal stack before and
25581         after swapcontext is the same.
25583         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
25584         Re-implement to restore registers in user code and avoid
25585         rt_sigreturn system call.
25587 2014-04-17  Wilco  <wdijkstr@arm.com>
25589         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
25590         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
25591         * math/test-fenv.c: Skip exception trap tests on targets which only
25592         support non-stop mode.
25594 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
25595             Wilco Dijkstra  <wilco.dijkstra@arm.com>
25597         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
25598         (libc_feholdsetround_aarch64_ctx)
25599         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
25600         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
25601         (libc_feresetround_ctx, libc_feresetroundf_ctx)
25602         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
25603         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
25604         (libc_feresetround_noexl_ctx): Define.
25606 2014-04-16  Richard Henderson  <rth@redhat.com>
25608         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
25610         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
25611         unwind tables.
25613         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
25614         const from the non-libc, non-ldso copy.
25616         * sysdeps/alpha/libm-test-ulps: Regenerate.
25618 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
25619             Wilco Dijkstra  <wilco.dijkstra@arm.com>
25621         * sysdeps/aarch64/fpu/math_private.h: New file.
25623 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25625         * sysdeps/aarch64/libm-test-ulps: Regenerate.
25627 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
25629         [BZ #16275]
25630         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
25631         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
25632         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
25633         Intel MPX bound registers before _dl_profile_fixup.
25634         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
25635         registers after _dl_profile_fixup.  Save and restore bound
25636         registers bnd0/bnd1 when calling _dl_call_pltexit.
25637         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
25638         (LR_BND_OFFSET): Likewise.
25639         (LRV_BND0_OFFSET): Likewise.
25640         (LRV_BND1_OFFSET): Likewise.
25642 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25644         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
25645         to...
25646         * sysdeps/mach/hurd/i386/tls.h: ... here.
25647         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
25648         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
25649         fields.
25651 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25653         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
25655 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25657         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25659 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25661         [BZ #14770]
25662         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
25663         * sysdeps/s390/configure: Regenerate.
25665         [BZ #16824]
25666         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
25667         Set round-to-nearest internally to reduce error accumulation.
25669 2014-04-16  Alan Modra  <amodra@gmail.com>
25671         [BZ #16740]
25672         [BZ #16619]
25673         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
25674         * math/libm-test.inc (frexp_test_data): Add tests.
25675         * NEWS: Update fixed bug list.
25677 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25679         * benchtests/Makefile: Depend on libraries in build directory.
25680         (bench-math): Separate out math tests.
25681         (bench-pthread): Separate out pthread tests.
25682         (bench): Include math and pthread tests.
25684 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
25686         [BZ #16831]
25687         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
25688         _dl_debug_initialize.
25690         * configure.ac: Remove SELinux header check.
25691         * configure: Regenerate.
25692         * nscd/selinux.c (perms): Array of const char* to permission names.
25693         (nscd_request_avc_has_perm): Call security_deny_unknown to find
25694         default policy. Call string_to_security_class and string_to_av_perm to
25695         translate strings. Enforce default policy and call avs_has_perm with
25696         results of translated strings.
25698 2014-04-13  David S. Miller  <davem@davemloft.net>
25700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25702 2014-04-12  Allan McRae  <allan@archlinux.org>
25704         [BZ #16838]
25705         * manual/string.texi (Collation Functions): Fix qsort argument
25706         order in example.
25707         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25709 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
25711         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
25712         Make the test a no-op if there are no exceptions defined.
25714 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25716         * elf/Makefile (tests): make tst-dlopen-aout conditional on
25717         enable-hardcoded-path-in-tests
25719 2014-04-11  Will Newton  <will.newton@linaro.org>
25721         * benchtests/Makefile (extra-objs): Add json-lib.o.
25722         (bench-func): Tidy up JSON output.
25723         * benchtests/bench-skeleton.c: Include json-lib.h.
25724         (main): Use JSON library functions to do output of
25725         benchmark results.
25726         * benchtests/bench-timing-type.c (main): Output the
25727         timing type simply, leaving formatting to the user.
25728         * benchtests/json-lib.c: New file.
25729         * benchtests/json-lib.h: Likewise.
25731 2014-04-11  Torvald Riegel  <triegel@redhat.com>
25733         [BZ #15215]
25734         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
25735         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
25736         memory barriers.  Add comments.
25737         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
25738         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
25739         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
25740         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
25741         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
25742         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
25744 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25746         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
25747         * sysdeps/s390/s390-64/configure.ac: ... this ...
25748         * sysdeps/s390/configure.ac: ... to here.
25749         * sysdeps/s390/s390-32/configure: Delete file.
25750         * sysdeps/s390/s390-64/configure: Delete file.
25751         * sysdeps/s390/configure: Regenerate.
25753 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
25755         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
25757 2014-04-11  Will Newton  <will.newton@linaro.org>
25759         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
25760         to zero if it is not defined elsewhere.  (mtrim): Test
25761         the value of MALLOC_DEBUG with #if rather than #ifdef.
25763 2014-04-10 Torvald Riegel  <triegel@redhat.com>
25765         * benchtests/pthread_once-inputs: New file.
25766         * benchtests/pthread_once-source.c: New file.
25767         * benchtests/README: Update documentation.
25769 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
25770             H.J. Lu  <hongjiu.lu@intel.com>
25772         [BZ #16275]
25773         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
25774         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
25775         * sysdeps/x86_64/configure: Regenerated.
25776         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
25777         macro.
25778         (REGISTER_SAVE_RAX): Likewise.
25779         (REGISTER_SAVE_RCX): Likewise.
25780         (REGISTER_SAVE_RDX): Likewise.
25781         (REGISTER_SAVE_RSI): Likewise.
25782         (REGISTER_SAVE_RDI): Likewise.
25783         (REGISTER_SAVE_R8): Likewise.
25784         (REGISTER_SAVE_R9): Likewise.
25785         (REGISTER_SAVE_BND0): Likewise.
25786         (REGISTER_SAVE_BND1): Likewise.
25787         (REGISTER_SAVE_BND2): Likewise.
25788         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
25789         bound registers when calling _dl_fixup.
25791 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25793         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
25794         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
25795         of its definition.
25796         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
25797         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
25798         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
25799         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
25800         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
25801         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
25802         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
25804 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
25806         [BZ #15514]
25807         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
25808         pathconf(_PC_NAME_MAX).
25810 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25812         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
25813         Remove macro usage.
25814         (__PTHREAD_SPINS): Move definition to ...
25815         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25816         (__PTHREAD_SPINS): ... here.
25817         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
25818         (__PTHREAD_SPIN): Likewise.
25819         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
25820         (__PTHREAD_SPIN): Likewise.
25821         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
25822         (__PTHREAD_SPIN): Likewise.
25823         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
25824         (__PTHREAD_SPIN): Likewise.
25825         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
25826         (__PTHREAD_SPIN): Likewise.
25827         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
25828         (__PTHREAD_SPIN): Likewise.
25829         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
25830         (__PTHREAD_SPIN): Likewise.
25831         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
25832         (__PTHREAD_SPIN): Likewise.
25833         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
25834         (__PTHREAD_SPIN): Likewise.
25835         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
25836         (__PTHREAD_SPIN): Likewise.
25837         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
25838         (__PTHREAD_SPIN): Likewise.
25839         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
25840         (__PTHREAD_SPIN): Likewise.
25842         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
25843         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
25844         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
25845         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
25846         imply folder.
25847         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
25848         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
25849         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
25850         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
25851         correct imply path.
25852         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
25853         strlen symbol for non multi-arch builds.
25854         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
25855         missing hidden_def and weak_alias.
25857 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
25859         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
25861 2014-04-07  Will Newton  <will.newton@linaro.org>
25863         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
25864         and contents.  [!_LIBC] Remove #ifndef and contents.
25865         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
25866         * string/memccpy.c (__memccpy): Use ANSI prototype.
25867         * string/memfrob.c (memfrob): Likewise.
25868         * string/strcoll.c (STRCOLL): Likewise.
25869         * string/strlen.c (strlen): Likewise.
25870         * string/strtok.c (STRTOK): Likewise.
25871         * string/strcat.c: Remove unused #include of memcopy.h.
25872         (strcat): Use ANSI prototype.
25873         * string/strchr.c: Remove unused #include of memcopy.h.
25874         (strchr): Use ANSI prototype.
25875         * string/strcmp.c: Remove unused #include of memcopy.h.
25876         (strcmp): Use ANSI prototype.
25877         * string/strcpy.c: Remove unused #include of memcopy.h.
25878         (strcpy): Use ANSI prototype.
25880 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25882         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
25883         * config.make.in (config-extra-cppflags): Set it from
25884         libc_extra_cppflags.
25885         * configure.ac (libc_extra_cflags): Make it accumulate over
25886         configure fragments.
25887         (libc_extra_cppflags): New flag.
25888         * configure. Regenerate.
25889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
25890         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
25891         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
25892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
25894         [BZ #16815]
25895         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
25896         result for FE_DOWNWARD rounding mode.
25897         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
25898         Likewise.
25899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25901 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
25903         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
25904         in function argument name.
25906 2014-04-03  David Svoboda  <svoboda@cert.org>
25908         [BZ #5666]
25909         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
25910         explicitly.
25912 2014-04-03  Roland McGrath  <roland@hack.frob.com>
25914         * elf/dl-unmap-segments.h: New file.
25915         * sysdeps/generic/ldsodefs.h
25916         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
25917         * elf/dl-close.c: Include <dl-unmap-segments.h>.
25918         * elf/dl-fptr.c: Likewise.
25919         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
25920         * sysdeps/aarch64/tlsdesc.c: Likewise.
25921         * sysdeps/arm/tlsdesc.c: Likewise.
25922         * sysdeps/i386/tlsdesc.c: Likewise.
25923         * sysdeps/tile/dl-runtime.c: Likewise.
25924         * sysdeps/x86_64/tlsdesc.c: Likewise.
25925         * elf/dl-load.h: New file.
25926         * elf/dl-load.c: Include it.
25927         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
25928         Macros moved to dl-load.h.
25929         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
25930         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
25931         Use _dl_unmap_segments in place of __munmap.
25932         Break out segment-mapping loop into ...
25933         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
25935 2014-04-03  Will Newton  <will.newton@linaro.org>
25937         * elf/dl-lookup.c (do_lookup_x): Remove comment
25938         referring to nested function and move variable
25939         declarations down to before first use.
25941 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
25943         [BZ #16799]
25944         [BZ #16800]
25945         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
25946         with 0 numerator.
25947         * math/s_catanf.c (__catanf): Likewise.
25948         * math/s_catanh.c (__catanh): Likewise.
25949         * math/s_catanhf.c (__catanhf): Likewise.
25950         * math/s_catanhl.c (__catanhl): Likewise.
25951         * math/s_catanl.c (__catanl): Likewise.
25952         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
25953         by positive zero when computing -Inf result.
25954         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
25955         (catanh_test): Likewise.
25956         * sysdeps/i386/fpu/libm-test-ulps: Update.
25957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25959         [BZ #16789]
25960         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
25961         instead of using underflowing value in computing result.
25962         * math/s_clog10.c (__clog10): Likewise.
25963         * math/s_clog10f.c (__clog10f): Likewise.
25964         * math/s_clog10l.c (__clog10l): Likewise.
25965         * math/s_clogf.c (__clogf): Likewise.
25966         * math/s_clogl.c (__clogl): Likewise.
25967         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
25968         (clog10_test): Likewise.
25969         * sysdeps/i386/fpu/libm-test-ulps: Update.
25970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25972 2014-04-02  Alan Modra  <amodra@gmail.com>
25974         [BZ #16739]
25975         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
25976         output when value is near a power of two.  Use int64_t for lx and
25977         remove casts.  Use decimal rather than hex exponent constants.
25978         Don't use long double multiplication when double will suffice.
25979         * math/libm-test.inc (nextafter_test_data): Add tests.
25980         * NEWS: Add 16739 and 16786 to bug list.
25982         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
25984         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
25986 2014-04-01  Will Newton  <will.newton@linaro.org>
25988         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
25989         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
25991 2014-04-01  Florian Weimer  <fweimer@redhat.com>
25993         [BZ #13347]
25994         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
25995         * nptl/tst-setuid2.c: New file.
25996         * nptl/Makefile (xtests): Add tst-setuid2.
25998 2014-04-01  Alan Modra  <amodra@gmail.com>
26000         [BZ #16786]
26001         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
26003 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
26005         [BZ #6803]
26006         [BZ #6804]
26007         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
26008         set errno as appropriate.
26009         * math/w_scalbf.c (__scalbf): Likewise.
26010         * math/w_scalbl.c (__scalbl): Likewise.
26011         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
26012         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
26013         * math/libm-test.inc (scalb_test_data): Add errno expectations.
26014         Add more NaN tests.
26016         [BZ #16349]
26017         * math/w_atan2.c: Include <errno.h>.
26018         (__atan2): Set errno for result underflowing to zero.
26019         * math/w_atan2f.c: Include <errno.h>.
26020         (__atan2f): Set errno for result underflowing to zero.
26021         * math/w_atan2l.c: Include <errno.h>.
26022         (__atan2l): Set errno for result underflowing to zero.
26023         * math/auto-libm-test-in: Don't allow missing errno for some atan2
26024         tests.
26025         * math/auto-libm-test-out: Regenerated.
26027 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26029         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26030         Encode instruction correctly in little endian.
26031         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26032         Likewise.
26033         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26034         Likewise.
26035         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26036         Likewise.
26037         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26038         Likewise.
26040 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
26042         [BZ #9894]
26043         * sysdeps/unix/sysv/linux/kernel-features.h
26044         [__sparc__ && !__arch64__ && !__sparc_v9__]
26045         (__ASSUME_SET_ROBUST_LIST): Do not define.
26046         [__sparc__ && !__arch64__ && !__sparc_v9__]
26047         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26048         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
26049         Likewise.
26050         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26051         (__ASSUME_FUTEX_LOCK_PI): Undefine.
26052         (__ASSUME_REQUEUE_PI): Likewise.
26053         (__ASSUME_SET_ROBUST_LIST): Likewise.
26054         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26055         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
26056         Undefine.
26057         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26058         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
26059         Likewise.
26060         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
26061         Likewise.
26062         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
26063         Likewise.
26064         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26065         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
26066         Undefine.
26067         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
26068         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
26069         Likewise.
26071         [BZ #16648]
26072         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26073         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
26074         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
26076 2014-03-31  Will Newton  <will.newton@linaro.org>
26078         * benchtests/Makefile (bench): Add ffs and ffsll to list
26079         of tests.
26080         * benchtests/ffs-inputs: New file.
26081         * benchtests/ffsll-inputs: Likewise.
26083 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
26085         [BZ #16770]
26086         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
26087         too large before casting to int.
26088         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
26089         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
26090         * math/libm-test.inc (scalb_test_data): Add more tests.
26092 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26094         * benchtests/Makefile (DETAILED_OPT): New make option.
26095         (bench-func): Run benchmark program with -d if DETAILED_OPT is
26096         set.
26097         * benchtests/bench-skeleton.c: Include stdbool.h.
26098         (main): Store and print timings per input.
26099         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
26100         member to each argument value.
26101         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
26102         (_print_arg_data): Initialize per-input timing to 0.
26104         * benchtests/Makefile (timing-type): New binary.
26105         (bench-clean): Also remove bench-timing-type.
26106         (bench): New target for timing-type.
26107         (bench-func): Print output in JSON format.
26108         * benchtests/bench-skeleton.c (main): Print output in JSON
26109         format.
26110         * benchtests/bench-timing-type.c: New file.
26111         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
26112         (TIMING_PRINT_STATS): Remove.
26113         * benchtests/scripts/bench.py (_print_arg_data): Store variant
26114         name separately.
26116         * benchtests/bench-modf.c: Remove.
26117         * benchtests/modf-inputs: New inputs file.
26119 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
26121         [BZ #16362]
26122         * math/s_clog10.c (M_PI_LOG10E): New macro.
26123         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
26124         imaginary parts are 0.
26125         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
26126         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
26127         imaginary parts are 0.
26128         * math/s_clog10l.c (M_PI_LOG10El): New macro.
26129         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
26130         imaginary parts are 0.
26131         * math/libm-test.inc (clog10_test_data): Update expected results
26132         for when real and imaginary parts are 0.
26134 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
26136         * elf/dl-load.c: Finish conversion of __builtin_expect into
26137         __glibc_{un}likely.
26139 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
26141         [BZ #16348]
26142         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
26143         1+x for argument with exponent below -67.
26144         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
26145         Likewise.
26146         * math/auto-libm-test-in: Add more tests of exp.
26147         * math/auto-libm-test-out: Regenerated.
26149 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26151         [BZ #16759]
26152         * inet/getnetgrent_r.c (get_nonempty_val): New function.
26153         (nscd_getnetgrent): Use it.
26155         [BZ #16760]
26156         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
26157         of stpcpy.
26159 2014-03-27  Andi Kleen  <ak@linux.intel.com>
26161         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
26162         (lll_robust_lock, lll_cond_lock, lll_timedlock)
26163         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
26164         (lll_robust_unlock): Remove out of line section. Use cfi
26165         intrinsics.
26166         (LLL_STUB_UNWIND_INFO*): Remove.
26167         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
26168         (lll_robust_lock, lll_cond_lock, lll_timedlock)
26169         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
26170         (lll_robust_unlock): Remove out of line section. Use cfi
26171         intrinsics.
26172         (LLL_STUB_UNWIND_INFO*): Remove.
26174 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26176         [BZ #16758]
26177         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
26178         blank values.
26180 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
26182         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
26184 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
26186         [BZ #16198]
26187         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
26188         fnstenv.
26189         * math/test-fenv-preserve.c: New file.
26190         * math/Makefile (tests): Add test-fenv-preserve.
26192 2014-03-26  Will Newton <will.newton@linaro.org>
26194         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
26196 2014-03-25  Roland McGrath  <roland@hack.frob.com>
26198         * scripts/versionlist.awk: Partition the version sets and emit all
26199         GLIBC_* (sorted) before all others (sorted).
26201 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
26203         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
26204         GLIBC_2.2.5 version.
26206 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26208         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
26209         calls.
26211         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
26212         previous change.
26214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26216 2014-03-25  Andreas Schwab  <schwab@suse.de>
26218         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
26219         label to be used after in6ailist is initialized.
26221 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26223         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26224         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
26226 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
26228         [BZ #16357]
26229         [BZ #16599]
26230         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
26231         min_plus_half.
26232         (fp_formats): Update initializers.
26233         (init_fp_formats): Initialize new field.
26234         (output_for_one_input_case): Allow underflow for results up to
26235         min_plus_half.
26236         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
26237         * math/auto-libm-test-in: Don't mark some underflows from asin and
26238         atanh as spurious.
26239         * math/auto-libm-test-out: Regenerated.
26240         * sysdeps/i386/fpu/libm-test-ulps: Update.
26241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26243 2014-03-25  Andreas Schwab  <schwab@suse.de>
26245         * libio/Makefile (tst-ftell-partial-wide-ENV)
26246         (tst-ftell-active-handler-ENV): Define.
26248 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
26250         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
26252 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26254         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
26256 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
26258         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
26259         * sysdeps/x86_64/fpu/multiarch/e_exp.c
26260         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26262 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26264         [BZ #16634]
26265         * elf/dl-load.c (open_verify): Add mode parameter.
26266         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
26267         (open_path): Change from boolean 'secure' to complete flag 'mode'
26268         (_dl_map_object): Adjust.
26269         * elf/Makefile (tests): Add tst-dlopen-aout.
26270         * elf/tst-dlopen-aout.c: New test.
26272 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
26274         [BZ #16714]
26275         * sysdeps/unix/sysv/linux/s390/bits/stat.h
26276         (struct stat): Rename member pad0 to __glibc_reserved0.
26278         [BZ #16712]
26279         * sysdeps/s390/s390-32/bits/wordsize.h
26280         (__WORDSIZE32_SIZE_ULONG): New define.
26281         * sysdeps/s390/s390-64/bits/wordsize.h
26282         (__WORDSIZE32_SIZE_ULONG): Likewise.
26283         * sysdeps/generic/stdint.h (SIZE_MAX):
26284         Define as UL if __WORDSIZE32_SIZE_ULONG.
26286         [BZ #16713]
26287         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
26288         (__glibc_reserved0): New variable.
26289         (sa_flags): Change type to int.
26291         * posix/Makefile (before-compile): Use += before-compile instead
26292         of a :=.
26294         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26295         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
26297 2014-03-20  Andreas Schwab  <schwab@suse.de>
26299         [BZ #16743]
26300         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
26301         non-matching result from nscd.
26303 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26305         * scripts/bench.py: Moved to ...
26306         * benchtests/scripts/bench.py: ... here.
26307         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
26309 2014-03-24  Andreas Schwab  <schwab@suse.de>
26311         [BZ #16002]
26312         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
26313         alloca_account and account alloca use for struct in6ailist.
26315 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
26317         [BZ #16284]
26318         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
26319         rounding mode to recompute results that overflow to infinity or
26320         underflow to zero.
26321         * math/auto-libm-test-in: Don't mark tests as expected to fail for
26322         bug 16284.
26323         * math/auto-libm-test-out: Regenerated.
26324         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
26325         (ccosh_test): Likewise.
26326         (csin_test_data): Use plus_oflow.
26327         (csin_test): Use ALL_RM_TEST.
26328         (csinh_test_data): Use plus_oflow.
26329         (csinh_test): Use ALL_RM_TEST.
26330         * sysdeps/i386/fpu/libm-test-ulps: Update.
26331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26333 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
26335         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
26336         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
26337         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
26339         [BZ #16731]
26340         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
26341         when x - 1 is zero.
26342         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
26343         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
26344         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26345         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
26346         argument is 1.
26347         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
26348         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
26349         zero.
26350         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
26351         * sysdeps/i386/fpu/libm-test-ulps: Update.
26352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26354 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26356         * scripts/bench.pl: Remove file.
26357         * scripts/bench.py: New benchmark script.
26358         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
26359         * benchtests/README: Mention python dependency.
26360         * scripts/pylintrc: New file.
26361         * scripts/pylint: New file.
26363         * bits/mathdef.h: Use #ifdef instead of #if.
26364         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
26365         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26366         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
26367         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26368         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
26369         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26371 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26372             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26374         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
26375         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
26376         and strpbrk-ppc64 objects.
26377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26378         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
26379         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
26380         multiarch strpbrk for POWER7.
26381         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
26382         multiarch strpbrk for PPC64.
26383         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
26384         ifunc selector.
26385         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
26386         strpbrk for POWER7.
26388 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
26390         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
26391         (atan_test): Likewise.
26392         (atanh_test_data): Use NO_TEST_INLINE for two tests.
26393         (atanh_test): Use ALL_RM_TEST.
26394         (atan2_test_data): Likewise.
26395         (cabs_test): Likewise.
26396         (cacosh_test): Likewise.
26397         (carg_test): Likewise.
26398         (casin_test): Likewise.
26399         (casinh_test): Likewise.
26400         (cbrt_test): Likewise.
26401         (csqrt_test): Likewise.
26402         (erf_test): Likewise.
26403         (erfc_test): Likewise.
26404         (pow10_test): Likewise.
26405         (exp2_test): Likewise.
26406         (hypot_test): Likewise.
26407         (j0_test): Likewise.
26408         (j1_test): Likewise.
26409         (lgamma_test): Likewise.
26410         (gamma_test): Likewise.
26411         (sincos_test): Likewise.
26412         (tanh_test): Likewise.
26413         (y0_test): Likewise.
26414         (y1_test): Likewise.
26415         * sysdeps/i386/fpu/libm-test-ulps: Update.
26416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26418 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26420         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
26421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
26422         and strcspn-ppc64 objects.
26423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26424         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
26425         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
26426         multiarch strcspn for POWER7.
26427         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
26428         multiarch strcspn for PPC64.
26429         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
26430         ifunc selector.
26431         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
26432         strcspn for POWER7.
26434 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
26436         * math/gen-libm-test.pl (generate_testfile): Expect only function
26437         name as argument to AUTO_TESTS_* and pass results for all rounding
26438         modes to parse_args.
26439         (parse_auto_input): Separate inputs of automatic tests from
26440         outputs before storing in %auto_tests.
26441         * math/libm-test.inc (acos_test_data): Update call to
26442         AUTO_TESTS_f_f.
26443         (acos_test): Use ALL_RM_TEST.
26444         (acos_tonearest_test_data): Remove.
26445         (acos_test_tonearest): Likewise.
26446         (acos_towardzero_test_data): Likewise.
26447         (acos_test_towardzero): Likewise.
26448         (acos_downward_test_data): Likewise.
26449         (acos_test_downward): Likewise.
26450         (acos_upward_test_data): Likewise.
26451         (acos_test_upward): Likewise.
26452         (acosh_test_data): Update call to AUTO_TESTS_f_f.
26453         (asin_test_data): Likewise.
26454         (asin_test): Use ALL_RM_TEST.
26455         (asin_tonearest_test_data): Remove.
26456         (asin_test_tonearest): Likewise.
26457         (asin_towardzero_test_data): Likewise.
26458         (asin_test_towardzero): Likewise.
26459         (asin_downward_test_data): Likewise.
26460         (asin_test_downward): Likewise.
26461         (asin_upward_test_data): Likewise.
26462         (asin_test_upward): Likewise.
26463         (asinh_test_data): Update call to AUTO_TESTS_f_f.
26464         (atan_test_data): Likewise.
26465         (atanh_test_data): Likewise.
26466         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
26467         (cabs_test_data): Update call to AUTO_TESTS_c_f.
26468         (carg_test_data): Likewise.
26469         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
26470         (ccos_test_data): Update call to AUTO_TESTS_c_c.
26471         (ccosh_test_data): Likewise.
26472         (cexp_test_data): Likewise.
26473         (clog_test_data): Likewise.
26474         (clog10_test_data): Likewise.
26475         (cos_test_data): Update call to AUTO_TESTS_f_f.
26476         (cos_test): Use ALL_RM_TEST.
26477         (cos_tonearest_test_data): Remove.
26478         (cos_test_tonearest): Likewise.
26479         (cos_towardzero_test_data): Likewise.
26480         (cos_test_towardzero): Likewise.
26481         (cos_downward_test_data): Likewise.
26482         (cos_test_downward): Likewise.
26483         (cos_upward_test_data): Likewise.
26484         (cos_test_upward): Likewise.
26485         (cosh_test_data): Update call to AUTO_TESTS_f_f.
26486         (cosh_test): Use ALL_RM_TEST.
26487         (cosh_tonearest_test_data): Remove.
26488         (cosh_test_tonearest): Likewise.
26489         (cosh_towardzero_test_data): Likewise.
26490         (cosh_test_towardzero): Likewise.
26491         (cosh_downward_test_data): Likewise.
26492         (cosh_test_downward): Likewise.
26493         (cosh_upward_test_data): Likewise.
26494         (cosh_test_upward): Likewise.
26495         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
26496         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
26497         (ctan_test_data): Likewise.
26498         (ctan_test): Use ALL_RM_TEST.
26499         (ctan_tonearest_test_data): Remove.
26500         (ctan_test_tonearest): Likewise.
26501         (ctan_towardzero_test_data): Likewise.
26502         (ctan_test_towardzero): Likewise.
26503         (ctan_downward_test_data): Likewise.
26504         (ctan_test_downward): Likewise.
26505         (ctan_upward_test_data): Likewise.
26506         (ctan_test_upward): Likewise.
26507         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
26508         (ctanh_test): Use ALL_RM_TEST.
26509         (ctanh_tonearest_test_data): Remove.
26510         (ctanh_test_tonearest): Likewise.
26511         (ctanh_towardzero_test_data): Likewise.
26512         (ctanh_test_towardzero): Likewise.
26513         (ctanh_downward_test_data): Likewise.
26514         (ctanh_test_downward): Likewise.
26515         (ctanh_upward_test_data): Likewise.
26516         (ctanh_test_upward): Likewise.
26517         (erf_test_data): Update call to AUTO_TESTS_f_f.
26518         (erfc_test_data): Likewise.
26519         (exp_test_data): Likewise.
26520         (exp_test): Use ALL_RM_TEST.
26521         (exp_tonearest_test_data): Remove.
26522         (exp_test_tonearest): Likewise.
26523         (exp_towardzero_test_data): Likewise.
26524         (exp_test_towardzero): Likewise.
26525         (exp_downward_test_data): Likewise.
26526         (exp_test_downward): Likewise.
26527         (exp_upward_test_data): Likewise.
26528         (exp_test_upward): Likewise.
26529         (exp10_test_data): Update call to AUTO_TESTS_f_f.
26530         (exp10_test): Use ALL_RM_TEST.
26531         (exp10_tonearest_test_data): Remove.
26532         (exp10_test_tonearest): Likewise.
26533         (exp10_towardzero_test_data): Likewise.
26534         (exp10_test_towardzero): Likewise.
26535         (exp10_downward_test_data): Likewise.
26536         (exp10_test_downward): Likewise.
26537         (exp10_upward_test_data): Likewise.
26538         (exp10_test_upward): Likewise.
26539         (exp2_test_data): Update call to AUTO_TESTS_f_f.
26540         (expm1_test_data): Likewise.
26541         (expm1_test): Use ALL_RM_TEST.
26542         (expm1_tonearest_test_data): Remove.
26543         (expm1_test_tonearest): Likewise.
26544         (expm1_towardzero_test_data): Likewise.
26545         (expm1_test_towardzero): Likewise.
26546         (expm1_downward_test_data): Likewise.
26547         (expm1_test_downward): Likewise.
26548         (expm1_upward_test_data): Likewise.
26549         (expm1_test_upward): Likewise.
26550         (fma_test_data): Update call to AUTO_TESTS_fff_f.
26551         (fma_test): Use ALL_RM_TEST.
26552         (fma_towardzero_test_data): Remove.
26553         (fma_test_towardzero): Likewise.
26554         (fma_downward_test_data): Likewise.
26555         (fma_test_downward): Likewise.
26556         (fma_upward_test_data): Likewise.
26557         (fma_test_upward): Likewise.
26558         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
26559         (j0_test_data): Update call to AUTO_TESTS_f_f.
26560         (j1_test_data): Likewise.
26561         (jn_test_data): Update call to AUTO_TESTS_if_f.
26562         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
26563         (log_test_data): Update call to AUTO_TESTS_f_f.
26564         (log10_test_data): Likewise.
26565         (log1p_test_data): Likewise.
26566         (log2_test_data): Likewise.
26567         (pow_test_data): Update call to AUTO_TESTS_ff_f.
26568         (pow_tonearest_test_data): Likewise.
26569         (sin_test_data): Update call to AUTO_TESTS_f_f.
26570         (sin_test): Use ALL_RM_TEST.
26571         (sin_tonearest_test_data): Remove.
26572         (sin_test_tonearest): Likewise.
26573         (sin_towardzero_test_data): Likewise.
26574         (sin_test_towardzero): Likewise.
26575         (sin_downward_test_data): Likewise.
26576         (sin_test_downward): Likewise.
26577         (sin_upward_test_data): Likewise.
26578         (sin_test_upward): Likewise.
26579         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
26580         (sinh_test_data): Update call to AUTO_TESTS_f_f.
26581         (sinh_test): Use ALL_RM_TEST.
26582         (sinh_tonearest_test_data): Remove.
26583         (sinh_test_tonearest): Likewise.
26584         (sinh_towardzero_test_data): Likewise.
26585         (sinh_test_towardzero): Likewise.
26586         (sinh_downward_test_data): Likewise.
26587         (sinh_test_downward): Likewise.
26588         (sinh_upward_test_data): Likewise.
26589         (sinh_test_upward): Likewise.
26590         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
26591         (sqrt_test): Use ALL_RM_TEST.
26592         (sqrt_tonearest_test_data): Remove.
26593         (sqrt_test_tonearest): Likewise.
26594         (sqrt_towardzero_test_data): Likewise.
26595         (sqrt_test_towardzero): Likewise.
26596         (sqrt_downward_test_data): Likewise.
26597         (sqrt_test_downward): Likewise.
26598         (sqrt_upward_test_data): Likewise.
26599         (sqrt_test_upward): Likewise.
26600         (tan_test_data): Update call to AUTO_TESTS_f_f.
26601         (tan_test): Use ALL_RM_TEST.
26602         (tan_tonearest_test_data): Remove.
26603         (tan_test_tonearest): Likewise.
26604         (tan_towardzero_test_data): Likewise.
26605         (tan_test_towardzero): Likewise.
26606         (tan_downward_test_data): Likewise.
26607         (tan_test_downward): Likewise.
26608         (tan_upward_test_data): Likewise.
26609         (tan_test_upward): Likewise.
26610         (tanh_test_data): Update call to AUTO_TESTS_f_f.
26611         (tgamma_test_data): Likewise.
26612         (y0_test_data): Likewise.
26613         (y1_test_data): Likewise.
26614         (yn_test_data): Update call to AUTO_TESTS_if_f.
26615         (main): Do not call removed functions.
26617 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
26619         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
26620         (ldexp_test_data): Remove.
26621         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
26622         scalbn_test_data.
26623         (scalb_test): Use ALL_RM_TEST.
26625 2014-03-19  Andreas Schwab  <schwab@suse.de>
26627         * nscd/nscd.service: Also invalidate netgroup cache on reload.
26629 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
26631         [BZ #16649]
26632         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26633         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
26634         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
26635         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26636         (__ASSUME_PREADV): Undefine.
26637         (__ASSUME_PWRITEV): Likewise.
26639 2014-03-18  Roland McGrath  <roland@hack.frob.com>
26641         * bits/mman-linux.h: Add comment about non-Linux use.
26642         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
26643         bits/mman-linux.h resting place.
26645         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
26646         * bits/mman-linux.h: ... here.
26648 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26650         * conform/conformtest.pl: Add standard definition when calling C
26651         preprocessor on data files.
26652         (checknamespace): Remove unused variable.
26654 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
26656         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
26657         minus_oflow, plus_uflow and minus_uflow in expected results.
26658         * math/libm-test.inc (scalbn_test_data): Add more tests of
26659         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
26660         minus_uflow.
26661         (scalbn_test): Use ALL_RM_TEST.
26662         (scalbln_test_data): Add more tests of negative arguments.  Use
26663         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
26664         (scalbln_test): Use ALL_RM_TEST.
26666 2014-03-18  Roland McGrath  <roland@hack.frob.com>
26668         * scripts/abilist.awk: Ignore symbols marked with .hidden.
26670 2014-03-18  Will Newton  <will.newton@linaro.org>
26672         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
26673         inaccurate comment.
26675 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
26677         * Makerules [!subdir] (check-abi): Exit with error status if a
26678         test failed.
26680 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
26682         * math/libm-test.inc (nearbyint_test_data): Include all tests used
26683         for rint.  Include results for all rounding modes.
26684         (nearbyint_test): Use ALL_RM_TEST.
26685         (rint_test_data): Include all tests used for nearbyint.
26687 2014-03-17  Will Newton  <will.newton@linaro.org>
26689         * nptl/sysdeps/pthread/pthread.h: Revert previous
26690         change.
26692         * sysdeps/generic/ldsodefs.h: Revert previous
26693         change.
26695         * libio/genops.c: Revert previous change.
26696         * libio/libioP.h: Likewise.
26697         * stdio-common/vfprintf.c: Likewise.
26699         * sysdeps/generic/math_private.h: Revert previous
26700         change.
26702         * sysdeps/generic/math_private.h: Check whether
26703         HAVE_RM_CTX is defined with #ifdef rather
26704         than #if.
26706         * argp/argp-fmtstream.h: Check whether
26707         __STRICT_ANSI__ is defined with #ifdef rather
26708         than #if.
26709         * argp/argp.h: Likewise.
26711         * libio/genops.c: Check whether
26712         _IO_JUMPS_OFFSET is defined with #ifdef rather
26713         than #if.
26714         * libio/libioP.h: Likewise.
26715         * stdio-common/vfprintf.c: Likewise.
26717         * sysdeps/generic/ldsodefs.h: Check whether
26718         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
26719         than #if.
26721         * nptl/sysdeps/pthread/pthread.h: Check
26722         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
26723         its value.
26725 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26727         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
26728         setting O_APPEND.
26729         * libio/tst-ftell-active-handler.c (do_append_test): Add a
26730         test case.
26732         [BZ #16680]
26733         * libio/fileops.c (_IO_file_open): Seek to end of file but
26734         don't cache the offset.
26735         (get_file_offset): Remove function.
26736         (do_ftell): Use cached offset when available.
26737         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
26738         don't cache the offset.
26739         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
26740         case.
26741         (do_one_test): Call it.
26742         (do_ftell_test): Fix up expected old offset for a+ mode.
26743         * libio/wfileops.c (do_ftell_wide): Used cached offset when
26744         available.
26746         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
26747         up test status with function return status.
26748         (do_write_test): Likewise.
26749         (do_append_test): Likewise.
26751         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
26752         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
26753         Remove.
26755 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
26757         * math/gen-libm-test.pl (parse_args): Handle results specified for
26758         each rounding mode separately.
26759         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
26760         tests and results from lrint_tonearest_test_data,
26761         lrint_towardzero_test_data, lrint_downward_test_data and
26762         lrint_upward_test_data.
26763         (lrint_test): Use ALL_RM_TEST.
26764         (lrint_tonearest_test_data): Remove.
26765         (lrint_test_tonearest): Likewise.
26766         (lrint_towardzero_test_data): Likewise.
26767         (lrint_test_towardzero): Likewise.
26768         (lrint_downward_test_data): Likewise.
26769         (lrint_test_downward): Likewise.
26770         (lrint_upward_test_data): Likewise.
26771         (lrint_test_upward): Likewise.
26772         (llrint_test_data): Merge in per-rounding-mode tests and results
26773         from llrint_tonearest_test_data, llrint_towardzero_test_data,
26774         llrint_downward_test_data and llrint_upward_test_data.
26775         (llrint_test): Use ALL_RM_TEST.
26776         (llrint_tonearest_test_data): Remove.
26777         (llrint_test_tonearest): Likewise.
26778         (llrint_towardzero_test_data): Likewise.
26779         (llrint_test_towardzero): Likewise.
26780         (llrint_downward_test_data): Likewise.
26781         (llrint_test_downward): Likewise.
26782         (llrint_upward_test_data): Likewise.
26783         (llrint_test_upward): Likewise.
26784         (rint_test_data): Merge in per-rounding-mode tests and results
26785         from rint_tonearest_test_data, rint_towardzero_test_data,
26786         rint_downward_test_data and rint_upward_test_data.  Add
26787         per-rounding-mode results for tests not in those arrays.
26788         (rint_test): Use ALL_RM_TEST.
26789         (rint_tonearest_test_data): Remove.
26790         (rint_test_tonearest): Likewise.
26791         (rint_towardzero_test_data): Likewise.
26792         (rint_test_towardzero): Likewise.
26793         (rint_downward_test_data): Likewise.
26794         (rint_test_downward): Likewise.
26795         (rint_upward_test_data): Likewise.
26796         (rint_test_upward): Likewise.
26797         (main): Don't call removed functions.
26799 2014-03-14  Roland McGrath  <roland@hack.frob.com>
26801         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
26802         "Compiled on ..." crapola.  It is anti-useful.
26804 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
26806         * scripts/evaluate-test.sh: Handle fourth argument to determine
26807         whether test run should stop on failure.
26808         * Makeconfig (stop-on-test-failure): New variable.
26809         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
26810         $(stop-on-test-failure).
26811         * Makefile (tests): Give a summary of results from testing and
26812         exit with failure status if they include an ERROR or FAIL.
26813         (xtests): Likewise.
26814         * manual/install.texi (Configuring and compiling): Mention
26815         stop-on-test-failure=y.
26816         * INSTALL: Regenerated.
26818 2014-03-14  Roland McGrath  <roland@hack.frob.com>
26820         * scripts/versionlist.awk: New file.
26821         * Makerules [$(build-shared) = yes]
26822         (postclean-generated): Add Versions.def, not Versions.def.v and
26823         Versions.def.v.i.
26824         ($(common-objpfx)Versions.def.v.i): Target removed.
26825         ($(common-objpfx)Versions.def): New target.
26826         ($(common-objpfx)Versions.all): Depend on that rather that
26827         $(common-objpfx)Versions.def.v.
26828         * Versions.def: File removed.
26830         * Makeconfig (+gccwarn): Add -Wundef.
26831         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
26832         a dl-sysdep.h breaking its contract.
26833         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
26834         * include/stackinfo.h: New file.
26835         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
26836         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
26837         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
26838         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
26839         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
26840         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
26841         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26842         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26843         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26844         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26845         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26846         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
26847         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26848         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26849         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26851 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26853         [BZ #16707]
26854         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
26855         implementation.
26856         * math/libm-test.inc (round_test_data): Add more tests.
26858         [BZ #16706]
26859         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
26860         implementation.
26861         * math/libm-test.inc (nearbyint_test_data): Add more tests.
26863         [BZ #16701]
26864         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
26865         implementation.
26866         * math/libm-test.inc (ceil_test_data): Add more tests.
26868         * math/libm-test.inc (trunc_test_data): Add more tests related to
26869         BZ#16414.
26871 2014-03-14  Roland McGrath  <roland@hack.frob.com>
26873         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
26874         with #if rather than #ifdef.
26875         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
26877 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
26879         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
26880         first.  Disable AVX-512 GCC support if assembler doesn't support
26881         it.
26882         * sysdeps/x86_64/configure: Regenerated.
26884 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
26886         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
26887         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
26888         (__old_pthread_attr_setstack): Likewise.
26889         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
26890         [!_STACK_GROWS_DOWN]: Likewise.
26892 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
26894         * config.make.in (have-bash2): Delete.
26895         * configure.ac (libc_cv_have_bash2): Delete.
26896         * configure: Regenerate.
26897         * elf/Makefile (common-ldd-rewrite): Rename to ...
26898         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
26899         (sh-ldd-rewrite): Delete.
26900         (bash-ldd-rewrite): Delete.
26901         (have-bash2): Delete checks.
26902         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
26903         ldd-rewrite.
26905         * config.make.in (have-ksh): Delete.
26906         (KSH): Delete.
26907         * configure.ac (libc_cv_have_ksh): Delete.
26908         * configure: Regenerate.
26910         * elf/Makefile: Delete $(have-ksh) check.
26911         ($(objpfx)sotruss): Change KSH to BASH.
26912         * elf/sotruss.ksh: Rename to ...
26913         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
26914         function style to match POSIX.  Drop ksh vim mode setting.
26916         * manual/time.texi (Specifying the Time Zone with TZ): Change
26917         Tuesday to Thursday.
26919         * debug/tst-longjmp_chk2.c: Update header comment.
26920         (stackoverflow_handler): Add comment.  Call assert on pass value.
26922 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
26924         [BZ #16194]
26925         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
26926         (HAVE_AVX512_ASM_SUPPORT): Likewise.
26927         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
26928         (La_x86_64_vector): Add zmm.
26929         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
26930         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
26931         ($(objpfx)tst-audit10): New target.
26932         ($(objpfx)tst-audit10.out): Likewise.
26933         (tst-audit10-ENV): New.
26934         (AVX512-CFLAGS): Likewise.
26935         (CFLAGS-tst-audit10.c): Likewise.
26936         (CFLAGS-tst-auditmod10a.c): Likewise.
26937         (CFLAGS-tst-auditmod10b.c): Likewise.
26938         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
26939         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
26940         * sysdeps/x86_64/configure: Regenerated.
26941         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
26942         AVX-512 zmm register support.
26943         (_dl_x86_64_save_sse): Likewise.
26944         (_dl_x86_64_restore_sse): Likewise.
26945         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
26946         size vector registers.
26947         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
26948         (ZMM_SIZE): Likewise.
26949         * sysdeps/x86_64/tst-audit10.c: New file.
26950         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
26951         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
26953 2014-03-13  Roland McGrath  <roland@hack.frob.com>
26955         * configure.ac (HAVE_EHDR_START): New check.
26956         * configure: Regenerated.
26957         * config.h.in (HAVE_EHDR_START): New #undef.
26958         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
26959         assuming the lowest-addressed segment maps the start of the file.
26961 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
26963         * INSTALL: Regenerated.
26965 2014-03-13  Will Newton  <will.newton@linaro.org>
26967         * manual/setjmp.texi (System V contexts): Improve
26968         clarity and grammar of documentation.
26970 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
26972         [BZ #16381]
26973         * elf/Makefile (tests): Add tst-pie2.
26974         (tests-pie): Add tst-pie2.
26975         * elf/tst-pie2.c: New file.
26976         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
26977         for ET_EXEC.
26978         * elf/rtld.c (map_doit): Load executable as lt_executable.
26979         (dl_main): Likewise.
26981 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
26983         [BZ #16642]
26984         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26985         (__ASSUME_PSELECT): Undefine.
26987 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26989         [BZ #16689]
26990         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
26991         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
26992         static build.
26993         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
26994         selector for static builds.
26996 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26998         [BZ #16695]
26999         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
27000         key in the buffer.
27002 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27004         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
27005         IFUNC selector for static builds.
27007 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
27009         * sysdeps/mips/math_private.h [__mips_hard_float]
27010         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
27011         libc_feresetround_mips_ctx.
27012         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
27013         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
27014         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
27016         [BZ #16677]
27017         * math/s_nextafter.c (__nextafter): Do not return value from
27018         overflowing computation.
27019         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
27020         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
27021         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
27022         Likewise.
27023         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
27024         Likewise.
27025         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
27026         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
27028 2014-03-11  Roland McGrath  <roland@hack.frob.com>
27030         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
27031         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
27032         Move sfi_sp use from the load-multiple (that no longer sets sp) to
27033         the new mov targetting sp.
27035 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27037         [BZ #16683]
27038         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
27039         Define it for static builds as well.
27040         (NO_BZERO_IMPL): Likewise.
27042 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27044         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
27045         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
27046         multiarch strspn for PPC64.
27047         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
27048         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
27049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27050         (__libc_ifunc_impl_list): Likewise.
27051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
27052         multiarch optimizations
27053         * string/strspn.c (strspn): Using macro to redefine symbol name.
27055 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27056             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27058         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
27059         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
27060         multiarch strncat for PPC64.
27061         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
27062         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
27063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27064         (__libc_ifunc_impl_list): Likewise.
27065         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
27066         multiarch optimizations
27068 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27070         [BZ #16639]
27071         * nscd/nscd.service: Make service type forking.
27073 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27075         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
27076         sign in non default rounding modes.
27077         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
27079 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
27081         * math/libm-test.inc (ALL_RM_TEST): New macro.
27082         (ceil_test): Use ALL_RM_TEST.
27083         (cimag_test): Likewise.
27084         (conj_test): Likewise.
27085         (copysign_test): Likewise.
27086         (cproj_test): Likewise.
27087         (creal_test): Likewise.
27088         (fabs_test): Likewise.
27089         (floor_test): Likewise.
27090         (fmax_test): Likewise.
27091         (fmin_test): Likewise.
27092         (fmod_test): Likewise.
27093         (fpclassify_test): Likewise.
27094         (frexp_test): Likewise.
27095         (ilogb_test): Likewise.
27096         (isfinite_test): Likewise.
27097         (finite_test): Likewise.
27098         (isgreater_test): Likewise.
27099         (isgreaterequal_test): Likewise.
27100         (isinf_test): Likewise.
27101         (isless_test): Likewise.
27102         (islessequal_test): Likewise.
27103         (islessgreater_test): Likewise.
27104         (isnan_test): Likewise.
27105         (isnormal_test): Likewise.
27106         (issignaling_test): Likewise.
27107         (isunordered_test): Likewise.
27108         (logb_test): Likewise.
27109         (logb_downward_test_data): Remove.
27110         (logb_test_downward): Likewise.
27111         (lround_test): Use ALL_RM_TEST.
27112         (llround_test): Likewise.
27113         (modf_test): Likewise.
27114         (nexttoward_test): Likewise.
27115         (remainder_test): Likewise.
27116         (drem_test): Likewise.
27117         (remainder_tonearest_test_data): Likewise.
27118         (remainder_test_tonearest): Likewise.
27119         (drem_test_tonearest): Likewise.
27120         (remainder_towardzero_test_data): Likewise.
27121         (remainder_test_towardzero): Likewise.
27122         (drem_test_towardzero): Likewise.
27123         (remainder_downward_test_data): Likewise.
27124         (remainder_test_downward): Likewise.
27125         (drem_test_downward): Likewise.
27126         (remainder_upward_test_data): Likewise.
27127         (remainder_test_upward): Likewise.
27128         (drem_test_upward): Likewise.
27129         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
27130         (round_test): Use ALL_RM_TEST.
27131         (signbit_test): Likewise.
27132         (trunc_test): Likewise.
27133         (significand_test): Likewise.
27134         (main): Don't call removed functions.
27136 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
27138         [BZ #16674]
27139         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
27140         || __USE_XOPEN2K8].
27141         (ILL_ILLOPN): Likewise.
27142         (ILL_ILLADR): Likewise.
27143         (ILL_ILLTRP): Likewise.
27144         (ILL_PRVOPC): Likewise.
27145         (ILL_PRVREG): Likewise.
27146         (ILL_COPROC): Likewise.
27147         (ILL_BADSTK): Likewise.
27148         (FPE_INTDIV): Likewise.
27149         (FPE_INTOVF): Likewise.
27150         (FPE_FLTDIV): Likewise.
27151         (FPE_FLTOVF): Likewise.
27152         (FPE_FLTUND): Likewise.
27153         (FPE_FLTRES): Likewise.
27154         (FPE_FLTINV): Likewise.
27155         (FPE_FLTSUB): Likewise.
27156         (SEGV_MAPERR): Likewise.
27157         (SEGV_ACCERR): Likewise.
27158         (BUS_ADRALN): Likewise.
27159         (BUS_ADRERR): Likewise.
27160         (BUS_OBJERR): Likewise.
27161         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27162         (TRAP_TRACE): Likewise.
27163         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27164         __USE_XOPEN2K8].
27165         (CLD_KILLED): Likewise.
27166         (CLD_DUMPED): Likewise.
27167         (CLD_TRAPPED): Likewise.
27168         (CLD_STOPPED): Likewise.
27169         (CLD_CONTINUED): Likewise.
27170         (POLL_IN): Likewise.
27171         (POLL_OUT): Likewise.
27172         (POLL_MSG): Likewise.
27173         (POLL_ERR): Likewise.
27174         (POLL_PRI): Likewise.
27175         (POLL_HUP): Likewise.
27176         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
27177         Likewise.
27178         (ILL_ILLOPN): Likewise.
27179         (ILL_ILLADR): Likewise.
27180         (ILL_ILLTRP): Likewise.
27181         (ILL_PRVOPC): Likewise.
27182         (ILL_PRVREG): Likewise.
27183         (ILL_COPROC): Likewise.
27184         (ILL_BADSTK): Likewise.
27185         (FPE_INTDIV): Likewise.
27186         (FPE_INTOVF): Likewise.
27187         (FPE_FLTDIV): Likewise.
27188         (FPE_FLTOVF): Likewise.
27189         (FPE_FLTUND): Likewise.
27190         (FPE_FLTRES): Likewise.
27191         (FPE_FLTINV): Likewise.
27192         (FPE_FLTSUB): Likewise.
27193         (SEGV_MAPERR): Likewise.
27194         (SEGV_ACCERR): Likewise.
27195         (BUS_ADRALN): Likewise.
27196         (BUS_ADRERR): Likewise.
27197         (BUS_OBJERR): Likewise.
27198         (BUS_MCEERR_AR): Likewise.
27199         (BUS_MCEERR_AO): Likewise.
27200         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27201         (TRAP_TRACE): Likewise.
27202         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27203         __USE_XOPEN2K8].
27204         (CLD_KILLED): Likewise.
27205         (CLD_DUMPED): Likewise.
27206         (CLD_TRAPPED): Likewise.
27207         (CLD_STOPPED): Likewise.
27208         (CLD_CONTINUED): Likewise.
27209         (POLL_IN): Likewise.
27210         (POLL_OUT): Likewise.
27211         (POLL_MSG): Likewise.
27212         (POLL_ERR): Likewise.
27213         (POLL_PRI): Likewise.
27214         (POLL_HUP): Likewise.
27215         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
27216         (ILL_ILLOPN): Likewise.
27217         (ILL_ILLADR): Likewise.
27218         (ILL_ILLTRP): Likewise.
27219         (ILL_PRVOPC): Likewise.
27220         (ILL_PRVREG): Likewise.
27221         (ILL_COPROC): Likewise.
27222         (ILL_BADSTK): Likewise.
27223         (FPE_INTDIV): Likewise.
27224         (FPE_INTOVF): Likewise.
27225         (FPE_FLTDIV): Likewise.
27226         (FPE_FLTOVF): Likewise.
27227         (FPE_FLTUND): Likewise.
27228         (FPE_FLTRES): Likewise.
27229         (FPE_FLTINV): Likewise.
27230         (FPE_FLTSUB): Likewise.
27231         (SEGV_MAPERR): Likewise.
27232         (SEGV_ACCERR): Likewise.
27233         (BUS_ADRALN): Likewise.
27234         (BUS_ADRERR): Likewise.
27235         (BUS_OBJERR): Likewise.
27236         (BUS_MCEERR_AR): Likewise.
27237         (BUS_MCEERR_AO): Likewise.
27238         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27239         (TRAP_TRACE): Likewise.
27240         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27241         __USE_XOPEN2K8].
27242         (CLD_KILLED): Likewise.
27243         (CLD_DUMPED): Likewise.
27244         (CLD_TRAPPED): Likewise.
27245         (CLD_STOPPED): Likewise.
27246         (CLD_CONTINUED): Likewise.
27247         (POLL_IN): Likewise.
27248         (POLL_OUT): Likewise.
27249         (POLL_MSG): Likewise.
27250         (POLL_ERR): Likewise.
27251         (POLL_PRI): Likewise.
27252         (POLL_HUP): Likewise.
27253         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
27254         Likewise.
27255         (ILL_ILLOPN): Likewise.
27256         (ILL_ILLADR): Likewise.
27257         (ILL_ILLTRP): Likewise.
27258         (ILL_PRVOPC): Likewise.
27259         (ILL_PRVREG): Likewise.
27260         (ILL_COPROC): Likewise.
27261         (ILL_BADSTK): Likewise.
27262         (ILL_BADIADDR): Likewise.
27263         (ILL_BREAK): Likewise.
27264         (FPE_INTDIV): Likewise.
27265         (FPE_INTOVF): Likewise.
27266         (FPE_FLTDIV): Likewise.
27267         (FPE_FLTOVF): Likewise.
27268         (FPE_FLTUND): Likewise.
27269         (FPE_FLTRES): Likewise.
27270         (FPE_FLTINV): Likewise.
27271         (FPE_FLTSUB): Likewise.
27272         (FPE_DECOVF): Likewise.
27273         (FPE_DECDIV): Likewise.
27274         (FPE_DECERR): Likewise.
27275         (FPE_INVASC): Likewise.
27276         (FPE_INVDEC): Likewise.
27277         (SEGV_MAPERR): Likewise.
27278         (SEGV_ACCERR): Likewise.
27279         (SEGV_PSTKOVF): Likewise.
27280         (BUS_ADRALN): Likewise.
27281         (BUS_ADRERR): Likewise.
27282         (BUS_OBJERR): Likewise.
27283         (BUS_MCEERR_AR): Likewise.
27284         (BUS_MCEERR_AO): Likewise.
27285         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27286         (TRAP_TRACE): Likewise.
27287         (TRAP_BRANCH): Likewise.
27288         (TRAP_HWBKPT): Likewise.
27289         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27290         __USE_XOPEN2K8].
27291         (CLD_KILLED): Likewise.
27292         (CLD_DUMPED): Likewise.
27293         (CLD_TRAPPED): Likewise.
27294         (CLD_STOPPED): Likewise.
27295         (CLD_CONTINUED): Likewise.
27296         (POLL_IN): Likewise.
27297         (POLL_OUT): Likewise.
27298         (POLL_MSG): Likewise.
27299         (POLL_ERR): Likewise.
27300         (POLL_PRI): Likewise.
27301         (POLL_HUP): Likewise.
27302         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
27303         (ILL_ILLOPN): Likewise.
27304         (ILL_ILLADR): Likewise.
27305         (ILL_ILLTRP): Likewise.
27306         (ILL_PRVOPC): Likewise.
27307         (ILL_PRVREG): Likewise.
27308         (ILL_COPROC): Likewise.
27309         (ILL_BADSTK): Likewise.
27310         (FPE_INTDIV): Likewise.
27311         (FPE_INTOVF): Likewise.
27312         (FPE_FLTDIV): Likewise.
27313         (FPE_FLTOVF): Likewise.
27314         (FPE_FLTUND): Likewise.
27315         (FPE_FLTRES): Likewise.
27316         (FPE_FLTINV): Likewise.
27317         (FPE_FLTSUB): Likewise.
27318         (SEGV_MAPERR): Likewise.
27319         (SEGV_ACCERR): Likewise.
27320         (BUS_ADRALN): Likewise.
27321         (BUS_ADRERR): Likewise.
27322         (BUS_OBJERR): Likewise.
27323         (BUS_MCEERR_AR): Likewise.
27324         (BUS_MCEERR_AO): Likewise.
27325         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27326         (TRAP_TRACE): Likewise.
27327         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27328         __USE_XOPEN2K8].
27329         (CLD_KILLED): Likewise.
27330         (CLD_DUMPED): Likewise.
27331         (CLD_TRAPPED): Likewise.
27332         (CLD_STOPPED): Likewise.
27333         (CLD_CONTINUED): Likewise.
27334         (POLL_IN): Likewise.
27335         (POLL_OUT): Likewise.
27336         (POLL_MSG): Likewise.
27337         (POLL_ERR): Likewise.
27338         (POLL_PRI): Likewise.
27339         (POLL_HUP): Likewise.
27340         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
27341         (ILL_ILLOPN): Likewise.
27342         (ILL_ILLADR): Likewise.
27343         (ILL_ILLTRP): Likewise.
27344         (ILL_PRVOPC): Likewise.
27345         (ILL_PRVREG): Likewise.
27346         (ILL_COPROC): Likewise.
27347         (ILL_BADSTK): Likewise.
27348         (FPE_INTDIV): Likewise.
27349         (FPE_INTOVF): Likewise.
27350         (FPE_FLTDIV): Likewise.
27351         (FPE_FLTOVF): Likewise.
27352         (FPE_FLTUND): Likewise.
27353         (FPE_FLTRES): Likewise.
27354         (FPE_FLTINV): Likewise.
27355         (FPE_FLTSUB): Likewise.
27356         (SEGV_MAPERR): Likewise.
27357         (SEGV_ACCERR): Likewise.
27358         (BUS_ADRALN): Likewise.
27359         (BUS_ADRERR): Likewise.
27360         (BUS_OBJERR): Likewise.
27361         (BUS_MCEERR_AR): Likewise.
27362         (BUS_MCEERR_AO): Likewise.
27363         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27364         (TRAP_TRACE): Likewise.
27365         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27366         __USE_XOPEN2K8].
27367         (CLD_KILLED): Likewise.
27368         (CLD_DUMPED): Likewise.
27369         (CLD_TRAPPED): Likewise.
27370         (CLD_STOPPED): Likewise.
27371         (CLD_CONTINUED): Likewise.
27372         (POLL_IN): Likewise.
27373         (POLL_OUT): Likewise.
27374         (POLL_MSG): Likewise.
27375         (POLL_ERR): Likewise.
27376         (POLL_PRI): Likewise.
27377         (POLL_HUP): Likewise.
27378         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
27379         (ILL_ILLOPN): Likewise.
27380         (ILL_ILLADR): Likewise.
27381         (ILL_ILLTRP): Likewise.
27382         (ILL_PRVOPC): Likewise.
27383         (ILL_PRVREG): Likewise.
27384         (ILL_COPROC): Likewise.
27385         (ILL_BADSTK): Likewise.
27386         (FPE_INTDIV): Likewise.
27387         (FPE_INTOVF): Likewise.
27388         (FPE_FLTDIV): Likewise.
27389         (FPE_FLTOVF): Likewise.
27390         (FPE_FLTUND): Likewise.
27391         (FPE_FLTRES): Likewise.
27392         (FPE_FLTINV): Likewise.
27393         (FPE_FLTSUB): Likewise.
27394         (SEGV_MAPERR): Likewise.
27395         (SEGV_ACCERR): Likewise.
27396         (BUS_ADRALN): Likewise.
27397         (BUS_ADRERR): Likewise.
27398         (BUS_OBJERR): Likewise.
27399         (BUS_MCEERR_AR): Likewise.
27400         (BUS_MCEERR_AO): Likewise.
27401         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27402         (TRAP_TRACE): Likewise.
27403         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27404         __USE_XOPEN2K8].
27405         (CLD_KILLED): Likewise.
27406         (CLD_DUMPED): Likewise.
27407         (CLD_TRAPPED): Likewise.
27408         (CLD_STOPPED): Likewise.
27409         (CLD_CONTINUED): Likewise.
27410         (POLL_IN): Likewise.
27411         (POLL_OUT): Likewise.
27412         (POLL_MSG): Likewise.
27413         (POLL_ERR): Likewise.
27414         (POLL_PRI): Likewise.
27415         (POLL_HUP): Likewise.
27416         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
27417         (ILL_ILLOPN): Likewise.
27418         (ILL_ILLADR): Likewise.
27419         (ILL_ILLTRP): Likewise.
27420         (ILL_PRVOPC): Likewise.
27421         (ILL_PRVREG): Likewise.
27422         (ILL_COPROC): Likewise.
27423         (ILL_BADSTK): Likewise.
27424         (ILL_DBLFLT): Likewise.
27425         (ILL_HARDWALL): Likewise.
27426         (FPE_INTDIV): Likewise.
27427         (FPE_INTOVF): Likewise.
27428         (FPE_FLTDIV): Likewise.
27429         (FPE_FLTOVF): Likewise.
27430         (FPE_FLTUND): Likewise.
27431         (FPE_FLTRES): Likewise.
27432         (FPE_FLTINV): Likewise.
27433         (FPE_FLTSUB): Likewise.
27434         (SEGV_MAPERR): Likewise.
27435         (SEGV_ACCERR): Likewise.
27436         (BUS_ADRALN): Likewise.
27437         (BUS_ADRERR): Likewise.
27438         (BUS_OBJERR): Likewise.
27439         (BUS_MCEERR_AR): Likewise.
27440         (BUS_MCEERR_AO): Likewise.
27441         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27442         (TRAP_TRACE): Likewise.
27443         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27444         __USE_XOPEN2K8].
27445         (CLD_KILLED): Likewise.
27446         (CLD_DUMPED): Likewise.
27447         (CLD_TRAPPED): Likewise.
27448         (CLD_STOPPED): Likewise.
27449         (CLD_CONTINUED): Likewise.
27450         (POLL_IN): Likewise.
27451         (POLL_OUT): Likewise.
27452         (POLL_MSG): Likewise.
27453         (POLL_ERR): Likewise.
27454         (POLL_PRI): Likewise.
27455         (POLL_HUP): Likewise.
27456         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
27457         (ILL_ILLOPN): Likewise.
27458         (ILL_ILLADR): Likewise.
27459         (ILL_ILLTRP): Likewise.
27460         (ILL_PRVOPC): Likewise.
27461         (ILL_PRVREG): Likewise.
27462         (ILL_COPROC): Likewise.
27463         (ILL_BADSTK): Likewise.
27464         (FPE_INTDIV): Likewise.
27465         (FPE_INTOVF): Likewise.
27466         (FPE_FLTDIV): Likewise.
27467         (FPE_FLTOVF): Likewise.
27468         (FPE_FLTUND): Likewise.
27469         (FPE_FLTRES): Likewise.
27470         (FPE_FLTINV): Likewise.
27471         (FPE_FLTSUB): Likewise.
27472         (SEGV_MAPERR): Likewise.
27473         (SEGV_ACCERR): Likewise.
27474         (BUS_ADRALN): Likewise.
27475         (BUS_ADRERR): Likewise.
27476         (BUS_OBJERR): Likewise.
27477         (BUS_MCEERR_AR): Likewise.
27478         (BUS_MCEERR_AO): Likewise.
27479         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27480         (TRAP_TRACE): Likewise.
27481         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27482         __USE_XOPEN2K8].
27483         (CLD_KILLED): Likewise.
27484         (CLD_DUMPED): Likewise.
27485         (CLD_TRAPPED): Likewise.
27486         (CLD_STOPPED): Likewise.
27487         (CLD_CONTINUED): Likewise.
27488         (POLL_IN): Likewise.
27489         (POLL_OUT): Likewise.
27490         (POLL_MSG): Likewise.
27491         (POLL_ERR): Likewise.
27492         (POLL_PRI): Likewise.
27493         (POLL_HUP): Likewise.
27494         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
27495         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
27497         [BZ #16670]
27498         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
27499         before #include of <time.h>.
27500         [!__USE_XOPEN2K] (__need_timespec): Likewise.
27501         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
27502         (test-xfail-UNIX98/sched.h/conform): Likewise.
27504 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27506         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
27507         error absence of trapping exception support.
27508         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
27510 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
27512         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
27513         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
27514         * timezone/Makefile (testdata): Move definition above include of
27515         Rules.
27516         (test-zones): New variable.
27517         (tests-special): Add zone files.
27518         (build-testdata): Use $(evaluate-test).
27520         * elf/Makefile (tests-special): Rename tests to end with .out.
27521         ($(objpfx)noload-mem): Likewise.
27522         ($(objpfx)tst-leaks1-mem): Likewise.
27523         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
27524         * iconv/Makefile (xtests-special): Change test-iconvconfig to
27525         $(objpfx)test-iconvconfig.out.
27526         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
27527         set -e inside subshell and redirect output to file.
27528         * iconvdata/Makefile (generated): Rename tests to end with .out.
27529         Correct type.
27530         (tests-special): Rename tests to end with .out.
27531         ($(objpfx)mtrace-tst-loading): Likewise.
27532         * intl/Makefile (generated): Likewise.
27533         (tests-special): Likewise.
27534         ($(objpfx)mtrace-tst-gettext): Likewise.
27535         * misc/Makefile (generated): Likewise.
27536         (tests-special): Likewise.
27537         ($(objpfx)tst-error1-mem): Likewise.
27538         * nptl/Makefile (tests-special): Likewise.
27539         ($(objpfx)tst-stack3-mem): Likewise.
27540         (generated): Likewise.
27541         * posix/Makefile (generated): Likewise.
27542         (tests-special): Likewise.
27543         (xtests-special): Likewise.
27544         ($(objpfx)tst-fnmatch-mem): Likewise.
27545         ($(objpfx)bug-regex2-mem): Likewise.
27546         ($(objpfx)bug-regex14-mem): Likewise.
27547         ($(objpfx)bug-regex21-mem): Likewise.
27548         ($(objpfx)bug-regex31-mem): Likewise.
27549         ($(objpfx)tst-vfork3-mem): Likewise.
27550         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
27551         ($(objpfx)tst-pcre-mem): Likewise.
27552         ($(objpfx)tst-boost-mem): Likewise.
27553         ($(objpfx)bug-ga2-mem): Likewise.
27554         ($(objpfx)bug-glob2-mem): Likewise.
27555         * resolv/Makefile (generate): Likewise.
27556         (tests-special): Likewise.
27557         (xtests-special): Likewise.
27558         (generated): Likewise.
27559         ($(objpfx)mtrace-tst-leaks): Likewise.
27560         ($(objpfx)mtrace-tst-leaks2): Likewise.
27562         * scripts/merge-test-results.sh: New file.
27563         * Makefile (tests-special-notdir): New variable.
27564         (tests): Run merge-test-results.sh.
27565         (xtests): Likewise.
27566         * Rules (tests-special-notdir): New variable.
27567         (xtests-special-notdir): Likewise.
27568         (tests): Run merge-test-results.sh
27569         (xtests): Likewise.
27571         * Makeconfig (test-xfail-name): New variable.
27572         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
27573         compute variable name for expected failures.
27574         * conform/Makefile (conformtest-headers-data): New variable.
27575         (conformtest-standards): Likewise.
27576         (conformtest-headers-ISO): Likewise.
27577         (conformtest-headers-ISO99): Likewise.
27578         (conformtest-headers-ISO11): Likewise.
27579         (conformtest-headers-POSIX): Likewise.
27580         (conformtest-headers-XPG3): Likewise.
27581         (conformtest-headers-XPG4): Likewise.
27582         (conformtest-headers-UNIX98): Likewise.
27583         (conformtest-headers-XOPEN2K): Likewise.
27584         (conformtest-headers-POSIX2008): Likewise.
27585         (conformtest-headers-XOPEN2K8): Likewise.
27586         (conformtest-header-list-base): Likewise.
27587         (conformtest-header-list-tests): Likewise.
27588         (conformtest-header-base): Likewise.
27589         (conformtest-header-tests): Likewise.
27590         (tests-special): Add $(conformtest-header-list-tests).  If
27591         [$(fast-check) && !$(cross-compiling)], add
27592         $(conformtest-header-tests) instead of
27593         $(objpfx)run-conformtest.out.
27594         (generated): Add $(conformtest-header-list-base).  If
27595         [$(fast-check) && !$(cross-compiling)], add
27596         $(conformtest-header-base).  Remove previous setting.
27597         ($(conformtest-header-list-tests)): New target.
27598         (test-xfail-run-conformtest): Remove variable.
27599         ($(objpfx)run-conformtest.out): Remove target.
27600         (test-xfail-ISO11/complex.h/conform): New variable.
27601         (test-xfail-ISO11/stdalign.h/conform): Likewise.
27602         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27603         (test-xfail-XPG3/varargs.h/conform): Likewise.
27604         (test-xfail-XPG4/varargs.h/conform): Likewise.
27605         (test-xfail-UNIX98/varargs.h/conform): Likewise.
27606         (test-xfail-XPG4/ndbm.h/conform): Likewise.
27607         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
27608         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
27609         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
27610         (test-xfail-XPG3/fcntl.h/conform): Likewise.
27611         (test-xfail-XPG3/ftw.h/conform): Likewise.
27612         (test-xfail-XPG3/grp.h/conform): Likewise.
27613         (test-xfail-XPG3/langinfo.h/conform): Likewise.
27614         (test-xfail-XPG3/limits.h/conform): Likewise.
27615         (test-xfail-XPG3/pwd.h/conform): Likewise.
27616         (test-xfail-XPG3/search.h/conform): Likewise.
27617         (test-xfail-XPG3/signal.h/conform): Likewise.
27618         (test-xfail-XPG3/stdio.h/conform): Likewise.
27619         (test-xfail-XPG3/stdlib.h/conform): Likewise.
27620         (test-xfail-XPG3/string.h/conform): Likewise.
27621         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
27622         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
27623         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
27624         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
27625         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
27626         (test-xfail-XPG3/sys/types.h/conform): Likewise.
27627         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
27628         (test-xfail-XPG3/termios.h/conform): Likewise.
27629         (test-xfail-XPG3/time.h/conform): Likewise.
27630         (test-xfail-XPG3/unistd.h/conform): Likewise.
27631         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
27632         (test-xfail-XPG4/fcntl.h/conform): Likewise.
27633         (test-xfail-XPG4/langinfo.h/conform): Likewise.
27634         (test-xfail-XPG4/netdb.h/conform): Likewise.
27635         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
27636         (test-xfail-XPG4/signal.h/conform): Likewise.
27637         (test-xfail-XPG4/stdio.h/conform): Likewise.
27638         (test-xfail-XPG4/stdlib.h/conform): Likewise.
27639         (test-xfail-XPG4/stropts.h/conform): Likewise.
27640         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
27641         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
27642         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
27643         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
27644         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
27645         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
27646         (test-xfail-XPG4/sys/time.h/conform): Likewise.
27647         (test-xfail-XPG4/sys/types.h/conform): Likewise.
27648         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
27649         (test-xfail-XPG4/termios.h/conform): Likewise.
27650         (test-xfail-XPG4/ucontext.h/conform): Likewise.
27651         (test-xfail-XPG4/unistd.h/conform): Likewise.
27652         (test-xfail-XPG4/utmpx.h/conform): Likewise.
27653         (test-xfail-POSIX/sched.h/conform): Likewise.
27654         (test-xfail-POSIX/signal.h/conform): Likewise.
27655         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
27656         (test-xfail-POSIX/tar.h/conform): Likewise.
27657         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
27658         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
27659         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
27660         (test-xfail-UNIX98/netdb.h/conform): Likewise.
27661         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
27662         (test-xfail-UNIX98/sched.h/conform): Likewise.
27663         (test-xfail-UNIX98/signal.h/conform): Likewise.
27664         (test-xfail-UNIX98/stdio.h/conform): Likewise.
27665         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
27666         (test-xfail-UNIX98/stropts.h/conform): Likewise.
27667         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
27668         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
27669         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
27670         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
27671         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
27672         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
27673         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
27674         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
27675         (test-xfail-UNIX98/unistd.h/conform): Likewise.
27676         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
27677         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
27678         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
27679         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
27680         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
27681         (test-xfail-XOPEN2K/math.h/conform): Likewise.
27682         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
27683         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
27684         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
27685         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
27686         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
27687         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
27688         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
27689         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
27690         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
27691         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
27692         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
27693         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
27694         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
27695         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
27696         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
27697         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
27698         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
27699         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
27700         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
27701         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
27702         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
27703         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
27704         (test-xfail-POSIX2008/signal.h/conform): Likewise.
27705         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
27706         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
27707         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
27708         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
27709         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
27710         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
27711         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
27712         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
27713         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
27714         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
27715         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
27716         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
27717         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
27718         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
27719         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
27720         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
27721         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
27722         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
27723         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
27724         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
27725         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
27726         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
27727         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
27728         (conformtest-cc-flags): Likewise.
27729         ($(conformtest-header-tests): New target.
27730         * conform/check-header-lists.sh: New file.
27731         * conform/run-conformtest.sh: Remove.
27733         * conform/conformtest.pl: Allow ' and \ in values given for
27734         constants.
27735         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
27736         inclusion.
27737         [POSIX] (sys/types.h): Likewise.
27738         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
27739         inclusion.
27740         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
27741         inclusion.
27742         * conform/data/signal.h-data (SIGIO): Remove expectation.
27743         [XPG3] (SIGBUS): Do not expect.
27744         [POSIX || XPG3] (SIGPOLL): Likewise.
27745         [POSIX || XPG3] (SIGPROF): Likewise.
27746         [POSIX || XPG3] (SIGSYS): Likewise.
27747         [XPG3] (SIGTRAP): Likewise.
27748         [POSIX || XPG3] (SIGURG): Likewise.
27749         [POSIX || XPG3] (SIGVTALRM): Likewise.
27750         [POSIX || XPG3] (SIGXCPU): Likewise.
27751         [POSIX || XPG3] (SIGXFSZ): Likewise.
27752         [POSIX] (SA_SIGINFO): Expect.
27753         [XPG3] (siginfo_t): Do not expect type or contents.
27754         [POSIX] (si_pid): Do not expect element.
27755         [POSIX] (si_uid): Likewise.
27756         [POSIX] (si_addr): Likewise.
27757         [POSIX] (si_status): Likewise.
27758         [POSIX] (si_band): Likewise.
27759         [XPG4] (si_value): Likewise.
27760         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
27761         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
27762         [POSIX || XPG3] (ILL_ILLADR): Likewise.
27763         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
27764         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
27765         [POSIX || XPG3] (ILL_PRVREG): Likewise.
27766         [POSIX || XPG3] (ILL_COPROC): Likewise.
27767         [POSIX || XPG3] (ILL_BADSTK): Likewise.
27768         [POSIX || XPG3] (FPE_INTDIV): Likewise.
27769         [POSIX || XPG3] (FPE_INTOVF): Likewise.
27770         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
27771         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
27772         [POSIX || XPG3] (FPE_FLTUND): Likewise.
27773         [POSIX || XPG3] (FPE_FLTRES): Likewise.
27774         [POSIX || XPG3] (FPE_FLTINV): Likewise.
27775         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
27776         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
27777         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
27778         [POSIX || XPG3] (BUS_ADRALN): Likewise.
27779         [POSIX || XPG3] (BUS_ADRERR): Likewise.
27780         [POSIX || XPG3] (BUS_OBJERR): Likewise.
27781         [POSIX || XPG3] (CLD_EXITED): Likewise.
27782         [POSIX || XPG3] (CLD_KILLED): Likewise.
27783         [POSIX || XPG3] (CLD_DUMPED): Likewise.
27784         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
27785         [POSIX || XPG3] (CLD_STOPPED): Likewise.
27786         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
27787         [POSIX || XPG3] (POLL_IN): Likewise.
27788         [POSIX || XPG3] (POLL_OUT): Likewise.
27789         [POSIX || XPG3] (POLL_MSG): Likewise.
27790         [POSIX || XPG3] (POLL_ERR): Likewise.
27791         [POSIX || XPG3] (POLL_PRI): Likewise.
27792         [POSIX || XPG3] (POLL_HUP): Likewise.
27793         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
27794         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
27795         (SIG*): Do not allow.
27796         [XPG3] (si_*): Likewise.
27797         [XPG3] (SI_*): Likewise.
27798         [XPG3 || XPG4] (sigev_*): Likewise.
27799         [XPG3 || XPG4] (SIGEV_*): Likewise.
27800         [XPG3 || XPG4] (sival_*): Likewise.
27801         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
27802         [POSIX || XPG3] (BUS_*): Likewise.
27803         [POSIX || XPG3] (CLD_*): Likewise.
27804         [POSIX || XPG3] (FPE_*): Likewise.
27805         [POSIX || XPG3] (ILL_*): Likewise.
27806         [POSIX || XPG3] (POLL_*): Likewise.
27807         [POSIX || XPG3] (SEGV_*): Likewise.
27808         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
27809         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
27810         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
27811         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
27812         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
27813         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
27814         Specify type and value.
27815         (TVERSLEN): Likewise.
27816         (REGTYPE): Likewise.
27817         (AREGTYPE): Likewise.
27818         (LNKTYPE): Likewise.
27819         (SYMTYPE): Likewise.
27820         (CHRTYPE): Likewise.
27821         (BLKTYPE): Likewise.
27822         (DIRTYPE): Likewise.
27823         (FIFOTYPE): Likewise.
27824         (CONTTYPE): Likewise.
27825         (TSUID): Likewise.
27826         (TSGID): Likewise.
27827         (TSVTX): Likewise.
27828         (TUREAD): Likewise.
27829         (TUWRITE): Likewise.
27830         (TUEXEC): Likewise.
27831         (TGREAD): Likewise.
27832         (TGWRITE): Likewise.
27833         (TGEXEC): Likewise.
27834         (TOREAD): Likewise.
27835         (TOWRITE): Likewise.
27836         (TOEXEC): Likewise.
27837         [POSIX] (TSVTX): Expect constant.
27839 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
27841         * Makefile (tests): Change dependencies to ....
27842         (tests-special): ... additions to this variable.
27843         (tests): Depend on $(tests-special).
27844         * Makerules (check-abi-list): New variable.
27845         (check-abi): Depend on $(check-abi-list).
27846         [$(subdir) = elf] (tests-special): Add
27847         $(objpfx)check-abi-libc.out.
27848         [$(build-shared) = yes && subdir] (tests-special): Add
27849         $(check-abi-list).
27850         [$(build-shared) = yes && subdir] (tests): Do not depend on
27851         check-abi.
27852         * Rules (tests): Depend on $(tests-special).
27853         (xtests): Depend on $(xtests-special).
27854         * catgets/Makefile (tests): Change dependencies to ....
27855         (tests-special): ... additions to this variable.
27856         * conform/Makefile (tests): Change dependencies to ....
27857         (tests-special): ... additions to this variable.
27858         * elf/Makefile (tests): Change dependencies to ....
27859         (tests-special): ... additions to this variable.
27860         * grp/Makefile (tests): Change dependencies to ....
27861         (tests-special): ... additions to this variable.
27862         * iconv/Makefile (xtests): Change dependencies to ....
27863         (xtests-special): ... additions to this variable.
27864         * iconvdata/Makefile (tests): Change dependencies to ....
27865         (tests-special): ... additions to this variable.
27866         * intl/Makefile (tests): Change dependencies to ....
27867         (tests-special): ... additions to this variable.  Also add
27868         $(objpfx)tst-gettext.out.
27869         * io/Makefile (tests): Change dependencies to ....
27870         (tests-special): ... additions to this variable.
27871         * libio/Makefile (tests): Change dependencies to ....
27872         (tests-special): ... additions to this variable.
27873         * malloc/Makefile (tests): Change dependencies to ....
27874         (tests-special): ... additions to this variable.
27875         * misc/Makefile (tests): Change dependencies to ....
27876         (tests-special): ... additions to this variable.
27877         * nptl/Makefile (tests): Change dependencies to ....
27878         (tests-special): ... additions to this variable.
27879         * nptl_db/Makefile (tests): Change dependencies to ....
27880         (tests-special): ... additions to this variable.
27881         * posix/Makefile (tests): Change dependencies to ....
27882         (tests-special): ... additions to this variable.
27883         (xtests): Change dependencies to ....
27884         (xtests-special): ... additions to this variable.
27885         * resolv/Makefile (tests): Change dependencies to ....
27886         (tests-special): ... additions to this variable.
27887         (xtests): Change dependencies to ....
27888         (xtests-special): ... additions to this variable.
27889         * stdio-common/Makefile (tests): Change dependencies to ....
27890         (tests-special): ... additions to this variable.
27891         (do-tst-unbputc): Remove target.
27892         (do-tst-printf): Likewise.
27893         * stdlib/Makefile (tests): Change dependencies to ....
27894         (tests-special): ... additions to this variable.
27895         * string/Makefile (tests): Change dependencies to ....
27896         (tests-special): ... additions to this variable.
27897         * sysdeps/x86/Makefile (tests): Change dependencies to ....
27898         (tests-special): ... additions to this variable.
27900         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
27901         whole file.
27902         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
27903         whole file.
27904         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
27905         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
27907         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
27908         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
27909         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
27910         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
27911         * conform/data/libgen.h-data [XPG3]: Likewise.
27912         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
27913         * conform/data/ndbm.h-data [XPG3]: Likewise.
27914         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
27915         * conform/data/netdb.h-data [XPG3]: Likewise.
27916         * conform/data/netinet/in.h-data [XPG3]: Likewise.
27917         * conform/data/poll.h-data [XPG3]: Likewise.
27918         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
27919         * conform/data/strings.h-data [XPG3]: Likewise.
27920         * conform/data/stropts.h-data [XPG3]: Likewise.
27921         * conform/data/sys/mman.h-data [XPG3]: Likewise.
27922         * conform/data/sys/resource.h-data [XPG3]: Likewise.
27923         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
27924         Likewise.
27925         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
27926         * conform/data/sys/time.h-data [XPG3]: Likewise.
27927         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
27928         * conform/data/sys/uio.h-data [XPG3]: Likewise.
27929         * conform/data/sys/un.h-data [XPG3]: Likewise.
27930         * conform/data/syslog.h-data [XPG3]: Likewise.
27931         * conform/data/ucontext.h-data [XPG3]: Likewise.
27932         * conform/data/utmpx.h-data [XPG3]: Likewise.
27933         * conform/data/varargs.h-data [UNIX98]: Enable file.
27935         * manual/Makefile (INSTALL_INFO): Remove variable setting.
27937         * math/libm-test.inc (struct test_f_f_data): Move expected results
27938         into structure for each rounding mode.
27939         (struct test_ff_f_data): Likewise.
27940         (struct test_ff_f_data_nexttoward): Likewise.
27941         (struct test_fi_f_data): Likewise.
27942         (struct test_fl_f_data): Likewise.
27943         (struct test_if_f_data): Likewise.
27944         (struct test_fff_f_data): Likewise.
27945         (struct test_c_f_data): Likewise.
27946         (struct test_f_f1_data): Likewise.
27947         (struct test_fF_f1_data): Likewise.
27948         (struct test_ffI_f1_data): Likewise.
27949         (struct test_c_c_data): Likewise.
27950         (struct test_cc_c_data): Likewise.
27951         (struct test_f_i_data): Likewise.
27952         (struct test_ff_i_data): Likewise.
27953         (struct test_f_l_data): Likewise.
27954         (struct test_f_L_data): Likewise.
27955         (struct test_fFF_11_data): Likewise.
27956         (RM_): New macro.
27957         (RM_FE_DOWNWARD): Likewise.
27958         (RM_FE_TONEAREST): Likewise.
27959         (RM_FE_TOWARDZERO): Likewise.
27960         (RM_FE_UPWARD): Likewise.
27961         (RUN_TEST_LOOP_f_f): Update references to expected results.
27962         (RUN_TEST_LOOP_2_f): Likewise.
27963         (RUN_TEST_LOOP_fff_f): Likewise.
27964         (RUN_TEST_LOOP_c_f): Likewise.
27965         (RUN_TEST_LOOP_f_f1): Likewise.
27966         (RUN_TEST_LOOP_fF_f1): Likewise.
27967         (RUN_TEST_LOOP_fI_f1): Likewise.
27968         (RUN_TEST_LOOP_ffI_f1): Likewise.
27969         (RUN_TEST_LOOP_c_c): Likewise.
27970         (RUN_TEST_LOOP_cc_c): Likewise.
27971         (RUN_TEST_LOOP_f_i): Likewise.
27972         (RUN_TEST_LOOP_f_i_tg): Likewise.
27973         (RUN_TEST_LOOP_ff_i_tg): Likewise.
27974         (RUN_TEST_LOOP_f_b): Likewise.
27975         (RUN_TEST_LOOP_f_b_tg): Likewise.
27976         (RUN_TEST_LOOP_f_l): Likewise.
27977         (RUN_TEST_LOOP_f_L): Likewise.
27978         (RUN_TEST_LOOP_fFF_11): Likewise.
27979         * math/gen-libm-test.pl (parse_args): Output four copies of
27980         expected results for each test.
27982         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27983         (__ASSUME_UTIMES): Remove.
27984         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27985         (__ASSUME_UTIMES): Likewise.
27987         * math/gen-auto-libm-tests.c: Update comment on output format.
27988         (output_for_one_input_case): Generate before-rounding and
27989         after-rounding information as conditions on output flags not
27990         floating-point format.
27991         * math/auto-libm-test-out: Regenerated.
27992         * math/gen-libm-test.pl (cond_value): New function.
27993         (or_cond_value): Use cond_value.
27994         (generate_testfile): Handle conditional exceptions.
27996 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
27998         * math/libm-test.inc (max_valid_error): New variable.
27999         (init_max_error): Take new argument specifying whether function
28000         results are exactly determined.  Set max_valid_error and bound
28001         other variables for errors based on this argument.
28002         (set_max_error): Do not record results above max_valid_error.
28003         (check_float_internal): Only accept errors of up to 0.5ulps if
28004         also at most max_valid_error.
28005         (START): Take new argument EXACT and pass it to init_max_error.
28006         (acos_test): Update call to START.
28007         (acos_test_tonearest): Likewise.
28008         (acos_test_towardzero): Likewise.
28009         (acos_test_downward): Likewise.
28010         (acos_test_upward): Likewise.
28011         (acosh_test): Likewise.
28012         (asin_test): Likewise.
28013         (asin_test_tonearest): Likewise.
28014         (asin_test_towardzero): Likewise.
28015         (asin_test_downward): Likewise.
28016         (asin_test_upward): Likewise.
28017         (asinh_test): Likewise.
28018         (atan_test): Likewise.
28019         (atanh_test): Likewise.
28020         (atan2_test): Likewise.
28021         (cabs_test): Likewise.
28022         (cacos_test): Likewise.
28023         (cacosh_test): Likewise.
28024         (carg_test): Likewise.
28025         (casin_test): Likewise.
28026         (casinh_test): Likewise.
28027         (catan_test): Likewise.
28028         (catanh_test): Likewise.
28029         (cbrt_test): Likewise.
28030         (ccos_test): Likewise.
28031         (ccosh_test): Likewise.
28032         (ceil_test): Likewise.
28033         (cexp_test): Likewise.
28034         (cimag_test): Likewise.
28035         (clog_test): Likewise.
28036         (clog10_test): Likewise.
28037         (conj_test): Likewise.
28038         (copysign_test): Likewise.
28039         (cos_test): Likewise.
28040         (cos_test_tonearest): Likewise.
28041         (cos_test_towardzero): Likewise.
28042         (cos_test_downward): Likewise.
28043         (cos_test_upward): Likewise.
28044         (cosh_test): Likewise.
28045         (cosh_test_tonearest): Likewise.
28046         (cosh_test_towardzero): Likewise.
28047         (cosh_test_downward): Likewise.
28048         (cosh_test_upward): Likewise.
28049         (cpow_test): Likewise.
28050         (cproj_test): Likewise.
28051         (creal_test): Likewise.
28052         (csin_test): Likewise.
28053         (csinh_test): Likewise.
28054         (csqrt_test): Likewise.
28055         (ctan_test): Likewise.
28056         (ctan_test_tonearest): Likewise.
28057         (ctan_test_towardzero): Likewise.
28058         (ctan_test_downward): Likewise.
28059         (ctan_test_upward): Likewise.
28060         (ctanh_test): Likewise.
28061         (ctanh_test_tonearest): Likewise.
28062         (ctanh_test_towardzero): Likewise.
28063         (ctanh_test_downward): Likewise.
28064         (ctanh_test_upward): Likewise.
28065         (erf_test): Likewise.
28066         (erfc_test): Likewise.
28067         (exp_test): Likewise.
28068         (exp_test_tonearest): Likewise.
28069         (exp_test_towardzero): Likewise.
28070         (exp_test_downward): Likewise.
28071         (exp_test_upward): Likewise.
28072         (exp10_test): Likewise.
28073         (exp10_test_tonearest): Likewise.
28074         (exp10_test_towardzero): Likewise.
28075         (exp10_test_downward): Likewise.
28076         (exp10_test_upward): Likewise.
28077         (pow10_test): Likewise.
28078         (exp2_test): Likewise.
28079         (expm1_test): Likewise.
28080         (expm1_test_tonearest): Likewise.
28081         (expm1_test_towardzero): Likewise.
28082         (expm1_test_downward): Likewise.
28083         (expm1_test_upward): Likewise.
28084         (fabs_test): Likewise.
28085         (fdim_test): Likewise.
28086         (floor_test): Likewise.
28087         (fma_test): Likewise.
28088         (fma_test_towardzero): Likewise.
28089         (fma_test_downward): Likewise.
28090         (fma_test_upward): Likewise.
28091         (fmax_test): Likewise.
28092         (fmin_test): Likewise.
28093         (fmod_test): Likewise.
28094         (fpclassify_test): Likewise.
28095         (frexp_test): Likewise.
28096         (hypot_test): Likewise.
28097         (ilogb_test): Likewise.
28098         (isfinite_test): Likewise.
28099         (finite_test): Likewise.
28100         (isgreater_test): Likewise.
28101         (isgreaterequal_test): Likewise.
28102         (isinf_test): Likewise.
28103         (isless_test): Likewise.
28104         (islessequal_test): Likewise.
28105         (islessgreater_test): Likewise.
28106         (isnan_test): Likewise.
28107         (isnormal_test): Likewise.
28108         (issignaling_test): Likewise.
28109         (isunordered_test): Likewise.
28110         (j0_test): Likewise.
28111         (j1_test): Likewise.
28112         (jn_test): Likewise.
28113         (ldexp_test): Likewise.
28114         (lgamma_test): Likewise.
28115         (gamma_test): Likewise.
28116         (lrint_test): Likewise.
28117         (lrint_test_tonearest): Likewise.
28118         (lrint_test_towardzero): Likewise.
28119         (lrint_test_downward): Likewise.
28120         (lrint_test_upward): Likewise.
28121         (llrint_test): Likewise.
28122         (llrint_test_tonearest): Likewise.
28123         (llrint_test_towardzero): Likewise.
28124         (llrint_test_downward): Likewise.
28125         (llrint_test_upward): Likewise.
28126         (log_test): Likewise.
28127         (log10_test): Likewise.
28128         (log1p_test): Likewise.
28129         (log2_test): Likewise.
28130         (logb_test): Likewise.
28131         (logb_test_downward): Likewise.
28132         (lround_test): Likewise.
28133         (llround_test): Likewise.
28134         (modf_test): Likewise.
28135         (nearbyint_test): Likewise.
28136         (nextafter_test): Likewise.
28137         (nexttoward_test): Likewise.
28138         (pow_test): Likewise.
28139         (pow_test_tonearest): Likewise.
28140         (pow_test_towardzero): Likewise.
28141         (pow_test_downward): Likewise.
28142         (pow_test_upward): Likewise.
28143         (remainder_test): Likewise.
28144         (drem_test): Likewise.
28145         (remainder_test_tonearest): Likewise.
28146         (drem_test_tonearest): Likewise.
28147         (remainder_test_towardzero): Likewise.
28148         (drem_test_towardzero): Likewise.
28149         (remainder_test_downward): Likewise.
28150         (drem_test_downward): Likewise.
28151         (remainder_test_upward): Likewise.
28152         (drem_test_upward): Likewise.
28153         (remquo_test): Likewise.
28154         (rint_test): Likewise.
28155         (rint_test_tonearest): Likewise.
28156         (rint_test_towardzero): Likewise.
28157         (rint_test_downward): Likewise.
28158         (rint_test_upward): Likewise.
28159         (round_test): Likewise.
28160         (scalb_test): Likewise.
28161         (scalbn_test): Likewise.
28162         (scalbln_test): Likewise.
28163         (signbit_test): Likewise.
28164         (sin_test): Likewise.
28165         (sin_test_tonearest): Likewise.
28166         (sin_test_towardzero): Likewise.
28167         (sin_test_downward): Likewise.
28168         (sin_test_upward): Likewise.
28169         (sincos_test): Likewise.
28170         (sinh_test): Likewise.
28171         (sinh_test_tonearest): Likewise.
28172         (sinh_test_towardzero): Likewise.
28173         (sinh_test_downward): Likewise.
28174         (sinh_test_upward): Likewise.
28175         (sqrt_test): Likewise.
28176         (sqrt_test_tonearest): Likewise.
28177         (sqrt_test_towardzero): Likewise.
28178         (sqrt_test_downward): Likewise.
28179         (sqrt_test_upward): Likewise.
28180         (tan_test): Likewise.
28181         (tan_test_tonearest): Likewise.
28182         (tan_test_towardzero): Likewise.
28183         (tan_test_downward): Likewise.
28184         (tan_test_upward): Likewise.
28185         (tanh_test): Likewise.
28186         (tgamma_test): Likewise.
28187         (trunc_test): Likewise.
28188         (y0_test): Likewise.
28189         (y1_test): Likewise.
28190         (yn_test): Likewise.
28191         (significand_test): Likewise.
28193         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
28194         individual tests in comment.
28195         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
28196         (prev_max_error): New variable.
28197         (prev_real_max_error): Likewise.
28198         (prev_imag_max_error): Likewise.
28199         (compare_ulp_data): Don't refer to test names in comment.
28200         (find_test_ulps): Remove function.
28201         (find_function_ulps): Likewise.
28202         (find_complex_function_ulps): Likewise.
28203         (init_max_error): Take function name as argument.  Look up ulps
28204         for that function.
28205         (print_ulps): Remove function.
28206         (print_max_error): Use prev_max_error instead of calling
28207         find_function_ulps.
28208         (print_complex_max_error): Use prev_real_max_error and
28209         prev_imag_max_error instead of calling find_complex_function_ulps.
28210         (check_float_internal): Take max_ulp parameter instead of calling
28211         find_test_ulps.  Don't call print_ulps.
28212         (check_float): Update call to check_float_internal.
28213         (check_complex): Update calls to check_float_internal.
28214         (START): Pass argument to init_max_error.
28215         * math/gen-libm-test.pl (%results): Don't include "kind"
28216         information.
28217         (parse_ulps): Don't handle ulps of individual tests.
28218         (print_ulps_file): Likewise.
28219         (output_ulps): Likewise.
28220         * math/README.libm-test: Update.
28221         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
28222         individual tests.
28223         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
28224         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28225         * sysdeps/arm/libm-test-ulps: Likewise.
28226         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28227         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
28228         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
28229         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
28230         * sysdeps/microblaze/libm-test-ulps: Likewise.
28231         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28232         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28233         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28234         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28235         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28236         * sysdeps/sh/libm-test-ulps: Likewise.
28237         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28238         * sysdeps/tile/libm-test-ulps: Likewise.
28239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28241 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
28243         * math/libm-test.inc (print_complex_max_error): Check separately
28244         whether real and imaginary errors are within allowed range and
28245         pass 0 to print_complex_function_ulps instead of value within
28246         allowed range.
28248 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28250         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
28251         formatting.
28252         (get_handles_fopen): Likewise.
28253         (do_write_test): Likewise.
28255         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
28257         * libio/fileops.c (do_ftell): Use cached offset when
28258         available.
28259         * libio/iofwide.c (do_ftell_wide): Likewise.
28260         * libio/iofdopen.c (_IO_new_fdopen): Don't use
28261         _IO_file_attach.
28262         * libio/wfileops.c (_IO_fwide): Don't cache offset.
28264         [BZ #16532]
28265         * libio/libioP.h (get_file_offset): New function.
28266         * libio/fileops.c (get_file_offset): Likewise.
28267         (do_ftell): Likewise.
28268         (_IO_new_file_seekoff): Split out ftell logic.
28269         * libio/wfileops.c (do_ftell_wide): Likewise.
28270         (_IO_wfile_seekoff): Split out ftell logic.
28271         * libio/tst-ftell-active-handler.c: New test case.
28272         * libio/Makefile (tests): Add it.
28274 2014-03-03  Roland McGrath  <roland@hack.frob.com>
28276         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
28277         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
28279 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28281         [BZ #16639]
28282         * nscd/connections.c (nscd_init): Call do_exit.
28283         (start_threads): Call do_exit and notify_parent.
28284         (begin_drop_privileges): Call do_exit.
28285         (finish_drop_privileges): Likewise.
28286         * nscd/selinux.c (preserve_capabilities): Likewise.
28287         (install_real_capabilities): Likewise.
28288         (nscd_selinux_enabled): Likewise.
28289         (avc_create_thread): Likewise.
28290         (avc_alloc_lock): Likewise.
28291         (nscd_avc_init): Likewise.
28292         * nscd/nscd.c (parent_fd): New static variable.
28293         (main): Create a pipe between parent and child processes.
28294         Skip closing parent_fd.
28295         (monitor_child): New function.
28296         (do_exit): Likewise.
28297         (notify_parent): Likewise.
28298         * nscd/nscd.h (notify_parent): Likewise.
28299         (do_exit): Likewise.
28301 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
28303         * malloc/malloc.c (__libc_calloc): Revert last change.
28305 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28309 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28311         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
28312         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
28313         implementation.
28314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28315         (__libc_ifunc_impl_list): Likewise.
28316         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
28317         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
28318         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
28319         * string/strrchr.c: Define STRRCHR.
28321 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
28323         * benchtest/bench-strtok.c (simple_strtok): Delete.
28324         (strtok_string): Use as benchmark.
28325         * string/strtok (STRTOK): New macro.
28327 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
28329         * manual/threads.texi: Add header and standard comments to all
28330         functions.
28332         * elf/dl-lookup.c (check_match): New function.
28333         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
28334         (do_lookup_x): Remove nested function check_match. Use non-nested
28335         function check_match.
28337 2014-02-28  Roland McGrath  <roland@hack.frob.com>
28339         * csu/Makefile (generated, before-compile): Use += rather than =.
28340         * catgets/Makefile (generated, generated-dirs): Likewise.
28341         * debug/Makefile (generated): Likewise.
28342         * dlfcn/Makefile (generated): Likewise.
28343         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
28344         * iconvdata/Makefile (before-compile, generated): Likewise.
28345         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
28346         * libio/Makefile (generated): Likewise.
28347         * malloc/Makefile (generated): Likewise.
28348         * manual/Makefile (generated, generated-dirs): Likewise.
28349         * misc/Makefile (generated): Likewise.
28350         * posix/Makefile (generated): Likewise.
28351         * resolv/Makefile (generated): Likewise.
28352         * sunrpc/Makefile (generated, generated-dirs): Likewise.
28353         * timezone/Makefile (generated, generated-dirs): Likewise.
28355         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
28357 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28359         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28360         power8 implementation.
28361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
28362         file: POWER8 llround ifunc implementation.
28363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
28364         (__lllround): Add POWER8 implementation.
28365         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
28366         POWER8 llround implementation.
28368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
28369         power8 implementation.
28370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
28371         file: POWER8 llrint ifunc implementation.
28372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
28373         Add POWER8 implementation.
28374         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
28375         POWER8 llrint implementation.
28377         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
28378         power8 implementation.
28379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
28380         file: POWER8 finite ifunc implementation.
28381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
28382         Add POWER8 implementation.
28383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
28384         Likewise.
28385         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
28386         POWER8 finite implementation.
28387         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
28389         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
28390         power8 implementation.
28391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
28392         file: POWER8 isinf ifunc implementation.
28393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
28394         POWER8 implementation.
28395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
28396         Likewise.
28397         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
28398         isinf implementation.
28399         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
28401         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
28402         (INIT_ARCH): Add hwcap2 initialization.
28403         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28404         power8 implementation.
28405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
28406         file: POWER8 isnan ifunc implementation.
28407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
28408         POWER8 implementation.
28409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
28410         Likewise.
28411         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
28412         isnan implementation.
28413         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
28415 2014-02-27  Joey Ye  <joey.ye@arm.com>
28417         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28418         (_FP_NANFRAC_Q): Set to zero.
28420 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28422         [BZ #16623]
28423         * math/auto-libm-test-in: New test inputs.
28424         * math/auto-libm-test-out: Regenerate.
28425         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
28426         and DA.
28427         (__cos): Likewise.
28428         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28430 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
28432         * scripts/evaluate-test.sh: Take new argument indicating whether
28433         failure is expected.
28434         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
28435         indicating whether failure is expected.
28436         * conform/Makefile (test-xfail-run-conformtest): New variable.
28437         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
28438         level.
28439         * posix/Makefile (test-xfail-annexc): New variable.
28440         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
28442 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
28444         * argp/Makefile: Include Makeconfig immediately after defining
28445         subdir.
28446         * assert/Makefile: Likewise.
28447         * benchtests/Makefile: Likewise.
28448         * catgets/Makefile: Likewise.
28449         * conform/Makefile: Likewise.
28450         * crypt/Makefile: Likewise.
28451         * csu/Makefile: Likewise.
28452         (all): Remove target.
28453         * ctype/Makefile: Include Makeconfig immediately after defining
28454         subdir.
28455         * debug/Makefile: Likewise.
28456         * dirent/Makefile: Likewise.
28457         * dlfcn/Makefile: Likewise.
28458         * gmon/Makefile: Likewise.
28459         * gnulib/Makefile: Likewise.
28460         * grp/Makefile: Likewise.
28461         * gshadow/Makefile: Likewise.
28462         * hesiod/Makefile: Likewise.
28463         * hurd/Makefile: Likewise.
28464         (all): Remove target.
28465         * iconvdata/Makefile: Include Makeconfig immediately after
28466         defining subdir.
28467         * inet/Makefile: Likewise.
28468         * intl/Makefile: Likewise.
28469         * io/Makefile: Likewise.
28470         * libio/Makefile: Likewise.
28471         (all): Remove target.
28472         * locale/Makefile: Include Makeconfig immediately after defining
28473         subdir.
28474         * login/Makefile: Likewise.
28475         * mach/Makefile: Likewise.
28476         (all): Remove target.
28477         * malloc/Makefile: Include Makeconfig immediately after defining
28478         subdir.
28479         (all): Remove target.
28480         * manual/Makefile: Include Makeconfig immediately after defining
28481         subdir.
28482         * math/Makefile: Likewise.
28483         * misc/Makefile: Likewise.
28484         * nis/Makefile: Likewise.
28485         * nss/Makefile: Likewise.
28486         * po/Makefile: Likewise.
28487         (all): Remove target.
28488         * posix/Makefile: Include Makeconfig immediately after defining
28489         subdir.
28490         * pwd/Makefile: Likewise.
28491         * resolv/Makefile: Likewise.
28492         * resource/Makefile: Likewise.
28493         * rt/Makefile: Likewise.
28494         * setjmp/Makefile: Likewise.
28495         * shadow/Makefile: Likewise.
28496         * signal/Makefile: Likewise.
28497         * socket/Makefile: Likewise.
28498         * soft-fp/Makefile: Likewise.
28499         * stdio-common/Makefile: Likewise.
28500         * stdlib/Makefile: Likewise.
28501         * streams/Makefile: Likewise.
28502         * string/Makefile: Likewise.
28503         * sunrpc/Makefile: Likewise.
28504         (all): Remove target.
28505         * sysvipc/Makefile: Include Makeconfig immediately after defining
28506         subdir.
28507         * termios/Makefile: Likewise.
28508         * time/Makefile: Likewise.
28509         * timezone/Makefile: Likewise.
28510         (all): Remove target.
28511         * wcsmbs/Makefile: Include Makeconfig immediately after defining
28512         subdir.
28513         * wctype/Makefile: Likewise.
28515 2014-02-26  Steve Ellcey  <sellcey@mips.com>
28517         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
28518         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
28519         (libc_feholdexcept_setround_mips): Ditto.
28520         (libc_feholdsetround): New.
28521         (libc_feholdsetroundf): New.
28522         (libc_feholdsetroundl): New.
28523         (libc_feupdateenv_test_mips): New.
28524         (libc_feupdateenv_test): New.
28525         (libc_feupdateenv_testf): New.
28526         (libc_feupdateenv_testl): New.
28527         (libc_feresetround): New.
28528         (libc_feresetroundf): New.
28529         (libc_feresetroundl): New.
28530         (libc_fetestexcept_mips): New.
28531         (libc_fetestexcept): New.
28532         (libc_fetestexceptf): New.
28533         (libc_fetestexceptl): New.
28534         (HAVE_RM_CTX): New.
28535         (libc_feholdexcept_setround_mips_ctx): New.
28536         (libc_feholdexcept_setround_ctx): New.
28537         (libc_feholdexcept_setroundf_ctx): New.
28538         (libc_feholdexcept_setroundl_ctx): New.
28539         (libc_fesetenv_mips_ctx): New.
28540         (libc_fesetenv_ctx): New.
28541         (libc_fesetenv_ctxf): New.
28542         (libc_fesetenv_ctxl): New.
28543         (libc_feupdateenv_mips_ctx): New.
28544         (libc_feupdateenv_ctx): New.
28545         (libc_feupdateenvf_ctx): New.
28546         (libc_feupdateenvl_ctx): New.
28547         (libc_feholdsetround_mips_ctx): New.
28548         (libc_feholdsetround_ctx): New.
28549         (libc_feholdsetroundf_ctx): New.
28550         (libc_feholdsetroundl_ctx): New.
28551         (libc_feresetround_mips_ctx): New.
28552         (libc_feresetround_ctx): New.
28553         (libc_feresetroundf_ctx): New.
28554         (libc_feresetroundl_ctx): New.
28556 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
28558         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
28560         * manual/ipc.texi: New file.
28561         * manual/Makefile (chapters): Add ipc.
28562         * manual/job.texi: Add "Inter-Process Communication" to next.
28563         * manual/process.texi: Add "Inter-Process Communication" to prev.
28565 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28569 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
28571         * malloc/malloc.c (__libc_calloc): Simplify implementation.
28573         * manual/arith.texi: Fix spaces after sentences.
28574         * manual/charset.texi: Likewise.
28575         * manual/errno.texi: Likewise.
28576         * manual/install.texi: Likewise.
28577         * manual/llio.texi: Likewise.
28578         * manual/locale.texi: Likewise.
28579         * manual/maint.texi: Likewise.
28580         * manual/math.texi: Likewise.
28581         * manual/memory.texi: Likewise.
28582         * manual/message.texi: Likewise.
28583         * manual/probes.texi: Likewise.
28584         * manual/resource.texi: Likewise.
28585         * manual/signal.texi: Likewise.
28586         * manual/socket.texi: Likewise.
28587         * manual/stdio.texi: Likewise.
28588         * manual/string.texi: Likewise.
28589         * manual/time.texi: Likewise.
28590         * manual/users.texi: Likewise.
28592 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
28594         [BZ #16632]
28595         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
28596         _DEFAULT_SOURCE is defined.
28598 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
28599             Carlos O'Donell  <carlos@redhat.com>
28601         [BZ #16613]
28602         * elf/dl-tls.c (_dl_count_modids): New function.
28603         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
28604         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
28605         audit library and increment generation counter.
28606         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
28607         * elf/tst-audit9.c: New file.
28608         * elf/tst-auditmod9a.c: New file.
28609         * elf/tst-auditmod9b.c: New file.
28610         * elf/Makefile: Add rules to build and run tst-audit9.
28612 2014-02-25  Florian Weimer  <fweimer@redhat.com>
28614         [BZ #15347]
28615         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
28617 2014-02-25  Will Newton  <will.newton@linaro.org>
28619         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
28620         (__longjmp): Restore sp and lr before restoring callee
28621         saved registers.  Add longjmp and longjmp_target
28622         SystemTap probe point.
28623         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
28624         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
28625         Define to zero to match jmpbuf layout.
28626         * sysdeps/arm/setjmp.S: Include stap-probe.h.
28627         (__sigsetjmp): Save sp and lr before saving callee
28628         saved registers.  Add setjmp SystemTap probe point.
28630 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
28632         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28634 2014-02-24  Andreas Schwab  <schwab@suse.de>
28636         [BZ #15804]
28637         * elf/pldd.c (wait_for_ptrace_stop): New function.
28638         (main): Call it after attaching.
28640 2014-02-22  Roland McGrath  <roland@hack.frob.com>
28642         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
28643         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
28644         Versions files is now verboten.
28645         * hurd/Versions (libc: GLIBC_2.0):
28646         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
28647         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
28648         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
28649         * mach/Versions: Likewise.
28651         * csu/Versions: Remove unused %include.
28652         * resolv/Versions: Likewise.
28654 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
28656         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
28657         ($(objpfx)check-local-headers.out): Likewise.
28658         ($(objpfx)begin-end-check.out): Likewise.
28659         * Makerules (check-abi-%.out): Likewise.
28660         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
28661         ($(objpfx)test2.cat): Likewise.
28662         ($(objpfx)de/libc.cat): Likewise.
28663         ($(objpfx)test-gencat.out): Likewise.
28664         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
28665         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
28666         ($(objpfx)noload-mem): Likewise.
28667         ($(objpfx)tst-pathopt.out): Likewise.
28668         ($(objpfx)tst-rtld-load-self.out): Likewise.
28669         ($(objpfx)tst-array1-cmp.out): Likewise.
28670         ($(objpfx)tst-array1-static-cmp.out): Likewise.
28671         ($(objpfx)tst-array2-cmp.out): Likewise.
28672         ($(objpfx)tst-array3-cmp.out): Likewise.
28673         ($(objpfx)tst-array4-cmp.out): Likewise.
28674         ($(objpfx)tst-array5-cmp.out): Likewise.
28675         ($(objpfx)tst-array5-static-cmp.out): Likewise.
28676         ($(objpfx)check-textrel.out): Likewise.
28677         ($(objpfx)check-execstack.out): Likewise.
28678         ($(objpfx)check-localplt.out): Likewise.
28679         ($(objpfx)order2-cmp.out): Likewise.
28680         ($(objpfx)tst-leaks1-mem): Likewise.
28681         ($(objpfx)tst-leaks1-static-mem): Likewise.
28682         ($(objpfx)tst-initorder-cmp.out): Likewise.
28683         ($(objpfx)tst-initorder2-cmp.out): Likewise.
28684         ($(objpfx)tst-unused-dep.out): Likewise.
28685         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
28686         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
28687         * iconv/Makefile (test-iconvconfig): Likewise.
28688         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
28689         ($(objpfx)iconv-test.out): Likewise.
28690         ($(objpfx)tst-tables.out): Likewise.
28691         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
28692         ($(objpfx)tst-gettext.out): Likewise.
28693         ($(objpfx)tst-translit.out): Likewise.
28694         ($(objpfx)tst-gettext2.out): Likewise.
28695         ($(objpfx)tst-gettext4.out): Likewise.
28696         ($(objpfx)tst-gettext6.out): Likewise.
28697         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
28698         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
28699         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
28700         ($(objpfx)tst-fopenloc-mem.out): Likewise.
28701         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
28702         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
28703         * posix/Makefile ($(objpfx)globtest.out): Likewise.
28704         ($(objpfx)wordexp-tst.out): Likewise.
28705         ($(objpfx)annexc.out): Likewise.
28706         ($(objpfx)tst-fnmatch-mem): Likewise.
28707         ($(objpfx)bug-regex2-mem): Likewise.
28708         ($(objpfx)bug-regex14-mem): Likewise.
28709         ($(objpfx)bug-regex21-mem): Likewise.
28710         ($(objpfx)bug-regex31-mem): Likewise.
28711         ($(objpfx)tst-vfork3-mem): Likewise.
28712         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
28713         ($(objpfx)tst-pcre-mem): Likewise.
28714         ($(objpfx)tst-boost-mem): Likewise.
28715         ($(objpfx)tst-getconf.out): Likewise.
28716         ($(objpfx)bug-ga2-mem): Likewise.
28717         ($(objpfx)bug-glob2-mem): Likewise.
28718         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
28719         ($(objpfx)mtrace-tst-leaks2): Likewise.
28720         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
28721         ($(objpfx)tst-printf.out): Likewise.
28722         ($(objpfx)tst-setvbuf1.out): Likewise.
28723         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
28724         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
28725         ($(objpfx)tst-fmtmsg.out): Likewise.
28726         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
28727         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
28729         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
28730         * bits/sigaction.h [__USE_MISC]: Likewise.
28731         * bits/waitstatus.h: Update #endif comments.
28732         * ctype/ctype.h: Likewise.
28733         * dirent/dirent.h: Likewise.
28734         [__USE_MISC]: Remove redundant conditionals.
28735         * grp/grp.h: Update #endif comments.
28736         [__USE_GNU]: Remove redundant conditionals.
28737         [__USE_MISC]: Likewise.
28738         * inet/netinet/in.h [__USE_GNU]: Likewise.
28739         * io/sys/stat.h [__USE_MISC]: Likewise.
28740         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
28741         * libio/bits/stdio.h: Update #endif comments.
28742         [__USE_MISC]: Remove redundant conditionals.
28743         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
28744         * libio/stdio.h: Update #endif comments.
28745         [__USE_MISC]: Remove redundant conditionals.
28746         * math/bits/math-finite.h [__USE_MISC]: Likewise.
28747         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
28748         * math/math.h: Update #else and #endif comments.
28749         [__USE_MISC]: Remove redundant conditionals.
28750         * misc/sys/uio.h: Update #endif comments.
28751         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
28752         * posix/glob.h [__USE_MISC]: Likewise.
28753         * posix/sys/types.h: Update #endif comments.
28754         [__USE_MISC]: Remove redundant conditionals.
28755         * posix/sys/wait.h: Update #endif comments.
28756         [__USE_MISC]: Remove redundant conditionals.
28757         * posix/unistd.h: Update #endif comments.
28758         [__USE_MISC]: Remove redundant conditionals.
28759         * pwd/pwd.h [__USE_GNU]: Likewise.
28760         [__USE_MISC]: Likewise.
28761         * resolv/netdb.h [__USE_GNU]: Likewise.
28762         * signal/signal.h: Update #endif comments.
28763         [__USE_MISC]: Remove redundant conditionals.
28764         * stdlib/stdlib.h: Update #else and #endif comments.
28765         [__USE_MISC]: Remove redundant conditionals.
28766         [__USE_GNU]: Likewise.
28767         * string/bits/string2.h [__USE_MISC]: Likewise.
28768         * string/string.h: Update #endif comments.
28769         [__USE_MISC]: Remove redundant conditionals.
28770         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
28771         Likewise.
28772         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
28773         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
28774         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
28775         Likewise.
28776         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
28777         Likewise.
28778         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
28779         comments.
28780         [__USE_MISC]: Remove redundant conditionals.
28781         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
28782         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
28783         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
28784         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
28785         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
28786         Likewise.
28787         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
28788         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
28789         Likewise.
28790         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
28791         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
28792         Likewise.
28793         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
28794         Likewise.
28795         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
28796         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
28797         Likewise.
28798         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
28799         Likewise.
28800         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
28801         * sysdeps/x86/bits/string.h: Update #endif comments.
28802         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
28803         conditionals.
28804         * time/sys/time.h: Update #endif comments.
28805         * time/time.h: Likewise.
28806         [__USE_MISC]: Remove redundant conditionals.
28808 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
28810         [BZ #16600]
28811         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
28813 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
28815         * Versions.def (librt): Add GLIBC_2.17.
28817 2014-02-21  Adam Conrad  <adconrad@0c3.net>
28819         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
28820         synonym for _SYS_AUXV_H to allow direct inclusion.
28821         * sysdeps/sparc/bits/hwcap.h: Likewise.
28822         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
28823         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
28824         * sysdeps/sparc/sysdep.h: Likewise.
28826 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28828         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
28830 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28832         * benchtests/bench-strrchr.c: Print length instead of position.
28834 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
28836         [BZ #16611]
28837         * sysdeps/unix/sysv/linux/kernel-features.h
28838         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
28839         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
28840         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
28841         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
28842         Likewise.
28843         [__i386__ || __powerpc__ || __sh__ || __sparc__]
28844         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28845         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
28846         (__ASSUME_SENDMMSG): Define instead of using previous
28847         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
28848         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28849         (__ASSUME_SENDMMSG_SYSCALL): Define.
28850         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28851         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
28852         Likewise.
28853         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28854         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
28855         Likewise.
28856         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28857         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
28858         Likewise.
28859         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
28860         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
28861         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
28862         [__ASSUME_SENDMMSG]: Change conditionals to
28863         [__ASSUME_SENDMMSG_SOCKETCALL].
28864         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28865         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
28866         Define.
28867         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28868         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
28869         Likewise.
28870         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
28871         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
28872         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
28873         [!__ASSUME_SENDMMSG]: Change conditional to
28874         [!__ASSUME_SENDMMSG_SOCKETCALL].
28875         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28876         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
28877         Define.
28879         [BZ #16610]
28880         * sysdeps/unix/sysv/linux/kernel-features.h
28881         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
28882         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
28883         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
28884         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
28885         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28886         [__i386__ || __sparc__]
28887         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28888         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
28889         (__ASSUME_RECVMMSG): Define instead of using previous
28890         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
28891         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28892         (__ASSUME_RECVMMSG_SYSCALL): Define.
28893         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28894         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28895         Likewise.
28896         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28897         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28898         Likewise.
28899         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28900         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28901         Likewise.
28902         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
28903         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
28904         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
28905         [__ASSUME_RECVMMSG]: Change condition to
28906         [__ASSUME_RECVMMSG_SOCKETCALL].
28907         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28908         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28909         Define.
28910         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28911         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28912         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28913         Likewise.
28914         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
28915         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
28916         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
28917         [!__ASSUME_RECVMMSG]: Change condition to
28918         [!__ASSUME_RECVMMSG_SOCKETCALL].
28919         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28920         (__ASSUME_RECVMMSG_SYSCALL): Define.
28922         [BZ #16609]
28923         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
28924         __powerpc__ || __s390__ || __sh__ || __sparc__]
28925         (__ASSUME_SOCKETCALL): Define.
28926         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
28927         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
28928         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
28929         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
28930         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28931         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28932         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
28933         (__ASSUME_ACCEPT4): Define instead of using previous
28934         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
28935         __powerpc__ || __sparc__ || __s390__)] condition.
28936         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28937         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
28938         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
28939         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
28940         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
28941         [!__ASSUME_ACCEPT4]: Change condition to
28942         [!__ASSUME_ACCEPT4_SOCKETCALL].
28943         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28944         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
28945         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
28946         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28947         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
28948         __ASSUME_ACCEPT4_SYSCALL.
28949         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
28950         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
28951         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28952         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
28953         __ASSUME_ACCEPT4_SYSCALL.
28954         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
28955         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
28956         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
28957         [__ASSUME_ACCEPT4]: Change condition to
28958         [__ASSUME_ACCEPT4_SOCKETCALL].
28959         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28960         (__ASSUME_SOCKETCALL): Define.
28961         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
28962         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28963         (__ASSUME_SOCKETCALL): Define.
28964         (__ASSUME_ACCEPT4): Remove.
28965         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
28966         Define.
28967         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28968         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
28969         Likewise.
28970         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28971         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
28973         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
28974         macro.
28975         (HWCAP_ARM_LPAE): Likewise.
28976         (HWCAP_ARM_EVTSTRM): Likewise.
28977         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
28978         Add vpfd32, lpae and evtstrm.
28979         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
28980         Increase to 22.
28982 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
28984         * math/auto-libm-test-in: Add tests of clog10.
28985         * math/auto-libm-test-out: Regenerated.
28986         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
28987         * sysdeps/i386/fpu/libm-test-ulps: Update.
28988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28990 2014-02-18  Andreas Schwab  <schwab@suse.de>
28992         [BZ #16574]
28993         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
28994         Store non-zero if the second buffer was newly allocated.
28995         (send_dg): Likewise.
28996         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
28997         to send_vc and send_dg.
28998         (res_nsend): Pass NULL for ansp2_malloced.
28999         * resolv/res_query.c (__libc_res_nquery): Add parameter
29000         answerp2_malloced and pass it down to __libc_res_nsend.
29001         (res_nquery): Pass additional NULL to __libc_res_nquery.
29002         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
29003         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
29004         second answer buffer if answerp2_malloced was set.
29005         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
29006         (__libc_res_nquerydomain): Add parameter
29007         answerp2_malloced and pass it down to __libc_res_nquery.
29008         (res_nquerydomain): Pass additional NULL to
29009         __libc_res_nquerydomain.
29010         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
29011         additional NULL to __libc_res_nsend and __libc_res_nquery.
29012         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
29013         additional NULL to __libc_res_nsearch.
29014         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
29015         parameter of __libc_res_nsearch to check for separately allocated
29016         second buffer.
29017         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
29018         __libc_res_nquery.
29019         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
29020         additional NULL to __libc_res_nquery.
29021         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
29022         __libc_res_nsearch.
29023         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
29024         * include/resolv.h: Update prototypes of __libc_res_nquery,
29025         __libc_res_nsearch, __libc_res_nsend.
29027 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
29029         * math/auto-libm-test-in: Add tests of fma.
29030         * math/auto-libm-test-out: Regenerated.
29031         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
29032         (fma_towardzero_test_data): Likewise.
29033         (fma_downward_test_data): Likewise.
29034         (fma_upward_test_data): Likewise.
29035         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
29036         mpc_mode.
29037         (rounding_modes): Add values for new field.
29038         (func_calc_method): Add value mpfr_fff_f.
29039         (func_calc_desc): Add mpfr_fff_f union field.
29040         (test_function): Add field exact_args.
29041         (FUNC): Add macro argument EXACT_ARGS.
29042         (FUNC_mpfr_f_f): Update call to FUNC.
29043         (FUNC_mpfr_f_f): Likewise.
29044         (FUNC_mpfr_ff_f): Likewise.
29045         (FUNC_mpfr_if_f): Likewise.
29046         (FUNC_mpc_c_f): Likewise.
29047         (FUNC_mpc_c_c): Likewise.
29048         (test_functions): Add fma.  Update calls to FUNC.
29049         (handle_input_arg): Add argument exact_args.
29050         (add_test): Update call to handle_input_arg.
29051         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
29052         (output_for_one_input_case): Update call to calc_generic_results.
29053         Recalculate exact zero results in each rounding mode.
29055         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
29056         non-negative before setting low bit.
29057         * math/auto-libm-test-in: Mark one asin test possibly having
29058         spurious underflow.
29059         * math/auto-libm-test-out: Regenerated.
29060         * sysdeps/i386/fpu/libm-test-ulps: Update.
29061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29063 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
29065         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
29066         * sysdeps/unix/sysv/linux/microblaze: Move directory from
29067         ports/sysdeps/unix/sysv/linux/microblaze.
29068         * README: Add missing listing for microblaze*-*-linux-gnu.
29070 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
29072         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
29073         duplicate code
29075 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
29077         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
29078         * sysdeps/unix/sysv/linux/ia64: Move directory from
29079         ports/sysdeps/unix/sysv/linux/ia64.
29080         * README: Update listing for ia64-*-linux-gnu.
29082 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
29083             Joseph Myers  <joseph@codesourcery.com>
29085         * Makeconfig (test-name): New variable.
29086         (evaluate-test): Likewise.
29087         * Makerules (do-test-clean): Remove .test-result files.
29088         (common-mostlyclean): Likewise.
29089         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
29090         * scripts/evaluate-test.sh: New file.
29092 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
29094         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
29095         separate $(objpfx)tst-fopenloc-cmp.out and
29096         $(objpfx)tst-fopenloc-mem.out targets.
29097         (tests): Update dependencies.
29098         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
29099         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
29100         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
29101         (tst-rxspencer-no-utf8-ARGS): New variable.
29102         (tst-rxspencer-no-utf8-ENV): Likewise.
29103         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
29104         instead of $(objpfx)tst-rxspencer-mem.
29105         ($(objpfx)tst-rxspencer-mem): Change target to
29106         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
29107         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
29108         * posix/tst-rxspencer-no-utf8.c: New file.
29110         * elf/Makefile ($(objpfx)order.out): Remove rule.
29111         [$(run-built-tests) = yes] (tests): Depend on
29112         $(objpfx)order-cmp.out.
29113         ($(objpfx)order-cmp.out): New rule.
29114         [$(run-built-tests) = yes] (tests): Depend on
29115         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
29116         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
29117         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
29118         $(objpfx)tst-array5-static-cmp.out.
29119         ($(objpfx)tst-array1.out): Remove rule.
29120         ($(objpfx)tst-array1-cmp.out): New rule.
29121         ($(objpfx)tst-array1-static.out): Remove rule.
29122         ($(objpfx)tst-array1-static-cmp.out): New rule.
29123         ($(objpfx)tst-array2.out): Remove rule.
29124         ($(objpfx)tst-array2-cmp.out): New rule.
29125         ($(objpfx)tst-array3.out): Remove rule.
29126         ($(objpfx)tst-array3-cmp.out): New rule.
29127         ($(objpfx)tst-array4.out): Remove rule.
29128         ($(objpfx)tst-array4-cmp.out): New rule.
29129         ($(objpfx)tst-array5.out): Remove rule.
29130         ($(objpfx)tst-array5-cmp.out): New rule.
29131         ($(objpfx)tst-array5-static.out): Remove rule.
29132         ($(objpfx)tst-array5-static-cmp.out): New rule.
29133         [$(run-built-tests) = yes] (tests): Depend on
29134         $(objpfx)order2-cmp.out.
29135         ($(objpfx)order2.out): Remove rule.
29136         ($(objpfx)order2-cmp.out): New rule.
29137         ($(objpfx)tst-initorder.out): Remove rule.
29138         [$(run-built-tests) = yes] (tests): Depend on
29139         $(objpfx)tst-initorder-cmp.out.
29140         ($(objpfx)tst-initorder-cmp.out): New rule.
29141         ($(objpfx)tst-initorder2.out): Remove rule.
29142         [$(run-built-tests) = yes] (tests): Depend on
29143         $(objpfx)tst-initorder2-cmp.out.
29144         ($(objpfx)tst-initorder2-cmp.out): New rule.
29145         [$(run-built-tests) = yes] (tests): Depend on
29146         $(objpfx)tst-unused-dep-cmp.out.
29147         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
29148         ($(objpfx)tst-unused-dep-cmp.out): New rule.
29149         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
29150         on $(objpfx)tst-setvbuf1-cmp.out.
29151         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
29152         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
29153         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
29154         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
29155         ($(objpfx)tst-svc.out): Remove rule.
29156         ($(objpfx)tst-svc-cmp.out): New rule.
29158 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
29160         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
29161         * ctype/ctype.h [__USE_MISC]: Likewise.
29162         * dirent/dirent.h [__USE_MISC]: Likewise.
29163         * grp/grp.h [__USE_MISC]: Likewise.
29164         * io/fcntl.h [__USE_MISC]: Likewise.
29165         * io/sys/stat.h [__USE_MISC]: Likewise.
29166         * libio/stdio.h [__USE_MISC]: Likewise.
29167         * posix/unistd.h [__USE_MISC]: Likewise.
29168         * pwd/pwd.h [__USE_MISC]: Likewise.
29169         * stdlib.h [__USE_MISC]: Likewise.
29170         * string/bits/string2.h [__USE_MISC]: Likewise.
29171         * string/string.h [__USE_MISC]: Likewise.
29172         * time/time.h [__USE_MISC]: Likewise.
29174 2014-02-13  Andreas Schwab  <schwab@suse.de>
29176         [BZ #16574]
29177         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
29178         second answer buffer if it was separately allocated.
29180 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
29182         * sysdeps/mips/math-tests.h: Include <features.h>.
29183         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
29184         (ROUNDING_TESTS_long_double): Do not define.
29185         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
29186         (EXCEPTION_TESTS_long_double): Likewise.
29187         * sysdeps/mips/mips64/libm-test-ulps: Update.
29189         * include/features.h (__USE_BSD): Remove macro definitions.
29190         (__USE_SVID): Likewise.
29191         (_BSD_SOURCE): Likewise.
29192         (_SVID_SOURCE): Likewise.
29193         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
29194         from definition of _DEFAULT_SOURCE.
29195         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
29196         [_DEFAULT_SOURCE].
29197         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
29198         * bits/mman.h [__USE_BSD]: Likewise.
29199         * bits/termios.h [__USE_BSD]: Likewise.
29200         * bits/waitstatus.h [__USE_BSD]: Likewise.
29201         * ctype/ctype.h [__USE_SVID]: Likewise.
29202         * dirent/dirent.h [__USE_BSD]: Likewise.
29203         * grp/grp.h [__USE_SVID]: Likewise.
29204         [__USE_BSD]: Likewise.
29205         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
29206         * io/fcntl.h [__USE_BSD]: Likewise.
29207         * io/ftw.h [__USE_BSD]: Likewise.
29208         * io/sys/stat.h [__USE_BSD]: Likewise.
29209         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
29210         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
29211         * libio/stdio.h [__USE_SVID]: Likewise.
29212         [__USE_BSD]: Likewise.
29213         * math/math.h [__USE_SVID]: Likewise.
29214         [__USE_BSD]: Likewise.
29215         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
29216         * misc/bits/syslog.h [__USE_BSD]: Likewise.
29217         * misc/search.h [__USE_SVID]: Likewise.
29218         * misc/sys/mman.h [__USE_BSD]: Likewise.
29219         * misc/sys/syslog.h [__USE_BSD]: Likewise.
29220         * misc/sys/uio.h [__USE_BSD]: Likewise.
29221         * posix/bits/unistd.h [__USE_BSD]: Likewise.
29222         * posix/glob.h [__USE_BSD]: Likewise.
29223         * posix/regex.h [__USE_BSD]: Likewise.
29224         * posix/sys/types.h [__USE_BSD]: Likewise.
29225         [__USE_SVID]: Likewise.
29226         * posix/sys/utsname.h [__USE_SVID]: Likewise.
29227         * posix/sys/wait.h [__USE_BSD]: Likewise.
29228         [__USE_SVID]: Likewise.
29229         * posix/unistd.h [__USE_BSD]: Likewise.
29230         [__USE_SVID]: Likewise.
29231         * pwd/pwd.h [__USE_SVID]: Likewise.
29232         * resolv/netdb.h [__USE_BSD]: Likewise.
29233         * setjmp/setjmp.h [__USE_BSD]: Likewise.
29234         * signal/signal.h [__USE_BSD]: Likewise.
29235         [__USE_SVID]: Likewise.
29236         * socket/sys/socket.h [__USE_BSD]: Likewise.
29237         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
29238         * stdlib/stdlib.h [__USE_BSD]: Likewise.
29239         [__USE_SVID]: Likewise.
29240         * string/bits/string2.h [__USE_BSD]: Likewise.
29241         [__USE_SVID]: Likewise.
29242         * string/bits/string3.h [__USE_BSD]: Likewise.
29243         * string/endian.h [__USE_BSD]: Likewise.
29244         * string/string.h [__USE_SVID]: Likewise.
29245         [__USE_BSD]: Likewise.
29246         * string/strings.h [__USE_BSD]: Likewise.
29247         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
29248         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
29249         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
29250         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
29251         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
29252         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
29253         Likewise.
29254         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
29255         Likewise.
29256         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
29257         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
29258         Likewise.
29259         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
29260         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
29261         Likewise.
29262         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
29263         Likewise.
29264         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
29265         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
29266         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
29267         Likewise.
29268         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
29269         Likewise.
29270         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
29271         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
29272         * termios/termios.h [__USE_BSD]: Likewise.
29273         * time/sys/time.h [__USE_BSD]: Likewise.
29274         * time/time.h [__USE_BSD]: Likewise.
29275         [__USE_SVID]: Likewise.
29277         * Makefile (subdir_targets): Remove subdir_lint.out.
29279         * stdio-common/Makefile (do-tst-unbputc): Remove target.
29280         (do-tst-printf): Likewise.
29281         (tests): Depend directly on $(objpfx)tst-unbputc.out and
29282         $(objpfx)tst-printf.out.
29284         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
29286         * Makerules (check-abi-%): Change target to
29287         $(objpfx)check-abi-%.out.
29288         (check-abi target): Update dependencies.
29289         (check-abi-pattern variable): Redirect output of diff to $@.
29290         (check-abi variable): Likewise.
29291         * elf/Makefile (check-abi): Update dependencies.
29293         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
29294         unused.
29295         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
29296         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
29297         subnormal range.
29298         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
29299         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
29300         value has largest subnormal exponent.
29301         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
29302         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
29303         * sysdeps/aarch64/soft-fp/sfp-machine.h
29304         (_FP_TININESS_AFTER_ROUNDING): New macro.
29305         * sysdeps/alpha/soft-fp/sfp-machine.h
29306         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29307         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29308         Likewise.
29309         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
29310         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29311         * sysdeps/mips/soft-fp/sfp-machine.h
29312         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29313         * sysdeps/powerpc/soft-fp/sfp-machine.h
29314         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29315         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29316         Likewise.
29317         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29318         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29319         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29320         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29321         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29322         Likewise.
29324 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
29326         [BZ #16545]
29327         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
29328         model 1.
29330 2014-02-12  Richard Henderson  <rth@redhat.com>
29332         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
29333         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
29334         * sysdeps/unix/sysv/linux/alpha: Move directory from
29335         ports/sysdeps/unix/sysv/linux/alpha.
29336         * README: Update listing for alpha-*-linux-gnu.
29338 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
29340         * include/features.h: Update comment documenting feature test
29341         macros.
29342         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
29343         _DEFAULT_SOURCE.
29344         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
29345         (_SVID_SOURCE): Likewise.
29346         (_DEFAULT_SOURCE): Update description of default features.
29347         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
29348         with _GNU_SOURCE.
29349         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
29350         (S_ISVTX): Likewise.
29351         * manual/math.texi (Mathematical Constants): Likewise.
29352         * manual/signal.texi (Interrupted Primitives): Likewise.
29353         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
29354         * math/test-matherr.c (_SVID_SOURCE): Do not define.
29355         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
29356         Don't refer to _SVID_SOURCE in warning text.
29358         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29360         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
29361         already defined.
29362         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
29363         * sysdeps/mips/dl-lookup.c: Remove.
29364         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
29366 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29368         [BZ #16447]
29369         * math/auto-libm-test-in: Add testcase for expl.
29370         * math/auto-libm-test-out: Regenerate.
29371         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
29372         calculation of unsafe.
29373         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
29375 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29377         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
29378         * sysdeps/unix/sysv/linux/aarch64: Move directory from
29379         ports/sysdeps/unix/sysv/linux/aarch64.
29380         * README: Update listing for aarch64*-*-linux-gnu.
29382 2014-02-11  Will Newton  <will.newton@linaro.org>
29384         * manual/probes.texi (Mathematical Function Probes): Use
29385         "triggered" instead of "hit".
29387         * manual/probes.texi (Internal Probes): Add documentation
29388         of setjmp, longjmp and longjmp_target probes.
29390         * include/stap-probe.h: Add comment about probe argument
29391         format.
29393         * malloc/mtrace.c (attribute_hidden): Remove unused macro
29394         definition.  (tr_where, tr_freehook, tr_mallochook,
29395         tr_reallochook, tr_memalignhook): Use ANSI protoype.
29397 2014-02-11  David S. Miller  <davem@davemloft.net>
29399         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
29400         processing int_tests.
29402 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
29404         * sysdeps/mips: Move directory from ports/sysdeps/mips.
29405         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
29406         * sysdeps/unix/sysv/linux/mips: Move directory from
29407         ports/sysdeps/unix/sysv/linux/mips.
29408         * README: Update listing for mips-*-linux-gnu and
29409         mips64-*-linux-gnu.
29411 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
29413         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
29414         * sysdeps/unix/sysv/linux/m68k: Move directory from
29415         ports/sysdeps/unix/sysv/linux/m68k.
29416         * README: Update listing for m68k-*-linux-gnu.
29418 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
29420         * sysdeps/tile: Move directory from ports/sysdeps/tile.
29421         * sysdeps/unix/sysv/linux/generic: Move directory from
29422         ports/sysdeps/unix/sysv/linux/generic.
29423         * sysdeps/unix/sysv/linux/tile: Move directory from
29424         ports/sysdeps/unix/sysv/linux/tile.
29425         * README: Update listing for tile*-*-linux-gnu.
29427 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
29429         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
29430         __builtin_expect.
29431         * benchtests/bench-memmem.c (simple_memmem): Likewise.
29432         * catgets/open_catalog.c (__open_catalog): Likewise.
29433         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
29434         * debug/confstr_chk.c: Likewise.
29435         * debug/fread_chk.c (__fread_chk): Likewise.
29436         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
29437         * debug/getgroups_chk.c: Likewise.
29438         * debug/mbsnrtowcs_chk.c: Likewise.
29439         * debug/mbsrtowcs_chk.c: Likewise.
29440         * debug/mbstowcs_chk.c: Likewise.
29441         * debug/memcpy_chk.c: Likewise.
29442         * debug/memmove_chk.c: Likewise.
29443         * debug/mempcpy_chk.c: Likewise.
29444         * debug/memset_chk.c: Likewise.
29445         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29446         * debug/strcat_chk.c (__strcat_chk): Likewise.
29447         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
29448         * debug/strncat_chk.c (__strncat_chk): Likewise.
29449         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
29450         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
29451         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
29452         * debug/wcpncpy_chk.c: Likewise.
29453         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29454         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
29455         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
29456         * debug/wcsncpy_chk.c: Likewise.
29457         * debug/wcsnrtombs_chk.c: Likewise.
29458         * debug/wcsrtombs_chk.c: Likewise.
29459         * debug/wcstombs_chk.c: Likewise.
29460         * debug/wmemcpy_chk.c: Likewise.
29461         * debug/wmemmove_chk.c: Likewise.
29462         * debug/wmempcpy_chk.c: Likewise.
29463         * debug/wmemset_chk.c: Likewise.
29464         * dirent/scandirat.c (SCANDIRAT): Likewise.
29465         * dlfcn/dladdr1.c (dladdr1): Likewise.
29466         * dlfcn/dladdr.c (dladdr): Likewise.
29467         * dlfcn/dlclose.c (dlclose_doit): Likewise.
29468         * dlfcn/dlerror.c (__dlerror): Likewise.
29469         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
29470         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
29471         * dlfcn/dlopen.c (dlopen_doit): Likewise.
29472         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
29473         * dlfcn/dlsym.c (dlsym_doit): Likewise.
29474         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
29475         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
29476         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
29477         Likewise.
29478         * elf/dl-conflict.c: Likewise.
29479         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29480         * elf/dl-dst.h: Likewise.
29481         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
29482         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
29483         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29484         * elf/dl-init.c (call_init, _dl_init): Likewise.
29485         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
29486         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
29487         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
29488         Likewise.
29489         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
29490         Likewise.
29491         * elf/dl-minimal.c (__libc_memalign): Likewise.
29492         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
29493         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29494         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
29495         * elf/dl-sym.c (do_sym): Likewise.
29496         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
29497         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
29498         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
29499         * elf/dl-writev.h (_dl_writev): Likewise.
29500         * elf/ldconfig.c (search_dir): Likewise.
29501         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
29502         (dl_main): Likewise.
29503         * elf/setup-vdso.h (setup_vdso): Likewise.
29504         * grp/compat-initgroups.c (compat_call): Likewise.
29505         * grp/fgetgrent.c (fgetgrent): Likewise.
29506         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
29507         * grp/putgrent.c (putgrent): Likewise.
29508         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29509         Likewise.
29510         * hurd/hurdinit.c: Likewise.
29511         * iconvdata/8bit-gap.c (struct): Likewise.
29512         * iconvdata/ansi_x3.110.c : Likewise.
29513         * iconvdata/big5.c : Likewise.
29514         * iconvdata/big5hkscs.c : Likewise.
29515         * iconvdata/cp1255.c: Likewise.
29516         * iconvdata/cp1258.c : Likewise.
29517         * iconvdata/cp932.c : Likewise.
29518         * iconvdata/euc-cn.c: Likewise.
29519         * iconvdata/euc-jisx0213.c : Likewise.
29520         * iconvdata/euc-jp.c: Likewise.
29521         * iconvdata/euc-jp-ms.c : Likewise.
29522         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
29523         * iconvdata/gb18030.c : Likewise.
29524         * iconvdata/gbbig5.c (const): Likewise.
29525         * iconvdata/gbgbk.c: Likewise.
29526         * iconvdata/gbk.c : Likewise.
29527         * iconvdata/ibm1364.c : Likewise.
29528         * iconvdata/ibm930.c : Likewise.
29529         * iconvdata/ibm932.c: Likewise.
29530         * iconvdata/ibm933.c : Likewise.
29531         * iconvdata/ibm935.c : Likewise.
29532         * iconvdata/ibm937.c : Likewise.
29533         * iconvdata/ibm939.c : Likewise.
29534         * iconvdata/ibm943.c: Likewise.
29535         * iconvdata/iso_11548-1.c: Likewise.
29536         * iconvdata/iso-2022-cn.c : Likewise.
29537         * iconvdata/iso-2022-cn-ext.c : Likewise.
29538         * iconvdata/iso-2022-jp-3.c: Likewise.
29539         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
29540         * iconvdata/iso-2022-kr.c : Likewise.
29541         * iconvdata/iso646.c (gconv_end): Likewise.
29542         * iconvdata/iso_6937-2.c : Likewise.
29543         * iconvdata/iso_6937.c : Likewise.
29544         * iconvdata/iso8859-1.c: Likewise.
29545         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
29546         * iconvdata/shift_jisx0213.c : Likewise.
29547         * iconvdata/sjis.c : Likewise.
29548         * iconvdata/t.61.c : Likewise.
29549         * iconvdata/tcvn5712-1.c : Likewise.
29550         * iconvdata/tscii.c: Likewise.
29551         * iconvdata/uhc.c : Likewise.
29552         * iconvdata/unicode.c (gconv_end): Likewise.
29553         * iconvdata/utf-16.c (gconv_end): Likewise.
29554         * iconvdata/utf-32.c (gconv_end): Likewise.
29555         * iconvdata/utf-7.c (base64): Likewise.
29556         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
29557         * iconv/gconv_close.c (__gconv_close): Likewise.
29558         * iconv/gconv_open.c (__gconv_open): Likewise.
29559         * iconv/gconv_simple.c (internal_ucs4_loop_single)
29560         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
29561         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
29562         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
29563         (ucs4le_internal_loop_single): Likewise.
29564         * iconv/iconv.c (iconv): Likewise.
29565         * iconv/iconv_close.c: Likewise.
29566         * iconv/loop.c (SINGLE): Likewise.
29567         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
29568         * include/atomic.h: Likewise.
29569         * inet/inet6_option.c (option_alloc): Likewise.
29570         * intl/bindtextdom.c (set_binding_values): Likewise.
29571         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
29572         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
29573         * intl/localealias.c (read_alias_file): Likewise.
29574         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
29575         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
29576         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
29577         * libio/fmemopen.c (fmemopen): Likewise.
29578         * libio/iofgets.c (_IO_fgets): Likewise.
29579         * libio/iofgets_u.c (fgets_unlocked): Likewise.
29580         * libio/iofgetws.c (fgetws): Likewise.
29581         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
29582         * libio/iogetdelim.c (_IO_getdelim): Likewise.
29583         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
29584         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
29585         * locale/findlocale.c (_nl_find_locale): Likewise.
29586         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29587         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
29588         Likewise.
29589         * locale/setlocale.c (setlocale): Likewise.
29590         * login/programs/pt_chown.c (main): Likewise.
29591         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
29592         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
29593         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
29594         (mmap, mmap64, mremap, munmap): Likewise.
29595         * math/e_exp2l.c: Likewise.
29596         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
29597         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
29598         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
29599         * math/s_catan.c (__catan): Likewise.
29600         * math/s_catanf.c (__catanf): Likewise.
29601         * math/s_catanh.c (__catanh): Likewise.
29602         * math/s_catanhf.c (__catanhf): Likewise.
29603         * math/s_catanhl.c (__catanhl): Likewise.
29604         * math/s_catanl.c (__catanl): Likewise.
29605         * math/s_ccosh.c (__ccosh): Likewise.
29606         * math/s_ccoshf.c (__ccoshf): Likewise.
29607         * math/s_ccoshl.c (__ccoshl): Likewise.
29608         * math/s_cexp.c (__cexp): Likewise.
29609         * math/s_cexpf.c (__cexpf): Likewise.
29610         * math/s_cexpl.c (__cexpl): Likewise.
29611         * math/s_clog10.c (__clog10): Likewise.
29612         * math/s_clog10f.c (__clog10f): Likewise.
29613         * math/s_clog10l.c (__clog10l): Likewise.
29614         * math/s_clog.c (__clog): Likewise.
29615         * math/s_clogf.c (__clogf): Likewise.
29616         * math/s_clogl.c (__clogl): Likewise.
29617         * math/s_csin.c (__csin): Likewise.
29618         * math/s_csinf.c (__csinf): Likewise.
29619         * math/s_csinh.c (__csinh): Likewise.
29620         * math/s_csinhf.c (__csinhf): Likewise.
29621         * math/s_csinhl.c (__csinhl): Likewise.
29622         * math/s_csinl.c (__csinl): Likewise.
29623         * math/s_csqrt.c (__csqrt): Likewise.
29624         * math/s_csqrtf.c (__csqrtf): Likewise.
29625         * math/s_csqrtl.c (__csqrtl): Likewise.
29626         * math/s_ctan.c (__ctan): Likewise.
29627         * math/s_ctanf.c (__ctanf): Likewise.
29628         * math/s_ctanh.c (__ctanh): Likewise.
29629         * math/s_ctanhf.c (__ctanhf): Likewise.
29630         * math/s_ctanhl.c (__ctanhl): Likewise.
29631         * math/s_ctanl.c (__ctanl): Likewise.
29632         * math/w_pow.c: Likewise.
29633         * math/w_powf.c: Likewise.
29634         * math/w_powl.c: Likewise.
29635         * math/w_scalb.c (sysv_scalb): Likewise.
29636         * math/w_scalbf.c (sysv_scalbf): Likewise.
29637         * math/w_scalbl.c (sysv_scalbl): Likewise.
29638         * misc/error.c (error_tail): Likewise.
29639         * misc/pselect.c (__pselect): Likewise.
29640         * nis/nis_callback.c (__nis_create_callback): Likewise.
29641         * nis/nis_call.c (__nisfind_server): Likewise.
29642         * nis/nis_creategroup.c (nis_creategroup): Likewise.
29643         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
29644         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
29645         * nis/nis_getservlist.c (nis_getservlist): Likewise.
29646         * nis/nis_lookup.c (nis_lookup): Likewise.
29647         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
29648         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
29649         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
29650         * nis/nis_xdr.c (xdr_endpoint): Likewise.
29651         * nis/nss_compat/compat-grp.c (getgrent_next_file)
29652         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
29653         * nis/nss_compat/compat-initgroups.c (add_group)
29654         (internal_getgrent_r): Likewise.
29655         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
29656         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
29657         * nis/nss_compat/compat-spwd.c (getspent_next_file)
29658         (internal_getspnam_r): Likewise.
29659         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
29660         (_nss_nis_getaliasbyname_r): Likewise.
29661         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
29662         (_nss_nis_getntohost_r): Likewise.
29663         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
29664         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
29665         (_nss_nis_getgrgid_r): Likewise.
29666         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
29667         (internal_nis_gethostent_r, internal_gethostbyname2_r)
29668         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
29669         (_nss_nis_gethostbyname4_r): Likewise.
29670         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
29671         (initgroups_netid): Likewise.
29672         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
29673         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
29674         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
29675         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
29676         (_nss_nis_getprotobynumber_r): Likewise.
29677         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
29678         (_nss_nis_getsecretkey): Likewise.
29679         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
29680         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
29681         (_nss_nis_getpwuid_r): Likewise.
29682         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
29683         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
29684         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
29685         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
29686         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
29687         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
29688         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
29689         Likewise.
29690         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
29691         (_nss_nisplus_getntohost_r): Likewise.
29692         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
29693         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
29694         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
29695         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
29696         Likewise.
29697         * nis/nss_nisplus/nisplus-initgroups.c
29698         (_nss_nisplus_initgroups_dyn): Likewise.
29699         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
29700         (_nss_nisplus_getnetbyaddr_r): Likewise.
29701         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
29702         (_nss_nisplus_getprotobynumber_r): Likewise.
29703         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
29704         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
29705         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
29706         Likewise.
29707         * nis/nss_nisplus/nisplus-service.c
29708         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
29709         (_nss_nisplus_getservbyport_r): Likewise.
29710         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
29711         (_nss_nisplus_getspnam_r): Likewise.
29712         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
29713         Likewise.
29714         * nscd/aicache.c (addhstaiX): Likewise.
29715         * nscd/cache.c (cache_search, prune_cache): Likewise.
29716         * nscd/connections.c (register_traced_file, send_ro_fd)
29717         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
29718         (main_loop_epoll): Likewise.
29719         * nscd/grpcache.c (addgrbyX): Likewise.
29720         * nscd/hstcache.c (addhstbyX): Likewise.
29721         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29722         * nscd/mem.c (gc, mempool_alloc): Likewise.
29723         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
29724         (addinnetgrX): Likewise.
29725         * nscd/nscd-client.h (__nscd_acquire_maplock)
29726         (__nscd_drop_map_ref): Likewise.
29727         * nscd/nscd_getai.c (__nscd_getai): Likewise.
29728         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29729         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
29730         Likewise.
29731         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29732         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29733         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
29734         (__nscd_get_map_ref): Likewise.
29735         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
29736         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
29737         Likewise.
29738         * nscd/pwdcache.c (addpwbyX): Likewise.
29739         * nscd/selinux.c (preserve_capabilities): Likewise.
29740         * nscd/servicescache.c (addservbyX): Likewise.
29741         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
29742         * posix/fnmatch.c (fnmatch): Likewise.
29743         * posix/getopt.c (_getopt_internal_r): Likewise.
29744         * posix/glob.c (glob, glob_in_dir): Likewise.
29745         * posix/wordexp.c (exec_comm_child): Likewise.
29746         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
29747         (getanswer_r, gaih_getanswer_slice): Likewise.
29748         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
29749         * resolv/res_init.c: Likewise.
29750         * resolv/res_mkquery.c (res_nmkquery): Likewise.
29751         * resolv/res_query.c (__libc_res_nquery): Likewise.
29752         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
29753         Likewise.
29754         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
29755         * stdio-common/perror.c (perror): Likewise.
29756         * stdio-common/printf_fp.c (___printf_fp): Likewise.
29757         * stdio-common/tmpnam.c (tmpnam): Likewise.
29758         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29759         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29760         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29761         Likewise.
29762         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
29763         * stdlib/putenv.c (putenv): Likewise.
29764         * stdlib/setenv.c (__add_to_environ): Likewise.
29765         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29766         * stdlib/strtol_l.c (INTERNAL): Likewise.
29767         * string/memmem.c (memmem): Likewise.
29768         * string/strerror.c (strerror): Likewise.
29769         * string/strnlen.c (__strnlen): Likewise.
29770         * string/test-memmem.c (simple_memmem): Likewise.
29771         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
29772         * sunrpc/pm_getport.c (__get_socket): Likewise.
29773         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
29774         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
29775         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
29776         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
29777         Likewise.
29778         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
29779         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29780         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
29781         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
29782         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
29783         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
29784         Likewise.
29785         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
29786         Likewise.
29787         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29788         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29789         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29790         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29791         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
29792         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
29793         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
29794         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
29795         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
29796         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
29797         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29798         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
29799         Likewise.
29800         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
29801         Likewise.
29802         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
29803         Likewise.
29804         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
29805         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29806         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
29807         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
29808         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
29809         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
29810         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29811         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
29812         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
29813         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
29814         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
29815         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29816         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29817         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
29818         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29819         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
29820         Likewise.
29821         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
29822         Likewise.
29823         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
29824         Likewise.
29825         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
29826         Likewise.
29827         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29828         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29829         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
29830         Likewise.
29831         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
29832         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
29833         * sysdeps/posix/opendir.c (__opendirat): Likewise.
29834         * sysdeps/posix/sleep.c: Likewise.
29835         * sysdeps/posix/tempname.c: Likewise.
29836         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
29837         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29838         Likewise.
29839         * sysdeps/powerpc/powerpc32/dl-machine.h
29840         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
29841         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29842         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29843         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
29844         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
29845         Likewise.
29846         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
29847         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
29848         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
29849         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
29850         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
29851         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
29852         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
29853         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
29854         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29855         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
29856         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
29857         (elf_machine_lazy_rel): Likewise.
29858         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29859         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
29860         (elf_machine_lazy_rel): Likewise.
29861         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
29862         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
29863         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
29864         * sysdeps/unix/grantpt.c (grantpt): Likewise.
29865         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
29866         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
29867         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
29868         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29869         Likewise.
29870         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29871         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29872         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
29873         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
29874         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29875         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29876         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
29877         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
29878         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
29879         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29880         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29881         Likewise.
29882         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
29883         (__posix_fallocate64_l64): Likewise.
29884         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
29885         (posix_fallocate): Likewise.
29886         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
29887         Likewise.
29888         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29889         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
29890         (getifaddrs_internal): Likewise.
29891         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
29892         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
29893         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29894         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
29895         * sysdeps/unix/sysv/linux/posix_fallocate64.c
29896         (__posix_fallocate64_l64): Likewise.
29897         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
29898         Likewise.
29899         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
29900         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
29901         (__get_clockfreq): Likewise.
29902         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
29903         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
29904         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
29905         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29906         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29907         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
29908         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
29909         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
29910         Likewise.
29911         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
29912         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
29913         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
29914         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
29915         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
29916         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
29917         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
29918         Likewise.
29919         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29920         (posix_fallocate): Likewise.
29921         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29922         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29923         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
29924         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
29925         (elf_machine_rela, elf_machine_rela_relative)
29926         (elf_machine_lazy_rel): Likewise.
29927         * time/asctime.c (asctime_internal): Likewise.
29928         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
29929         * time/tzset.c (__tzset_parse_tz): Likewise.
29930         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29931         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
29932         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
29933         * wcsmbs/wcsmbsload.h: Likewise.
29935         [BZ #15894]
29936         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
29938         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
29939         (arena_get2): Remove THREAD_STATS conditionals.
29940         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
29941         (__malloc_stats, int): Likewise.
29943 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
29945         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
29946         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
29948         * manual/setjmp.texi: Fix typos/grammar errors.
29950         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
29951         Only return early when n is <= 0.  Delete unused return statement.
29953         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
29954         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
29955         * debug/tst-longjmp_chk3.c: New file.
29957         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
29958         (test_main): Replace code with set_fortify_handler call.
29959         * debug/test-strcpy_chk.c: Likewise.
29960         * debug/tst-chk1.c: Likewise.
29961         * debug/tst-longjmp_chk.c: Likewise.
29962         * test-skeleton.c: Include fcntl.h & paths.h
29963         (set_fortify_handler): Define.
29965         * debug/tst-longjmp_chk.c: Add header comment and include
29966         ../test-skeleton.c.
29967         (do_test): Mark static.
29968         (TEST_FUNCTION): Define.
29970         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
29971         (IP_PMTUDISC_INTERFACE): Likewise.
29972         (IP_MULTICAST_IF): Likewise.
29973         (IP_MULTICAST_TTL): Likewise.
29974         (IP_MULTICAST_LOOP): Likewise.
29975         (IP_ADD_MEMBERSHIP): Likewise.
29976         (IP_DROP_MEMBERSHIP): Likewise.
29977         (IP_UNBLOCK_SOURCE): Likewise.
29978         (IP_BLOCK_SOURCE): Likewise.
29979         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
29980         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
29981         (IP_MSFILTER): Likewise.
29982         (MCAST_JOIN_GROUP): Likewise.
29983         (MCAST_BLOCK_SOURCE): Likewise.
29984         (MCAST_UNBLOCK_SOURCE): Likewise.
29985         (MCAST_LEAVE_GROUP): Likewise.
29986         (MCAST_JOIN_SOURCE_GROUP): Likewise.
29987         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
29988         (MCAST_MSFILTER): Likewise.
29989         (IP_MULTICAST_ALL): Likewise.
29990         (IP_UNICAST_IF): Likewise.
29992         * timezone/Makefile: Delete $(have-ksh) check.
29993         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
29994         * timezone/tzselect.ksh: Add +x mode bits.
29996         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
29997         (ANON_INODE_FS_MAGIC): Likewise.
29998         (BDEVFS_MAGIC): Likewise.
29999         (BINFMTFS_MAGIC): Likewise.
30000         (BTRFS_TEST_MAGIC): Likewise.
30001         (CRAMFS_MAGIC_WEND): Likewise.
30002         (DEBUGFS_MAGIC): Likewise.
30003         (ECRYPTFS_SUPER_MAGIC): Likewise.
30004         (EXT3_SUPER_MAGIC): Likewise.
30005         (EXT4_SUPER_MAGIC): Likewise.
30006         (FUTEXFS_SUPER_MAGIC): Likewise.
30007         (HOSTFS_SUPER_MAGIC): Likewise.
30008         (HUGETLBFS_MAGIC): Likewise.
30009         (MINIX3_SUPER_MAGIC): Likewise.
30010         (MTD_INODE_FS_MAGIC): Likewise.
30011         (NILFS_SUPER_MAGIC): Likewise.
30012         (OPENPROM_SUPER_MAGIC): Likewise.
30013         (PIPEFS_MAGIC): Likewise.
30014         (PSTOREFS_MAGIC): Likewise.
30015         (QNX6_SUPER_MAGIC): Likewise.
30016         (RAMFS_MAGIC): Likewise.
30017         (REISERFS_SUPER_MAGIC_STRING): Likewise.
30018         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
30019         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
30020         (SECURITYFS_MAGIC): Likewise.
30021         (SELINUX_MAGIC): Likewise.
30022         (SMACK_MAGIC): Likewise.
30023         (SOCKFS_MAGIC): Likewise.
30024         (SQUASHFS_MAGIC): Likewise.
30025         (STACK_END_MAGIC): Likewise.
30026         (TMPFS_MAGIC): Likewise.
30027         (USBDEVICE_SUPER_MAGIC): Likewise.
30028         (V9FS_MAGIC): Likewise.
30029         (XENFS_SUPER_MAGIC): Likewise.
30030         (CRAMFS_MAGIC): Fix typo in comment.
30031         (EXT2_SUPER_MAGIC): Update comment.
30032         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
30034 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
30036         * sysdeps/arm: Move directory from ports/sysdeps/arm.
30037         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
30038         * sysdeps/unix/sysv/linux/arm: Move directory from
30039         ports/sysdeps/unix/sysv/linux/arm.
30040         * README: Update listing for arm-*-linux-gnueabi.
30042         * README: Remove mention of am33.
30044 2014-02-07  Roland McGrath  <roland@hack.frob.com>
30046         * bits/sigset.h (__sigemptyset): Use a statement expression rather
30047         than the comma operator, to avoid "rhs of comma has no effect"
30048         compiler warnings.
30049         (__sigfillset, __sigandset, __sigorset): Likewise.
30050         * include/signal.h (__sigemptyset): Likewise.
30051         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
30053 2014-02-07  Allan McRae  <allan@archlinux.org>
30055         * version.h (RELEASE): Set to "development".
30056         (VERSION): Set to "2.19.90"
30057         * NEWS: Add 2.20 section.
30059 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
30061         [BZ #16529]
30062         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
30064 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30066         * manual/contrib.texi: Update entry for Carlos O'Donell,
30067         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
30069 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
30071         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
30073         * sysdeps/unix/sysv/linux/kernel-features.h
30074         [__LINUX_KERNEL_VERSION >= 0x020621]
30075         (__ASSUME_PROC_PID_TASK_COMM): Define.
30077 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30079         [BZ #16398]
30080         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
30081         conversion when destination buffer does not have enough space.
30082         * libio/tst-ftell-partial-wide.c: New test case.
30083         * libio/Makefile (tests): Add tst-ftell-partial-wide.
30085         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
30086         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
30087         Leonard and Allan McRae.
30089 2014-02-04  David S. Miller  <davem@davemloft.net>
30091         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
30092         32-bit.
30094 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30097         New file
30098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30099         New file
30100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30101         New file.
30102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30103         New file.
30104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30105         New file.
30106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30107         New file.
30108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30109         New file.
30110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30111         New file.
30112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30113         New file.
30114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30115         New file.
30116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30117         New file.
30118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30119         New file.
30120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30121         New file.
30123 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30125         * nptl/shlib-versions: Change powerpc*le start to 2.17.
30126         * shlib-versions: Likewise.
30128 2014-02-04  Roland McGrath  <roland@hack.frob.com>
30129             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30131         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
30132         (abilist-pattern): New variable, set to %-le.abilist.
30134         * Makerules (abilist-pattern): New variable.
30135         (vpath): Use $(abilist-pattern) in place of %.abilist.
30136         (check-abi-% pattern rule): Likewise.
30137         (check-abi, update-abi): Likewise.
30139 2014-02-04  Eric Wong  <normalperson@yhbt.net>
30141         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30143 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
30145         * manual/startup.texi: Add next, previous, and top entries for
30146         the `Program Arguments' and `Environment Variables' nodes.
30148 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
30150         * manual/macros.texi: Add comments before MTASC-safety macros.
30152         * manual/users.texi: Document MTASC-safety properties.
30154         * manual/threads.texi (pthread_key_create, pthread_key_delete)
30155         (pthread_getspecific, pthread_setspecific): Format with
30156         @deftypefun, and add @safety note.
30157         * manual/signal.texi: Move comments that analyze the above
30158         functions to their home place.
30160 2014-02-03  Allan McRae  <allan@archlinux.org>
30162         * po/sl.po: Update Slovenian translation from translation project.
30164 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
30166         * manual/time.texi (timegm): Add missing blank after @c.
30167         Reported by Joseph Myers <joseph@codesourcery.com>.
30169 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
30171         * manual/check-safety.sh: New.
30172         * manual/Makefile ($(objpfx)stamp-summary): Run it.
30174         * manual/terminal.texi: Document MTASC-safety properties.
30176         * manual/filesys.texi: Document MTASC-safety properties.
30178         * manual/errno.texi: Document MTASC-safety properties.
30180         * manual/intro.texi: Document safety identifiers and
30181         conditionals.
30183         * manual/string.texi (wcstok): Fix prototype.
30184         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
30186         * manual/time.texi: Document MTASC-safety properties.
30188         * manual/string.texi: Document MTASC-safety properties.
30190         * manual/threads.texi: Document MTASC-safety properties.
30192         * manual/stdio.texi: Document MTASC-safety properties.
30194         * manual/syslog.texi: Document MTASC-safety properties.
30196         * manual/sysinfo.texi: Document MTASC-safety properties.
30198         * manual/startup.texi: Document MTASC-safety properties.
30200         * manual/socket.texi: Document MTASC-safety properties.
30202         * manual/signal.texi: Document MTASC-safety properties.
30204 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
30206         * manual/setjmp.texi: Document MTASC-safety properties.
30208         * manual/search.texi: Document MTASC-safety properties.
30210         * manual/resource.texi: Document MTASC-safety properties.
30212         * manual/process.texi: Document MTASC-safety properties.
30214         * manual/platform.texi: Document MTASC-safety properties.
30216         * manual/pipe.texi: Document MTASC-safety properties.
30218         * manual/pattern.texi: Document MTASC-safety properties.
30220         * manual/message.texi: Document MTASC-safety properties.
30222         [BZ #12751]
30223         * manual/memory.texi: Document MTASC-safety properties.
30225         * manual/math.texi: Document MTASC-safety properties.
30227         * manual/locale.texi: Document MTASC-safety properties.
30229         * manual/llio.texi: Document MTASC-safety properties.
30231         * manual/libdl.texi: New.
30233         * manual/lang.texi: Document MTASC-safety properties.
30235         * manual/job.texi: Document MTASC-safety properties.
30237         * manual/getopt.texi: Document MTASC-safety properties.
30239         * manual/ctype.texi: Document MTASC-safety properties.
30241 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
30243         [BZ #16046]
30244         * csu/libc-tls.c (static_map): Remove variable.
30245         (__libc_setup_tls): Use main executable's link map for TLS data.
30246         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
30247         casing for LM_ID_BASE and GL(dl_nns).
30248         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
30249         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
30250         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
30251         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
30252         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
30253         member.
30254         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
30255         l_phnum members.
30257 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
30259         * manual/debug.texi: Document MTASC-safety properties.
30261 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
30263         [BZ #16510]
30264         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
30265         of __x86_64__ when disabling x87 inline functions.
30267 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
30269         * manual/charset.texi: Document MTASC-safety properties.
30271         * manual/crypt.texi: Document MTASC-safety properties.
30273         * manual/conf.texi: Document MTASC-safety properties.
30275         * manual/arith.texi: Document MTASC-safety properties.
30277         * manual/argp.texi: Document MTASC-safety properties.
30279         * manual/macros.texi: Introduce macros to document multi
30280         thread, asynchronous signal and asynchronous cancellation
30281         safety properties.
30282         * manual/intro.texi: Introduce the properties themselves.
30284 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30286         * sysdeps/sh/sh4/Makefile: New file.
30288 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
30290         * math/gen-libm-test.pl ($srcdir): New variable.
30291         ($auto_input): Use it.
30293 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30295         [BZ #16506]
30296         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
30297         access beyond array bounds when parsing netgroups file.
30299         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
30300         the old buffer before realloc.
30302 2014-01-27  Allan McRae  <allan@archlinux.org>
30304         * po/fr.po: Update French translation from translation project.
30306 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30308         * sysdeps/sh/libm-test-ulps: Regenerate.
30310 2014-01-24  David S. Miller  <davem@davemloft.net>
30312         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
30314 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30316         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
30317         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
30319 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30321         [BZ #16474]
30322         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
30323         string pointers after reallocation.
30325 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30327         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
30328         __SH4A__ instead of __SH_FPU_ANY__.
30330 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30332         * sysdeps/sh/fpu_control.h: New file.
30333         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
30334         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
30335         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
30336         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
30337         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
30338         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
30339         * sysdeps/sh/sys/ucontext.h: Remove.
30340         * sysdeps/sh/sys: Remove directory.
30342 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30344         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
30345         s390/sys/ucontext.h.
30346         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
30347         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
30349 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
30351         [BZ #15605]
30352         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
30354 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30356         [BZ#16431]
30357         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30358         Adjust the vDSO correctly for internal calls.
30359         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
30361 2014-01-20  Allan McRae  <allan@archlinux.org>
30363         * po/ca.po: Update Catalan translation from translation project.
30365 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
30367         * sysdeps/s390/sotruss-lib.c: New file.
30369 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30371         [BZ#16430]
30372         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
30373         (__GI___gettimeofday): Alias for a different internal symbol to avoid
30374         local calls issues by not having a PLT stub required for IFUNC calls.
30375         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
30377 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
30379         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
30380         * math/test-fpucw-static.c: Likewise.
30382 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30384         [BZ #16453]
30385         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
30387 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30389         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
30390         implementation for powerpc.
30392 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
30394         [BZ #14782]
30395         * sysdeps/posix/system.c (__libc_system): Do not enable
30396         asynchronous cancellation.
30398 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30400         [BZ #16427]
30401         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
30402         handling only for numbers special also in the IEEE case.
30404 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30406         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30408 2014-01-11  Allan McRae  <allan@archlinux.org>
30410         * po/bg.po: Update Bulgarian translation from translation project.
30412         * po/de.po: Update German translation from translation project.
30414 2014-01-10  Roland McGrath  <roland@hack.frob.com>
30416         * sysdeps/generic/gcc-compat.h: New file.
30418 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30420         * benchtests/asin-inputs: Correct slow inputs.
30421         * benchtests/acos-inputs: Likewise.
30423 2014-01-10  Allan McRae  <allan@archlinux.org>
30425         * po:sv.po: Update Swedish translation from translation project.
30427         * po/vi.po: Update Vietnamese translation from translation project.
30429         * po/eo.po: Update Esperanto translation from translation project.
30431         * po/cs.po: Update Czech translation from translation project.
30433         * po/nl.po: Update Dutch translation from translation project.
30435         * po/pl.po: Update Polish translation from translation project.
30437         * po/ru.po: Update Russian translation from translation project.
30439         * po/uk.po: Update Ukrainian translation from translation project.
30441 2014-01-08  Brooks Moses  <bmoses@google.com>
30443         * elf/dl-load.c: Fix comment typo.
30445 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
30447         * po/header.pot: Rename to...
30448         * po/pot.header: ... this.
30449         * po/Makefile: Use pot.header.
30451 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
30452             Maxim Kuvyrkov  <maxim@kugelworks.com>
30454         [BZ #16394]
30455         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
30456         SRC and DEST against LEN.
30458 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30460         [BZ #16414]
30461         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
30462         implementation.
30463         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
30465 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30469 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
30471         [BZ #16408]
30472         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
30473         for large positive arguments.
30475 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
30477         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30479         * math/auto-libm-test-in: Mark various tests with
30480         xfail-rounding:ldbl-128ibm.
30481         * math/auto-libm-test-out: Regenerated.
30483         [BZ #16407]
30484         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30485         Increase overflow threshold.
30487 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
30489         [BZ #14286]
30490         * stdio-common/vfprintf.c: Check for integer overflow.
30492 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30494         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
30495         the first argument and return value of __tls_get_addr_internal.
30497 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30499         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
30500         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
30502 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30504         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
30505         * sysdeps/s390/rtld-global-offsets.sym: New file.
30506         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
30507         GLIBC_2.19 symbol.
30508         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
30509         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
30510         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30511         ... this.
30512         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
30513         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30514         ... this.
30515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30516         Regenerate.
30517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30518         Regenerate.
30519         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
30520         halfs of GPRs for high_gprs contexts.
30521         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
30522         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
30523         field.
30524         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
30525         uc_flags field.
30526         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
30527         64 bit versions:
30528         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
30529         for high GPRs (uc_high_gprs) and for future extensions
30530         (__reserved).
30531         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
30532         for future extensions (__reserved).
30533         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
30534         64 bit versions:
30535         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
30536         SC_HIGHGPRS offset definition.
30537         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
30538         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
30540         * Versions.def: Add GLIBC_2.19 for libpthread.
30541         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
30542         siglongjmp for libpthread with GLIBC_2.19 symver.
30543         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
30544         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
30545         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
30546         * sysdeps/s390/__longjmp.c: New file.
30547         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
30548         * sysdeps/s390/longjmp.c: New file.
30549         * sysdeps/s390/setjmp.S: New file.
30550         * sysdeps/s390/sigjmp.S: New file.
30551         * sysdeps/s390/v1-longjmp.c: New file.
30552         * sysdeps/s390/v1-setjmp.h: New file.
30553         * sysdeps/s390/v1-sigjmp.c: New file.
30554         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
30555         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
30556         GLIBC_2.19 version.
30557         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
30558         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
30559         versioned symbols for ____longjmp_chk.
30560         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30561         Likewise.
30562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30563         Regenerate.
30564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30565         Regenerate.
30566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30567         Regenerate.
30568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30569         Regenerate.
30570         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
30571         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
30572         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
30573         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
30574         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
30575         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
30576         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
30577         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
30578         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
30579         * sysdeps/s390/rtld-__longjmp.c: New file.
30580         * sysdeps/s390/rtld-setjmp.S: New file.
30582 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
30584         [BZ #16400]
30585         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30586         Return -__logl (x) for small positive arguments without evaluating
30587         a polynomial.
30589 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
30591         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
30592         Rename to ...
30593         (__ptrace_peeksiginfo_args): ... this.
30594         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30595         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30596         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30598 2014-01-06  Allan McRae  <allan@archlinux.org>
30600         * inet/netinet/in.h: Fix typo in comment.
30602 2014-01-05  Andreas Jaeger  <aj@suse.de>
30604         * sysdeps/i386/fpu/libm-test-ulps: Update.
30606 2014-01-05  Allan McRae  <allan@archlinux.org>
30608         * po/libc.pot: Regenerated.
30610         * malloc/memusagestat.c: Fix gettext call formatting.
30612 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
30614         * nscd/nscd.c: Improve usage() output.
30616 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
30618         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
30619         * sysdeps/unix/sysv/linux/configure: Regenerated.
30620         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
30621         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
30623 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
30625         [BZ #16390]
30626         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30627         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
30629 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30631         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
30632         extra tokens at end of #undef directive.
30633         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
30634         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
30635         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
30637 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
30639         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30641         * math/auto-libm-test-in: Mark various tests with
30642         xfail-rounding:ldbl-128ibm.
30643         * math/auto-libm-test-out: Regenerated.
30645 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
30647         [BZ #16386]
30648         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
30649         numbers with subnormal high part when calculating exponent.
30651         [BZ #16385]
30652         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
30653         fabs.
30655         [BZ #16384]
30656         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
30657         M_LN2l.
30658         (__ieee754_acoshl): Use __log1pl not __log1p.
30660 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
30662         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
30663         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
30664         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
30665         (grow_heap, heap_trim, _int_new_arena, get_free_list)
30666         (reused_arena, arena_get2): Convert to GNU style.
30667         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
30668         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
30669         (memalign_check, __malloc_set_state): Likewise.
30670         * malloc/mallocbug.c (main): Likewise.
30671         * malloc/malloc.c (__malloc_assert, malloc_init_state)
30672         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
30673         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
30674         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
30675         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
30676         (__posix_memalign, malloc_info): Likewise.
30677         * malloc/malloc.h: Likewise.
30678         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
30679         (mallochook, memalignhook, reallochook, mabort): Likewise.
30680         * malloc/mcheck.h: Likewise.
30681         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
30682         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
30683         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
30684         * malloc/morecore.c (__default_morecore): Likewise.
30685         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
30686         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
30687         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
30688         (print_and_abort): Likewise.
30689         * malloc/obstack.h: Likewise.
30690         * malloc/set-freeres.c (__libc_freeres): Likewise.
30691         * malloc/tst-mallocstate.c (main): Likewise.
30692         * malloc/tst-mtrace.c (main): Likewise.
30693         * malloc/tst-realloc.c (do_test): Likewise.
30695 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30697         [BZ #16366]
30698         * nscd/netgroupcache.c (do_notfound): New function.
30699         (addgetnetgrentX): Use it.
30701         [BZ # 16365]
30702         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
30703         NSS_STATUS_NOTFOUND.
30705 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
30707         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30710 2014-01-01  Allan McRae  <allan@archlinux.org>
30712         * scripts/update-copyrights: Update configure input file suffix.
30714         * NEWS: Update copyright year.
30715         * catgets/gencat.c: Likewise.
30716         * csu/version.c: Likewise.
30717         * debug/catchsegv.sh: Likewise.
30718         * debug/pcprofiledump.c: Likewise.
30719         * debug/xtrace.sh: Likewise.
30720         * elf/ldconfig.c: Likewise.
30721         * elf/ldd.bash.in: Likewise.
30722         * elf/pldd.c: Likewise.
30723         * elf/sotruss.ksh: Likewise.
30724         * elf/sprof.c: Likewise.
30725         * iconv/iconv_prog.c: Likewise.
30726         * iconv/iconvconfig.c: Likewise.
30727         * locale/programs/locale.c: Likewise.
30728         * locale/programs/localedef.c: Likewise.
30729         * login/programs/pt_chown.c: Likewise.
30730         * malloc/memusage.sh: Likewise.
30731         * malloc/memusagestat.c: Likewise.
30732         * malloc/mtrace.pl: Likewise.
30733         * manual/libc.texinfo: Likewise.
30734         * nscd/nscd.c: Likewise.
30735         * nss/getent.c: Likewise.
30736         * nss/makedb.c: Likewise.
30737         * posix/getconf.c: Likewise.
30738         * scripts/test-installation.pl: Likewise.
30740         * All files with FSF copyright notices: Update copyright dates
30741         using scripts/update-copyrights.
30742         * intl/plural.c: Regenerated.
30743         * locale/programs/charmap-kw.h: Likewise.
30744         * locale/programs/locfile-kw.h: Likewise.
30746 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
30748         * sysdeps/unix/sysv/linux/configure: Regenerated.
30749         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
30750         the linux/fanotify.h header.
30751         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
30752         HAVE_LINUX_FANOTIFY_H is defined.
30754 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30756         * benchtests/cos-inputs: New inputs.
30757         * benchtests/sin-inputs: Likewise.
30759         * benchtests/atan-inputs: New inputs. Fix name of multiple
30760         precision fallback inputs.
30762         * benchtests/atanh-inputs: New inputs.
30763         * benchtests/tanh-inputs: Likewise.
30765         * benchtests/acosh-inputs: New inputs.
30766         * benchtests/asinh-inputs: Likewise.
30768         * benchtests/cosh-inputs: New inputs.
30769         * benchtests/sinh-inputs: Likewise.
30771         * benchtests/acos-inputs: Add more inputs.
30772         * benchtests/asin-inputs: Likewise.
30774 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
30776         [BZ #16375]
30777         * manual/arith.texi: Fix spelling.
30778         * manual/charset.texi: Likewise.
30779         * manual/errno.texi: Likewise.
30780         * manual/filesys.texi: Likewise.
30781         * manual/lang.texi: Likewise.
30782         * manual/llio.texi: Likewise.
30783         * manual/locale.texi: Likewise.
30784         * manual/message.texi: Likewise.
30785         * manual/resource.texi: Likewise.
30786         * manual/search.texi: Likewise.
30787         * manual/setjmp.texi: Likewise.
30788         * manual/stdio.texi: Likewise.
30789         * manual/string.texi: Likewise.
30790         * manual/sysinfo.texi: Likewise.
30791         * manual/time.texi: Likewise.
30793 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
30795         * po/sl.po: New file.
30797 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
30799         * .gitignore: Add core/.gdbinit/.gdb_history.
30801 2013-12-27  Allan McRae  <allan@archlinux.org>
30803         [BZ #16369]
30804         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
30805         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
30807 2013-12-24  Brooks Moses  <bmoses@google.com>
30809         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
30810         all compilers that claim C++98 compliance, not just GCC.
30811         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
30812         Likewise.
30814 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
30816         * NEWS: Restore accidentally deleted bug-fix entries.
30818 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
30819             Ondřej Bílka  <neleai@seznam.cz>
30821         [BZ #15073]
30822         * malloc/malloc.c (_int_free): Perform sanity check only if we
30823         have_lock.
30825 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
30827         [BZ #12986]
30828         * manual/stdio.texi (String Input Conversions): Clarify that character
30829         classes are not supported.
30831 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30833         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30835 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
30837         [BZ #16337]
30838         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30839         Calculate results for small negative arguments directly rather
30840         than using reflection formula with special underflow handling.
30842         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
30843         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
30844         sysdeps/unix/bsd/bsd4.4/syscalls.list.
30845         (fchflags): Likewise.
30846         (revoke): Likewise.
30847         (setlogin): Likewise.
30848         (sigaltstack): Likewise.
30849         (wait4): Likewise.
30850         (sigblock): Remove.
30851         (sigsetmask): Likewise.
30852         (wait3): Likewise.
30853         (waitpid): Likewise.
30854         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
30855         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
30856         file.
30857         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
30858         * sysdeps/unix/bsd/Makefile: ... here.
30859         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
30860         * sysdeps/unix/bsd/Versions: ... here.
30861         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
30862         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
30863         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
30864         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
30865         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
30866         * sysdeps/unix/bsd/sigblock.c: ... here.
30867         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
30868         * sysdeps/unix/bsd/sigsetmask.c: ... here.
30869         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
30870         * sysdeps/unix/bsd/sigvec.c: ... here.
30871         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
30872         * sysdeps/unix/bsd/tcdrain.c: ... here.
30873         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
30874         * sysdeps/unix/bsd/tcgetattr.c: ... here.
30875         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
30876         * sysdeps/unix/bsd/tcsetattr.c: ... here.
30877         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
30878         * sysdeps/unix/bsd/wait.c: ... here.
30879         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
30880         * sysdeps/unix/bsd/wait3.c: ... here.
30881         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
30882         * sysdeps/unix/bsd/waitpid.c: ... here.
30884 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
30886         [BZ #16356]
30887         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
30888         round-to-nearest for [!USE_AS_EXPM1L].
30889         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
30890         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
30891         more tests of exp and exp10.  Expect some exp10 tests to miss
30892         exceptions or fail in directed rounding modes.
30893         * math/auto-libm-test-out: Regenerated.
30894         * math/libm-test.inc (exp10_tonearest_test_data): New array.
30895         (exp10_test_tonearest): New function.
30896         (exp10_towardzero_test_data): New array.
30897         (exp10_test_towardzero): New function.
30898         (exp10_downward_test_data): New array.
30899         (exp10_test_downward): New function.
30900         (exp10_upward_test_data): New array.
30901         (exp10_test_upward): New function.
30902         (main): Call the new functions.
30903         * sysdeps/i386/fpu/libm-test-ulps: Update.
30904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30906 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
30908         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30909         asinh, atan, atan2, atanh, cbrt, cos and cosh.
30910         * math/auto-libm-test-out: Regenerated.
30911         * math/libm-test.inc (acosh_test_data): Add more tests.
30912         (atanh_test_data): Likewise.
30913         (ceil_test_data): Likewise.
30914         (copysign_test_data): Likewise.
30915         * sysdeps/i386/fpu/libm-test-ulps: Update.
30916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30918         * timezone/checktab.awk: Update from tzcode 2013i.
30919         * timezone/private.h: Likewise.
30920         * timezone/scheck.c: Likewise.
30921         * timezone/tzfile.h: Likewise.
30922         * timezone/tzselect.ksh: Likewise.
30923         * timezone/zdump.c: Likewise.
30924         * timezone/zic.c: Likewise.
30926         * math/auto-libm-test-in: Add tests of cpow.
30927         * math/auto-libm-test-out: Regenerated.
30928         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
30929         * math/gen-auto-libm-tests.c (func_calc_method): Add value
30930         mpc_cc_c.
30931         (func_calc_desc): Add mpc_cc_c union field.
30932         (test_functions): Add cpow.
30933         (special_fill_2pi): New function.
30934         (special_real_inputs): Add 2pi.
30935         (calc_generic_results): Handle mpc_cc_c.
30936         * sysdeps/i386/fpu/libm-test-ulps: Update.
30937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30939         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
30940         csqrt, ctan and ctanh.
30941         * math/auto-libm-test-out: Regenerated.
30942         * math/libm-test.inc (TEST_COND_x86_64): New macro.
30943         (TEST_COND_x86): Likewise.
30944         (ccos_test_data): Use AUTO_TESTS_c_c.
30945         (ccosh_test_data): Likewise.
30946         (cexp_test_data): Likewise.
30947         (clog_test_data): Likewise.
30948         (csqrt_test_data): Likewise.
30949         (ctan_test_data): Likewise.
30950         (ctan_tonearest_test_data): Likewise.
30951         (ctan_towardzero_test_data): Likewise.
30952         (ctan_downward_test_data): Likewise.
30953         (ctan_upward_test_data): Likewise.
30954         (ctanh_test_data): Likewise.
30955         (ctanh_tonearest_test_data): Likewise.
30956         (ctanh_towardzero_test_data): Likewise.
30957         (ctanh_downward_test_data): Likewise.
30958         (ctanh_upward_test_data): Likewise.
30959         * math/gen-auto-libm-tests.c (func_calc_method): Add value
30960         mpc_c_c.
30961         (func_calc_desc): Add mpc_c_c union field.
30962         (FUNC_mpc_c_c): New macro.
30963         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
30964         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
30965         ctanh.
30966         (special_fill_min_subnorm_p120): New function.
30967         (special_real_inputs): Add min_subnorm_p120.
30968         (calc_generic_results): Handle mpc_c_c.
30969         * sysdeps/i386/fpu/libm-test-ulps: Update.
30970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30972 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30974         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
30975         (do_sin_slow): New functions.
30976         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
30977         (cslow2, csloww1, csloww2): Use the new functions.
30979         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
30980         Use M to change sign of result instead of X.  Assume X is
30981         positive.
30982         (csloww1): Likewise.
30983         (__sin): Adjust.
30984         (__cos): Adjust.
30986         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
30987         arguments A and DA.
30988         (__sin): Adjust.
30989         (__cos): Likewise.
30991         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
30992         (__cos): Likewise.
30993         (sloww1): Don't adjust sign of DX.
30994         (csloww1): Likewise.
30995         (sloww2): Use X directly and don't adjust sign of DX.
30996         (csloww2): Likewise.
30998 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31000         * math/auto-libm-test-in: Add tests of cabs and carg.
31001         * math/auto-libm-test-out: Regenerated.
31002         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
31003         (carg_test_data): Likewise.
31004         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31005         mpc_c_f.
31006         (func_calc_desc): Add mpc_c_f union field.
31007         (test_functions): Add cabs and carg.
31008         (calc_generic_results): Handle mpc_c_f.
31010         * sysdeps/powerpc/powerpc32/libgcc-compat.S
31011         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
31012         as a macro and a compat symbol.
31013         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
31014         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
31015         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
31016         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
31017         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
31018         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
31019         not use .hidden.
31020         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
31021         Likewise.
31022         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
31023         Likewise.
31024         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
31025         Likewise.
31026         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
31027         Likewise.
31028         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
31029         Likewise.
31030         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
31031         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
31032         from GLIBC_2.3.2.
31034 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31038 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31040         * manual/texinfo.tex: Update to version 2013-11-26.10 with
31041         trailing whitespace removed.
31042         * scripts/config.guess: Update to version 2013-11-29.
31043         * scripts/config.sub: Update to version 2013-10-01.
31045         * math/auto-libm-test-in: Add tests of sincos.
31046         * math/auto-libm-test-out: Regenerated.
31047         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
31048         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31049         mpfr_f_11.
31050         (func_calc_desc): Add mpfr_f_11 union field.
31051         (test_functions): Add sincos.
31052         (calc_generic_results): Handle mpfr_f_11.
31053         * sysdeps/i386/fpu/libm-test-ulps: Update.
31054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31056 2013-12-19  Andreas Schwab  <schwab@suse.de>
31058         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
31059         CALL_MCOUNT.
31060         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31061         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
31062         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
31064 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31066         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
31067         * sysdeps/i386/fpu/libm-test-ulps: Update.
31068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31070         [BZ #16293]
31071         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
31072         round-to-nearest mode when using frndint.
31073         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
31074         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31075         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31076         Likewise.
31077         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
31078         sinh test to fail.
31079         * math/auto-libm-test-out: Regenerated.
31080         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
31081         (TEST_COND_x86): Likewise.
31082         (expm1_tonearest_test_data): New array.
31083         (expm1_test_tonearest): New function.
31084         (expm1_towardzero_test_data): New array.
31085         (expm1_test_towardzero): New function.
31086         (expm1_downward_test_data): New array.
31087         (expm1_test_downward): New function.
31088         (expm1_upward_test_data): New array.
31089         (expm1_test_upward): New function.
31090         (main): Run the new test functions.
31091         * sysdeps/i386/fpu/libm-test-ulps: Update.
31092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31094         * include/features.h: Update comment documenting feature test
31095         macros.  Mention _DEFAULT_SOURCE in comment.
31096         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
31097         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
31098         _BSD_SOURCE and _SVID_SOURCE.
31099         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
31100         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
31101         !_SVID_SOURCE]: Likewise.
31102         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31103         (__USE_POSIX_IMPLICITLY): Define.
31104         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31105         (_POSIX_SOURCE): Undefine and redefine.
31106         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31107         (_POSIX_C_SOURCE): Likewise.
31108         * manual/creature.texi (_DEFAULT_SOURCE): Document.
31109         (Feature Test Macros): Update documentation of default features.
31111 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31113         * benchtests/Makefile: Add bench-strtok.
31114         * benchtests/bench-strtok.c: New file: strtok benchtest.
31116 2013-12-19  Allan McRae  <allan@archlinux.org>
31118         * manual/install.texi: Suppress menu for plain text output.
31119         * INSTALL: Regenerated.
31121 2013-12-18  Brooks Moses  <bmoses@google.com>
31123         [BZ #15846]
31124         * misc/getauxval.c: Include errno.h.
31125         (__getauxval): Set errno to ENOENT if the requested type is not
31126         found.
31127         * misc/sys/auxv.h (getauxval): Document that it may set errno;
31128         don't declare with __attribute_const__.
31129         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
31130         * manual/startup.texi: Document that getauxval sets errno.
31132 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
31134         * math/auto-libm-test-in: Add tests of jn and yn.
31135         * math/auto-libm-test-out: Regenerated.
31136         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
31137         (yn_test_data): Likewise.
31138         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31139         mpfr_if_f.
31140         (func_calc_desc): Add mpfr_if_f union field.
31141         (FUNC_mpfr_if_f): New macro.
31142         (test_functions): Add jn and yn.
31143         (calc_generic_results): Assert type of second input for
31144         mpfr_ff_f.  Handle mpfr_if_f.
31145         (output_for_one_input_case): Disable all checking for arguments
31146         fitting floating-point types in case of an integer argument.
31147         * sysdeps/i386/fpu/libm-test-ulps: Update.
31148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31151         Don't expect fegetround reference in libm.so.
31153 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31155         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
31156         $(config-cflags-nofma).
31158 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
31160         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
31161         * math/auto-libm-test-out: Regenerated.
31163         [BZ #16338]
31164         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
31165         to determine exponent and adjust argument to have exponent of -1.
31166         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
31167         log2.
31168         * math/auto-libm-test-out: Regenerated.
31169         * sysdeps/i386/fpu/libm-test-ulps: Update.
31170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31172 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
31174         * manual/probes.texi: Remove cases when per-thread arenas are
31175         disabled.
31177 2013-12-18  Andreas Schwab  <schwab@suse.de>
31179         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
31180         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
31181         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
31182         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
31183         * sysdeps/i386/i686/multiarch/Makefile: Update.
31184         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
31186 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31188         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
31189         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
31191 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
31193         [BZ #15968]
31194         Support TZ transition times < 00:00:00.
31195         This is needed for version-3 tz-format files; it supports time
31196         stamps past 2037 for America/Godthab (the only entry in the tz
31197         database for which this change is relevant).
31198         * manual/time.texi (TZ Variable): Document transition times
31199         from -167:59:59 through -00:00:01.
31200         * time/tzset.c (tz_rule): Time of day is now signed.
31201         (__tzset_parse_tz): Parse negative time of day.
31203         Document TZ transition times >= 25:00:00.
31204         * manual/time.texi (TZ Variable): Document transition times from
31205         25:00:00 through 167:59:59.  These are already supported, and this
31206         support will help with version-3 tz-format files.
31208         * manual/time.texi (TZ Variable): Modernize North America example
31209         to reflect current (i.e., 2007-and-later) daylight saving rules.
31211         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
31213 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31215         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
31216         * sysdeps/unix/bsd/bits/stat.h: Likewise.
31217         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
31218         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31219         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
31220         * sysdeps/unix/bsd/bsdstat.h: Likewise.
31221         * sysdeps/unix/bsd/clock.c: Likewise.
31222         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
31223         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
31224         * sysdeps/unix/bsd/init-posix.c: Likewise.
31225         * sysdeps/unix/bsd/poll.c: Likewise.
31226         * sysdeps/unix/bsd/ptsname.c: Likewise.
31227         * sysdeps/unix/bsd/seekdir.c: Likewise.
31228         * sysdeps/unix/bsd/setegid.c: Likewise.
31229         * sysdeps/unix/bsd/seteuid.c: Likewise.
31230         * sysdeps/unix/bsd/setgid.c: Likewise.
31231         * sysdeps/unix/bsd/setrgid.c: Likewise.
31232         * sysdeps/unix/bsd/setruid.c: Likewise.
31233         * sysdeps/unix/bsd/setsid.c: Likewise.
31234         * sysdeps/unix/bsd/setuid.c: Likewise.
31235         * sysdeps/unix/bsd/sigaction.c: Likewise.
31236         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
31237         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
31238         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
31239         * sysdeps/unix/bsd/telldir.c: Likewise.
31240         * sysdeps/unix/bsd/times.c: Likewise.
31241         * sysdeps/unix/bsd/usleep.c: Likewise.
31243         * misc/Makefile (install-lib): Remove libbsd-compat.a.
31244         ($(objpfx)libbsd-compat.a): Remove rule.
31246         * include/features.h (__FAVOR_BSD): Do not define.
31247         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
31248         features conflicting with POSIX.
31249         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
31250         (_BSD_SOURCE): Remove description of not being a subset of other
31251         feature test macros.
31252         * manual/job.texi (getpgrp): Do not document BSD version.
31253         (getpgid): Do not document by reference to BSD getpgrp.
31254         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
31255         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
31256         * signal/signal.h [__FAVOR_BSD]: Likewise.
31257         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
31258         instead of making contents conditional on [__FAVOR_BSD].
31259         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
31261 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31265 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31267         [BZ #16314]
31268         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
31269         values below 2**-450, not 2**-500.
31270         * math/auto-libm-test-in: Don't allow spurious underflow from
31271         hypot.
31272         * math/auto-libm-test-out: Regenerated.
31274         [BZ #16316]
31275         [BZ #16330]
31276         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
31277         values of ha and hb and sort them after adjusting subnormal
31278         arguments.
31279         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31280         Likewise.
31281         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
31282         values of ea and eb and sort them after adjusting subnormal
31283         arguments.
31284         * math/auto-libm-test-in: Do not expect some hypot tests of
31285         subnormals to fail.  Add more hypot tests.
31286         * math/auto-libm-test-out: Regenerated.
31288 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31290         [BZ #13304]
31291         * sysdeps/sh/s_fma.c: New file.
31292         * sysdeps/sh/s_fmaf.c: New file.
31293         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
31294         version.
31295         * sysdeps/sh/Implies: Add sh/soft-fp.
31297 2013-12-16  Roland McGrath  <roland@hack.frob.com>
31299         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
31300         level of indirection to members `objname', `errstring', `malloced'.
31301         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
31302         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
31303         it as the __longjmp argument (just pass 1 instead).
31304         (_dl_catch_error): Initialize C with argument pointers and address of
31305         volatile local ERRCODE rather than copying values out of C at return.
31307 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
31309         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
31310         * math/auto-libm-test-out: Regenerated.
31311         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
31312         (hypot_test_data): Likewise.
31313         (pow_test_data): Likewise.
31314         (pow_tonearest_test_data): Likewise.
31315         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31316         mpfr_ff_f.
31317         (func_calc_desc): Add mpfr_ff_f union field.
31318         (FUNC_mpfr_ff_f): New macro.
31319         (test_functions): Add atan2, hypot and pow.
31320         (special_fill_min): New function.
31321         (special_fill_minus_min): Likewise.
31322         (special_fill_min_subnorm): Likewise.
31323         (special_fill_minus_min_subnorm): Likewise.
31324         (special_real_inputs): Add min, -min, min_subnorm and
31325         -min_subnorm.
31326         (calc_generic_results): Handle mpfr_ff_f.
31327         * sysdeps/i386/fpu/libm-test-ulps: Update.
31328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31330 2013-12-16  Will Newton  <will.newton@linaro.org>
31332         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
31333         (Aligned Memory Blocks): Add documentation for aligned_alloc
31334         and suggest it as an alternative to posix_memalign.
31335         (Hooks for Malloc): Document __memalign_hook is also called
31336         for aligned_alloc.  (Summary of Malloc): Add summary for
31337         aligned alloc.  Document __memalign_hook is also called
31338         for aligned_alloc.
31340 2013-12-16  Will Newton  <will.newton@linaro.org>
31342         * manual/memory.texi (Malloc Examples): Clarify default
31343         alignment documentation.  Suggest posix_memalign rather
31344         than memalign or valloc.
31345         (Aligned Memory Blocks): Remove suggestion to use memalign
31346         or valloc.  Remove obsolete comment about BSD.
31347         Document memalign errno values and mark the function obsolete.
31348         Document posix_memalign returned error codes.  Mark valloc
31349         as obsolete.  (Hooks for Malloc): __memalign_hook is also
31350         called for posix_memalign and valloc.
31351         (Summary of Malloc): Add posix_memalign to function summary.
31352         __memalign_hook is also called for posix_memalign and valloc.
31354 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31356         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
31357         TAYLOR_SIN.
31358         (__sin): Adjust.
31359         (__cos): Likewise.
31360         (sloww): Use mynumber union.  Expand ternary operator into
31361         if-else statements.
31362         (cslow): use mynumber union.
31364 2013-12-16  Allan McRae  <allan@archlinux.org>
31366         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
31367         * configure: Regenerated.
31369         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
31371         [BZ #14120]
31372         * configure.ac: Added --enable-maintainer-mode. Check for
31373         autoconf when enabled.
31374         * configure: Regenerated.
31376         * nscd/nscd.service: New file.
31377         * nscd/nscd.tmpfiles: New file.
31379 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
31381         [BZ #12100]
31382         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
31383         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
31384         * sysdeps/x86_64/multiarch/strstr.c: ... here.
31385         (strstr): Add __strstr_sse2_unaligned ifunc.
31386         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
31387         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
31388         (strcasestr): Remove __strcasestr_sse42 ifunc.
31389         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
31390         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31391         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31393 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31395         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
31396         * sysdeps/sh/bits/fenv.h: ... here.
31397         * sysdeps/sh/sh4/fpu/bits: Remove directory.
31399 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31401         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
31403         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
31404         hypotf multiarch implementations.
31405         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
31406         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
31407         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
31408         multiarch hypot for PPC64.
31409         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
31410         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
31411         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
31412         multiarch hypotf for PPC64.
31414         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
31415         modff multiarch implementations.
31416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
31417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
31418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
31419         multiarch modf for PPC64.
31420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
31421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
31422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
31423         multiarch modff for PPC64.
31425         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
31426         and logl multiarch implementations.
31427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
31428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
31429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
31430         multiarch logb for PPC64.
31431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
31432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
31433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
31434         multiarch logb for PPC64.
31435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
31436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
31437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
31438         multiarch logb for PPC64.
31440         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
31441         isinff multiarch implementation.
31442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
31443         file.
31444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
31445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
31446         multiarch isinf for PPC64.
31447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
31448         file.
31449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
31450         multiarch isinff for PPC64.
31452         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
31453         finitef multiarch implementation.
31454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
31455         file.
31456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
31457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
31458         multiarch finite for PPC64.
31459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
31460         file.
31461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
31462         multiarch finitef for PPC64.
31464         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
31465         lrint multiarch implementation.
31466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
31467         file.
31468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
31469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
31470         multiarch llrint for PPC64.
31471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
31472         multiarch lrint for PPC64.
31474         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
31475         copysignf multiarch implementation.
31476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
31477         file.
31478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
31479         file.
31480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
31481         multiarch copysign for PPC64.
31482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
31483         multiarch copysignf for PPC64.
31485         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
31486         multiarch implementation.
31487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
31488         file.
31489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
31490         file.
31491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
31492         file.
31493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
31494         file.
31495         multiarch llround for PPC64.
31496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
31497         multiarch trunc for PPC64.
31498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
31499         multiarch truncf for PPC64.
31501         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
31502         multiarch implementation.
31503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
31504         file.
31505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
31506         file.
31507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
31508         file.
31509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
31510         file.
31511         multiarch llround for PPC64.
31512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
31513         multiarch round for PPC64.
31514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
31515         multiarch roundf for PPC64.
31517         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
31518         multiarch implementation.
31519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
31520         file.
31521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
31522         file.
31523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
31524         file.
31525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
31526         file.
31527         multiarch llround for PPC64.
31528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
31529         multiarch floor for PPC64.
31530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
31531         multiarch floorf for PPC64.
31533         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
31534         multiarch implementation.
31535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
31536         file.
31537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
31538         file.
31539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
31540         file.
31541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
31542         file.
31543         multiarch llround for PPC64.
31544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
31545         multiarch ceil for PPC64.
31546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
31547         multiarch ceilf for PPC64.
31549         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
31550         multiarch implementation.
31551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
31552         file.
31553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
31554         file.
31555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
31556         file.
31557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
31558         multiarch llround for PPC64.
31559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
31560         multiarch lround for PPC64.
31562         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
31563         multiarch implementation.
31564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
31565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
31566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
31567         file.
31568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
31569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
31570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
31571         multiarch isnan for PPC64.
31572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
31573         multiarch isnanf for PPC64.
31575         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
31576         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
31577         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
31578         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
31579         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
31580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
31582         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
31583         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31584         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31585         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31587         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
31588         multiarch implementations.
31589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31590         (__libc_ifunc_impl_list): Likewise.
31591         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
31592         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
31593         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
31594         multiarch stpcpy for PPC64.
31596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
31597         multiarch implementations.
31598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31599         (__libc_ifunc_impl_list): Likewise.
31600         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
31601         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
31602         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
31603         multiarch strcpy for PPC64.
31605         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
31606         redefine function name.
31607         (_wordcopy_fwd_dest_aligned): Likewise.
31608         (_wordcopy_bwd_aligned): Likewise.
31609         (_wordcopy_bwd_dest_aligned): Likewise.
31610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
31611         multiarch implementations.
31612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31613         (__libc_ifunc_impl_list): Likewise.
31614         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
31615         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
31616         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
31617         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
31618         multiarch wcscpy for PPC64.
31620         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
31621         multiarch implementations.
31622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31623         (__libc_ifunc_impl_list): Likewise.
31624         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
31625         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
31626         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
31627         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
31628         multiarch wcscpy for PPC64.
31630         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
31631         multiarch implementations.
31632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31633         (__libc_ifunc_impl_list): Likewise.
31634         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
31635         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
31636         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
31637         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
31638         multiarch wcsrchr for PPC64.
31640         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
31641         multiarch implementations.
31642         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31643         (__libc_ifunc_impl_list): Likewise.
31644         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
31645         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
31646         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
31647         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
31648         multiarch wcschr for PPC64.
31650         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
31651         multiarch implementations.
31652         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31653         (__libc_ifunc_impl_list): Likewise.
31654         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
31655         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
31656         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
31657         multiarch strchrnul for PPC64.
31659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
31660         implementations.
31661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31662         (__libc_ifunc_impl_list): Likewise.
31663         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
31664         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
31665         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
31666         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
31667         strchr for PPC64.
31669         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
31670         implementations.
31671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31672         (__libc_ifunc_impl_list): Likewise.
31673         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
31674         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
31675         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
31676         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
31677         strncmp for PPC64.
31679         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
31680         multiarch implementations.
31681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31682         (__libc_ifunc_impl_list): Likewise.
31683         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
31684         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
31685         strncasecmp for PPC64.
31686         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
31687         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
31688         multiarch strncasecmp_l for PPC64.
31690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
31691         multiarch implementations.
31692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31693         (__libc_ifunc_impl_list): Likewise.
31694         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
31695         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
31696         multiarch strcasecmp for PPC64.
31697         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
31698         file.
31699         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
31700         multiarch strcasecmp_l for PPC64.
31702         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
31703         implementations.
31704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31705         (__libc_ifunc_impl_list): Likewise.
31706         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
31707         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
31708         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
31709         strnlen for PPC64.
31711         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
31712         implementations.
31713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31714         (__libc_ifunc_impl_list): Likewise.
31715         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
31716         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
31717         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
31718         strlen for PPC64.
31720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
31721         implementations.
31722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31723         (__libc_ifunc_impl_list): Likewise.
31724         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
31725         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
31726         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
31727         rawmemrchr for PPC64.
31729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
31730         implementation.
31731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31732         (__libc_ifunc_impl_list): Likewise.
31733         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
31734         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
31735         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
31736         memrchr for PPC64.
31738         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
31739         implementation.
31740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31741         (__libc_ifunc_impl_list): Likewise.
31742         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
31743         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
31744         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
31745         memchr for PPC64.
31747         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
31748         implementation.
31749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31750         (__libc_ifunc_impl_list): Likewise.
31751         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
31752         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
31753         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
31754         mempcpy for PPC64.
31756         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
31757         avoid cretion of __bzero symbol.
31758         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
31759         Likewise.
31760         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
31761         Likewise.
31762         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
31763         Likewise.
31764         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
31765         multiarch implementations.
31766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31767         (__libc_ifunc_impl_list): Likewise.
31768         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
31769         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
31770         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
31771         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
31772         bzero for PPC32.
31773         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
31774         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
31775         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
31776         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
31777         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
31778         memset for PPC64.
31779         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
31781         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
31782         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
31783         implementations.
31784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31785         (__libc_ifunc_impl_list): Likewise.
31786         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
31787         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
31788         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
31789         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
31790         memcmp for PPC64.
31792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
31793         multiarch for POWER/PPC64.
31794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
31795         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
31796         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
31797         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
31798         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
31799         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
31800         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
31801         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
31802         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
31803         memcpy for PPC64.
31805         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
31806         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
31807         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
31808         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
31809         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
31810         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
31811         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
31812         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
31813         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
31814         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
31815         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
31816         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
31817         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
31818         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
31819         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
31820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
31821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
31822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
31823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
31824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
31825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
31826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
31828 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31830         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
31832 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31834         * benchtests/Makefile (bench): Add exp2 and log2.
31835         (LDLIBS-bench-exp2): Add -lm.
31836         (LDLIBS-bench-log2): Likewise.
31837         * benchtests/exp2-inputs: New inputs file.
31838         * benchtests/log2-inputs: New inputs file.
31839         * benchtests/log-inputs: Add new inputs.
31840         * benchtests/tan-inputs: Likewise.
31842 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31844         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
31845         definition...
31846         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
31847         (csloww2): ... from here.
31849         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
31850         instead of structures.
31851         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
31852         (POLYNOMIAL): Likewise.
31853         (TAYLOR_SLOW): Likewise.
31854         (__sin): Likewise.
31855         (__cos): Likewise.
31856         (slow1): Likewise.
31857         (slow2): Likewise.
31858         (sloww): Likewise.
31859         (sloww1); Likewise.
31860         (sloww2): Likewise.
31861         (bsloww1): Likewise.
31862         (bsloww2): Likewise.
31863         (cslow2): Likewise.
31864         (csloww): Likewise.
31865         (csloww1): Likewise.
31866         (csloww2): Likewise.
31868 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
31870         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
31871         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
31872         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
31873         * malloc/hooks.c (realloc_check): Likewise.
31875         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
31876         * malloc/arena.c: Remove PER_THREAD conditional.
31877         [!PER_THREAD]: Remove code.
31878         (ptmalloc_unlock_all2): Likewise.
31879         (ptmalloc_init): Likewise.
31880         (_int_new_arena): Likewise.
31881         (arena_get2): Likewise.
31882         * malloc/hooks.c (__malloc_get_state): Likewise.
31883         (__malloc_set_state): Likewise.
31884         * malloc/malloc.c: Likewise.
31885         (struct malloc_state): Likewise.
31886         (struct malloc_par): Likewise.
31887         (__libc_realloc): Likewise.
31888         (__libc_mallopt): Likewise.
31890 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31892         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
31894 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
31896         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
31897         macro to a function.  Check for zero perturb_byte.
31898         (_int_malloc, _int_free): Remove zero perturb_byte checks.
31900         * malloc/malloc.c: (force_reg): Remove.
31901         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
31902         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
31903         force_reg by atomic_forced_read.
31904         * malloc/arena.c (ptmalloc_init): Likewise.
31905         * malloc/hooks.c (top_check): Likewise.
31907 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31911 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
31913         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31915 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
31917         * math/auto-libm-test-in: Add tests of lgamma.
31918         * math/auto-libm-test-out: Regenerated.
31919         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
31920         (M_LOG_2_SQRT_PIl): Likewise.
31921         (lgamma_test_data): Use AUTO_TESTS_f_f1.
31922         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31923         mpfr_f_f1.
31924         (func_calc_desc): Add mpfr_f_f1 union field.
31925         (ARGS1): New macro.
31926         (ARGS2): Likewise.
31927         (ARGS3): Likewise.
31928         (ARGS4): Likewise.
31929         (RET1): Likewise.
31930         (RET2): Likewise.
31931         (CALC): Likewise.
31932         (FUNC): Likewise.
31933         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
31934         (test_functions): Add lgamma.
31935         (calc_generic_results): Handle mpfr_f_f1.
31936         * sysdeps/i386/fpu/libm-test-ulps: Update.
31937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31939 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31941         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
31942         __mpn_add_n for PowerPC64/POWER7.
31943         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
31944         __mpn_sub_n for PowerPC64/POWER7.
31946         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
31947         __mpn_addmul_1 for PowerPC64.
31948         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
31949         __mpn_submul_1 for PowerPC64.
31950         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
31951         for PowerPC64.
31952         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
31953         for PowerPC64.
31955 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
31957         [BZ #15089]
31958         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
31960 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31962         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
31964         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
31965         add multiarch folders.
31966         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
31967         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
31968         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
31969         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
31970         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
31971         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
31972         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
31973         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
31974         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
31975         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
31976         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
31977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
31978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
31979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
31980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
31981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
31982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
31984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
31985         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
31986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
31987         New file.
31988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
31989         New file.
31990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
31991         multiarch __ieee754_hypot for PowerPC32.
31992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
31993         New file.
31994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
31995         New file.
31996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
31997         multiarch __ieee754_hypotf for PowerPC32.
31999         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
32000         long_double_symbol only if __logbl is defined.
32001         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
32002         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
32003         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
32004         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
32005         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
32006         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
32007         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
32008         path for implementation.
32009         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
32010         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
32011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
32012         logb, and logbl multiarch implementations for PowerPC32.
32013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
32014         file.
32015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
32016         file.
32017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
32018         multiarch logb for PowerPC32.
32019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
32020         file.
32021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
32022         file.
32023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
32024         multiarch logbf for PowerPC32.
32025         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
32026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
32027         file.
32028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
32029         multiarch logbl implementation for PowerPC32.
32031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
32032         and modff multiarch implementations.
32033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
32034         New file.
32035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
32036         New file.
32037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
32038         multiarch modf for PowerPC32.
32039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
32040         New file.
32041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
32042         New file.
32043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
32044         multiarch modff for PowerPC32.
32046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
32047         and lrintf multiarch implementations.
32048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
32049         New file.
32050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
32051         New file.
32052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
32053         multiarch lrint for PowerPC32.
32054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
32055         file: multiarch lrintf for PowerPC32.
32057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
32058         and lroundf multiarch implementations.
32059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
32060         New file.
32061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
32062         New file.
32063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
32064         New file.
32065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
32066         multiarch lround for PowerPC32.
32067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
32068         file: multiarch lroundf for PowerPC32.
32070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
32071         copysign and copysignf multiarch implementations.
32072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
32073         New file.
32074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
32075         New file.
32076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
32077         file: multiarch copysign for PowerPC32.
32078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
32079         file: multiarch copysignf for PowerPC32.
32081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
32082         and truncf multiarch implementations.
32083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
32084         New file.
32085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
32086         file.
32087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
32088         multiarch trunc for PowerPC32.
32089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
32090         New file.
32091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
32092         New file.
32093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
32094         multiarch truncf for PowerPC32.
32096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
32097         and roundf multiarch implementations.
32098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
32099         New file.
32100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
32101         file.
32102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
32103         multiarch round for PowerPC32.
32104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
32105         New file.
32106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
32107         New file.
32108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
32109         multiarch roundf for PowerPC32.
32111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
32112         and floorf multiarch implementations.
32113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
32114         New file.
32115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
32116         file.
32117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
32118         multiarch floor for PowerPC32.
32119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
32120         New file.
32121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
32122         New file.
32123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
32124         multiarch floorf for PowerPC32.
32126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
32127         and ceilf multiarch implementations.
32128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
32129         New file.
32130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
32131         file.
32132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
32133         multiarch ceil for PowerPC32.
32134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
32135         New file.
32136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
32137         file.
32138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
32139         multiarch ceilf for PowerPC32.
32141         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
32142         is defined.
32143         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
32144         FINITEF is defined.
32145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
32146         and finitef multiarch implementations.
32147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
32148         New file.
32149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
32150         file.
32151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
32152         multiarch finite for PowerPC32.
32153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
32154         New file.
32155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
32156         file: multiarch finitef for PowerPC32.
32158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
32159         and isinff multiarch implementations.
32160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
32161         file.
32162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
32163         file.
32164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
32165         multiarch isinf for PowerPC32.
32166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
32167         New file.
32168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
32169         multiarch isinff for PowerPC32.
32171         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
32172         alias when __isnan is defined.
32173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
32174         and isnanf multiarch implementations.
32175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
32176         file.
32177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
32178         file.
32179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
32180         file.
32181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
32182         file.
32183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
32184         multiarch isnan for PowerPC32.
32185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
32186         New file.
32187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
32188         New file.
32189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
32190         multiarch isnanf for PowerPC32.
32192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
32193         and sqrtf multiarch implementations.
32194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
32195         file.
32196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
32197         file.
32198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
32199         multiarch sqrt for PowerPC32.
32200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
32201         file.
32202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
32203         file.
32204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
32205         multiarch sqrtf for PowerPC32.
32207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
32208         and llroundf multiarch implementations.
32209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
32210         New file.
32211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
32212         New file.
32213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
32214         New file.
32215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
32216         file: multiarch llround for PowerPC32.
32217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
32218         file: multiarch llroundf for PowerPC32.
32220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
32221         multiarch PowerPC32 fpu implementations.
32222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
32223         New file.
32224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
32225         New file.
32226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
32227         multiarch llrint for PowerPC32.
32228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
32229         New file.
32230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
32231         New file.
32232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
32233         file.
32235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
32237         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
32238         file.
32239         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
32240         file.
32241         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
32242         file.
32243         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
32244         multiarch wordcopy for PPC32.
32245         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
32246         wordcopy objects.
32247         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32248         (__libc_ifunc_impl_list): Likewise.
32249         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
32250         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
32251         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
32252         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
32253         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
32254         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
32256         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
32257         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
32258         file.
32259         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
32260         file.
32261         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
32262         file.
32263         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
32264         multiarch wcscpy for PPC32.
32265         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
32266         multiarch objects.
32267         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32268         (__libc_ifunc_impl_list): Likewise.
32269         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
32270         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
32271         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
32272         sysdeps/powerpc/power6/wcscpy.c.
32274         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
32275         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
32276         file.
32277         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
32278         file.
32279         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
32280         file.
32281         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
32282         multiarch wcsrchr for PPC32.
32283         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
32284         multiarch objects.
32285         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32286         (__libc_ifunc_impl_list): Likewise.
32287         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
32288         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
32289         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
32290         sysdeps/powerpc/power6/wcsrchr.c.
32292         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
32293         file.
32294         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
32295         file.
32296         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
32297         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
32298         multiarch wcschr for PPc32.
32299         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
32300         multiarch objects.
32301         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32302         (__libc_ifunc_impl_list): Likewise.
32303         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
32304         * sysdeps/powerpc/power6/wcschr.c: ... to here.
32305         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
32306         sysdeps/powerpc/power6/wcschr.c.
32308         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
32309         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
32310         file.
32311         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
32312         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
32313         file: multiarch strchr for PPC32.
32314         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
32315         multiarch objects.
32316         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32317         (__libc_ifunc_impl_list): Likewise.
32319         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
32320         name.
32321         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
32322         file.
32323         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
32324         file.
32325         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
32326         multiarch strchrnul for PPC32.
32327         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
32328         multiarch objects.
32329         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32330         (__libc_ifunc_impl_list): Likewise.
32332         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
32333         file.
32334         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
32335         multiarch strncasecmp for PPC32.
32336         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
32337         file.
32338         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
32339         multiarch strncasecmp_l for PPC32.
32340         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
32341         strncasecmp multiarch objects.
32342         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32343         (__libc_ifunc_impl_list): Likewise.
32345         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
32346         file.
32347         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
32348         multiarch strncasecmp for PPC32.
32349         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32350         New file.
32351         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
32352         multiarch strcasecmp_l for PPC32.
32353         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
32354         multiarch objects.
32355         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32356         (__libc_ifunc_impl_list): Likewise.
32358         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
32359         file.
32360         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
32361         file.
32362         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
32363         multiarch strncmp for PPC32.
32364         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
32365         multiarch objects.
32366         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32367         (__libc_ifunc_impl_list): Likewise.
32369         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
32370         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
32371         file.
32372         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
32373         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
32374         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
32375         multiarch objects.
32376         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32377         (__libc_ifunc_impl_list): Likewise.
32379         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
32380         file.
32381         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
32382         file.
32383         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
32384         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
32385         multiarch objects.
32386         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32387         (__libc_ifunc_impl_list): Likewise.
32389         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
32390         file.
32391         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
32392         file.
32393         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
32394         multiarch rawmemchr for PPC32.
32395         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
32396         multiarch objects.
32397         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32398         (__libc_ifunc_impl_list): Likewise.
32400         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
32401         file.
32402         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
32403         file.
32404         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
32405         file: memrchr multiarch for PPC32.
32406         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
32407         multiarch objects.
32408         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32409         (__libc_ifunc_impl_list): Likewise.
32411         * string/memchr.c (__memchr): Using macro to redefine symbol name.
32412         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
32413         file.
32414         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
32415         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
32416         multiarch memchr for PPC32.
32417         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
32418         multiarch objects.
32419         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32420         (__libc_ifunc_impl_list): Likewise.
32422         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
32423         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
32424         file.
32425         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
32426         file.
32427         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
32428         file: multiarch mempcpy for PPC32.
32429         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
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/bzero-power6.S: New file.
32435         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
32436         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
32437         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
32438         multiarch bzero for PPC32.
32439         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
32440         file.
32441         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
32442         file.
32443         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
32444         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
32445         file: multiarch memset for PPC32.
32446         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
32447         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
32448         memset multiarch objects.
32449         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32450         (__libc_ifunc_impl_list): Likewise.
32452         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
32453         file.
32454         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
32455         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
32456         memcmp for PPC32.
32457         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
32458         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
32459         multiarch objects.
32460         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32461         (__libc_ifunc_impl_list): Likewise.
32463         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
32464         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
32465         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
32466         file.
32467         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
32468         file.
32469         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
32470         file.
32471         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
32472         multiarch memcpy for PPC32.
32473         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
32474         multiarch objects.
32475         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32476         (__libc_ifunc_impl_list): Likewise.
32478         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
32479         support multiarch for POWER/PPC32.
32480         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
32481         Likewise.
32482         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
32484         Implies file to make multiarch folder appers before the fpu and
32485         default folder for power4 configuration.
32487 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32489         * scripts/bench.pl: Append volatile keyword to type.
32491 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32493         * sysdeps/sh/sotruss-lib.c: New file.
32494         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
32496 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32500 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
32502         [BZ #6810]
32503         * math/w_tgamma.c: Include <errno.h>.
32504         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
32505         * math/w_tgammaf.c: Include <errno.h>.
32506         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
32507         * math/w_tgammal.c: Include <errno.h>.
32508         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
32509         * math/auto-libm-test-in: Do not allow missing errno on tgamma
32510         underflow.  Add more tgamma tests.
32511         * math/auto-libm-test-out: Regenerated.
32512         * sysdeps/i386/fpu/libm-test-ulps: Update.
32513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32515         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
32516         sin, sinh, tan, tanh, tgamma, y0 and y1.
32517         * math/auto-libm-test-out: Regenerated.
32518         * math/libm-test.inc (TEST_COND_x86_64): New macro.
32519         (TEST_COND_x86): Likewise.
32520         (M_E2l): Remove macro.
32521         (M_E3l): Likewise.
32522         (M_2_SQRT_PIl): Likewise.
32523         (M_SQRT_PIl): Likewise.
32524         (M_1_DIV_El): Likewise.
32525         (log_test_data): Use AUTO_TESTS_f_f.
32526         (log10_test_data): Likewise.
32527         (log1p_test_data): Likewise.
32528         (log2_test_data): Likewise.
32529         (sin_test_data): Likewise.
32530         (sin_tonearest_test_data): Likewise.
32531         (sin_towardzero_test_data): Likewise.
32532         (sin_downward_test_data): Likewise.
32533         (sin_upward_test_data): Likewise.
32534         (sinh_test_data): Likewise.
32535         (sinh_tonearest_test_data): Likewise.
32536         (sinh_towardzero_test_data): Likewise.
32537         (sinh_downward_test_data): Likewise.
32538         (sinh_upward_test_data): Likewise.
32539         (tan_test_data): Likewise.
32540         (tan_tonearest_test_data): Likewise.
32541         (tan_towardzero_test_data): Likewise.
32542         (tan_downward_test_data): Likewise.
32543         (tan_upward_test_data): Likewise.
32544         (tanh_test_data): Likewise.
32545         (tgamma_test_data): Likewise.
32546         (y0_test_data): Likewise.
32547         (y1_test_data): Likewise.
32548         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
32549         (special_real_inputs): Add pi/4.
32550         * sysdeps/i386/fpu/libm-test-ulps: Update.
32551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32553 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32555         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
32556         "longjmp_target" static probes.
32557         (__longjmp): Rename to __longjmp_symbol.
32558         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32559         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
32560         on which longjmp to generate.
32561         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32562         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
32563         probe.
32564         (__sigsetjmp): Rename to __sigsetjmp_symbol.
32565         (__sigjmp_save): Rename to __sigjmp_save_symbol.
32566         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32567         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
32568         and __sigjmp_save_symbol based on which sigsetjmp to generated.
32569         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
32570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
32571         __longjmp_symbol based on which __longjmp to generate.
32572         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
32573         probe.
32574         (setjmp): Rename to setjmp_symbol.
32575         (__sigsetjmp): Rename to __sigsetjmp_symbol.
32576         (_setjmp): Rename to _setjmp_symbol.
32577         (__sigsetjmp): Rename to __sigsetjmp_symbol.
32578         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
32579         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
32580         which setjmp to generate.
32581         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
32582         "longjmp_target" static probes.
32584 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32586         * benchtests/README: Add note about output arguments.
32587         * benchtests/bench-sincos.c: Remove file.
32588         * benchtests/sincos-inputs: New file.
32589         * scripts/bench.pl: Identify output arguments and define
32590         static variables for them.
32592         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
32594         [BZ #15941]
32595         * Makefile (INSTALL): Add install-plain.texi as the primary
32596         dependency.
32597         * manual/install-plain.texi: New file.
32598         * manual/install.texi: Include node directive only for
32599         non-plaintext output.
32601 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
32603         * stdlib/longlong.h: Update from GCC.
32605         [BZ #6807]
32606         [BZ #15901]
32607         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
32608         * math/w_j0f.c (y0f): Likewise.
32609         * math/w_j0l.c (__y0l): Likewise.
32610         * math/w_j1.c (y1): Likewise.
32611         * math/w_j1f.c (y1f): Likewise.
32612         * math/w_j1l.c (__y1l): Likewise
32613         * math/w_jn.c (yn): Likewise.
32614         * math/w_jnf.c (ynf): Likewise.
32615         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
32616         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
32617         value for Bessel function domain errors outside _SVID_ mode.
32618         Adjust sign of return value for yn (negative integer, 0).
32619         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
32620         by zero in return for negative x and set sign appropriately for
32621         negative n.
32622         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
32623         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32624         * math/libm-test.inc (y0_test_data): Add more tests and adjust
32625         expectations in error cases.
32626         (y1_test_data): Likewise.
32627         (yn_test_data): Likewise.
32628         * sysdeps/i386/fpu/libm-test-ulps: Update.
32629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32631 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32633         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
32634         "64" to "64-v1".  Add "64-v2".
32635         (abi-64-options): Rename to ...
32636         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
32637         (abi-64-condition): Rename to ...
32638         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
32639         (abi-64-ld-soname): Rename to ...
32640         (abi-64-v1-ld-soname): ... this.
32641         (abi-64-v2-options): Define.
32642         (abi-64-v2-condition): Likewise.
32643         (abi-64-v2-ld-soname): Likewise.
32644         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
32645         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
32646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
32647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
32648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
32650 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32651             Alan Modra  <amodra@gmail.com>
32653         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
32654         New versions for use with the ELFv2 ABI.
32655         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
32656         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
32657         declaration.
32658         (struct La_ppc64v2_retval): Likewise.
32659         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
32660         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
32661         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
32662         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
32663         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
32664         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32665         Do not save or restore CR.
32666         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
32667         (_dl_profile_resolve): Do no save or restore CR.  Support extended
32668         return values for ELFv2 ABI.  Fix location of FPR return registers.
32669         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
32670         updated values for _CALL_ELF == 2.
32671         (La_regs, La_retval, int_retval): Likewise.
32673 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32675         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
32676         (FRAME_MIN_SIZE_PARM): Likewise.
32677         (FRAME_BACKCHAIN): Likewise.
32678         (FRAME_CR_SAVE): Likewise.
32679         (FRAME_LR_SAVE): Likewise.
32680         (FRAME_TOC_SAVE): Likewise.
32681         (FRAME_PARM_SAVE): Likewise.
32682         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
32683         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
32684         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
32685         (call_mcount_parm_offset): New macro.
32686         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
32687         (PROF): Use symbolic stack frame offsets.
32688         (TAIL_CALL_SYSCALL_ERROR): Likewise.
32689         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
32690         Redefine in terms of FRAME_MIN_SIZE.
32691         (_dl_runtime_resolve): Use symbolic stack frame offsets.
32692         (_dl_profile_resolve): Likewise.  Update comment.
32693         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
32694         symbols stack frame offsets.
32695         (__sigsetjmp): Likewise.
32696         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
32697         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
32698         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
32699         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
32701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
32702         (FRAME_BACKCHAIN): Remove.
32703         (FRAME_CR_SAVE): Likewise.
32704         (FRAME_LR_SAVE): Likewise.
32705         (FRAME_COMPILER_DW): Likewise.
32706         (FRAME_LINKER_DW): Likewise.
32707         (FRAME_TOC_SAVE): Likewise.
32708         (FRAME_PARM_SAVE): Likewise.
32709         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
32710         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
32711         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
32712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
32713         (CHECK_SP): Use symbolic stack frame offsets.
32714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
32715         zone" instead of caller's parameter save area for temp storage.
32716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32717         Likewise.  Also, use symbolic stack frame offsets.
32718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
32719         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
32720         our own stack frame instead of the caller's.
32721         (__socket): Use symbolic stack frame offsets.
32723 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32724             Alan Modra  <amodra@gmail.com>
32726         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
32727         Define.
32728         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
32729         (PPC64_LOCAL_ENTRY_OFFSET): Define.
32730         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
32731         New function.
32732         (elf_machine_fixup_plt): Call it.
32733         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
32734         reloc arguments.
32735         (elf_machine_rela): Update call to elf_machine_plt_conflict.
32736         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
32737         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
32738         r2 before calling target.
32740 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32741             Alan Modra  <amodra@gmail.com>
32743         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
32744         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
32745         versions of macros to support ELFv2 ABI.
32746         (LOCALENTRY): New macro.
32747         (ENTRY, EALIGN): Use it.
32748         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
32749         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
32750         fall through into ENTRY entry point.
32751         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
32752         Only define if _CALL_ELF != 2.
32754         (elf_machine_matches_host): Verify ABI version matches.
32755         (RTLD_START): Use LOCALENTRY.
32756         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
32757         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
32758         (PLT_ENTRY_WORDS): New macro.
32759         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
32760         (elf_machine_runtime_setup): Support ELFv2 ABI.
32761         (elf_machine_fixup_plt): Likewise.
32762         (elf_machine_plt_conflict): Likewise.
32763         (resolve_ifunc): Likewise.
32764         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
32765         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
32766         Likewise.
32767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
32768         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
32769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32770         (makecontext): Support ELFv2 ABI.
32771         * elf/elf.h (EF_PPC64_ABI): Define.
32773 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32775         * sysdeps/powerpc/powerpc64/sysdep.h
32776         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
32777         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
32778         (ENTRY) [ASSEMBLER]: ... but instead here ...
32779         (EALIGN) [ASSEMBLER]: ... and here.
32780         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
32781         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
32782         (ENTRY_2) [!ASSEMBLER]: Use it.
32783         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
32784         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
32785         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
32786         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
32787         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
32788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
32789         Use PPC64_LOAD_FUNCPTR.
32791         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
32793 2013-12-04  Alan Modra  <amodra@gmail.com>
32795         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
32796         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
32797         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
32798         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
32800         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
32801         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
32802         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
32803         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
32804         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
32805         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
32807 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32810         (__makecontext): Fix incorrect CFI when backtracing out of
32811         context created via makecontext.
32812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
32813         (__setcontext): Fix incorrect CFI during switch to new context.
32814         (__novec_setcontext): Likewise.
32816 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
32818         [BZ #4772]
32819         * time/strptime_l.c (__strptime_internal): Allow modifiers
32820         in strptime.
32821         * time/tst-strptime.c (day_tests): Add testcase.
32823 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32825         * scripts/bench.pl: Skip over blank lines.
32827 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
32829         [BZ #926]
32830         * manual/time.texi (Calendar Time): Clarify what timezone functions
32831         use.
32833 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32837 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
32839         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
32840         implementation.
32841         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
32842         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
32843         * debug/memset_chk.c (__memset_chk): Likewise.
32844         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
32845         * debug/strncpy_chk.c: Likewise.
32847 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
32849         [BZ #15268]
32850         [BZ #15425]
32851         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
32852         (__ieee754_exp): For possibly underflowing results, check size of
32853         result and force underflow exception if required.
32854         * math/auto-libm-test-in: Add more tests of exp.
32855         * math/auto-libm-test-out: Regenerated.
32856         * sysdeps/i386/fpu/libm-test-ulps: Update.
32857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32859         [BZ #16283]
32860         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
32861         * math/w_exp2f.c (__exp2f): Likewise.
32862         * math/w_exp2l.c (__exp2l): Likewise.
32863         * math/auto-libm-test-in: Do not allow missing errno on exp2
32864         underflow.
32865         * math/auto-libm-test-out: Regenerated.
32867 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
32869         [BZ #16274]
32870         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
32871         handle filename validation.
32872         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
32873         (do_open): Delete.
32875 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
32877         [BZ #6786]
32878         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
32879         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
32880         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
32881         <float.h>.
32882         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
32883         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
32884         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
32885         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
32886         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
32887         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
32888         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
32889         * math/auto-libm-test-in: Don't allow missing errno from erfc.
32890         Add more erfc tests.
32891         * math/auto-libm-test-out: Regenerated.
32892         * sysdeps/i386/fpu/libm-test-ulps: Update.
32893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32895         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
32896         exp2, expm1, j0 and j1.
32897         * math/auto-libm-test-out: Regenerated.
32898         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
32899         (erfc_test_data): Likewise.
32900         (exp_test_data): Likewise.
32901         (exp_tonearest_test_data): Likewise.
32902         (exp_towardzero_test_data): Likewise.
32903         (exp_downward_test_data): Likewise.
32904         (exp_upward_test_data): Likewise.
32905         (exp10_test_data): Likewise.
32906         (exp2_test_data): Likewise.
32907         (expm1_test_data): Likewise.
32908         (j0_test_data): Likewise.
32909         (j1_test_data): Likewise.
32910         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
32911         (input_flag_type): Add flag_xfail_rounding.
32912         (input_flags): Add xfail-rounding.
32913         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
32914         (output_for_one_input_case): Handle flag_xfail_rounding.
32915         * sysdeps/i386/fpu/libm-test-ulps: Update.
32916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32918 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
32920         [BZ #16289]
32921         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
32922         division by 0.
32924 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32926         [BZ #16195]
32927         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
32928         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
32929         (STAP_PROBE0): New macro.
32930         (STAP_PROBE1): Likewise.
32931         (STAP_PROBE2): Likewise.
32932         (STAP_PROBE3): Likewise.
32933         (STAP_PROBE4): Likewise.
32935 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
32937         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
32939 2013-12-02  Steve Ellcey  <sellcey@mips.com>
32941         * benchtests/Makefile (bench): Add sqrt.
32942         (LDLIBS-bench-sqrt): New.
32943         * benchtests/sqrt-input: New.
32945 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
32947         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
32948         (GAIH_EAI): Likewise.
32949         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
32950         (gaih_inet): Likewise.
32951         (getaddrinfo): Don't use GAIH_EAI.
32953         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
32954         (struct gaih): Remove definition.
32956 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32958         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
32959         Use HERRNOP directly.
32961 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32965 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
32967         * math/gen-auto-libm-tests.c (test_functions): Add more
32968         single-argument functions.
32969         (special_fill_pi_2): New function.
32970         (special_fill_minus_pi_2): Likewise.
32971         (special_fill_pi_6): Likewise.
32972         (special_fill_minus_pi_6): Likewise.
32973         (special_fill_pi_3): Likewise.
32974         (special_fill_2pi_3): Likewise.
32975         (special_fill_e): Likewise.
32976         (special_fill_1_e): Likewise.
32977         (special_fill_e_minus_1): Likewise.
32978         (special_real_inputs): Add more special inputs.
32979         (output_for_one_input_case): Do not require ERANGE on underflow to
32980         zero if round-to-nearest result does not underflow to zero, unless
32981         exact results required.
32982         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
32983         atan, atanh, cbrt, cos and cosh.
32984         * math/auto-libm-test-out: Regenerated.
32985         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
32986         (acos_tonearest_test_data): Likewise.
32987         (acos_towardzero_test_data): Likewise.
32988         (acos_downward_test_data): Likewise.
32989         (acos_upward_test_data): Likewise.
32990         (acosh_test_data): Likewise.
32991         (asin_test_data): Likewise.
32992         (asin_tonearest_test_data): Likewise.
32993         (asin_towardzero_test_data): Likewise.
32994         (asin_upward_test_data): Likewise.
32995         (asinh_test_data): Likewise.
32996         (atan_test_data): Likewise.
32997         (atanh_test_data): Likewise.
32998         (cbrt_test_data): Likewise.
32999         (cos_test_data): Likewise.
33000         (cos_tonearest_test_data): Likewise.
33001         (cos_towardzero_test_data): Likewise.
33002         (cos_downward_test_data): Likewise.
33003         (cos_upward_test_data): Likewise.
33004         (cosh_test_data): Likewise.
33005         (cosh_tonearest_test_data): Likewise.
33006         (cosh_towardzero_test_data): Likewise.
33007         (cosh_downward_test_data): Likewise.
33008         (cosh_upward_test_data): Likewise.
33009         * sysdeps/i386/fpu/libm-test-ulps: Update.
33010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33012 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
33014         [BZ #6787]
33015         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
33016         * math/w_exp10f.c (__exp10f): Likewise.
33017         * math/w_exp10l.c (__exp10l): Likewise.
33018         * math/libm-test.inc (exp10_test_data): Add more tests and expect
33019         errno settings in existing tests.
33021         [BZ #14032]
33022         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
33023         precision control set to double precision.
33024         * sysdeps/i386/fpu/w_sqrt.c: New file.
33025         * math/auto-libm-test-in: Add more tests.
33026         * math/auto-libm-test-out: Update.
33028         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
33029         (sqrt_test_tonearest): New function.
33030         (sqrt_towardzero_test_data): New variable.
33031         (sqrt_test_towardzero): New function.
33032         (sqrt_downward_test_data): New variable.
33033         (sqrt_test_downward): New function.
33034         (sqrt_upward_test_data): New variable.
33035         (sqrt_test_upward): New function.
33036         (main): Call the new functions.
33038         * math/gen-auto-libm-tests.c: New file.
33039         * math/auto-libm-test-in: Likewise.
33040         * math/auto-libm-test-out: New generated file.
33041         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
33042         variables.
33043         (%beautify): Add generated representations of zero.
33044         (top level): Set $auto_input and call parse_auto_input.
33045         (beautify): Remove trailing "f" from hex float constants.
33046         (parse_args): Handle XFAIL_TEST.
33047         (convert_condition): New function.
33048         (or_value): Likewise.
33049         (or_cond_value): Likewise.
33050         (generate_testfile): Handle AUTO_TESTS_* lines.
33051         (parse_auto_input): New function.
33052         * math/libm-test.inc (XFAIL_TEST): New macro.
33053         (ERRNO_UNCHANGED): Update value.
33054         (ERRNO_EDOM): Likewise.
33055         (ERRNO_ERANGE): Likewise.
33056         (IGNORE_RESULT): Likewise.
33057         (TEST_COND_flt_32): New macro.
33058         (TEST_COND_dbl_64): Likewise.
33059         (TEST_COND_ldbl_96_intel): Likewise.
33060         (TEST_COND_ldbl_96_m68k): Likewise.
33061         (TEST_COND_ldbl_128): Likewise.
33062         (TEST_COND_ldbl_128ibm): Likewise.
33063         (TEST_COND_long32): Likewise.
33064         (TEST_COND_long64): Likewise.
33065         (TEST_COND_before_rounding): Likewise.
33066         (TEST_COND_after_rounding): Likewise.
33067         (enable_test): Handle XFAIL_TEST flag.
33068         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
33069         with finite results.
33070         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
33071         auto-libm-test-out.
33073 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33074             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33076         [BZ #16214]
33077         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
33078         __tls_get_addr_internal instead of __tls_get_offset in order to
33079         avoid GOT pointer dependency.  Make rtld export
33080         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
33081         __tls_get_addr since we are a __tls_get_offset platform.
33082         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
33083         GOT pointer being set up before.
33084         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
33086 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
33088         * manual/math.texi (Errors in Math Functions): Document accuracy
33089         goals.
33091         [BZ #15004]
33092         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
33093         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
33094         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33095         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33096         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33097         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33098         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33099         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33100         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33101         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33102         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33103         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33104         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33105         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33106         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33107         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33109         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
33110         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
33111         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
33112         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
33113         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
33114         Likewise.
33115         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
33116         Likewise.
33117         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
33118         Likewise.
33119         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
33120         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
33121         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
33122         atomic-feupdateenv and flt-rounds.
33123         * sysdeps/powerpc/nofpu/Versions (libc): Add
33124         __atomic_feholdexcept, __atomic_feclearexcept,
33125         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
33126         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
33127         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
33128         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
33129         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
33130         here.
33131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33132         Update.
33134         * manual/arith.texi (FP Exceptions): Document that exceptions may
33135         not be raised when matherr is used.
33136         (Math Error Reporting): Document overflow in directed rounding
33137         modes.  Document that errno may not be set when finite values are
33138         returned on overflow.  Document intent to set errno on underflow
33139         only for underflow to zero.
33141         [BZ #16271]
33142         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
33143         round-to-nearest then adjust result for other rounding modes.
33144         * include/fenv.h (fegetround): Use libm_hidden_proto.
33145         * math/fegetround.c (fegetround): Use libm_hidden_def.
33146         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
33147         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
33148         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
33149         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
33150         Likewise.
33151         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
33152         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33153         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
33154         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
33156 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33158         [BZ #16077]
33159         * nss/Versions (libnss_files): Add
33160         _nss_files_gethostbyname3_r.
33161         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
33162         New function.
33163         (HOST_DB_LOOKUP): Remove macro.
33164         (_nss_files_gethostbyname_r): Implement function without the
33165         HOST_DB_LOOKUP macro.
33166         (_nss_files_gethostbyname2_r): Likewise.
33168 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
33170         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
33172 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
33174         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
33175         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
33176         warning.
33178 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33180         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
33181         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
33182         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33183         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33184         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
33185         __fe_nomask_env_priv and attribute_hidden.
33186         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
33187         (libc_feupdateenv_test_ppc): Likewise.
33188         (libc_feresetround_ppc): Likewise.
33189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33190         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
33191         compat_symbol macro.
33192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33193         (__fe_nomask_env): Likewise.
33194         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
33196 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33198         * string/Makefile: Remove ifunc tests.
33199         * string/test-string.h: Define TEST_IFUNC.
33200         * string/test-bcopy-ifunc.c: Remove.
33201         * string/test-bzero-ifunc.c: Likewise.
33202         * string/test-memccpy-ifunc.c: Likewise.
33203         * string/test-memchr-ifunc.c: Likewise.
33204         * string/test-memcmp-ifunc.c: Likewise.
33205         * string/test-memcpy-ifunc.c: Likewise.
33206         * string/test-memmem-ifunc.c: Likewise.
33207         * string/test-memmove-ifunc.c: Likewise.
33208         * string/test-mempcpy-ifunc.c: Likewise.
33209         * string/test-memrchr-ifunc.c: Likewise.
33210         * string/test-memset-ifunc.c: Likewise.
33211         * string/test-rawmemchr-ifunc.c: Likewise.
33212         * string/test-stpcpy-ifunc.c: Likewise.
33213         * string/test-stpncpy-ifunc.c: Likewise.
33214         * string/test-strcasecmp-ifunc.c: Likewise.
33215         * string/test-strcasestr-ifunc.c: Likewise.
33216         * string/test-strcat-ifunc.c: Likewise.
33217         * string/test-strchr-ifunc.c: Likewise.
33218         * string/test-strchrnul-ifunc.c: Likewise.
33219         * string/test-strcmp-ifunc.c: Likewise.
33220         * string/test-strcpy-ifunc.c: Likewise.
33221         * string/test-strcspn-ifunc.c: Likewise.
33222         * string/test-strlen-ifunc.c: Likewise.
33223         * string/test-strncasecmp-ifunc.c: Likewise.
33224         * string/test-strncat-ifunc.c: Likewise.
33225         * string/test-strncmp-ifunc.c: Likewise.
33226         * string/test-strncpy-ifunc.c: Likewise.
33227         * string/test-strnlen-ifunc.c: Likewise.
33228         * string/test-strpbrk-ifunc.c: Likewise.
33229         * string/test-strrchr-ifunc.c: Likewise.
33230         * string/test-strspn-ifunc.c: Likewise.
33231         * string/test-strstr-ifunc.c: Likewise.
33233 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33235         * benchtests/Makefile: Remove ifunc tests.
33236         * benchtests/bench-string.h: Define TEST_IFUNC.
33237         * benchtests/bench-bcopy-ifunc.c: Remove.
33238         * benchtests/bench-bzero-ifunc.c: Likewise.
33239         * benchtests/bench-memccpy-ifunc.c: Likewise.
33240         * benchtests/bench-memchr-ifunc.c: Likewise.
33241         * benchtests/bench-memcmp-ifunc.c: Likewise.
33242         * benchtests/bench-memcpy-ifunc.c: Likewise.
33243         * benchtests/bench-memmem-ifunc.c: Likewise.
33244         * benchtests/bench-memmove-ifunc.c: Likewise.
33245         * benchtests/bench-mempcpy-ifunc.c: Likewise.
33246         * benchtests/bench-memrchr-ifunc.c: Likewise.
33247         * benchtests/bench-memset-ifunc.c: Likewise.
33248         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
33249         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
33250         * benchtests/bench-stpcpy-ifunc.c: Likewise.
33251         * benchtests/bench-stpncpy-ifunc.c: Likewise.
33252         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
33253         * benchtests/bench-strcasestr-ifunc.c: Likewise.
33254         * benchtests/bench-strcat-ifunc.c: Likewise.
33255         * benchtests/bench-strchr-ifunc.c: Likewise.
33256         * benchtests/bench-strchrnul-ifunc.c: Likewise.
33257         * benchtests/bench-strcmp-ifunc.c: Likewise.
33258         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
33259         * benchtests/bench-strcpy-ifunc.c: Likewise.
33260         * benchtests/bench-strcspn-ifunc.c: Likewise.
33261         * benchtests/bench-strlen-ifunc.c: Likewise.
33262         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
33263         * benchtests/bench-strncat-ifunc.c: Likewise.
33264         * benchtests/bench-strncmp-ifunc.c: Likewise.
33265         * benchtests/bench-strncpy-ifunc.c: Likewise.
33266         * benchtests/bench-strnlen-ifunc.c: Likewise.
33267         * benchtests/bench-strpbrk-ifunc.c: Likewise.
33268         * benchtests/bench-strrchr-ifunc.c: Likewise.
33269         * benchtests/bench-strsep-ifunc.c: Likewise.
33270         * benchtests/bench-strspn-ifunc.c: Likewise.
33271         * benchtests/bench-strstr-ifunc.c: Likewise.
33273 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33275         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
33277 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33279         * resolv/netdb.h: Use __glibc_reserved instead __unused.
33280         * rt/aio.h: Likewise.
33281         * sysdeps/gnu/bits/utmp.h: Likewise.
33282         * sysdeps/gnu/bits/utmpx.h: Likewise.
33283         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33284         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
33285         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
33286         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
33287         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
33288         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
33289         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
33290         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
33291         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
33292         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
33293         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
33294         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
33295         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
33296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
33297         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33298         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
33299         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
33300         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
33301         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
33302         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
33303         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
33304         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
33305         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
33306         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33307         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
33308         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33309         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
33310         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
33311         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
33312         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
33313         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
33314         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
33315         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
33316         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33317         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
33318         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
33319         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
33320         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
33321         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
33322         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
33323         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
33324         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33326 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
33328         [BZ #16245]
33329         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
33330         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
33332 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
33334         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
33335         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
33336         Likewise.
33338 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33340         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
33341         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
33342         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
33343         (__fesetround): Remove define.
33344         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
33345         rounding and exceptions handling.
33346         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
33347         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
33348         (__fe_nomask_env): Likewise.
33349         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
33350         __fegetround instead of fegetround.
33351         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33352         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
33354 2013-11-21  Roland McGrath  <roland@hack.frob.com>
33356         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
33357         it's there.
33359         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
33361 2013-11-21  Meador Inge  <meadori@codesourcery.com>
33363         [BZ #11157]
33364         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
33365         (encrypt_r): Likewise.
33366         * malloc/obstack.h (obstack_free): Likewise.
33367         * posix/unistd.h (encrypt): Likewise.
33369 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
33371         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
33372         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
33373         DL_CALL_DT_FINI() that call the functions directly.
33374         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
33375         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
33376         * elf/dl-fini.c: Likewise.
33378 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
33380         * malloc/hooks.c (memalign_check): Add alignment rounding.
33381         * malloc/malloc.c (_mid_memalign): New function.
33382         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
33383         Implement by calling _mid_memalign.
33384         * manual/probes.texi (Memory Allocation Probes): Remove
33385         memory_valloc_retry and memory_pvalloc_retry.
33387 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33389         * locale/programs/locarchive.c (open_archive): Add const
33390         qualifier to ARCHIVEFNAME and copy default fname to
33391         DEFAULT_FNAME.
33393         [BZ #15601]
33394         * libio/tst-widetext.input: Rename Oriya to Odia.
33395         * locale/iso-639.def: Likewise.
33397         * manual/probes.texi (Mathematical Function Probes): Add
33398         documentation for sin, cos, asin and acos probes.
33399         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
33400         (__sin32): Add slowasin probe.
33401         (__cos32): Add slowacos probe.
33402         (__mpsin): Add slowsin probe.
33403         (__mpcos): Add slowcos probe.
33405 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
33407         [BZ #15483]
33408         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
33409         thread-local __sim_exceptions_thread and global
33410         __sim_exceptions_global.
33411         (__sim_disabled_exceptions): Change to thread-local
33412         __sim_disabled_exceptions_thread and global
33413         __sim_disabled_exceptions_global.
33414         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
33415         and global __sim_round_mode_global.
33416         (__simulate_exceptions): Use thread-local floating-point state and
33417         set global state from it as needed.
33418         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
33419         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
33420         __sim_round_mode_thread.
33421         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
33422         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
33423         and global __sim_exceptions_global.
33424         (__sim_disabled_exceptions): Change to thread-local
33425         __sim_disabled_exceptions_thread and global
33426         __sim_disabled_exceptions_global.
33427         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
33428         and global __sim_round_mode_global.
33429         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
33430         (SIM_SET_GLOBAL): Likewise.
33431         * sysdeps/powerpc/soft-fp/sfp-machine.h
33432         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
33433         __sim_round_mode_thread.
33434         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
33435         __sim_disabled_exceptions_thread.
33436         (__sim_exceptions): Change to __sim_exceptions_thread.
33437         (__sim_disabled_exceptions): Change to
33438         __sim_disabled_exceptions_thread.
33439         (__sim_round_mode): Change to __sim_round_mode_thread.
33440         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
33441         thread-local floating-point state and set global state from it as
33442         needed.
33443         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
33444         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
33445         (__sim_disabled_exceptions): Remove extern declaration.
33446         (feenableexcept): Use thread-local floating-point state and set
33447         global state from it as needed.
33448         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
33449         extern declaration.
33450         (__sim_disabled_exceptions): Likewise.
33451         (__sim_round_mode): Likewise.
33452         (__fegetenv): Use thread-local floating-point state.
33453         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
33454         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
33455         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
33456         floating-point state and set global state from it as needed.
33457         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
33458         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33459         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
33460         Likewise.
33461         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
33462         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
33463         Likewise.
33464         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
33465         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
33466         Use __sim_round_mode_thread.
33467         * math/test-fenv-tls.c: New file.
33468         * math/Makefile (tests): Add test-fenv-tls.
33469         ($(objpfx)test-fenv-tls): Depend on
33470         $(common-objpfx)nptl/libpthread.so.
33472 2013-11-19  Andreas Schwab  <schwab@suse.de>
33474         * locale/programs/locale.c (show_info): Decode wordarray elements.
33475         * locale/categories.def (LC_MONETARY): Add element for
33476         _NL_MONETARY_CRNCYSTR.
33477         * locale/C-monetary.c (conversion_rate): New variable.
33478         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
33479         element.
33481 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
33483         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
33484         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
33486 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33488         * elf/Makefile (tst-auxv): New test.
33489         * elf/tst-auxv.c: New
33490         * elf/rtld.c (dl_main): Adjust AT_EXECFN
33492 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
33494         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
33495         (hidden_proto): Caller changed.
33496         (hidden_tls_proto): New macro.
33497         (libc_hidden_tls_proto): Likewise.
33498         (rtld_hidden_tls_proto): Likewise.
33499         (libm_hidden_tls_proto): Likewise.
33500         (libresolv_hidden_tls_proto): Likewise.
33501         (librt_hidden_tls_proto): Likewise.
33502         (libdl_hidden_tls_proto): Likewise.
33503         (libnss_files_hidden_tls_proto): Likewise.
33504         (libnsl_hidden_tls_proto): Likewise.
33505         (libnss_nisplus_hidden_tls_proto): Likewise.
33506         (libutil_hidden_tls_proto): Likewise.
33508 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
33510         [BZ #10253]
33511         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
33512         (decompose_rpath): Defer expansion to fillin_rpath.
33513         (_dl_init_paths): Pass linkmap to fillin_rpath.
33515 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33517         * benchtests/Makefile: Add strsep.
33518         * benchtests/bench-strsep.c: New file: strsep benchtest.
33519         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
33521 2013-11-18  Andreas Schwab  <schwab@suse.de>
33523         * locale/programs/locale.c (show_info) [case byte]: Check for
33524         '\377' instead of '\177'.
33525         * locale/C-monetary.c (not_available): Always use "\377".
33526         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
33527         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
33528         detect unavailable sign_posn locale elements.
33529         * locale/localeconv.c (__localeconv): For grouping and
33530         mon_grouping handle "\177" and "\377" like no grouping.
33531         (INT_ELEM): New macro.  Use it to set all numeric members.
33532         * locale/programs/ld-monetary.c (monetary_read)
33533         <tok_mon_grouping>: Normalize single -1 to the empty string.
33534         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
33535         Likewise.
33537 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
33539         [BZ #16055]
33540         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
33541         when we match (nil).
33542         * stdio-common/tst-sscanf.c (struct test): Add testcase.
33544 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
33546         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
33547         (NO_TEST_INLINE): Update value.
33548         (ERRNO_UNCHANGED): Likewise.
33549         (ERRNO_EDOM): Likewise.
33550         (ERRNO_ERANGE): Likewise.
33551         (IGNORE_RESULT): Likewise.
33552         (check_float_internal): Check signs of NaN results if
33553         TEST_NAN_SIGN used.
33554         (check_complex): Pass TEST_NAN_SIGN flag through to second
33555         check_float_internal call.
33556         (copysign_test_data): Add tests with quiet NaNs as second
33557         argument.  Use TEST_NAN_SIGN.
33558         (fabs_test_data): Add test of negative quiet NaN argument.  Use
33559         TEST_NAN_SIGN.
33560         (signbit_test_data): Add tests of quiet NaN argument.
33561         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
33563         * math/gen-libm-test.pl (show_exceptions): Take extra argument
33564         $ignore_result.
33565         (parse_args): Handle function results specified as IGNORE.
33566         * math/libm-test.inc (IGNORE_RESULT): New macro.
33567         (check_float_internal): Do not check numerical result if flag
33568         IGNORE_RESULT set.
33569         (check_complex): Pass through IGNORE_RESULT to second
33570         check_float_internal call.
33571         (check_int): Do not check numerical result if flag IGNORE_RESULT
33572         set.
33573         (check_long): Likewise.
33574         (check_bool): Likewise.
33575         (check_longlong): Likewise.
33576         (lrint_test_data): Add tests of infinite and NaN arguments.
33577         (lrint_tonearest_test_data): Likewise.
33578         (lrint_towardzero_test_data): Likewise.
33579         (lrint_downward_test_data): Likewise.
33580         (lrint_upward_test_data): Likewise.
33581         (llrint_test_data): Likewise.
33582         (llrint_tonearest_test_data): Likewise.
33583         (llrint_towardzero_test_data): Likewise.
33584         (llrint_downward_test_data): Likewise.
33585         (llrint_upward_test_data): Likewise.
33586         (lround_test_data): Likewise.
33587         (llround_test_data): Likewise.
33589         * math/libm-test.inc (NO_TEST_INLINE): New macro.
33590         (ERRNO_UNCHANGED): Update value.
33591         (ERRNO_EDOM): Likewise.
33592         (ERRNO_ERANGE): Likewise.
33593         (NO_TEST_INLINE_FLOAT): New macro.
33594         (NO_TEST_INLINE_DOUBLE): Likewise.
33595         (enable_test): New function.
33596         (RUN_TEST_f_f): Check enable_test before running test.
33597         (RUN_TEST_2_f): Likewise.
33598         (RUN_TEST_fff_f): Likewise.
33599         (RUN_TEST_c_f): Likewise.
33600         (RUN_TEST_f_f1): Likewise.
33601         (RUN_TEST_fF_f1): Likewise.
33602         (RUN_TEST_fI_f1): Likewise.
33603         (RUN_TEST_ffI_f1): Likewise.
33604         (RUN_TEST_c_c): Likewise.
33605         (RUN_TEST_cc_c): Likewise.
33606         (RUN_TEST_f_i): Likewise.
33607         (RUN_TEST_f_i_tg): Likewise.
33608         (RUN_TEST_ff_i_tg): Likewise.
33609         (RUN_TEST_f_b): Likewise.
33610         (RUN_TEST_f_b_tg): Likewise.
33611         (RUN_TEST_f_l): Likewise.
33612         (RUN_TEST_f_L): Likewise.
33613         (RUN_TEST_fFF_11): Likewise.
33614         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
33615         conditionals.
33616         (cosh_test_data): Likewise.
33617         (exp_test_data): Likewise.
33618         (expm1_test_data): Likewise.
33619         (hypot_test_data): Likewise.
33620         (pow_test_data): Likewise.
33621         (sinh_test_data): Likewise.
33622         (tanh_test_data): Likewise.
33623         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
33624         flags argument.
33626         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
33627         tests with quiet NaN input and output.
33628         (acosh_test_data): Likewise.
33629         (asin_test_data): Likewise.
33630         (asinh_test_data): Likewise.
33631         (atan_test_data): Likewise.
33632         (atanh_test_data): Likewise.
33633         (atan2_test_data): Likewise.
33634         (cbrt_test_data): Likewise.
33635         (cos_test_data): Likewise.
33636         (cosh_test_data): Likewise.
33637         (erf_test_data): Likewise.
33638         (erfc_test_data): Likewise.
33639         (exp_test_data): Likewise.
33640         (exp10_test_data): Likewise.
33641         (exp2_test_data): Likewise.
33642         (expm1_test_data): Likewise.
33643         (hypot_test_data): Likewise.
33644         (j0_test_data): Likewise.
33645         (j1_test_data): Likewise.
33646         (jn_test_data): Likewise.
33647         (lgamma_test_data): Likewise.
33648         (log_test_data): Likewise.
33649         (log10_test_data): Likewise.
33650         (log1p_test_data): Likewise.
33651         (log2_test_data): Likewise.
33652         (pow_test_data): Likewise.
33653         (scalb_test_data): Likewise.
33654         (sin_test_data): Likewise.
33655         (sincos_test_data): Likewise.
33656         (sinh_test_data): Likewise.
33657         (tan_test_data): Likewise.
33658         (tanh_test_data): Likewise.
33659         (tgamma_test_data): Likewise.
33660         (y0_test_data): Likewise.
33661         (y1_test_data): Likewise.
33662         (yn_test_data): Likewise.
33664         [BZ #16167]
33665         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
33666         argument being NaN and avoid computations with second argument in
33667         that case.
33668         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33669         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33670         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33672 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
33674         * locale/iso-639.def: Add Chitwani Tharu (the).
33676 2013-11-14  Andreas Schwab  <schwab@suse.de>
33678         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
33679         word instead of empty string.
33681 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33684         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
33685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33686         (__fe_nomask_env): Likewise.
33688 2013-11-13  Steve Ellcey  <sellcey@mips.com>
33690         * benchtests/bench-timing.h: Include time.h.
33692 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
33694         [BZ #15997]
33695         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
33696         to 3.4.0 for x32.
33697         * sysdeps/unix/sysv/linux/configure: Regenerated.
33699 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
33701         [BZ #16151]
33702         * stdlib/strtod_l.c (round_and_return): Do not consider
33703         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
33704         exponent one less than half the least subnormal exponent.
33705         * stdlib/test-strtod-round-data: Add more tests.
33706         * stdlib/tst-strtod-round.c (tests): Regenerated.
33708 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33710         [BZ #14143]
33711         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
33712         (__fe_mask_env): Likewise.
33713         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
33714         libm_hidden_proto and add function prototype.
33715         (__fe_mask_env): Add function prototype.
33716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33717         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
33718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33719         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
33720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33721         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
33723 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33725         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
33726         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
33728 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33730         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
33731         of htab_find_slot().
33733 2013-11-11  David S. Miller  <davem@davemloft.net>
33735         [BZ #16150]
33736         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
33737         symbol in the non-vis3 case in static builds.
33738         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
33739         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
33740         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
33741         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
33743 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
33745         [BZ #387]
33746         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
33747         it is empty.
33749 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33751         * benchtests/Makefile: Add bench-strtod.
33752         * benchtests/bench-strtod.c: New file: strtod benchtest
33754 2013-11-11  Andreas Schwab  <schwab@suse.de>
33756         [BZ #16153]
33757         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
33758         terminating NUL in key length.
33760 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33762         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
33763         Add artificial ODP entry for vDSO symbol for PPC64.
33764         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
33765         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
33767 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
33769         [BZ #15374]
33770         * nss/getent.c (services_keys): Recognize services starting with digit.
33772 2013-11-06  David S. Miller  <davem@davemloft.net>
33774         [BZ #15985]
33775         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
33776         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
33778 2013-11-06  Will Newton  <will.newton@linaro.org>
33780         * manual/memory.texi (Malloc Examples): Remove register
33781         keyword from examples.
33783 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
33785         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
33787 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
33789         [BZ #6981]
33790         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
33791         depending on [__GCC_IEC_559 > 0].
33792         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
33793         depending on [__GCC_IEC_559_COMPLEX > 0].
33795 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
33797         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
33798         to iso-639.def.
33800 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
33802         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
33804 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
33806         [BZ #16112]
33807         * malloc/malloc (malloc_info): Do not handle first bin as
33808         special case.
33810 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
33812         * locale/iso-639.def: Add Central Nahuatl (nhn).
33814 2013-11-01  Bruno Haible  <bruno@clisp.org>
33816         [BZ #7003]
33817         * manual/math.texi (BSD Random): Specify range upper bound as
33818         in POSIX.
33820 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
33822         * locale/iso-639.def: Add Meadow Mari (mhr).
33824 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
33826         [BZ #14752], [BZ #15763]
33827         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
33828         Validate name.
33829         * rt/tst_shm.c: Add test for escaping directory.
33831 2013-10-31  Andreas Schwab  <schwab@suse.de>
33833         [BZ #15917]
33834         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
33835         followed by 'x' as part of digit sequence.
33836         * stdio-common/tst-sscanf.c (double_tests2): New tests.
33838 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
33840         [BZ #16037]
33841         * configure.ac: allow GNU Make 4.0 and greater.
33842         * configure: Regenerated.
33844 2013-10-30  Will Newton  <will.newton@linaro.org>
33846         [BZ #16038]
33847         * malloc/hooks.c (memalign_check): Limit alignment to the
33848         maximum representable power of two.
33849         * malloc/malloc.c (__libc_memalign): Likewise.
33850         * malloc/tst-memalign.c (do_test): Add test for very
33851         large alignment values.
33852         * malloc/tst-posix_memalign.c (do_test): Likewise.
33854 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
33856         [BZ #11087]
33857         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
33858         (munmap_chunk): Likewise.
33859         (mremap_chunk): Likewise.
33861 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
33863         [BZ #15799]
33864         * stdlib/div.c (div): Remove obsolete code.
33865         * stdlib/ldiv.c (ldiv): Likewise.
33866         * stdlib/lldiv.c (lldiv): Likewise.
33868 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33870         [BZ #16071]
33871         * nss/nss_files/files-XXX.c (get_contents_ret): New
33872         enumerator.
33873         (get_contents): New function.
33874         (internal_getent): Use it.  Expand size of LINEBUFLEN.
33876 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
33878         * configure.in: Moved to ...
33879         * configure.ac: ... here. Change reference to configure.in
33880         to configure.ac.
33881         * sysdeps/arm/preconfigure.ac: ... here.
33882         configure.in to configure.ac.
33883         * sysdeps/gnu/configure.in: Moved to ...
33884         * sysdeps/gnu/configure.ac: ... here.
33885         * sysdeps/i386/configure.in: Moved to ...
33886         * sysdeps/i386/configure.ac: ... here.
33887         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
33888         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
33889         * sysdeps/mach/configure.in: Moved to ...
33890         * sysdeps/mach/configure.ac: ... here.
33891         * sysdeps/mach/hurd/configure.in: Moved to ...
33892         * sysdeps/mach/hurd/configure.ac: ... here.
33893         * sysdeps/powerpc/configure.in: Moved to ...
33894         * sysdeps/powerpc/configure.ac: ... here.
33895         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
33896         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
33897         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
33898         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
33899         * sysdeps/s390/s390-32/configure.in: Moved to ...
33900         * sysdeps/s390/s390-32/configure.ac: ... here.
33901         * sysdeps/s390/s390-64/configure.in: Moved to ...
33902         * sysdeps/s390/s390-64/configure.ac: ... here.
33903         * sysdeps/sh/configure.in: Moved to ...
33904         * sysdeps/sh/configure.ac: ... here.
33905         * sysdeps/sparc/configure.in: Moved to ...
33906         * sysdeps/sparc/configure.ac: ... here.
33907         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
33908         * sysdeps/unix/sysv/linux/configure.ac: ... here.
33909         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
33910         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
33911         * sysdeps/x86_64/configure.in: Moved to ...
33912         * sysdeps/x86_64/configure.ac: ... here.
33913         * sysdeps/x86_64/preconfigure.in: Moved to ...
33914         * sysdeps/x86_64/preconfigure.ac: ... here.
33915         * aclocal.m4: Change reference to configure.in to configure.ac.
33916         * config.h.in: Likewise.
33917         * manual/install.texi: Likewise.
33918         * manual/maint.texi: Likewise.
33919         * Makefile: Likewise.
33920         * malloc/Makefile: Likewise.
33921         * nscd/Makefile: Likewise.
33922         * Makeconfig: Change reference to configure.in and
33923         preconfigure.in to configure.ac and preconfigure.ac
33924         respectively.
33925         * INSTALL: Regenerated.
33926         * configure: Likewise.
33927         * sysdeps/gnu/configure: Likewise.
33928         * sysdeps/i386/configure: Likewise.
33929         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
33930         * sysdeps/mach/configure: Likewise.
33931         * sysdeps/mach/hurd/configure: Likewise.
33932         * sysdeps/powerpc/configure: Likewise.
33933         * sysdeps/powerpc/powerpc32/configure: Likewise.
33934         * sysdeps/powerpc/powerpc64/configure: Likewise.
33935         * sysdeps/s390/s390-32/configure: Likewise.
33936         * sysdeps/s390/s390-64/configure: Likewise.
33937         * sysdeps/sh/configure: Likewise.
33938         * sysdeps/sparc/configure: Likewise.
33939         * sysdeps/unix/sysv/linux/configure: Likewise.
33940         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
33941         * sysdeps/x86_64/configure: Likewise.
33942         * sysdeps/x86_64/preconfigure: Likewise.
33944 2013-10-29  Andreas Schwab  <schwab@suse.de>
33946         * stdio-common/Makefile (tst-swscanf-ENV): Define.
33948 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33950         * benchtests/pow-inputs: Add new inputs.
33952         * benchtests/exp-inputs: Add new inputs.
33954         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
33955         conditional check for return value.
33956         (__cos32): Likewise.
33958 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33960         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
33961         to provide a boost for large inputs with word alignment.
33962         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
33963         implementation based on optimized PPC64 strcpy.
33964         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
33965         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
33966         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
33967         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
33969 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
33971         [BZ #2801]
33972         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
33974 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
33976         [BZ #14876]
33977         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
33978         * time/tst-strptime.c (day_tests): Add testcase.
33980 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
33982         [BZ #14029]
33983         * manual/pattern.texi: Acknowledge that fnmatch can fail.
33985 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
33987         [BZ #16074]
33988         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
33989         MAP_FAILED on error.
33991 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33993         [BZ #16072]
33994         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
33995         heap for large requests.
33997 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
33999         [BZ #9954]
34000         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
34001         result if the result has no associated interface.
34002         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
34003         interface for all 127.X.Y.Z addresses.
34005 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
34007         * locale/iso-639.def: Add Ligurian (lij)
34009 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
34011         [BZ #15825]
34012         * sunrpc/rpc_main.c: Document rpcgen -5.
34014 2013-10-19  Michael Stahl  <mstahl@redhat.com>
34016         * elf/rtld.c (do_preload): Print the reason why preloading failed.
34018 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
34020         [BZ #10278]
34021         * posix/glob.c: Match only directories when trailing slash is present.
34022         * posix/tst-gnuglob.c (my_opendir): Do not open files.
34023         (main): Add testcase.
34025 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
34027         [BZ #15670]
34028         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
34030 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
34032         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
34033         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
34034         AUTH_DES and cindex for FIPS 140-2.
34035         (DES Encryption): Add cindex FIPS 46-3.
34037         * locale/locarchive.h (struct locarhandle): Add fname.
34038         * locale/programs/localedef.c (main): Pass ARGV[remaining]
34039         if an optional argument was specified to --list-archive,
34040         otherwise NULL.
34041         * locale/programs/locarchive.c (show_archive_content): Take new
34042         argument fname and pass it via ah.fname to open_archive.
34043         * locale/programs/localedef.h: Update decl.
34044         (open_archive): If AH->fname is non-null, open that file
34045         rather than the default file name, and don't ignore ENOENT.
34046         (create_archive): Set AH.fname to NULL.
34047         (delete_locales_from_archive): Likewise.
34048         (add_locales_to_archive): Likewise.
34049         * locale/programs/locfile.c (write_all_categories): Likewise.
34051 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
34052             Aldy Hernandez  <aldyh@redhat.com>
34054         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
34055         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
34056         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
34057         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
34058         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
34059         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
34060         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
34061         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
34062         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
34063         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
34064         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
34065         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
34066         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
34067         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
34068         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
34069         Likewise.
34070         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
34071         Likewise.
34072         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
34073         Likewise.
34074         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
34075         Likewise.
34076         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
34077         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
34078         Likewise.
34079         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
34080         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
34081         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
34082         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
34083         Likewise.
34084         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
34085         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
34086         * sysdeps/powerpc/preconfigure: Likewise.
34087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
34088         Likewise.
34089         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
34090         Replace contents of file by #include of <fenv_libc.h>.
34091         * sysdeps/powerpc/soft-fp/sfp-machine.h
34092         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
34093         and <sys/prctl.h>.
34094         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
34095         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
34096         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
34097         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
34098         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
34099         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
34100         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
34101         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
34102         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
34103         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
34104         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
34105         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
34106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34107         Allow copysignl PLT reference to be missing.
34109 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
34110             Joseph Myers  <joseph@codesourcery.com
34112         [BZ #15948]
34113         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
34114         single character.
34115         (add_to_tablewc): Assert sequence of wide characters is nonempty.
34117 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34119         * elf/tst-tls-dlinfo.c: Don't include tls.h.
34120         * elf/tst-tls1.c: Likewise.
34121         * elf/tst-tls10.h: Likewise.
34122         * elf/tst-tls14.c: Likewise.
34123         * elf/tst-tls2.c: Likewise.
34124         * elf/tst-tls3.c: Likewise.
34125         * elf/tst-tls4.c: Likewise.
34126         * elf/tst-tls5.c: Likewise.
34127         * elf/tst-tls6.c: Likewise.
34128         * elf/tst-tls7.c: Likewise.
34129         * elf/tst-tls8.c: Likewise.
34130         * elf/tst-tls9.c: Likewise.
34131         * elf/tst-tlsmod1.c: Likewise.
34132         * elf/tst-tlsmod13.c: Likewise.
34133         * elf/tst-tlsmod13a.c: Likewise.
34134         * elf/tst-tlsmod14a.c: Likewise.
34135         * elf/tst-tlsmod16a.c: Likewise.
34136         * elf/tst-tlsmod16b.c: Likewise.
34137         * elf/tst-tlsmod2.c: Likewise.
34138         * elf/tst-tlsmod3.c: Likewise.
34139         * elf/tst-tlsmod4.c: Likewise.
34140         * elf/tst-tlsmod5.c: Likewise.
34141         * elf/tst-tlsmod6.c: Likewise.
34143 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
34145         [BZ #12486]
34146         * malloc/malloc.c: remove checks for statistics.
34148 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
34150         [BZ #15277]
34151         * inet/inet_net.c (inet_network): Detect additional invalid strings.
34152         * inet/tst-network.c: Add testcase.
34154 2013-10-17  Andreas Schwab  <schwab@suse.de>
34156         [BZ #15218]
34157         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
34158         to determine canonical name.
34160 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
34162         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
34163         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
34164         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34165         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34166         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34167         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34168         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34169         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34170         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34171         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34172         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34173         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34174         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34175         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34176         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34177         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34178         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34179         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34180         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34181         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34182         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34183         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34184         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34185         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
34186         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
34187         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34188         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34189         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
34190         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34191         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
34192         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34193         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34194         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34195         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34196         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34197         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34198         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34199         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34200         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34201         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34202         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34203         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34204         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34205         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34206         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34207         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34208         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34209         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34210         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34211         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34212         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34213         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34214         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34215         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34216         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34217         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34218         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34219         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34221 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
34223         [BZ #16041]
34224         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
34225         make result into a quiet NaN.
34227 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
34229         * soft-fp/adddf3.c: Fix horizontal whitespace.
34230         * soft-fp/addsf3.c: Likewise.
34231         * soft-fp/addtf3.c: Likewise.
34232         * soft-fp/divdf3.c: Likewise.
34233         * soft-fp/divsf3.c: Likewise.
34234         * soft-fp/divtf3.c: Likewise.
34235         * soft-fp/double.h: Likewise.
34236         * soft-fp/eqdf2.c: Likewise.
34237         * soft-fp/eqsf2.c: Likewise.
34238         * soft-fp/eqtf2.c: Likewise.
34239         * soft-fp/extenddftf2.c: Likewise.
34240         * soft-fp/extended.h: Likewise.
34241         * soft-fp/extendsfdf2.c: Likewise.
34242         * soft-fp/extendsftf2.c: Likewise.
34243         * soft-fp/extendxftf2.c: Likewise.
34244         * soft-fp/fixdfdi.c: Likewise.
34245         * soft-fp/fixdfsi.c: Likewise.
34246         * soft-fp/fixdfti.c: Likewise.
34247         * soft-fp/fixsfdi.c: Likewise.
34248         * soft-fp/fixsfsi.c: Likewise.
34249         * soft-fp/fixsfti.c: Likewise.
34250         * soft-fp/fixtfdi.c: Likewise.
34251         * soft-fp/fixtfsi.c: Likewise.
34252         * soft-fp/fixtfti.c: Likewise.
34253         * soft-fp/fixunsdfdi.c: Likewise.
34254         * soft-fp/fixunsdfsi.c: Likewise.
34255         * soft-fp/fixunsdfti.c: Likewise.
34256         * soft-fp/fixunssfdi.c: Likewise.
34257         * soft-fp/fixunssfsi.c: Likewise.
34258         * soft-fp/fixunssfti.c: Likewise.
34259         * soft-fp/fixunstfdi.c: Likewise.
34260         * soft-fp/fixunstfsi.c: Likewise.
34261         * soft-fp/fixunstfti.c: Likewise.
34262         * soft-fp/floatdidf.c: Likewise.
34263         * soft-fp/floatdisf.c: Likewise.
34264         * soft-fp/floatditf.c: Likewise.
34265         * soft-fp/floatsidf.c: Likewise.
34266         * soft-fp/floatsisf.c: Likewise.
34267         * soft-fp/floatsitf.c: Likewise.
34268         * soft-fp/floattidf.c: Likewise.
34269         * soft-fp/floattisf.c: Likewise.
34270         * soft-fp/floattitf.c: Likewise.
34271         * soft-fp/floatundidf.c: Likewise.
34272         * soft-fp/floatundisf.c: Likewise.
34273         * soft-fp/floatunditf.c: Likewise.
34274         * soft-fp/floatunsidf.c: Likewise.
34275         * soft-fp/floatunsisf.c: Likewise.
34276         * soft-fp/floatunsitf.c: Likewise.
34277         * soft-fp/floatuntidf.c: Likewise.
34278         * soft-fp/floatuntisf.c: Likewise.
34279         * soft-fp/floatuntitf.c: Likewise.
34280         * soft-fp/fmadf4.c: Likewise.
34281         * soft-fp/fmasf4.c: Likewise.
34282         * soft-fp/fmatf4.c: Likewise.
34283         * soft-fp/gedf2.c: Likewise.
34284         * soft-fp/gesf2.c: Likewise.
34285         * soft-fp/getf2.c: Likewise.
34286         * soft-fp/ledf2.c: Likewise.
34287         * soft-fp/lesf2.c: Likewise.
34288         * soft-fp/letf2.c: Likewise.
34289         * soft-fp/muldf3.c: Likewise.
34290         * soft-fp/mulsf3.c: Likewise.
34291         * soft-fp/multf3.c: Likewise.
34292         * soft-fp/negdf2.c: Likewise.
34293         * soft-fp/negsf2.c: Likewise.
34294         * soft-fp/negtf2.c: Likewise.
34295         * soft-fp/op-1.h: Likewise.
34296         * soft-fp/op-2.h: Likewise.
34297         * soft-fp/op-4.h: Likewise.
34298         * soft-fp/op-8.h: Likewise.
34299         * soft-fp/op-common.h: Likewise.
34300         * soft-fp/quad.h: Likewise.
34301         * soft-fp/single.h: Likewise.
34302         * soft-fp/soft-fp.h: Likewise.
34303         * soft-fp/sqrtdf2.c: Likewise.
34304         * soft-fp/sqrtsf2.c: Likewise.
34305         * soft-fp/sqrttf2.c: Likewise.
34306         * soft-fp/subdf3.c: Likewise.
34307         * soft-fp/subsf3.c: Likewise.
34308         * soft-fp/subtf3.c: Likewise.
34309         * soft-fp/truncdfsf2.c: Likewise.
34310         * soft-fp/trunctfdf2.c: Likewise.
34311         * soft-fp/trunctfsf2.c: Likewise.
34312         * soft-fp/trunctfxf2.c: Likewise.
34313         * soft-fp/unorddf2.c: Likewise.
34314         * soft-fp/unordsf2.c: Likewise.
34315         * soft-fp/unordtf2.c: Likewise.
34317 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
34319         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
34320         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
34322 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
34324         * elf/dl-libc.c: Clear initfini list after freeing.
34326 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
34328         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
34329         * soft-fp/addsf3.c: Likewise.
34330         * soft-fp/addtf3.c: Likewise.
34331         * soft-fp/divdf3.c: Likewise.
34332         * soft-fp/divsf3.c: Likewise.
34333         * soft-fp/divtf3.c: Likewise.
34334         * soft-fp/double.h: Likewise.
34335         * soft-fp/eqdf2.c: Likewise.
34336         * soft-fp/eqsf2.c: Likewise.
34337         * soft-fp/eqtf2.c: Likewise.
34338         * soft-fp/extenddftf2.c: Likewise.
34339         * soft-fp/extended.h: Likewise.
34340         * soft-fp/extendsfdf2.c: Likewise.
34341         * soft-fp/extendsftf2.c: Likewise.
34342         * soft-fp/extendxftf2.c: Likewise.
34343         * soft-fp/fixdfdi.c: Likewise.
34344         * soft-fp/fixdfsi.c: Likewise.
34345         * soft-fp/fixdfti.c: Likewise.
34346         * soft-fp/fixsfdi.c: Likewise.
34347         * soft-fp/fixsfsi.c: Likewise.
34348         * soft-fp/fixsfti.c: Likewise.
34349         * soft-fp/fixtfdi.c: Likewise.
34350         * soft-fp/fixtfsi.c: Likewise.
34351         * soft-fp/fixtfti.c: Likewise.
34352         * soft-fp/fixunsdfdi.c: Likewise.
34353         * soft-fp/fixunsdfsi.c: Likewise.
34354         * soft-fp/fixunsdfti.c: Likewise.
34355         * soft-fp/fixunssfdi.c: Likewise.
34356         * soft-fp/fixunssfsi.c: Likewise.
34357         * soft-fp/fixunssfti.c: Likewise.
34358         * soft-fp/fixunstfdi.c: Likewise.
34359         * soft-fp/fixunstfsi.c: Likewise.
34360         * soft-fp/fixunstfti.c: Likewise.
34361         * soft-fp/floatdidf.c: Likewise.
34362         * soft-fp/floatdisf.c: Likewise.
34363         * soft-fp/floatditf.c: Likewise.
34364         * soft-fp/floatsidf.c: Likewise.
34365         * soft-fp/floatsisf.c: Likewise.
34366         * soft-fp/floatsitf.c: Likewise.
34367         * soft-fp/floattidf.c: Likewise.
34368         * soft-fp/floattisf.c: Likewise.
34369         * soft-fp/floattitf.c: Likewise.
34370         * soft-fp/floatundidf.c: Likewise.
34371         * soft-fp/floatundisf.c: Likewise.
34372         * soft-fp/floatunsidf.c: Likewise.
34373         * soft-fp/floatunsisf.c: Likewise.
34374         * soft-fp/floatuntidf.c: Likewise.
34375         * soft-fp/floatuntisf.c: Likewise.
34376         * soft-fp/floatuntitf.c: Likewise.
34377         * soft-fp/fmadf4.c: Likewise.
34378         * soft-fp/fmasf4.c: Likewise.
34379         * soft-fp/fmatf4.c: Likewise.
34380         * soft-fp/gedf2.c: Likewise.
34381         * soft-fp/gesf2.c: Likewise.
34382         * soft-fp/getf2.c: Likewise.
34383         * soft-fp/ledf2.c: Likewise.
34384         * soft-fp/lesf2.c: Likewise.
34385         * soft-fp/letf2.c: Likewise.
34386         * soft-fp/muldf3.c: Likewise.
34387         * soft-fp/mulsf3.c: Likewise.
34388         * soft-fp/multf3.c: Likewise.
34389         * soft-fp/negdf2.c: Likewise.
34390         * soft-fp/negsf2.c: Likewise.
34391         * soft-fp/negtf2.c: Likewise.
34392         * soft-fp/op-1.h: Likewise.
34393         * soft-fp/op-2.h: Likewise.
34394         * soft-fp/op-4.h: Likewise.
34395         * soft-fp/op-8.h: Likewise.
34396         * soft-fp/op-common.h: Likewise.
34397         * soft-fp/quad.h: Likewise.
34398         * soft-fp/single.h: Likewise.
34399         * soft-fp/soft-fp.h: Likewise.
34400         * soft-fp/sqrtdf2.c: Likewise.
34401         * soft-fp/sqrtsf2.c: Likewise.
34402         * soft-fp/sqrttf2.c: Likewise.
34403         * soft-fp/subdf3.c: Likewise.
34404         * soft-fp/subsf3.c: Likewise.
34405         * soft-fp/subtf3.c: Likewise.
34406         * soft-fp/truncdfsf2.c: Likewise.
34407         * soft-fp/trunctfdf2.c: Likewise.
34408         * soft-fp/trunctfsf2.c: Likewise.
34409         * soft-fp/trunctfxf2.c: Likewise.
34410         * soft-fp/unorddf2.c: Likewise.
34411         * soft-fp/unordsf2.c: Likewise.
34412         * soft-fp/unordtf2.c: Likewise.
34414 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
34416         [BZ #15672]
34417         * misc/error.c (error_tail): Fix possible buffer overflow.
34419 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
34421         [BZ #13028]
34422         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
34423         address.
34425 2013-10-14  P. J. McDermott  <pj@pehjota.net>
34427         [BZ #832]
34428         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
34429         testing pipefail option.
34431 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
34433         * soft-fp/double.h: Indent preprocessor directives inside #if.
34434         * soft-fp/extended.h: Likewise.
34435         * soft-fp/op-2.h: Likewise.
34436         * soft-fp/op-4.h: Likewise.
34437         * soft-fp/op-common.h: Likewise.
34438         * soft-fp/quad.h: Likewise.
34439         * soft-fp/single.h: Likewise.
34440         * soft-fp/soft-fp.h: Likewise.
34442 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
34444         * iconv/iconv_prog.c: Fix typos.
34445         * stdio-common/psiginfo-data.h: Likewise.
34447 2013-10-12   Reuben Thomas <rrt@sc3d.org>
34449         [BZ #15764]
34450         * locale/setlocale.c: Fix typo.
34452 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
34454         [BZ #16036]
34455         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
34456         signaling NaN arguments.
34457         * soft-fp/unordsf2.c (__unordsf2): Likewise.
34458         * soft-fp/unordtf2.c (__unordtf2): Likewise.
34460         [BZ #14910]
34461         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
34462         unordered operands.
34463         * soft-fp/gesf2.c (__gesf2): Likewise.
34464         * soft-fp/getf2.c (__getf2): Likewise.
34465         * soft-fp/ledf2.c (__ledf2): Likewise.
34466         * soft-fp/lesf2.c (__lesf2): Likewise.
34467         * soft-fp/letf2.c (__letf2): Likewise.
34469         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
34470         * soft-fp/eqsf2.c (__eqsf2): Likewise.
34471         * soft-fp/eqtf2.c (__eqtf2): Likewise.
34472         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
34473         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
34474         * soft-fp/fixdfti.c (__fixdfti): Likewise.
34475         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
34476         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
34477         * soft-fp/fixsfti.c (__fixsfti): Likewise.
34478         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
34479         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
34480         * soft-fp/fixtfti.c (__fixtfti): Likewise.
34481         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
34482         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
34483         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
34484         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
34485         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
34486         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
34487         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
34488         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
34489         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
34490         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
34491         * soft-fp/floatdisf.c (__floatdisf): Likewise.
34492         * soft-fp/floatsisf.c (__floatsisf): Likewise.
34493         * soft-fp/floattidf.c (__floattidf): Likewise.
34494         * soft-fp/floattisf.c (__floattisf): Likewise.
34495         * soft-fp/floattitf.c (__floattitf): Likewise.
34496         * soft-fp/floatundidf.c (__floatundidf): Likewise.
34497         * soft-fp/floatundisf.c (__floatundisf): Likewise.
34498         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
34499         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
34500         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
34501         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
34502         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
34503         * soft-fp/gesf2.c (__gesf2): Likewise.
34504         * soft-fp/getf2.c (__getf2): Likewise.
34505         * soft-fp/ledf2.c (__ledf2): Likewise.
34506         * soft-fp/lesf2.c (__lesf2): Likewise.
34507         * soft-fp/letf2.c (__letf2): Likewise.
34509         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
34510         Undefine and redefine.
34511         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
34512         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
34513         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
34514         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
34515         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34516         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
34517         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34518         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
34519         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34520         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
34521         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34522         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
34523         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34524         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
34525         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34527         [BZ #16032]
34528         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
34529         without decrementing exponent if mantissa >= that for the
34530         denominator, not >.
34531         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
34532         denominator, not >.  Decrement exponent in < case instead of
34533         incrementing in >= case.
34534         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
34535         without decrementing exponent if mantissa >= that for the
34536         denominator, not >.
34538         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
34539         computing saturated result for unsigned overflow.
34541 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34542             Jeff Law  <law@redhat.com>
34544         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
34545         (atan2Mp): Add systemtap probe marker.
34546         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
34547         (__ieee754_log): Add systemtap probe marker.
34548         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
34549         (atanMp): Add systemtap probe marker.
34550         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
34551         (tanMp): Add systemtap probe marker.
34552         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
34553         (__slowexp): Add systemtap probe marker.
34554         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
34555         (__slowpow): Add systemtap probe marker.
34556         * manual/probes.texi: Document probes.
34558 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
34560         [BZ #15362]
34561         * libio/fileops.c (_IO_new_file_write): Return count of bytes
34562         written.
34563         (_IO_new_file_xsputn): Don't return EOF if nothing has been
34564         written.
34565         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
34566         written to buffer but not flushed.
34567         * libio/iofwrite_u.c:  Likewise.
34568         * libio/iopadn.c:  Return bytes returned even if EOF was
34569         encountered.
34570         * libio/iowpadn.c:  Likewise.
34571         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
34572         if _IO_padn does not write the whole buffer.
34573         [!COMPILE_WPRINTF] (PAD): Likewise.
34575 2013-10-10  David S. Miller  <davem@davemloft.net>
34577         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
34578         directory block.
34580 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
34582         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
34583         instead of FSF address.
34584         * soft-fp/fixdfti.c: Likewise.
34585         * soft-fp/fixsfti.c: Likewise.
34586         * soft-fp/fixtfti.c: Likewise.
34587         * soft-fp/fixunsdfti.c: Likewise.
34588         * soft-fp/fixunssfti.c: Likewise.
34589         * soft-fp/fixunstfti.c: Likewise.
34590         * soft-fp/floattidf.c: Likewise.
34591         * soft-fp/floattisf.c: Likewise.
34592         * soft-fp/floattitf.c: Likewise.
34593         * soft-fp/floatuntidf.c: Likewise.
34594         * soft-fp/floatuntisf.c: Likewise.
34595         * soft-fp/floatuntitf.c: Likewise.
34596         * soft-fp/trunctfxf2.c: Likewise.
34598         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
34599         * soft-fp/fixdfti.c: Likewise.
34600         * soft-fp/fixsfti.c: Likewise.
34601         * soft-fp/fixtfti.c: Likewise.
34602         * soft-fp/fixunsdfti.c: Likewise.
34603         * soft-fp/fixunssfti.c: Likewise.
34604         * soft-fp/fixunstfti.c: Likewise.
34605         * soft-fp/floattidf.c: Likewise.
34606         * soft-fp/floattisf.c: Likewise.
34607         * soft-fp/floattitf.c: Likewise.
34608         * soft-fp/floatuntidf.c: Likewise.
34609         * soft-fp/floatuntisf.c: Likewise.
34610         * soft-fp/floatuntitf.c: Likewise.
34611         * soft-fp/trunctfxf2.c: Likewise.
34613 2013-10-10  David S. Miller  <davem@davemloft.net>
34615         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34617 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
34619         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
34620         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
34621         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
34622         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
34623         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
34624         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
34625         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
34627         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
34628         for NaNs before doing comparisons on argument.
34629         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
34630         Likewise.
34632 2013-10-10  Will Newton  <will.newton@linaro.org>
34634         * malloc/hooks.c (memalign_check): Ensure the value of bytes
34635         passed to _int_memalign does not overflow.
34637 2013-10-10  Torvald Riegel  <triegel@redhat.com>
34639         * scripts/bench.pl: Add include-sources directive.
34640         * benchtests/README: Update documentation.
34642 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
34644         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
34645         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
34646         instead of FP_INIT_ROUNDMODE.
34647         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
34648         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
34650         [BZ #16034]
34651         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
34652         copy class of input value.
34653         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
34654         not handle exceptions.
34655         * soft-fp/negsf2.c (__negsf2): Likewise.
34656         * soft-fp/negtf2.c (__negtf2): Likewise.
34657         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
34659 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
34661         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
34662         semicolon.  From Linux kernel.
34664 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
34666         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
34668 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
34670         [BZ #156]
34671         * manual/socket.texi: Added statement about buffer
34672         for gethostbyname2_r.
34674 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
34676         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
34677         Use .p2align directive instead, throughout.
34678         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34679         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
34680         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
34681         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34682         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34683         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
34684         * sysdeps/x86_64/strchr.S: Likewise.
34685         * sysdeps/x86_64/strrchr.S: Likewise.
34687 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34689         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
34691         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
34693         * sysdeps/generic/math_private.h (__mpsin1): Remove
34694         declaration.
34695         (__mpcos1): Likewise.
34696         (__mpsin): New argument __range_reduce.
34697         (__mpcos): Likewise.
34698         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34699         (slow): Use __mpsin and __mpcos.
34700         (slow1): Likewise.
34701         (slow2): Likewise.
34702         (sloww): Likewise.
34703         (sloww1): Likewise.
34704         (sloww2): Likewise.
34705         (bsloww): Likewise.
34706         (bsloww1): Likewise.
34707         (bsloww2): Likewise.
34708         (cslow2): Likewise.
34709         (csloww): Likewise.
34710         (csloww1): Likewise.
34711         (csloww2): Likewise.
34712         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
34713         range_reduce.  Merge in __mpsin1.
34714         (__mpcos): Likewise.
34715         (__mpsin1): Remove.
34716         (__mpcos1): Likewise.
34718 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
34720         * locale/loadlocale.c (_nl_intern_locale_data): Use
34721         LOCFILE_ALIGNED_P.
34722         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
34723         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
34724         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
34725         obstack data is appropriately aligned.
34726         (obstack_int32_grow_fast): Likewise.
34727         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
34728         * locale/programs/locfile.c (add_locale_uint32): Likewise.
34729         (add_locale_uint32_array): Likewise.
34731 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34733         * benchtests/Makefile: Remove ARGLIST and RET variables.
34734         ($(objpfx)bench-%.c): Pass only function name to the script.
34735         * benchtests/README: Update documentation.
34736         * benchtests/acos-inputs: Add new directives.
34737         * benchtests/acosh-inputs: Likewise.
34738         * benchtests/asin-inputs: Likewise.
34739         * benchtests/asinh-inputs: Likewise.
34740         * benchtests/atan-inputs: Likewise.
34741         * benchtests/atanh-inputs: Likewise.
34742         * benchtests/cos-inputs: Likewise.
34743         * benchtests/cosh-inputs: Likewise.
34744         * benchtests/exp-inputs: Likewise.
34745         * benchtests/log-inputs: Likewise.
34746         * benchtests/pow-inputs: Likewise.
34747         * benchtests/rint-inputs: Likewise.
34748         * benchtests/sin-inputs: Likewise.
34749         * benchtests/sinh-inputs: Likewise.
34750         * benchtests/tan-inputs: Likewise.
34751         * benchtests/tanh-inputs: Likewise.
34752         * scripts/bench.pl: Add support for new directives.
34754 2013-10-07  Alan Modra  <amodra@gmail.com>
34756         * README: Fix careless merge.
34758 2013-10-05  Alan Modra  <amodra@gmail.com>
34760         * NEWS: Mention powerpc64le support and bugs fixed.
34761         * README: Both big-endian and little-endian powerpc64 supported.
34763 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34765         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
34766         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
34767         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
34768         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
34770 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
34772         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
34773         match prototype.
34775 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
34777         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
34778         Move -mhard-float appending from
34779         ports/sysdeps/powerpc/powerpc32/Makefile.
34780         [$(with-fp) = yes] (ASFLAGS): Likewise.
34781         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
34782         * sysdeps/powerpc/nofpu: Move directory from
34783         ports/sysdeps/powerpc/nofpu.
34784         * sysdeps/powerpc/soft-fp: Move directory from
34785         ports/sysdeps/powerpc/soft-fp.
34786         * sysdeps/powerpc/powerpc32/405: Move directory from
34787         ports/sysdeps/powerpc/powerpc32/405.
34788         * sysdeps/powerpc/powerpc32/440: Move directory from
34789         ports/sysdeps/powerpc/powerpc32/440.
34790         * sysdeps/powerpc/powerpc32/464: Move directory from
34791         ports/sysdeps/powerpc/powerpc32/464.
34792         * sysdeps/powerpc/powerpc32/476: Move directory from
34793         ports/sysdeps/powerpc/powerpc32/476.
34794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
34795         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
34796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
34797         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
34798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
34799         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
34800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
34801         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
34802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
34803         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
34804         * README: Update for powerpc-*-linux-gnu software floating point
34805         support in libc.
34807         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
34808         case to powerpc/powerpc32*.
34809         * sysdeps/unix/sysv/linux/configure: Regenerated.
34811         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
34812         (_FPU_MASK_OM): Define as 0x04.
34813         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
34814         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
34815         0x00c10080.
34816         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
34817         0x0000003c.
34818         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
34820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
34821         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
34822         getcontext_e500.
34823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
34824         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
34825         setcontext_e500.
34826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
34827         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
34828         and setcontext_e500.
34830 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
34832         * locale/iso-3166.def: Update iso-1366.def and related occurrences
34834 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34836         * manual/threads.texi (Default Thread Attributes): Fix typo.
34838 2013-10-04  Will Newton  <will.newton@linaro.org>
34840         * malloc/Makefile: Add tst-memalign.
34841         * malloc/tst-memalign.c: New file.
34843         * malloc/tst-posix_memalign.c: Add comments.
34844         (do_test): Add comments and call free on all potentially
34845         allocated pointers. Add space after cast.
34847         * malloc/tst-pvalloc.c: Add comments.
34848         (do_test): Add comments and call free on all potentially
34849         allocated pointers. Remove duplicate check for NULL pointer.
34850         Add space after cast.
34852         * malloc/tst-valloc.c: Add comments.
34853         (do_test): Add comments and call free on all potentially
34854         allocated pointers. Remove duplicate check for NULL pointer.
34855         Add space after cast.
34857 2013-10-04  Alan Modra  <amodra@gmail.com>
34859         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34860         Use stdint types in rather than __attribute__((mode())).
34861         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34863 2013-10-04  Alan Modra  <amodra@gmail.com>
34865         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34866         Correct handling of unaligned relocs for little-endian.
34867         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34869 2013-10-04  Alan Modra  <amodra@gmail.com>
34871         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
34872         * configure: Regenerate.
34873         * nptl/shlib-versions: Powerpc*le starts at 2.18.
34874         * shlib-versions: Likewise.
34876 2013-10-04  Alan Modra  <amodra@gmail.com>
34878         * string/tester.c (test_memrchr): Increment reported test cycle.
34880 2013-10-04  Alan Modra  <amodra@gmail.com>
34882         * string/test-memcpy.c (do_one_test): When reporting errors, print
34883         string address and don't overrun end of string.
34885 2013-10-04  Alan Modra  <amodra@gmail.com>
34887         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
34888         insrdi.  Make better use of reg selection to speed exit slightly.
34889         Schedule entry path a little better.  Remove useless "are we done"
34890         checks on entry to main loop.  Handle wrapping around zero address.
34891         Correct main loop count.  Handle single left-over word from main
34892         loop inline rather than by using loop_small.  Remove extra word
34893         case in loop_small caused by wrong loop count.  Add little-endian
34894         support.
34895         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34896         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
34897         cache hint.
34898         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34899         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
34900         support.  Avoid rlwimi.
34901         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
34903 2013-10-04  Alan Modra  <amodra@gmail.com>
34905         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
34906         insrdi.  Formatting.
34907         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
34908         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
34909         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
34910         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34911         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34912         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
34914 2013-10-04  Alan Modra  <amodra@gmail.com>
34916         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
34917         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34918         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
34919         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
34920         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34921         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34922         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34923         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34924         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
34925         use of regs.  Use power7 mtocrf.  Tidy function tails.
34927 2013-10-04  Alan Modra  <amodra@gmail.com>
34929         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
34930         Formatting.  Consistently use rXXX register defines or rN defines.
34931         Use early exit labels that avoid restoring unused non-volatile regs.
34932         Make cr field use more consistent with rWORDn compares.  Rename
34933         regs used as shift registers for unaligned loop, using rN defines
34934         for short lifetime/multiple use regs.
34935         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34936         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
34937         addi 1,1,64 to pop stack frame.  Simplify return value code.
34938         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34940 2013-10-04  Alan Modra  <amodra@gmail.com>
34942         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
34943         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
34944         rather than rlwimi.
34945         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
34946         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
34947         little-endian support.  Correct typos.
34948         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
34949         rather than rlwimi.
34950         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
34951         in loop and entry code to keep "and." results.
34952         (strchr): Add little-endian support.  Comment.  Move cntlzd
34953         earlier in tail.
34954         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
34956 2013-10-04  Alan Modra  <amodra@gmail.com>
34958         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
34959         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
34960         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
34961         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
34963 2013-10-04  Alan Modra  <amodra@gmail.com>
34965         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
34966         (rTMP): Define as r11.
34967         (strcmp): Add little-endian support.  Optimise tail.
34968         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
34969         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34970         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34971         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34972         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34973         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34974         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34976 2013-10-04  Alan Modra  <amodra@gmail.com>
34978         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
34979         little-endian support.  Remove unnecessary "are we done" tests.
34980         Handle "s" wrapping around zero and extremely large "size".
34981         Correct main loop count.  Handle single left-over word from main
34982         loop inline rather than by using small_loop.  Correct comments.
34983         Delete "zero" tail, use "end_max" instead.
34984         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
34986 2013-10-04  Alan Modra  <amodra@gmail.com>
34988         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
34989         support.  Don't branch over align.
34990         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
34991         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
34992         support.  Rearrange tmp reg use to suit.  Comment.
34993         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
34995 2013-10-04  Alan Modra  <amodra@gmail.com>
34997         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
34999 2013-10-04  Alan Modra  <amodra@gmail.com>
35001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
35002         conditional form of branch and link when obtaining pc.
35003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35005 2013-10-04  Alan Modra  <amodra@gmail.com>
35007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
35008         HIWORD/LOWORD.
35009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
35010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
35012 2013-10-04  Alan Modra  <amodra@gmail.com>
35014         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
35015         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
35016         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
35017         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
35018         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35019         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
35020         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
35021         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
35022         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
35023         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
35025 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35026             Alistair Popple <alistair@ozlabs.au.ibm.com>
35027             Alan Modra <amodra@gmail.com>
35029         [BZ #15723]
35030         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
35031         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
35032         _dl_hwcap access for little-endian.
35033         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
35034         destroy vmx regs when saving unaligned.
35035         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
35036         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
35037         destroy vmx regs when saving unaligned.
35039 2013-10-04  Alan Modra  <amodra@gmail.com>
35041         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
35042         Don't use a union to pack hi/low value.
35044 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35046         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
35047         for little-endian.
35048         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35049         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
35050         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35051         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35052         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35054 2013-10-04  Alan Modra  <amodra@gmail.com>
35056         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
35057         constants to usual value for .cst8 section, and remove redundant
35058         high address load.
35059         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
35060         constant for 0x1p52.  Load little-endian words of double from
35061         correct stack offsets.
35063 2013-10-04  Alan Modra  <amodra@gmail.com>
35065         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
35066         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
35067         words of double from correct stack offsets.
35068         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
35069         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
35070         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35071         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35072         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35073         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35074         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35075         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
35076         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
35077         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35078         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35079         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35080         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35081         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35082         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35083         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
35084         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
35086 2013-10-04  Alan Modra  <amodra@gmail.com>
35088         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
35089         64-bit int/double union.
35090         (_FPU_SETCW): Likewise.
35091         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
35092         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
35094 2013-10-04  Alan Modra  <amodra@gmail.com>
35096         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
35097         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
35099 2013-10-04  Alan Modra  <amodra@gmail.com>
35101         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
35102         use vector int constants.
35103         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
35105 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35107         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
35108         array with long long.
35109         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
35110         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
35111         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
35112         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
35113         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
35114         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
35115         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
35116         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
35117         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
35118         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
35119         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
35120         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
35121         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
35123 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35125         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
35126         (__signbit): Likewise.  Correct for little-endian.
35127         (__signbitl): Call __signbit.
35128         (lrint): Correct for little-endian.
35129         (lrintf): Call lrint.
35131 2013-10-04  Alan Modra  <amodra@gmail.com>
35133         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
35134         union 32-bit int array member with 64-bit int array.
35135         (t515, tm256): Double rather than long double.
35136         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
35138 2013-10-04  Alan Modra  <amodra@gmail.com>
35140         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
35141         Delete.
35142         (IEEE854_LONG_DOUBLE_BIAS): Delete.
35143         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
35144         version of math_ldbl.h.
35146 2013-10-04  Alan Modra  <amodra@gmail.com>
35148         [BZ #15734], [BZ #15735]
35149         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
35150         all uses of ieee875 long double macros and unions.  Simplify test
35151         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
35152         ldbl_extract_mantissa value for ix,iy exponents.  Properly
35153         normalize after ldbl_extract_mantissa, and don't add hidden bit
35154         already handled.  Don't treat low word of ieee854 mantissa like
35155         low word of IBM long double and mask off bit when testing for
35156         zero.
35157         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
35158         all uses of ieee875 long double macros and unions.  Simplify tests
35159         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
35160         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
35161         two1022, instead use their values.  Recognise that tests for large
35162         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
35163         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
35164         Rewrite all uses of ieee875 long double macros and unions.  Simplify
35165         test for 0.0L and nan.  Correct negation.
35166         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
35167         ieee875 long double macros and unions.  Correct output for large
35168         magnitude x.  Correct absolute value calculation.
35169         (__erfcl): Likewise.
35170         * math/libm-test.inc: Add tests for errors discovered in IBM long
35171         double versions of fmodl, remainderl, erfl and erfcl.
35173 2013-10-04  Alan Modra  <amodra@gmail.com>
35175         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
35176         all uses of ieee854 long double macros and unions.  Simplify tests
35177         for long doubles that are fully specified by the high double.
35178         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35179         Likewise.
35180         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
35181         Remove dead code too.
35182         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
35183         (__ieee754_ynl): Likewise.
35184         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
35185         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
35186         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35187         Remove dead code too.
35188         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
35189         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
35190         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
35191         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
35192         Simplify.
35193         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
35194         Simplify.
35195         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
35196         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35197         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
35198         Comment on variable precision.
35199         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
35200         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35201         Likewise.
35202         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35203         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35204         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35205         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
35206         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
35208 2013-10-04  Alan Modra  <amodra@gmail.com>
35210         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
35211         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
35212         all uses of ieee854 long double macros and unions.
35213         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
35214         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35215         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
35216         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
35217         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
35218         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35219         Likewise.
35220         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
35221         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35222         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
35223         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35224         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
35225         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
35226         Simplify sign and nan test too.
35227         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
35228         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35229         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
35230         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35231         Likewise.
35232         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35233         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
35234         Likewise.
35235         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35236         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
35237         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
35238         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
35239         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
35240         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
35242 2013-10-04  Alan Modra  <amodra@gmail.com>
35244         * stdio-common/printf_size.c (__printf_size): Don't use
35245         union ieee854_long_double in fpnum union.
35246         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
35247         signbit macro to retrieve sign from long double.
35248         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
35249         retrieve sign from long double.
35250         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
35251         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
35252         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
35253         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35254         * math/test-misc.c (main): Don't use union ieee854_long_double.
35256 2013-10-04  Alan Modra  <amodra@gmail.com>
35258         [BZ #15680]
35259         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
35260         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
35261         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
35262         calculation.  Remove unnecessary test for denormal exponent.
35263         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
35264         Correct handling of denormals.  Avoid undefined shift behaviour.
35265         Correct normalisation of low mantissa when low double is denormal.
35266         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
35267         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
35268         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
35269         Correct normalisation of low mantissa.  Test for overflow of high
35270         mantissa and normalise.
35271         (ldbl_nearbyint): Use more readable constant for two52.
35272         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
35273         (__mpn_construct_long_double): Fix test for overflow of high
35274         mantissa and correct normalisation.  Avoid undefined shift.
35276 2013-10-04  Alan Modra  <amodra@gmail.com>
35278         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
35279         (union ibm_extended_long_double): Define as an array of ieee754_double.
35280         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
35281         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
35282         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
35283         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35284         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35285         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
35286         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35287         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35288         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35289         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
35290         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35292 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
35294         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
35295         page size instead of calling getpagesize.
35297         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
35298         (LOCFILE_ALIGN_MASK): Likewise.
35299         (LOCFILE_ALIGN_UP): Likewise.
35300         (LOCFILE_ALIGNED_P): Likewise.
35301         * locale/programs/ld-collate.c (collate_output): Use the new
35302         macros instead of __alignof__ (int32_t).
35303         * locale/weight.h (findidx): Likewise.
35305 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
35307         [BZ #431]
35308         * manual/string.texi: Fix strncat and wcsncat.
35310 2013-10-03  Brooks Moses  <bmoses@google.com>
35312         [BZ #15915]
35313         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
35314         * Makerules: ...here, and adjust associated comments.
35316 2013-10-02  Will Newton  <will.newton@linaro.org>
35318         * malloc/Makefile: Add tst-pvalloc.
35319         * malloc/tst-pvalloc.c: New file.
35321 2013-10-02  Will Newton  <will.newton@linaro.org>
35323         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
35324         improve test coverage.
35326 2013-10-02  Will Newton  <will.newton@linaro.org>
35328         * malloc/Makefile: Add tst-posix_memalign.
35329         * malloc/tst-posix_memalign.c: New file.
35331 2013-10-01  Eric Blake  <eblake@redhat.com>
35333         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
35334         Use __THROWNL rather than __THROW on static functions.
35336 2013-09-30  Petr Machata  <pmachata@redhat.com>
35338         * elf/elf.h (R_AARCH64_ABS16): New macro.
35339         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
35340         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
35341         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
35342         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
35343         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
35344         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
35345         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
35346         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
35347         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
35348         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
35349         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
35350         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
35351         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
35352         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
35353         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
35354         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
35355         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
35356         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
35357         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
35358         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
35359         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
35360         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
35361         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
35362         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
35363         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
35364         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
35365         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
35366         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
35367         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
35368         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
35369         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
35370         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
35371         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
35372         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
35373         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
35374         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
35375         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
35376         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
35377         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
35378         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
35379         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
35380         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
35381         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
35382         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
35383         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
35384         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
35385         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
35386         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
35387         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
35388         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
35389         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
35390         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
35391         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
35392         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
35393         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
35394         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
35395         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
35396         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
35397         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
35398         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
35399         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
35400         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
35401         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
35402         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
35403         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
35404         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
35405         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
35406         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
35407         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
35408         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
35409         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
35410         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
35411         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
35412         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
35413         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
35414         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
35415         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
35416         (R_AARCH64_TLSDESC_LDR): Likewise.
35417         (R_AARCH64_TLSDESC_ADD): Likewise.
35418         (R_AARCH64_TLSDESC_CALL): Likewise.
35420 2013-09-30  Andreas Schwab  <schwab@suse.de>
35422         [BZ #15048]
35423         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
35424         the nss database lookup.
35425         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35426         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35428 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
35430         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
35432 2013-09-28  P. J. McDermott  <pj@pehjota.net>
35434         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
35435         ${Bash-specific parameter/pattern/string} parameter expansion.
35436         * sysdeps/unix/make-syscalls.sh: Likewise.
35438 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35440         * sysdeps/sh/stackguard-macros.h: New file.
35442 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
35444         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
35445         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
35446         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
35447         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
35448         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35449         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
35451 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35453         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
35454         Fix thread ID register.
35456 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
35458         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
35459         [POSIX || UNIX98]: Require rather than permitting all symbols from
35460         <time.h>.
35461         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
35462         element of struct sched_param.
35463         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
35464         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
35465         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
35466         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
35467         constant.
35469 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
35471         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
35472         argument calculation.
35474 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
35476         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
35477         Expect macro.
35478         [POSIX] (pthread_attr_t): Do not require type.
35479         [POSIX] (pthread_cond_t): Likewise.
35480         [POSIX] (pthread_condattr_t): Likewise.
35481         [POSIX] (pthread_key_t): Likewise.
35482         [POSIX] (pthread_mutex_t): Likewise.
35483         [POSIX] (pthread_mutexattr_t): Likewise.
35484         [POSIX] (pthread_once_t): Likewise.
35485         [POSIX] (pthread_t): Likewise.
35486         [POSIX-based standards] (pthread_atfork): Expect function.
35488 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
35489             Richard Sandiford  <richard@codesourcery.com>
35491         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
35492         (swap_endianness_p): New extern variable.
35493         (set_big_endian): New inline function.
35494         (maybe_swap_uint32): Likewise.
35495         (maybe_swap_uint32_array): Likewise.
35496         (maybe_swap_uint32_obstack): Likewise.
35497         * locale/programs/locfile.c: Include <stdbool.h>.
35498         (swap_endianness_p): New variable.
35499         (add_locale_uint32): Call maybe_swap_uint32.
35500         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
35501         (write_locale_data): Call maybe_swap_uint32_array.
35502         * locale/programs/ld-collate.c (obstack_int32_grow): Call
35503         maybe_swap_uint32.
35504         (obstack_int32_grow_fast): Likewise.
35505         (output_weightwc): Call maybe_swap_uint32_obstack.
35506         (collate_output): Likewise.
35507         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
35508         (OPT_LITTLE_ENDIAN): Likewise.
35509         (options): Add --little-endian and --big-endian options.
35510         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
35511         * locale/programs/locarchive.c: Include "locfile.h".
35512         (GET): New macro.
35513         (SET): Likewise.
35514         (INC): Likewise.
35515         (create_archive): Use the new macros to access fields of
35516         structures directly mapped from or written to locale archives.
35517         (oldlocrecentcmp): Likewise.
35518         (enlarge_archive): Likewise.
35519         (insert_name): Likewise.
35520         (add_alias): Likewise.
35521         (add_locale): Likewise.
35522         (delete_locales_from_archive): Likewise.
35523         (show_archive_content): Likewise.
35524         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
35525         locale data.
35527 2013-09-24  Roland McGrath  <roland@hack.frob.com>
35529         * manual/freemanuals.texi: Updated from (newly) canonical copy at
35530         http://www.gnu.org/doc/freemanuals.texi.
35531         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
35533 2013-09-24  Will Newton  <will.newton@linaro.org>
35535         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
35536         macro.
35538 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
35540         * locale/hashval.h (compute_hashval): Interpret bytes of key as
35541         unsigned char.
35543 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
35545         * manual/threads.texi (POSIX Threads): Fix a typo.
35547 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35549         [BZ #14547]
35550         * string/tst-strcoll-overflow.c: New test case.
35551         * string/Makefile (xtests): Add tst-strcoll-overflow.
35552         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
35553         cache if string sizes may cause integer overflow.
35555         [BZ #14547]
35556         * string/strcoll_l.c (coll_seq): New members rule, idx,
35557         save_idx and back_us.
35558         (get_next_seq_nocache): New function.
35559         (do_compare_nocache): New function.
35560         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
35561         when malloc fails.
35563 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
35565         [BZ #15754]
35566         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
35567         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
35568         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
35570         [BZ #15754]
35571         * elf/Makefile (tests): Add tst-ptrguard1.
35572         (tests-static): Add tst-ptrguard1-static.
35573         (tst-ptrguard1-ARGS): Define.
35574         (tst-ptrguard1-static-ARGS): Define.
35575         * elf/tst-ptrguard1.c: New file.
35576         * elf/tst-ptrguard1-static.c: New file.
35577         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
35578         * sysdeps/i386/stackguard-macros.h: Likewise.
35579         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35580         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35581         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35582         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35583         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35584         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35586 2013-09-23  Hector Marco  <hecmargi@upv.es>
35587             Ismael Ripoll  <iripoll@disca.upv.es>
35588             Carlos O'Donell  <carlos@redhat.com>
35590         [BZ #15754]
35591         * sysdeps/generic/stackguard-macros.h: Define
35592         __pointer_chk_guard_local and POINTER_CHK_GUARD.
35593         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
35594         Define __pointer_chk_guard_local.
35595         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
35596         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
35598 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
35600         [BZ #15859]
35601         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
35603 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
35605         * include/string.h (__ffs): Declare as hidden.
35606         * string/ffs.c (__ffs): Define as hidden.
35607         * sysdeps/i386/ffs.c (__ffs): Likewise.
35608         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
35609         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
35610         * sysdeps/s390/ffs.c (__ffs): Likewise.
35611         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
35613 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
35615         * NEWS: Mention malloc probes.
35617         * malloc/arena.c (new_heap): New memory_heap_new probe.
35618         (grow_heap): New memory_heap_more probe.
35619         (shrink_heap): New memory_heap_less probe.
35620         (heap_trim): New memory_heap_free probe.
35621         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
35622         (systrim): New memory_sbrk_less probe.
35623         * manual/probes.texi: Document them.
35625         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
35626         * manual/probes.texi: Document it.
35628         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
35629         (__libc_realloc): Add memory_realloc_retry probe.
35630         (__libc_memalign): Add memory_memalign_retry probe.
35631         (__libc_valloc): Add memory_valloc_retry probe.
35632         (__libc_pvalloc): Add memory_pvalloc_retry probe.
35633         (__libc_calloc): Add memory_calloc_retry probe.
35634         * manual/probes.texi: Document them.
35636         * malloc/arena.c (get_free_list): Add probe
35637         memory_arena_reuse_free_list.
35638         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
35639         and memory_arena_reuse.
35640         (arena_get2) [!PER_THREAD]: Likewise.
35641         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
35642         memory_arena_reuse_realloc.
35643         * manual/probes.texi: Document them.
35645         * malloc/malloc.c (__libc_free): Add
35646         memory_mallopt_free_dyn_thresholds probe.
35647         (__libc_mallopt): Add multiple memory_mallopt probes.
35648         * manual/probes.texi: Document them.
35650         * malloc/malloc.c: Include stap-probe.h.
35651         (__libc_mallopt): Add memory_mallopt probe.
35652         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
35653         * manual/probes.texi: New.
35654         * manual/Makefile (chapters): Add probes.
35655         * manual/threads.texi: Set next node.
35657 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
35659         [BZ #15963, #13985]
35660         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
35661         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
35662         Add `Chinese' to `nan' entry name.
35664 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35666         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
35667         (POLYNOMIAL): Likewise.
35668         (TAYLOR_SINCOS): Likewise.
35669         (TAYLOR_SLOW): Likewise.
35670         (__sin): Use TAYLOR_SINCOS.
35671         (__cos): Likewise.
35672         (slow): Use TAYLOR_SLOW.
35673         (sloww): Likewise.
35674         (bsloww): Likewise.
35675         (csloww): Likewise.
35677 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35679         * stdlib/strtod_l.c: Fix buffer overrun.
35681 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35683         * benchtests/Makefile (bench): Add sincos.
35684         * benchtests/bench-sincos.c: New file.
35686         * math/libm-test.inc (cos_test_data): New test inputs.
35687         (sin_test_data): Likewise.
35689         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
35690         macro.
35691         (__sin): Use it.
35692         (__cos): Likewise.
35693         (slow1): Likewise.
35694         (slow2): Likewise.
35695         (sloww1): Likewise.
35696         (sloww2): Likewise.
35697         (bsloww1): Likewise.
35698         (bsloww2): Likewise.
35699         (cslow2): Likewise.
35700         (csloww1): Likewise.
35701         (csloww2): Likewise.
35703         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
35704         function.
35705         (__sin): Use it.
35706         (__cos): Likewise.
35708         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
35709         gotos.
35710         (__cos): Likewise.
35712 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
35714         * config.h.in (HAVE_MIPS_NAN2008): New macro.
35715         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
35716         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
35717         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
35718         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
35719         * elf/cache.c (print_entry): Handle the new cache flags.
35721 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
35722             Aldy Hernandez  <aldyh@redhat.com>
35724         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
35725         Change condition to [_SOFT_FLOAT].
35726         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
35727         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
35728         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
35729         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
35730         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
35731         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
35732         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
35733         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
35734         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
35735         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
35736         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
35737         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
35738         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
35739         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
35740         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
35741         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
35742         declaration.
35744 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
35746         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
35747         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
35748         (__longjmp): Use LOAD_GP to load saved GPRs.
35749         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
35750         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
35751         (__sigsetjmp): Use SAVE_GP to save GPRs.
35753         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
35754         Do not append -msoft-float.
35755         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
35757 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35759         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
35761 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
35763         [BZ #15966]
35764         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
35765         (_FPU_GETCW): Use initial "__" on variable and field names but not
35766         on macro parameter name.
35767         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
35768         parentheses around reference to macro parameter.
35770 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
35772         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
35773         prototype.
35774         (ctype_startup): Use uint32_t in cast and sizeof for
35775         ctype->charnames.
35777 2013-09-11  Jia Liu  <proljc@gmail.com>
35779         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
35780         __daddr_t_defined.
35781         [__FreeBSD__]: Likewise.
35783 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
35785         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
35786         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
35787         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
35788         (strchr): Remove __strchr_sse42 ifunc selection.
35789         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
35790         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
35792 2013-09-11  Will Newton  <will.newton@linaro.org>
35794         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
35795         parameter to RES. Remove hardcoded 1000 value.
35796         * benchtests/bench-skeleton.c (main): Pass RES parameter
35797         to TIMING_INIT and multiply result by 1000.
35799 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35801         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35803 2013-09-11  Andreas Schwab  <schwab@suse.de>
35805         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
35806         if not defined.
35807         (O_TMPFILE) [__USE_GNU]: Define.
35808         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
35809         Define.
35811 2013-09-11  Will Newton  <will.newton@linaro.org>
35813         [BZ #15857]
35814         * malloc/malloc.c (__libc_memalign): Check the value of bytes
35815         does not overflow.
35817 2013-09-11  Will Newton  <will.newton@linaro.org>
35819         [BZ #15856]
35820         * malloc/malloc.c (__libc_valloc): Check the value of bytes
35821         does not overflow.
35823 2013-09-11  Will Newton  <will.newton@linaro.org>
35825         [BZ #15855]
35826         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
35827         does not overflow.
35829 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
35831         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
35832         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35833         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35834         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35835         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35837 2013-09-10  Allan McRae  <allan@archlinux.org>
35839         [BZ #15748]
35840         * manual/arith.texi (Parsing of Floats): Clarify
35841         cross-reference.
35843         [BZ #15849]
35844         * manual/install.texi (Running make install): Mention
35845         --enable-pt-chown.
35846         * INSTALL: Regenerated.
35848 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
35850         * csu/init-first.c (_init): Remove the !SHARED condition around
35851         FPU control word initialization.
35852         * elf/dl-support.c (_dl_fpu_control): New variable.
35853         (_dl_aux_init) <AT_FPUCW>: Initialize it.
35854         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
35855         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
35856         * math/test-fpucw-static.c: New file.
35857         * math/test-fpucw-ieee.c: New file.
35858         * math/test-fpucw-ieee-static.c: New file.
35859         * math/Makefile (tests): Add `test-fpucw-ieee' and
35860         `$(tests-static)'.
35861         (tests-static): New variable.
35862         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
35863         dependency to...
35864         [($(build-shared),yes)]
35865         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35866         ... this.
35867         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
35868         New dependency.
35870 2013-09-09  Allan McRae  <allan@archlinux.org>
35872         [BZ #15939]
35873         * manual/string.texi (Collation Functions): Fix typo in
35874         strcoll example.
35875         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
35877         [BZ #15893]
35878         * stdlib/isomac.c (get_null_defines): Fix memory leak.
35880         [BZ #15892]
35881         * libio/memstream.c (open_memstream): Fix memory leak.
35882         * libio/wmemstream.c (open_wmemstream): Likewise.
35884         [BZ #15895]
35885         * nscd/netgroupcache.c: Fix nesting of ifdefs.
35887 2013-09-09  Will Newton  <will.newton@linaro.org>
35889         * malloc/Makefile: Add tst-realloc to tests.
35890         * malloc/tst-realloc.c: New file.
35892 2013-09-09  Allan McRae  <allan@archlinux.org>
35894         [BZ #15844]
35895         * COPYING: Update from GNU website to fix FSF address.
35896         * COPYING.LIB: Likewise.
35898 2013-09-06  David S. Miller  <davem@davemloft.net>
35900         * po/zh_TW.po: Update Chinese (traditional) translation from
35901         translation project.
35903 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
35904             Joseph Myers  <joseph@codesourcery.com>
35906         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
35907         "localeinfo.h".
35908         (obstack_chunk_alloc): New macro.
35909         (obstack_chunk_free): Likewise.
35910         (record_offset): New function.
35911         (init_locale_data): Likewise.
35912         (align_locale_data): Likewise.
35913         (add_locale_empty): Likewise.
35914         (add_locale_raw_data): Likewise.
35915         (add_locale_raw_obstack): Likewise.
35916         (add_locale_string): Likewise.
35917         (add_locale_wstring): Likewise.
35918         (add_locale_uint32): Likewise.
35919         (add_locale_uint32_array): Likewise.
35920         (add_locale_char): Likewise.
35921         (start_locale_structure): Likewise.
35922         (end_locale_structure): Likewise.
35923         (start_locale_prelude): Likewise.
35924         (end_locale_prelude): Likewise.
35925         (write_locale_data): Take locale_file structure rather than an
35926         iovec.
35927         * locale/programs/locfile.h: Include "obstack.h".
35928         (struct locale_file): Change to store locale file contents instead
35929         of header.
35930         (init_locale_data): New prototype.
35931         (align_locale_data): Likewise.
35932         (add_locale_empty): Likewise.
35933         (add_locale_raw_data): Likewise.
35934         (add_locale_raw_obstack): Likewise.
35935         (add_locale_string): Likewise.
35936         (add_locale_wstring): Likewise.
35937         (add_locale_uint32): Likewise.
35938         (add_locale_uint32_array): Likewise.
35939         (add_locale_char): Likewise.
35940         (start_locale_structure): Likewise.
35941         (end_locale_structure): Likewise.
35942         (start_locale_prelude): Likewise.
35943         (end_locale_prelude): Likewise.
35944         (write_locale_data): Update prototype.
35945         * locale/programs/3level.h (struct TABLE): Remove result field.
35946         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
35947         Use new locale_file interface.
35948         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
35949         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
35950         * locale/programs/ld-address.c (address_output): Use new
35951         locale_file interface.
35952         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
35953         NO_ADD_LOCALE.
35954         (collate_finish): Don't call collseq_table_finalize.
35955         (collate_output): Use new locale_file interface.
35956         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
35957         in file.
35958         (NO_FINALIZE): Change to NO_ADD_LOCALE.
35959         (TABLE): Move defines earlier in file.
35960         (ELEMENT): Likewise.
35961         (DEFAULT): Likewise.
35962         (wctrans_table_add): Move macro and inline function earlier in
35963         file.
35964         (struct wctype_table): Move type earlier in file.
35965         (add_locale_wctype_table): New static prototype.
35966         (struct locale_ctype_t): Use logical types instead of struct iovec
35967         pointers for members.
35968         (ctype_output): Use new locale_file interface.
35969         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
35970         new locale_file interface.
35971         (allocate_arrays): Update for use of new locale_file interface.
35972         * locale/programs/ld-identification.c (identification_output): Use
35973         new locale_file interface.
35974         * locale/programs/ld-measurement.c (measurement_output): Likewise.
35975         * locale/programs/ld-messages.c (messages_output): Likewise.
35976         * locale/programs/ld-monetary.c (monetary_output): Likewise.
35977         * locale/programs/ld-name.c (name_output): Likewise.
35978         * locale/programs/ld-numeric.c (numeric_output): Likewise.
35979         * locale/programs/ld-paper.c (paper_output): Likewise.
35980         * locale/programs/ld-telephone.c (telephone_output): Likewise.
35981         * locale/programs/ld-time.c (time_output): Likewise.
35983 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35985         * benchtests/Makefile: Add memrchr benchmark.
35986         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
35987         benchmark as memrchr.
35988         * benchtests/bench-memrchr-ifunc.c: New file.
35989         * benchtests/bench-memrchr.c: New file.
35991 2013-09-06   Will Newton  <will.newton@linaro.org>
35993         * benchtests/Makefile (string-bench): Add memcpy.
35995 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
35996             Cong Wang  <amwang@redhat.com>
35998         [BZ #15850]
35999         * sysdeps/unix/sysv/linux/bits/in.h
36000         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
36001         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
36002         before __USE_KERNEL_IPV6_DEFS uses.
36003         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
36004         IPPROTO_BEETPH.
36005         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
36006         sockaddr_in6, or ipv6_mreq.
36008 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36010         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
36011         memory access for final bytes in some large inputs.
36012         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
36014 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36016         * string/test-memrchr.c: New file.
36017         * string/test-memrchr-ifunc.c: New file.
36018         * string/Makefile: Add new memrchr testcase.
36020 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
36022         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
36023         fanotify_init returns EPERM.
36025 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
36027         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
36028         errors.
36029         (top level): Treat second token from macro or constant entries for
36030         allowed headers as allowed.
36031         * include/complex.h: Condition internal declarations on
36032         [!_ISOMAC].
36033         * include/fenv.h: Condition include of <stdbool.h> and internal
36034         declarations on [!_ISOMAC].
36036 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
36038         [BZ #15923]
36039         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
36041 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
36043         * configure.in (--enable-versioning): Remove configure option.
36044         (libc_cv_asm_symver_directive): Remove configure test.
36045         (libc_cv_ld_version_script_option): Likewise.
36046         (VERSIONING): Remove variable and AC_SUBST.
36047         (DO_VERSIONING): Remove AC_DEFINE.
36048         * configure: Regenerated.
36049         * config.h.in (DO_VERSIONING): Remove macro.
36050         * Makerules [$(versioning) = yes]: Change conditionals to
36051         [$(build-shared) = yes].
36052         * config.make.in (versioning): Remove variable.
36053         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
36054         [$(build-shared) = yes].
36055         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
36056         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
36057         * elf/Makefile [$(versioning) = yes]: Change conditionals to
36058         [$(build-shared) = yes].
36059         * extra-lib.mk [$(versioning) = yes]: Likewise.
36060         * hurd/Makefile [$(versioning) = yes]: Likewise.
36061         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
36062         [SHARED].
36063         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
36064         [SHARED].
36065         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
36066         [SHARED && !NO_HIDDEN].
36067         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
36068         [SHARED].
36069         [SHARED && DO_VERSIONING]: Likewise..
36070         * libio/Makefile [$(versioning) = yes]: Change conditionals to
36071         [$(build-shared) = yes].
36072         * manual/install.texi (--disable-versioning): Remove
36073         documentation.
36074         * INSTALL: Regenerated.
36075         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
36076         to [SHARED].
36077         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
36078         [$(build-shared) = yes].
36079         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
36080         * sysdeps/i386/i686/multiarch/strstr-c.c
36081         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
36082         [SHARED && !NO_HIDDEN].
36083         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
36084         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
36085         * sysdeps/powerpc/powerpc32/dl-machine.c
36086         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
36087         * sysdeps/powerpc/powerpc32/sysdep.h
36088         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
36089         to [SHARED && PIC && !NO_HIDDEN].
36090         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
36091         conditional to [SHARED].
36093 2013-09-04   Will Newton  <will.newton@linaro.org>
36095         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
36096         * benchtests/bench-string.h: Include bench-timing.h instead
36097         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
36098         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
36099         call to HP_TIMING_DIFF_INIT.
36100         * benchtests/bench-memccpy.c: Use bench-timing.h macros
36101         instead of hp-timing.h macros.
36102         * benchtests/bench-memchr.c: Likewise.
36103         * benchtests/bench-memcmp.c: Likewise.
36104         * benchtests/bench-memcpy.c: Likewise.
36105         * benchtests/bench-memmem.c: Likewise.
36106         * benchtests/bench-memmove.c: Likewise.
36107         * benchtests/bench-memset.c: Likewise.
36108         * benchtests/bench-rawmemchr.c: Likewise.
36109         * benchtests/bench-strcasecmp.c: Likewise.
36110         * benchtests/bench-strcasestr.c: Likewise.
36111         * benchtests/bench-strcat.c: Likewise.
36112         * benchtests/bench-strchr.c: Likewise.
36113         * benchtests/bench-strcmp.c: Likewise.
36114         * benchtests/bench-strcpy.c: Likewise.
36115         * benchtests/bench-strcpy_chk.c: Likewise.
36116         * benchtests/bench-strlen.c: Likewise.
36117         * benchtests/bench-strncasecmp.c: Likewise.
36118         * benchtests/bench-strncat.c: Likewise.
36119         * benchtests/bench-strncmp.c: Likewise.
36120         * benchtests/bench-strncpy.c: Likewise.
36121         * benchtests/bench-strnlen.c: Likewise.
36122         * benchtests/bench-strpbrk.c: Likewise.
36123         * benchtests/bench-strrchr.c: Likewise.
36124         * benchtests/bench-strspn.c: Likewise.
36125         * benchtests/bench-strstr.c: Likewise.
36127 2013-09-04  Will Newton  <will.newton@linaro.org>
36129         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
36131 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
36133         [BZ #15427]
36134         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
36135         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
36136         * math/libm-test.inc (lgamma_test_data): Add more tests.
36137         * sysdeps/i386/fpu/libm-test-ulps: Update.
36138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36140 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
36142         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
36143         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36144         Add ifunc.
36145         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36146         Add strcmp-sse2-unaligned
36147         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
36149 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
36151         * Versions.def (libc): Add GLIBC_2.19.
36153 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
36155         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
36156         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
36158 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
36160         [BZ #14155]
36161         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
36162         intermediate calculations in recurrence.
36163         (__ieee754_ynf): Likewise.
36164         * math/libm-test.inc (jn_test_data): Do not allow spurious
36165         underflow exception.  Add more tests.
36166         (yn_test_data): Add more tests.
36167         * sysdeps/i386/fpu/libm-test-ulps: Update.
36168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36170 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
36172         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
36174 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
36176         * csu/init-first.c: Fix then/than typos.
36177         * locale/programs/ld-collate.c: Likewise.
36178         * locale/programs/linereader.h: Likewise.
36179         * manual/charset.texi: Likewise.
36180         * manual/filesys.texi: Likewise.
36181         * manual/stdio.texi: Likewise.
36182         * manual/string.texi: Likewise.
36183         * stdlib/fmtmsg.c: Likewise.
36184         * sysdeps/i386/stpncpy.S: Likewise.
36185         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36186         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36187         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36188         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36190 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
36192         * elf/dl-open.c: Fix typos.
36193         * iconvdata/gbbig5.c: Likewise.
36194         * iconvdata/iso-2022-jp.c: Likewise.
36195         * iconv/gconv_int.h: Likewise.
36196         * iconv/loop.c: Likewise.
36197         * nis/rpcsvc/nis.h: Likewise.
36198         * resolv/ns_name.c: Likewise.
36199         * stdio-common/vfscanf.c: Likewise.
36200         * streams/stropts.h: Likewise.
36201         * sunrpc/rpc_thread.c: Likewise.
36202         * sysdeps/i386/strpbrk.S: Likewise.
36203         * sysdeps/ieee754/k_standard.c: Likewise.
36204         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36205         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36206         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
36207         * sysdeps/mach/hurd/profil.c: Likewise.
36208         * sysdeps/s390/dl-procinfo.h: Likewise.
36209         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
36210         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
36211         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
36212         * sysdeps/x86_64/dl-trampoline.S: Likewise.
36213         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36215 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
36217         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
36218         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
36220 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
36222         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
36223         aix specific files.
36224         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
36225         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
36226         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
36227         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
36228         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
36229         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
36230         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
36231         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
36233 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
36234             Roland McGrath  <roland@hack.frob.com>
36236         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
36237         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
36239 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36241         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
36242         __executable_start symbol instead of _start.
36244 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
36246         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
36247         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
36248         Move macros to...
36249         * sysdeps/gnu/ldsodefs.h: ... this new file.
36251         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
36252         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
36253         instead of ELFOSABI_LINUX.
36255         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
36256         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
36257         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
36258         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
36259         Likewise.
36260         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
36261         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
36262         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
36263         Likewise.
36264         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
36265         (ibm_extended_long_double): Add ieee_nan member.
36266         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
36267         (do_test): New function.
36269         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
36270         TEST_TRUNC.
36271         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
36272         functions, renamed from truncdfsf_test, trunctfsf_test,
36273         trunctfdf_test.
36274         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
36275         functions.
36276         (do_test): Run all these.
36278 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
36280         * argp/argp-help.c: Fix typos.
36281         * argp/argp-parse.c: Likewise.
36282         * debug/backtracesyms.c: Likewise.
36283         * elf/elf.h: Likewise.
36284         * malloc/malloc.c: Likewise.
36285         * nis/nis_print.c: Likewise.
36286         * resolv/res_comp.c: Likewise.
36287         * stdlib/stdlib.h: Likewise.
36288         * sunrpc/clnt_tcp.c: Likewise.
36289         * sunrpc/clnt_udp.c: Likewise.
36290         * sunrpc/clnt_unix.c: Likewise.
36291         * sysdeps/unix/bsd/ptsname.c: Likewise.
36292         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
36293         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
36294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
36295         Likewise.
36296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
36297         Likewise.
36298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
36299         Likewise.
36300         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36302 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36304         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
36305         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36307 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
36309         [BZ #15897]
36310         * dlfcn/Makefile (tests): Add bug-dl-leaf.
36311         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
36312         ($(objpfx)bug-dl-leaf): New rule.
36313         ($(objpfx)bug-dl-leaf.so): Likewise.
36314         ($(objpfx)bug-dl-leaf.out): Likewise.
36315         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
36316         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
36317         * dlfcn/bug-dl-leaf.c: New test.
36318         * dlfcn/bug-dl-leaf-lib.c: Likewise.
36319         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
36320         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
36321         (dlclose): Likewise.
36322         (dlmopen): Likewise.
36324 2013-08-27  Roland McGrath  <roland@hack.frob.com>
36326         * include/netdb.h [!_ISOMAC]:
36327         Don't include <tls.h>.
36328         (h_errno, __libc_h_errno): Move declaration and macros out of
36329         [_LIBC_REENTRANT].
36331         * include/resolv.h [_RESOLV_H_]:
36332         Don't include <tls.h>.
36333         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
36334         * resolv/res_libc.c: Don't include <tls.h>.
36335         (_res): Use __attribute__ ((nocommon)) in place of
36336         __attribute__ ((section (".bss"))).
36338         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
36339         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
36341         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
36343         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
36344         only under [SIOCGIFCONF && SIOCGIFNETMASK].
36346         * resolv/res_mkquery.c: Include <sys/time.h>.
36348         * inet/ifreq.c: Moved to ...
36349         * sysdeps/unix/ifreq.c: ... here.
36350         * inet/ifreq.c: New file, true stub version.
36352         * socket/sa_len.c: New file.
36353         * socket/Makefile (aux): Add it.
36354         * sysdeps/unix/sysv/linux/Makefile
36355         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
36356         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
36357         and #include <socket/sa_len.c>.
36358         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
36359         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
36361         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
36362         * bits/socket.h: ... here.
36364         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
36365         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
36366         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
36368 2013-08-27  Andreas Schwab  <schwab@suse.de>
36370         [BZ #15736]
36371         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
36372         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
36373         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
36374         * string/test-strcasecmp.c (test_main): Run tests in several
36375         locales.
36376         * string/test-strncasecmp.c (test_main): Likewise.
36378         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
36379         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
36380         to __strcasecmp_nonascii and __strncasecmp_nonascii.
36381         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
36382         (__strncasecmp_ssse3) [PIC]: Likewise.
36384 2013-08-26  Roland McGrath  <roland@hack.frob.com>
36386         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
36388         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
36389         instead of explicitly declaring xdecrypt.
36390         * nis/nss_nis/nis-publickey.c: Likewise.
36392 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36394         [BZ #15890]
36395         * nscd/aicache.c: Include res_hconf.h.
36396         (addhstaiX): Initialize res_hconf.
36398 2013-08-26  Andreas Schwab  <schwab@suse.de>
36400         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
36401         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
36403 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36405         * nscd/aicache.c (addhstaiX): Fix indentation.
36407 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
36409         * configure.ac: Quote $build_pt_chown test.
36410         * configure: Regenerated.
36412 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
36414         [BZ #15532]
36415         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
36416         * math/s_cexpf.c (__cexpf): Likewise.
36417         * math/s_cexpl.c (__cexpl): Likewise.
36418         * math/libm-test.inc (cexp_test_data): Correct expected return
36419         value for NaN + i0.  Add another test.
36421 2013-08-22  David S. Miller  <davem@davemloft.net>
36423         * po/ca.po: Update Catalan translation from translation project.
36424         * po/uk.po: Add Ukrainian translations from translation project.
36426 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
36428         [BZ #15797]
36429         * math/s_fdim.c (__fdim): Check for infinite arguments if result
36430         is infinite, not alongside NaN test.
36431         * math/s_fdimf.c (__fdimf): Likewise.
36432         * math/s_fdiml.c (__fdiml): Likewise.
36433         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
36434         errno is unchanged.
36436 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
36438         * argp/argp-help.c: Fix typos.
36439         * crypt/speeds.c: Likewise.
36440         * csu/check_fds.c: Likewise.
36441         * elf/dl-load.c: Likewise.
36442         * elf/dl-open.c: Likewise.
36443         * elf/reldep3.c: Likewise.
36444         * elf/reldep.c: Likewise.
36445         * elf/sprof.c: Likewise.
36446         * iconv/iconv_charmap.c: Likewise.
36447         * iconv/skeleton.c: Likewise.
36448         * iconv/strtab.c: Likewise.
36449         * io/lockf64.c: Likewise.
36450         * libio/libioP.h: Likewise.
36451         * resolv/gai_notify.c: Likewise.
36452         * resolv/ns_name.c: Likewise.
36453         * resolv/ns_samedomain.c: Likewise.
36454         * resolv/res_send.c: Likewise.
36455         * stdlib/random.c: Likewise.
36456         * sunrpc/rpc/xdr.h: Likewise.
36457         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
36458         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36459         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36460         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36461         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36462         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36463         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36464         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36465         * sysdeps/mach/hurd/check_fds.c: Likewise.
36466         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36467         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36468         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36469         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36470         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36471         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36472         * sysdeps/pthread/aio_notify.c: Likewise.
36473         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
36474         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
36475         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
36476         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36477         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
36479 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36481         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
36482         version if bit_Slow_SSE4_2 is set.
36483         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36484         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36486 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36488         [BZ #15867]
36489         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
36490         trampoline stack frame information.
36491         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
36492         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
36493         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
36494         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
36495         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
36496         * sysdeps/unix/sysv/linux/powerpc/init-first.c
36497         (_libc_vdso_platform_setup): Initialize the signal trampolines.
36498         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
36499         sa_flags value.
36500         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
36501         interrupting a syscall and set with option SA_SIGINFO.
36503 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
36505         [BZ #15531]
36506         * math/s_cproj.c (__cproj): Only return an infinity if one part of
36507         argument is infinite.
36508         * math/s_cprojf.c (__cprojf): Likewise.
36509         * math/s_cprojl.c (__cprojl): Likewise.
36510         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
36511         * math/libm-test.inc (cproj_test_data): Add more tests.
36513         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
36515         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
36516         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
36517         size.  Use __ffs to determine corresponding shift.
36519 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
36520             Roland McGrath  <roland@hack.frob.com>
36522         * Makefile (INSTALL): Remove trailing blank lines from output of
36523         makeinfo.
36525 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36527         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
36528         Align 32 bit compat elf_greg to 8 bytes.
36530 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
36532         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
36534 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36536         * string/strcoll_l.c (coll_seq): New structure.
36537         (get_next_seq_cached): New function.
36538         (get_next_seq): New function.
36539         (do_compare): New function.
36540         (STRCOLL): Use GNU style definition.  Simplify implementation
36541         by using get_next_seq, get_next_seq_cached and do_compare.
36543 2013-08-16  Florian Weimer  <fweimer@redhat.com>
36545         [BZ #14699]
36546         CVE-2013-4237
36547         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
36548         member.
36549         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
36550         member.
36551         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
36552         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
36553         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
36554         conditional.
36555         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
36556         GETDENTS_64BIT_ALIGNED.
36557         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36558         * manual/filesys.texi (Reading/Closing Directory): Document
36559         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
36560         strongly.
36561         * manual/conf.texi (Limits for Files): Add portability note to
36562         NAME_MAX, PATH_MAX.
36563         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
36565 2013-08-13  Andreas Schwab  <schwab@suse.de>
36567         [BZ #15749]
36568         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
36569         of fabs.
36570         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
36571         LDBL_MAX_EXP >= 16384]: Add tests for it.
36573 2013-08-12  David S. Miller  <davem@davemloft.net>
36575         * version.h (RELEASE): Set to "development".
36576         (VERSION): Set to "2.18.90".
36577         * NEWS: Add 2.19 section.
36579 2013-08-03  David S. Miller  <davem@davemloft.net>
36581         * po/ko.po: Update Korean translation from translation project.
36583 2013-08-01  David S. Miller  <davem@davemloft.net>
36585         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
36586         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
36587         Bilka.
36589 2013-07-30  David S. Miller  <davem@davemloft.net>
36591         * po/fr.po: Update French translation from translation project.
36593 2013-07-28  David S. Miller  <davem@davemloft.net>
36595         * po/cs.po: Update Czech translation from translation project.
36597         * po/sv.po: Update Swedish translation from translation project.
36599 2013-07-27  David S. Miller  <davem@davemloft.net>
36601         * po/eo.po: Update Esperanto translation from translation project.
36603         * po/vi.po: Update Vietnamese translation from translation project.
36605         * po/de.po: Update German translation from translation project.
36607 2013-07-26  David S. Miller  <davem@davemloft.net>
36609         * po/bg.po: Update Bulgarian translation from translation project.
36611         * po/nl.po: Update Dutch translation from translation project.
36612         * po/pl.po: Update Polish translation from translation project.
36613         * po/ru.po: Update Russian translation from translation project.
36615 2013-07-24  David S. Miller  <davem@davemloft.net>
36617         * po/libc.pot: Update.
36619 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36621         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
36622         variable page size.
36623         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
36624         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
36625         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
36627 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36629         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
36631 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36632             Andreas Schwab  <schwab@suse.de>
36633             Roland McGrath  <roland@hack.frob.com>
36634             Joseph Myers  <joseph@codesourcery.com>
36635             Carlos O'Donell  <carlos@redhat.com>
36637         [BZ #15755]
36638         * config.h.in: Define HAVE_PT_CHOWN.
36639         * config.make.in (build-pt-chown): New variable.
36640         * configure.in (--enable-pt_chown): New configure option.
36641         * configure: Regenerate.
36642         * login/Makefile: Include Makeconfig.  Build pt_chown only if
36643         build-pt-chown is enabled.
36644         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
36645         pt_chown to fix pty ownership.
36646         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
36647         CLOSE_ALL_FDS.
36648         * manual/install.texi (Configuring and compiling): Mention
36649         --enable-pt_chown. Add @findex for grantpt.
36650         * INSTALL: Regenerate.
36652 2013-07-20  David S. Miller  <davem@davemloft.net>
36654         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
36655         difference between 32-bit and 64-bit.
36657 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
36659         [BZ #15711]
36660         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
36661         Avoid system header dependency with -ffreestanding.
36662         ($(objpfx)bits/syscall%d): Likewise.
36664 2013-07-13  David S. Miller  <davem@davemloft.net>
36666         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
36667         underflows from atanl/atan2l due to bug 15319.
36668         (casinh_test_data): Likewise.
36670 2013-07-07  David S. Miller  <davem@davemloft.net>
36672         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
36674 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
36676         * sysdeps/i386/fpu/libm-test-ulps: Update.
36677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36679 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36681         * configure.in (--enable-lock-elision): Fix message text.
36682         * INSTALL: Regenerate.
36683         * configure: Regenerate.
36685 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36689 2013-07-03  Andreas Jaeger  <aj@suse.de>
36691         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
36692         define.
36693         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
36694         (ptrace_peeksiginfo_args): Add.
36695         (__ptrace_peeksiginfo_flags): Add.
36696         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36697         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36698         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36700 2013-07-03  Allan McRae  <allan@archlinux.org>
36702         * sysdeps/i386/fpu/libm-test-ulps: Update.
36704 2013-07-02  David S. Miller  <davem@davemloft.net>
36706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36708 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
36710         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36712 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
36714         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
36715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36717 2013-07-02  Andi Kleen <ak@linux.intel.com>
36719         * config.h.in (ENABLE_LOCK_ELISION): Add.
36720         * configure.in (--enable-lock-elision): Add option.
36721         * manual/install.texi: Document --enable lock elision.
36722         * configure: Regenerate
36723         * INSTALL: Regenerate.
36725 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
36727         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
36728         SSE4.2 strcasecmp for libc.a.
36729         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
36731 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
36733         [BZ #13304]
36734         * soft-fp/op-common.h (_FP_FMA): New macro.
36735         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
36736         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
36737         (_FP_MUL_MEAT_1_imm): ... here.
36738         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
36739         (_FP_MUL_MEAT_1_wide): ... here.
36740         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
36741         (_FP_MUL_MEAT_1_hard): ... here.
36742         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
36743         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
36744         (_FP_MUL_MEAT_2_wide): ... here.
36745         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
36746         (_FP_MUL_MEAT_2_wide_3mul): ... here.
36747         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
36748         (_FP_MUL_MEAT_2_gmp): ... here.
36749         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
36750         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
36751         (_FP_MUL_MEAT_4_wide): ... here.
36752         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
36753         (_FP_MUL_MEAT_4_gmp): ... here.
36754         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
36755         (_FP_WFRACBITS_DW_S): Likewise.
36756         (_FP_WFRACXBITS_DW_S): Likewise.
36757         (_FP_HIGHBIT_DW_S): Likewise.
36758         (FP_FMA_S): Likewise.
36759         (_FP_FRAC_HIGH_DW_S): Likewise.
36760         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
36761         (_FP_WFRACBITS_DW_D): Likewise.
36762         (_FP_WFRACXBITS_DW_D): Likewise.
36763         (_FP_HIGHBIT_DW_D): Likewise.
36764         (FP_FMA_D): Likewise.
36765         (_FP_FRAC_HIGH_DW_D): Likewise.
36766         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
36767         (_FP_WFRACBITS_DW_E): Likewise.
36768         (_FP_WFRACXBITS_DW_E): Likewise.
36769         (_FP_HIGHBIT_DW_E): Likewise.
36770         (FP_FMA_E): Likewise.
36771         (_FP_FRAC_HIGH_DW_E): Likewise.
36772         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
36773         (_FP_WFRACBITS_DW_Q): Likewise.
36774         (_FP_WFRACXBITS_DW_Q): Likewise.
36775         (_FP_HIGHBIT_DW_Q): Likewise.
36776         (FP_FMA_Q): Likewise.
36777         (_FP_FRAC_HIGH_DW_Q): Likewise.
36778         * soft-fp/fmasf4.c: New file.
36779         * soft-fp/fmadf4.c: Likewise.
36780         * soft-fp/fmatf4.c: Likewise.
36782 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36784         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36785         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
36786         Silvermont.
36787         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
36788         macro.
36789         (index_Slow_SSE4_2): Likewise.
36790         (index_Prefer_PMINUB_for_stringop): Likewise.
36791         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
36792         bit_Slow_SSE4_2 is set.
36793         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36794         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36796 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36798         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
36799         rtld_global._dl_hwcap2.
36800         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
36801         POWER8.
36802         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
36803         POWER8 feature descriptions defined in _dl_hwcap2.
36804         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
36805         string handling for POWER8 feature bits.
36806         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
36807         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
36808         _dl_powerpc_cap_flags.
36809         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
36810         * sysdeps/powerpc/rtld-global-offsets.sym
36811         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
36812         _dl_hwcap2 in the rtld_global_ro structure.
36814 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36816         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
36817         hardware capabilities in support of AT_HWCAP2.
36818         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
36819         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
36820         GLRO(dl_hwcap2).
36821         (_dl_show_auxv): Add support for calling _dl_procinfo to display
36822         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
36823         explicitly the unknown a_type display mechanism is used.
36824         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
36825         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
36826         struct member.
36827         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
36828         to macro prototype for AT_HWCAP2 support.
36829         * sysdeps/i386/dl-procinfo.h: Likewise.
36830         * sysdeps/s390/dl-procinfo.h: Likewise.
36831         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
36832         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
36833         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
36834         return -1 for unknown a_type display fallback.
36835         * sysdeps/sparc/dl-procinfo.h: Likewise.
36836         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
36837         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
36839 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
36841         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
36842         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
36844 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
36846         [BZ #12492]
36847         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
36848         mprotect making __stack_prot writable.
36850 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
36851             Joseph Myers  <joseph@codesourcery.com>
36853         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
36854         as being properly aligned.
36856 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
36858         * dlfcn/modstatic5.c: New file.
36859         * dlfcn/tststatic5.c: New file.
36860         * dlfcn/Makefile (tests): Add tststatic5.
36861         (tests-static): Likewise.
36862         (modules-names): Add modstatic5.
36863         (tststatic5-ENV): New variable.
36864         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
36866         [BZ #15022]
36867         * elf/dl-support.c (_dl_main_map): New variable.
36868         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
36869         (_dl_nns, _dl_load_adds): Set to 1.
36870         (_dl_initial_searchlist): Refer to _dl_main_map.
36871         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
36872         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
36873         call to _dl_get_origin.
36874         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
36875         around call_map.
36876         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
36877         * dlfcn/modstatic3.c: New file.
36878         * dlfcn/tststatic3.c: New file.
36879         * dlfcn/tststatic4.c: New file.
36880         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
36881         (tests-static): Likewise.
36882         (modules-names): Add modstatic3.
36883         (tststatic3-ENV, tststatic4-ENV): New variables.
36884         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
36885         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
36887 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
36889         * configure.in (CC): Require GCC version 4.4 or later.
36890         * configure: Regenerated.
36891         * manual/install.texi (Tools for Compilation): Update GCC version
36892         requirement.
36893         * INSTALL: Regenerated.
36895 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36897         [BZ #15674]
36898         * string/test-memcmp.c (check2): New.
36899         (main): Call check2.
36901         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
36903 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
36905         [BZ #15022]
36906         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
36907         over to...
36908         (dl_open_worker) [!SHARED]: ... here.
36910 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36912         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
36914 2013-06-25  Richard Henderson  <rth@redhat.com>
36916         * locale/programs/locarchive.c: Include <libc-internal.h>
36918 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
36920         * manual/texinfo.tex: Update to version 2013-06-21.17, with
36921         trailing whitespace removed.
36923 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
36925         [BZ #10283]
36926         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
36927         * locale/programs/locarchive.c: Include libc-mmap.h.
36928         (prepare_address_space): Take two new outputs (the mmap base and len).
36929         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
36930         values.
36931         (create_archive): Declare new mmap base and len values for
36932         prepare_address_space, and store the result in ah.
36933         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
36934         (enlarge_archive): If ah->mmap_base is not NULL, use that and
36935         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
36936         Declare new mmap base and len values for
36937         prepare_address_space, and store the result in new_ah.
36938         (open_archive): Declare new mmap base and len values for
36939         prepare_address_space, and store the result in ah.
36940         (close_archive): If ah->mmap_base is not NULL, use that and
36941         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
36942         * sysdeps/generic/libc-mmap.h: New file.
36944 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
36946         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
36947         (ALIGN_UP): Likewise.
36948         (PTR_ALIGN_DOWN): Likewise.
36949         (PTR_ALIGN_UP): Likewise.
36951 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36953         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
36954         entry mapped to PPC_PLATFORM_POWER8.
36955         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
36956         POWER8.
36957         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
36958         (_dl_string_platform): Add case for exporting platform position for
36959         POWER8.
36960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
36961         search path to sysdeps/powerpc/powerpc32/power8 directory.
36962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
36963         search path to sysdeps/powerpc/powerpc64/power8 directory.
36964         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
36965         power7 directories.
36966         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
36967         power7 directories.
36969 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36971         * INSTALL: Regenerate.
36973         * nscd/connections.c (nscd_init): Fix comment.
36975 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
36977         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
36979         [BZ #15667]
36980         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
36981         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
36983 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
36985         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
36986         DL_DST_REQ_STATIC.
36987         (DL_DST_REQ_STATIC): Remove macro.
36989 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
36991         [BZ #7006]
36992         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
36993         with a shift of 0 bits.
36995 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
36997         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
36998         $(tststatic-ENV).
37000 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37002         [BZ #15655]
37003         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
37005 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37007         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
37008         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
37009         accepts -fno-tree-loop-distribute-patterns.
37010         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
37011         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
37012         recursive call.
37013         * string/memset.c (memset): Likewise.
37014         * string/test-memmove.c (simple_memmove): Disable loop transformation
37015         to library calls.
37016         * string/test-memset.c (simple_memset): Likewise.
37017         * benchtests/bench-memmove.c (simple_memmove): Likewise.
37018         * benchtests/bench-memset.c (simple_memset): Likewise.
37019         * configure: Regenerated.
37021 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
37023         * math/test-misc.c (main): Ignore fesetround failure when failures
37024         of subsequent rounding tests would be ignored.
37026         [BZ #15654]
37027         * math/fedisblxcpt.c (fedisableexcept): Return 0.
37028         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
37029         * math/fegetenv.c (__fegetenv): Return 0.
37030         * math/fegetexcept.c (fegetexcept): Return 0.
37031         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
37032         FE_TONEAREST.
37033         * math/feholdexcpt.c (feholdexcept): Return 0.
37034         * math/fesetenv.c (__fesetenv): Return 0.
37035         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
37036         argument FE_TONEAREST.
37037         * math/feupdateenv.c (__feupdateenv): Return 0.
37038         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
37040 2013-06-18  Roland McGrath  <roland@hack.frob.com>
37042         * elf/rtld-Rules (rtld-compile-command.S): New variable.
37043         (rtld-compile-command.s, rtld-compile-command.c): New variables.
37044         ($(objpfx)rtld-%.os rules): Use them.
37046 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37048         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
37049         fields.
37051 2013-06-17  Roland McGrath  <roland@hack.frob.com>
37053         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
37054         length of target pattern, then descending length of dependency pattern.
37055         * configure.in (AWK): Require gawk 3.1.2 or newer.
37056         * manual/install.texi (Tools for Compilation): Say that we do.
37057         * configure: Regenerated.
37059         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
37060         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
37061         * scripts/sysd-rules.awk: ... this new script.
37062         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
37063         than a glob-style pattern.
37065 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
37067         * math/test-misc.c (main): Do not treat incorrectly rounded
37068         conversions as failure unless ROUNDING_TESTS passes.
37070 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
37072         [BZ #15631]
37073         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
37074         restore exception state around main square root computation, then
37075         check for inexactness explicitly.
37077         * math/libm-test.inc (fma_test_data): Add another test.
37079 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37081         * manual/threads.texi (Non-POSIX Extensions): New document
37082         node.  Document pthread_getattr_default_np and
37083         pthread_setattr_default_np.
37085         * Versions.def (libpthread): Add GLIBC_2.18.
37086         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
37087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37088         Likewise.
37089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37090         Likewise.
37091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37092         Likewise.
37093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37094         Likewise.
37095         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
37096         Likewise.
37097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37098         Likewise.
37099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37100         Likewise.
37101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37102         Likewise.
37103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37104         Likewise.
37106 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37108         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37109         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
37111 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37112             H.J. Lu  <hjl.tools@gmail.com>
37114         [BZ #15627]
37115         * sysdeps/x86_64/rtld-memset.c: Remove file.
37116         * sysdeps/x86_64/rtld-memset.S: New file.
37118 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
37120         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
37121         (test_in_one_mode): Take arguments for whether the rounding mode
37122         is supported for each floating-point type.
37123         (do_test): Pass new arguments to test_in_one_mode using
37124         ROUNDING_TESTS.
37126 2013-06-13  Roland McGrath  <roland@hack.frob.com>
37128         * posix/tst-waitid.c (do_test): Distinguish different instances of
37129         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
37130         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
37131         before entering the kernel for waitpid.
37133 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37135         * NEWS: Fix note on clock function precision.  Text by Roland
37136         McGrath.
37138 2013-06-13  Roland McGrath  <roland@hack.frob.com>
37140         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
37141         it into place only when and if the sanity check passes.
37143 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
37145         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
37146         output for whether conversion result is exact.  Take argument
37147         indicating whether type is IBM long double.
37148         (round_for_all): Change need_exact field to ibm_ld.
37149         * stdlib/tst-strtod-round.c (struct exactness): New type.
37150         (struct test): Change bool ld_ok field to struct exactness exact.
37151         (TEST): Update all definitions for change to field.
37152         (tests): Regenerate array contents.
37153         (test_in_one_mode): Take pointer to new field instead of old ld_ok
37154         field value.  Check for IBM long double here.
37155         (do_test): Update calls to test_in_one_mode.
37157 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37159         [BZ #12515]
37160         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
37161         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
37163 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37165         [BZ #15605]
37166         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
37167         generated by the compiler on loop optimizations.
37168         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
37169         general definitions.
37171 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
37173         * math/bug-nextafter.c: Include <math-tests.h>.
37174         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37175         the relevant type.
37176         * math/bug-nexttoward.c: Include <math-tests.h>.
37177         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37178         the relevant type.
37179         * math/test-misc.c: Include <math-tests.h>.
37180         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37181         the relevant type.
37183 2013-06-12  Andreas Jaeger  <aj@suse.de>
37185         * po/ia.po: Update Interlingua translation from translation
37186         project.
37188 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37190         * include/fenv.h: Include stdbool.h.
37191         (struct rm_ctx): New structure.
37192         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
37193         Define macro.
37194         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
37195         (SET_RESTORE_ROUNDF): Likewise.
37196         (SET_RESTORE_ROUNDL): Likewise.
37197         (SET_RESTORE_ROUND_NOEX): Likewise.
37198         (SET_RESTORE_ROUND_NOEXF): Likewise.
37199         (SET_RESTORE_ROUND_NOEXL): Likewise.
37200         (SET_RESTORE_ROUND_53BIT): Likewise.
37201         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
37202         (libc_feresetround_noexf_ctx): Likewise.
37203         (libc_feresetround_noexl_ctx): Likewise.
37204         (libc_feholdsetround_53bit_ctx): Likewise.
37205         (libc_feresetround_53bit_ctx): Likewise.
37206         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
37207         (libc_feholdexcept_setround_sse_ctx): New function.
37208         (libc_fesetenv_sse_ctx): Likewise.
37209         (libc_feupdateenv_sse_ctx): Likewise.
37210         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
37211         (libc_feholdexcept_setround_387_ctx): Likewise.
37212         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
37213         (libc_feholdsetround_387_prec_ctx): Likewise.
37214         (libc_feholdsetround_387_ctx): Likewise.
37215         (libc_feholdsetround_387_53bit_ctx): Likewise.
37216         (libc_feholdsetround_sse_ctx): Likewise.
37217         (libc_feresetround_sse_ctx): Likewise.
37218         (libc_feresetround_387_ctx): Likewise.
37219         (libc_feupdateenv_387_ctx): Likewise.
37220         (libc_feholdexcept_setroundf_ctx): Define macro.
37221         (libc_fesetenvf_ctx): Likewise.
37222         (libc_feupdateenvf_ctx): Likewise.
37223         (libc_feholdsetroundf_ctx): Likewise.
37224         (libc_feresetroundf_ctx): Likewise.
37225         (libc_feholdexcept_setround_ctx): Likewise.
37226         (libc_fesetenv_ctx): Likewise.
37227         (libc_feupdateenv_ctx): Likewise.
37228         (libc_feholdsetround_ctx): Likewise.
37229         (libc_feresetround_ctx): Likewise.
37230         (libc_feholdexcept_setroundl_ctx): Likewise.
37231         (libc_feupdateenvl_ctx): Likewise.
37232         (libc_feholdsetroundl_ctx): Likewise.
37233         (libc_feresetroundl_ctx): Likewise.
37234         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
37235         (libc_feresetround_53bit_ctx): Likewise.
37237 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37239         * locale/iso-639.def: Convert to UTF-8.
37241 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
37243         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
37244         (EXCEPTION_TESTS_double): Likewise.
37245         (EXCEPTION_TESTS_long_double): Likewise.
37246         (EXCEPTION_TESTS): Likewise.
37247         * math/libm-test.inc (test_exceptions): Only test exceptions if
37248         EXCEPTION_TESTS (FLOAT).
37250 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37252         * benchtests/Makefile (string-bench): Add strcpy_chk and
37253         stpcpy_chk.
37254         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
37255         * benchtests/bench-stpcpy_chk.c: New file.
37256         * benchtests/bench-strcpy_chk-ifunc.c: New file.
37257         * benchtests/bench-strcpy_chk.c: New file.
37258         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
37259         code.
37260         (do_test): Likewise.
37262 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37264         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
37265         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
37266         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
37267         with tabs where appropriate.
37268         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
37269         dl-procinfo.h.
37270         [PPC_PLATFORM_PPC440]: Likewise.
37271         [PPC_PLATFORM_PPC464]: Likewise.
37272         [PPC_PLATFORM_PPC476]: Likewise.
37273         (_dl_string_platform): Add support for detecting ppc405, ppc440,
37274         ppc464, and ppc476 platform strings merging from ports/
37275         dl-procinfo.h.
37277 2013-06-11  Andreas Schwab  <schwab@suse.de>
37279         [BZ #14991]
37280         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
37281         (from_ucs4_idx): Regenerate.
37282         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
37283         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
37284         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
37285         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
37286         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
37287         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
37288         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
37289         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
37290         from FROM_LOOP and TO_LOOP specific macros.
37291         (BODY): Handle combining characters.
37292         * iconvdata/BIG5HKSCS.irreversible: Update.
37293         * iconvdata/BIG5HKSCS.precomposed: New file.
37294         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
37295         characters.
37296         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
37298 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37300         * include/sys/time.h: Fix indentation and add copyright header.
37302         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
37303         (do_test): Likewise.
37304         * string/test-memchr.c (do_one_test): Likewise.
37305         (do_test): Likewise.
37306         * string/test-memcmp.c (do_one_test): Likewise.
37307         (do_test): Likewise.
37308         * string/test-memcpy.c (do_one_test): Likewise.
37309         (do_test): Likewise.
37310         * string/test-memmem.c (do_one_test): Likewise.
37311         (do_test): Likewise.
37312         (do_random_tests): Likewise.
37313         * string/test-memmove.c (do_one_test): Likewise.
37314         (do_test): Likewise.
37315         * string/test-memset.c (do_one_test): Likewise.
37316         (do_test): Likewise.
37317         * string/test-rawmemchr.c (do_one_test): Likewise.
37318         (do_test): Likewise.
37319         * string/test-strcasecmp.c (do_one_test): Likewise.
37320         (do_test): Likewise.
37321         * string/test-strcasestr.c (do_one_test): Likewise.
37322         (do_test): Likewise.
37323         * string/test-strcat.c (do_one_test): Likewise.
37324         (do_test): Likewise.
37325         * string/test-strchr.c (do_one_test): Likewise.
37326         (do_test): Likewise.
37327         * string/test-strcmp.c (do_one_test): Likewise.
37328         (do_test): Likewise.
37329         * string/test-strcpy.c (do_one_test): Likewise.
37330         (do_test): Likewise.
37331         * string/test-string.h: Likewise.
37332         (test_init): Likewise.
37333         * string/test-strlen.c (do_one_test): Likewise.
37334         (do_test): Likewise.
37335         * string/test-strncasecmp.c (do_one_test): Likewise.
37336         (do_test): Likewise.
37337         * string/test-strncat.c (do_one_test): Likewise.
37338         (do_test): Likewise.
37339         * string/test-strncmp.c (do_one_test): Likewise.
37340         (do_test_limit): Likewise.
37341         (do_test): Likewise.
37342         * string/test-strncpy.c (do_one_test): Likewise.
37343         (do_test): Likewise.
37344         * string/test-strnlen.c (do_one_test): Likewise.
37345         (do_test): Likewise.
37346         * string/test-strpbrk.c (do_one_test): Likewise.
37347         (do_test): Likewise.
37348         * string/test-strrchr.c (do_one_test): Likewise.
37349         (do_test): Likewise.
37350         * string/test-strspn.c (do_one_test): Likewise.
37351         (do_test): Likewise.
37352         * string/test-strstr.c (do_one_test): Likewise.
37353         (do_test): Likewise.
37355         * benchtests/Makefile (string-bench): Add string benchmarks.
37356         * benchtests/bench-bcopy-ifunc.c: New file.
37357         * benchtests/bench-bcopy.c: New file.
37358         * benchtests/bench-bzero-ifunc.c: New file.
37359         * benchtests/bench-bzero.c: New file.
37360         * benchtests/bench-memccpy-ifunc.c: New file.
37361         * benchtests/bench-memccpy.c: New file.
37362         * benchtests/bench-memchr-ifunc.c: New file.
37363         * benchtests/bench-memchr.c: New file.
37364         * benchtests/bench-memcmp-ifunc.c: New file.
37365         * benchtests/bench-memcmp.c: New file.
37366         * benchtests/bench-memmem-ifunc.c: New file.
37367         * benchtests/bench-memmem.c: New file.
37368         * benchtests/bench-memmove-ifunc.c: New file.
37369         * benchtests/bench-memmove.c: New file.
37370         * benchtests/bench-mempcpy-ifunc.c: New file.
37371         * benchtests/bench-mempcpy.c: New file.
37372         * benchtests/bench-memset-ifunc.c: New file.
37373         * benchtests/bench-memset.c: New file.
37374         * benchtests/bench-rawmemchr-ifunc.c: New file.
37375         * benchtests/bench-rawmemchr.c: New file.
37376         * benchtests/bench-stpcpy-ifunc.c: New file.
37377         * benchtests/bench-stpcpy.c: New file.
37378         * benchtests/bench-stpncpy-ifunc.c: New file.
37379         * benchtests/bench-stpncpy.c: New file.
37380         * benchtests/bench-strcasecmp-ifunc.c: New file.
37381         * benchtests/bench-strcasecmp.c: New file.
37382         * benchtests/bench-strcasestr-ifunc.c: New file.
37383         * benchtests/bench-strcasestr.c: New file.
37384         * benchtests/bench-strcat-ifunc.c: New file.
37385         * benchtests/bench-strcat.c: New file.
37386         * benchtests/bench-strchr-ifunc.c: New file.
37387         * benchtests/bench-strchr.c: New file.
37388         * benchtests/bench-strchrnul-ifunc.c: New file.
37389         * benchtests/bench-strchrnul.c: New file.
37390         * benchtests/bench-strcmp-ifunc.c: New file.
37391         * benchtests/bench-strcmp.c: New file.
37392         * benchtests/bench-strcpy-ifunc.c: New file.
37393         * benchtests/bench-strcpy.c: New file.
37394         * benchtests/bench-strcspn-ifunc.c: New file.
37395         * benchtests/bench-strcspn.c: New file.
37396         * benchtests/bench-strlen-ifunc.c: New file.
37397         * benchtests/bench-strlen.c: New file.
37398         * benchtests/bench-strncasecmp-ifunc.c: New file.
37399         * benchtests/bench-strncasecmp.c: New file.
37400         * benchtests/bench-strncat-ifunc.c: New file.
37401         * benchtests/bench-strncat.c: New file.
37402         * benchtests/bench-strncmp-ifunc.c: New file.
37403         * benchtests/bench-strncmp.c: New file.
37404         * benchtests/bench-strncpy-ifunc.c: New file.
37405         * benchtests/bench-strncpy.c: New file.
37406         * benchtests/bench-strnlen-ifunc.c: New file.
37407         * benchtests/bench-strnlen.c: New file.
37408         * benchtests/bench-strpbrk-ifunc.c: New file.
37409         * benchtests/bench-strpbrk.c: New file.
37410         * benchtests/bench-strrchr-ifunc.c: New file.
37411         * benchtests/bench-strrchr.c: New file.
37412         * benchtests/bench-strspn-ifunc.c: New file.
37413         * benchtests/bench-strspn.c: New file.
37414         * benchtests/bench-strstr-ifunc.c: New file.
37415         * benchtests/bench-strstr.c: New file.
37417         * benchtests/Makefile: Disable parallel execution of targets.
37418         (string-bench): Add memcpy.
37419         (benchset): New variable to store a list of benchmark sets.
37420         (bench-func): Renamed from bench.
37421         (bench-set): New target.
37422         (bench): Depend on bench-func and bench-set.
37423         * benchtests/README: Add section on benchmark sets.
37424         * benchtests/bench-memcpy-ifunc.c: New file.
37425         * benchtests/bench-memcpy.c: New file.
37426         * benchtests/bench-string.h: New file.
37428 2013-06-11  Andreas Schwab  <schwab@suse.de>
37430         [BZ #15577]
37431         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
37432         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
37433         values in the triple.
37434         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
37435         terminator in the group key.
37437 2013-06-11  Andreas Jaeger  <aj@suse.de>
37439         * po/zh_TW.po: Update Chinese (traditional) translation from
37440         translation project.
37442 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37444         * include/time.h (__clock_gettime): Add libc_hidden_proto.
37445         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
37446         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
37447         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37448         (clock_getcpuclockid): Likewise.
37449         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
37450         Add weak_alias and libc_hidden_def.
37451         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
37452         * rt/clock_gettime.c (clock_gettime): Rename to
37453         __clock_gettime.  Add weak_alias and libc_hidden_def.
37454         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
37455         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
37456         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
37457         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
37458         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
37459         Likewise.
37460         * rt/clock_settime.c (clock_settime): Rename to
37461         __clock_settime.  Add weak_alias and libc_hidden_def.
37462         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
37464 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
37466         * mach/err_boot.sub: Remove trailing whitespace.
37467         * mach/err_ipc.sub: Likewise.
37468         * mach/err_mach.sub: Likewise.
37470         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
37471         (ROUNDING_TESTS_double): Likewise.
37472         (ROUNDING_TESTS_long_double): Likewise.
37473         (ROUNDING_TESTS): Likewise.
37474         * math/libm-test.inc: Include <math-tests.h>.
37475         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
37476         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37477         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37478         (IF_ROUND_INIT_FE_UPWARD): Likewise.
37480 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37482         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
37483         of assigning.
37485 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
37487         * sysdeps/gnu/errlist.awk: Do not generate space at end of
37488         otherwise empty TRANS lines.
37489         * sysdeps/gnu/errlist.c: Regenerated.
37491         * catgets/gencat.c (error_print): Use (void) in function
37492         definition.
37493         * crypt/crypt_util.c (__init_des): Likewise.
37494         * crypt/speeds.c (Stop): Likewise.
37495         (main): Likewise.
37496         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
37497         * inet/ruserpass.c (token): Likewise.
37498         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
37499         * intl/localealias.c (extend_alias_table): Likewise.
37500         * intl/plural-exp.c (init_germanic_plural): Likewise.
37501         * libio/fcloseall.c (__fcloseall): Likewise.
37502         * libio/genops.c (_IO_flush_all): Likewise.
37503         (_IO_flush_all_linebuffered): Likewise.
37504         (_IO_cleanup): Likewise.
37505         (_IO_iter_begin): Likewise.
37506         (_IO_iter_end): Likewise.
37507         (_IO_list_lock): Likewise.
37508         (_IO_list_unlock): Likewise.
37509         (_IO_list_resetlock): Likewise.
37510         * libio/getchar.c (getchar): Likewise.
37511         * libio/getchar_u.c (getchar_unlocked): Likewise.
37512         * libio/getwchar.c (getwchar): Likewise.
37513         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
37514         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
37515         * login/getpt.c (__getpt): Likewise.
37516         * login/tst-utmp.c (main): Likewise.
37517         * malloc/hooks.c (__malloc_check_init): Likewise.
37518         * malloc/malloc.c (__malloc_stats): Likewise.
37519         * malloc/mtrace.c (tr_break): Likewise.
37520         (mtrace): Likewise.
37521         (muntrace): Likewise.
37522         * misc/fstab.c (endfsent): Likewise.
37523         * misc/getclktck.c (__getclktck): Likewise.
37524         * misc/getdtsz.c (__getdtablesize): Likewise.
37525         * misc/gethostid.c (gethostid): Likewise.
37526         * misc/getpagesize.c (__getpagesize): Likewise.
37527         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
37528         (__get_nprocs): Likewise.
37529         (__get_phys_pages): Likewise.
37530         (__get_avphys_pages): Likewise.
37531         * misc/getttyent.c (getttyent): Likewise.
37532         (setttyent): Likewise.
37533         (endttyent): Likewise.
37534         * misc/getusershell.c (getusershell): Likewise.
37535         (endusershell): Likewise.
37536         (setusershell): Likewise.
37537         (initshells): Likewise.
37538         * misc/hsearch.c (__hdestroy): Likewise.
37539         * misc/sync.c (sync): Likewise.
37540         * misc/syslog.c (closelog_internal): Likewise.
37541         (closelog): Likewise.
37542         * misc/ttyslot.c (ttyslot): Likewise.
37543         * misc/vhangup.c (vhangup): Likewise.
37544         * posix/fork.c (__fork): Likewise.
37545         * posix/getegid.c (__getegid): Likewise.
37546         * posix/geteuid.c (__geteuid): Likewise.
37547         * posix/getgid.c (__getgid): Likewise.
37548         * posix/getpid.c (__getpid): Likewise.
37549         * posix/getppid.c (__getppid): Likewise.
37550         * posix/getuid.c (__getuid): Likewise.
37551         * posix/pause.c (pause): Likewise.
37552         * posix/setpgrp.c (setpgrp): Likewise.
37553         * posix/setsid.c (__setsid): Likewise.
37554         * posix/test-vfork.c (noop): Likewise.
37555         * resolv/gethnamaddr.c (_endhtent): Likewise.
37556         (_gethtent): Likewise.
37557         (ht_endhostent): Likewise.
37558         (gethostent): Likewise.
37559         (dns_service): Likewise.
37560         * stdlib/drand48.c (drand48): Likewise.
37561         * stdlib/lrand48.c (lrand48): Likewise.
37562         * stdlib/mrand48.c (mrand48): Likewise.
37563         * stdlib/rand.c (rand): Likewise.
37564         * stdlib/random.c (__random): Likewise.
37565         * stdlib/setenv.c (clearenv): Likewise.
37566         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
37567         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
37568         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
37569         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
37570         (__get_nprocs): Likewise.
37571         (__get_phys_pages): Likewise.
37572         (__get_avphys_pages): Likewise.
37573         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
37574         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
37575         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
37576         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
37577         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
37578         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
37579         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
37580         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
37581         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
37582         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
37583         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
37584         * sysdeps/mach/hurd/sync.c (sync): Likewise.
37585         * sysdeps/posix/clock.c (clock): Likewise.
37586         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
37587         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
37588         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
37589         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
37590         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
37591         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
37592         (__get_nprocs_conf): Likewise.
37593         (__get_phys_pages): Likewise.
37594         (__get_avphys_pages): Likewise.
37595         * time/clock.c (clock): Likewise.
37596         * time/tzset.c (__tzname_max): Likewise.
37598 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
37600         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
37601         (__bswap_32): Do not use "register".
37602         * crypt/crypt.c (_ufc_doit_r): Likewise.
37603         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
37604         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
37605         * gmon/gmon.c (__monstartup): Likewise.
37606         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
37607         * hurd/hurdmalloc.c (more_memory): Likewise.
37608         (malloc): Likewise.
37609         (free): Likewise.
37610         (realloc): Likewise.
37611         (malloc_fork_prepare): Likewise.
37612         (malloc_fork_parent): Likewise.
37613         (malloc_fork_child): Likewise.
37614         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
37615         (_svcauth_des): Likewise.
37616         * inet/inet_lnaof.c (inet_lnaof): Likewise.
37617         * inet/inet_net.c (inet_network): Likewise.
37618         * inet/inet_netof.c (inet_netof): Likewise.
37619         * inet/rcmd.c (__validuser2_sa): Likewise.
37620         * io/fts.c (fts_open): Likewise.
37621         (fts_load): Likewise.
37622         (fts_close): Likewise.
37623         (fts_read): Likewise.
37624         (fts_children): Likewise.
37625         (fts_build): Likewise.
37626         (fts_stat): Likewise.
37627         (fts_sort): Likewise.
37628         (fts_alloc): Likewise.
37629         (fts_lfree): Likewise.
37630         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
37631         (_IO_file_xsgetn): Likewise.
37632         (_IO_file_xsgetn_mmap): Likewise.
37633         * libio/iofopncook.c (_IO_cookie_read): Likewise.
37634         (_IO_cookie_write): Likewise.
37635         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
37636         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
37637         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
37638         * malloc/obstack.c (_obstack_begin): Likewise.
37639         (_obstack_begin_1): Likewise.
37640         (_obstack_newchunk): Likewise.
37641         (_obstack_allocated_p): Likewise.
37642         (obstack_free): Likewise.
37643         (_obstack_memory_used): Likewise.
37644         * misc/getttyent.c (getttynam): Likewise.
37645         (getttyent): Likewise.
37646         (skip): Likewise.
37647         (value): Likewise.
37648         * misc/getusershell.c (initshells): Likewise.
37649         * misc/syslog.c (__vsyslog_chk): Likewise.
37650         * misc/ttyslot.c (ttyslot): Likewise.
37651         * nis/nis_hash.c (__nis_hash): Likewise.
37652         * posix/fnmatch_loop.c (FCT): Likewise.
37653         * posix/getconf.c (print_all): Likewise.
37654         (main): Likewise.
37655         * posix/getopt.c (exchange): Likewise.
37656         * posix/glob.c (globfree): Likewise.
37657         (prefix_array): Likewise.
37658         (__glob_pattern_type): Likewise.
37659         * resolv/arpa/nameser.h (NS_GET16): Likewise.
37660         (NS_GET32): Likewise.
37661         (NS_PUT16): Likewise.
37662         (NS_PUT32): Likewise.
37663         * resolv/gethnamaddr.c (getanswer): Likewise.
37664         (gethostbyname2): Likewise.
37665         (gethostbyaddr): Likewise.
37666         (_gethtent): Likewise.
37667         (_gethtbyname2): Likewise.
37668         (_gethtbyaddr): Likewise.
37669         * resolv/ns_print.c (dst_s_get_int16): Likewise.
37670         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
37671         * resolv/res_init.c (__res_vinit): Likewise.
37672         (net_mask): Likewise.
37673         * resolv/res_mkquery.c (outchar): Likewise.
37674         (PRINT): Likewise.
37675         * stdio-common/printf_fp.c (outchar): Likewise.
37676         (PRINT): Likewise.
37677         * stdio-common/printf_fphex.c (outchar): Likewise.
37678         (PRINT): Likewise.
37679         * stdio-common/printf_size.c (outchar): Likewise.
37680         (PRINT): Likewise.
37681         * stdio-common/test_rdwr.c (main): Likewise.
37682         * stdio-common/tfformat.c (matches): Likewise.
37683         * stdio-common/vfprintf.c (outchar): Likewise.
37684         (printf_unknown): Likewise.
37685         (buffered_vfprintf): Likewise.
37686         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
37687         * stdio-common/xbug.c (AppendToBuffer): Likewise.
37688         (ReadFile): Likewise.
37689         * stdlib/qsort.c (SWAP): Likewise.
37690         (_quicksort): Likewise.
37691         * stdlib/setenv.c (__add_to_environ): Likewise.
37692         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
37693         * stdlib/strtol_l.c (__strtol_l): Likewise.
37694         * stdlib/tst-strtod.c (main): Likewise.
37695         * stdlib/tst-strtol.c (main): Likewise.
37696         * stdlib/tst-strtoll.c (main): Likewise.
37697         * string/bits/string2.h (__strcmp_cc): Likewise.
37698         (__strcmp_cg): Likewise.
37699         (__strcspn_c1): Likewise.
37700         (__strcspn_c2): Likewise.
37701         (__strcspn_c3): Likewise.
37702         (__strspn_c1): Likewise.
37703         (__strspn_c2): Likewise.
37704         (__strspn_c3): Likewise.
37705         (__strsep_1c): Likewise.
37706         (__strsep_2c): Likewise.
37707         (__strsep_3c): Likewise.
37708         * string/memccpy.c (__memccpy): Likewise.
37709         * string/stpcpy.c (__stpcpy): Likewise.
37710         * string/strcmp.c (strcmp): Likewise.
37711         * string/strrchr.c (strrchr): Likewise.
37712         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
37713         Likewise.
37714         * sysdeps/mach/hurd/getcwd.c
37715         (_hurd_canonicalize_directory_name_internal): Likewise.
37716         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
37717         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
37718         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
37719         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
37720         Likewise, in both definitions.
37721         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
37722         definitions.
37723         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
37724         64] (__bswap_64): Likewise.
37725         * time/test_time.c (main): Likewise.
37726         * time/tzfile.c (__tzfile_read): Likewise.
37727         (__tzfile_compute): Likewise.
37728         * time/tzset.c (__tzset_parse_tz): Likewise.
37729         (tzset_internal): Likewise.
37730         (compute_change): Likewise.
37731         * wcsmbs/wcscat.c (__wcscat): Likewise.
37732         * wcsmbs/wcschr.c (wcschr): Likewise.
37733         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
37734         * wcsmbs/wcscspn.c (wcscspn): Likewise.
37735         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
37736         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
37737         * wcsmbs/wcsspn.c (wcsspn): Likewise.
37738         * wcsmbs/wcsstr.c (wcsstr): Likewise.
37739         * wcsmbs/wmemchr.c (wmemchr): Likewise.
37740         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37741         * wcsmbs/wmemset.c (wmemset): Likewise.
37743 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
37745         * scripts/config.guess: Update to version 2013-05-16.
37746         * scripts/config.sub: Update to version 2013-04-24.
37747         * scripts/install-sh: Update to version 2011-11-20.07.
37748         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
37749         * scripts/move-if-change: Update to version 2012-01-06 07:23.
37751 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
37753         * debug/fgetws_u_chk.c: Fix leading whitespaces.
37754         * elf/sln.c: Likewise.
37755         * hurd/hurd/ioctl.h: Likewise.
37756         * hurd/hurdmalloc.c: Likewise.
37757         * hurd/xattr.c: Likewise.
37758         * include/shlib-compat.h: Likewise.
37759         * inet/ruserpass.c: Likewise.
37760         * libio/iofgets_u.c: Likewise.
37761         * libio/iofgetws_u.c: Likewise.
37762         * locale/programs/ld-identification.c: Likewise.
37763         * locale/programs/ld-time.c: Likewise.
37764         * mach/msg-destroy.c: Likewise.
37765         * nss/nss_files/files-netgrp.c: Likewise.
37766         * resolv/res_data.c: Likewise.
37767         * soft-fp/op-1.h: Likewise.
37768         * soft-fp/op-2.h: Likewise.
37769         * soft-fp/op-4.h: Likewise.
37770         * soft-fp/op-common.h: Likewise.
37771         * stdio-common/printf_fphex.c: Likewise.
37772         * stdlib/strtod_l.c: Likewise.
37773         * sunrpc/rpc/clnt.h: Likewise.
37774         * sysdeps/generic/framestate.c: Likewise.
37775         * sysdeps/i386/bsd-_setjmp.S: Likewise.
37776         * sysdeps/i386/bsd-setjmp.S: Likewise.
37777         * sysdeps/i386/__longjmp.S: Likewise.
37778         * sysdeps/i386/setjmp.S: Likewise.
37779         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37780         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37781         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37782         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37783         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37784         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37785         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37786         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37787         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37788         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37789         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37790         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37791         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37792         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37793         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37794         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37795         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37796         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
37797         * sysdeps/ieee754/support.c: Likewise.
37798         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37799         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
37800         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
37801         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
37802         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
37803         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
37804         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
37805         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
37806         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
37807         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
37808         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
37809         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
37810         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
37811         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
37812         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
37813         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
37814         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
37817 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
37819         * posix/transbug.c: Remove executable mode.
37821 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
37823         * crypt/speeds.c: Remove trailing whitespace.
37824         * dlfcn/default.c: Likewise.
37825         * elf/ifuncdep2.c: Likewise.
37826         * elf/ifuncmain1.c: Likewise.
37827         * elf/ifuncmain1vis.c: Likewise.
37828         * elf/testobj.h: Likewise.
37829         * elf/tst-stackguard1.c: Likewise.
37830         * gmon/sys/gmon.h: Likewise.
37831         * hurd/hurdmsg.c: Likewise.
37832         * hurd/new-fd.c: Likewise.
37833         * hurd/ports-get.c: Likewise.
37834         * iconvdata/ibm1008_420.c: Likewise.
37835         * inet/tst-getni1.c: Likewise.
37836         * inet/tst-getni2.c: Likewise.
37837         * libio/ioungetc.c: Likewise.
37838         * libio/wfiledoalloc.c: Likewise.
37839         * manual/libm-err-tab.pl: Likewise.
37840         * math/w_dremf.c: Likewise.
37841         * misc/ftruncate.c: Likewise.
37842         * posix/bug-glob2.c: Likewise.
37843         * posix/tst-pcre.c: Likewise.
37844         * posix/wait4.c: Likewise.
37845         * resolv/README: Likewise.
37846         * resolv/res_debug.h: Likewise.
37847         * resolv/tst-inet_ntop.c: Likewise.
37848         * setjmp/bug269-setjmp.c: Likewise.
37849         * soft-fp/extended.h: Likewise.
37850         * soft-fp/op-1.h: Likewise.
37851         * soft-fp/op-2.h: Likewise.
37852         * soft-fp/op-4.h: Likewise.
37853         * soft-fp/op-8.h: Likewise.
37854         * soft-fp/testit.c: Likewise.
37855         * stdio-common/bug16.c: Likewise.
37856         * stdlib/random.c: Likewise.
37857         * sunrpc/rpcsvc/rquota.x: Likewise.
37858         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
37859         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37860         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37861         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37862         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37863         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37864         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37865         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37866         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37867         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37868         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37869         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37870         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37871         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37872         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37873         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37874         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37875         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37876         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37877         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37878         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37879         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37880         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
37881         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37882         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37883         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37884         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37885         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37886         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37887         * sysdeps/ieee754/s_lib_version.c: Likewise.
37888         * sysdeps/mach/hurd/check_fds.c: Likewise.
37889         * sysdeps/mach/hurd/getsockname.c: Likewise.
37890         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
37891         * sysdeps/mach/hurd/recvfrom.c: Likewise.
37892         * sysdeps/powerpc/bits/link.h: Likewise.
37893         * sysdeps/powerpc/dl-procinfo.c: Likewise.
37894         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
37895         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
37896         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
37897         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37898         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37899         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
37900         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37901         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
37902         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37903         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
37904         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
37905         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
37906         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37907         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37908         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37909         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
37910         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
37911         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37912         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37913         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37914         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
37915         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37916         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
37917         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
37918         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
37919         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
37920         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37921         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37922         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
37923         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
37924         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
37925         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37926         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37927         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
37928         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37929         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
37930         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
37931         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
37932         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
37933         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
37934         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
37935         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
37936         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
37937         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
37938         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
37939         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
37940         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
37941         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
37942         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
37943         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37944         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37945         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37946         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37947         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
37948         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
37949         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
37950         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37951         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
37952         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
37953         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
37954         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
37955         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
37956         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37957         * sysdeps/powerpc/sysdep.h: Likewise.
37958         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37959         * sysdeps/s390/s390-64/sub_n.S: Likewise.
37960         * sysdeps/sh/dl-trampoline.S: Likewise.
37961         * sysdeps/sh/memset.S: Likewise.
37962         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
37963         * sysdeps/sh/strlen.S: Likewise.
37964         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
37965         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
37966         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
37967         * sysdeps/sparc/sparc32/rem.S: Likewise.
37968         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
37969         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
37970         * sysdeps/sparc/sparc32/strchr.S: Likewise.
37971         * sysdeps/sparc/sparc32/udiv.S: Likewise.
37972         * sysdeps/sparc/sparc32/urem.S: Likewise.
37973         * sysdeps/sparc/sparc64/add_n.S: Likewise.
37974         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37975         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
37976         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
37977         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
37978         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
37979         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
37980         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
37981         * sysdeps/unix/bsd/times.c: Likewise.
37982         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
37983         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
37984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
37985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
37986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
37987         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
37988         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
37989         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
37990         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
37991         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
37992         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
37993         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37994         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
37995         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37996         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37997         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
37998         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37999         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
38000         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
38001         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
38002         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
38003         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
38004         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38005         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
38006         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
38007         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
38008         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
38009         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38010         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
38011         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
38012         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
38013         * sysdeps/x86_64/strcspn.S: Likewise.
38015 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38017         * locale/C-translit.h: Revert #include <stdint.h> because this is a
38018         generated file.  Regenerate properly from gen-translit.pl.
38019         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
38020         locale/C-translit.h.
38022 2013-06-05  Andreas Schwab  <schwab@suse.de>
38024         [BZ #15100]
38025         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
38026         week as 6 instead of -1.
38027         * time/tst-strptime.c (day_tests): Add test case.
38029 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38031         * sysdeps/generic/math_private.h
38032         (libc_feholdexcept_setround_53bit): Replace with
38033         libc_feholdsetround_53bit.
38034         (libc_feupdateenv_53bit): Replace with
38035         libc_feresetround_53bit.
38036         (SET_RESTORE_ROUND_53BIT): Adjust.
38038 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38040         * string/test-strchrnul.c: Add copyright header.
38042         * posix/tst-getaddrinfo4.c: Increase test timeout.
38044 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
38046         [BZ #15536]
38047         * math/libm-test.inc (MAX_EXP): Remove
38048         (MIN_EXP): Define.
38049         (ulp): Use MIN_EXP - MANT_DIG.
38050         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
38052 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
38054         * po/be.po: Revert last change.
38055         * po/zh_CN.po: Likewise.
38056         * po/header.pot: Likewise.
38058 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
38060         * Makefile ($(common-objpfx)linkobj/libc.so): Define
38061         link-libc-deps to empty as target-specific variable.
38062         * Makerules (link-libc-args): New variable.
38063         (libc-for-link): Likewise.
38064         (link-libc-deps): Likewise.
38065         (lib%.so): Depend on $(link-libc-deps).  Link with
38066         $(link-libc-args).
38067         (build-module): Link with $(link-libc-args).
38068         (build-module-asneeded): Likewise.
38069         (build-module-helper-objlist): Filter out $(link-libc-deps) from
38070         list of objects.
38071         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
38072         target-specific variable.
38073         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
38074         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
38075         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
38076         libc.
38077         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
38078         libc and ld.so.
38079         ($(objpfx)libpcprofile.so): Likewise.
38080         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
38081         libc_nonshared.a.
38082         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
38083         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
38084         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
38085         $(link-libc-deps).
38086         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
38087         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
38088         * login/Makefile ($(objpfx)libutil.so): Likewise.
38089         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
38090         * math/Makefile ($(objpfx)libm.so): Likewise.
38091         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
38092         $(objpfx)libnsl.so): Define libc-for-link as target-specific
38093         variable instead of depending directly on libc.
38094         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
38095         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
38096         $(link-libc-deps).
38097         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
38098         libc.
38099         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
38100         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
38101         ($(objpfx)libanl.so): Likewise.
38102         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
38103         ld.so.
38104         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
38105         $(link-libc-deps).
38106         * sysdeps/i386/fpu/Makefile: Remove file.
38107         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
38108         ($(objpfx)libm.so): Remove dependency on ld.so.
38110 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
38112         [BZ # 15553]
38113         * nis/yp_xdr.c (XDRMAXNAME): Define.
38114         (XDRMAXRECORD): Define.
38115         (xdr_domainname): Use XDRMAXNAME.
38116         (xdr_mapname): Likewise.
38117         (xdr_peername): Likewise.
38118         (xdr_keydat): Use XDRMAXRECORD.
38119         (xdr_valdat): Likewise.
38121 2013-05-30  Jeff Law  <law@redhat.com>
38123         [BZ #14256]
38124         * manual/errno.texi (ESTALE): Update to account for more than
38125         just NFS file systems.
38126         * sysdeps/gnu/errlist.c: Regenerated.
38128 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38130         [BZ #15465]
38131         * elf/Makefile (tests): Add tst-null-argv.
38132         (modules-names):  Add tst-null-argv-lib.
38133         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
38134         (tst-null-argv-ENV): Set environment for tst-null-argv.
38135         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
38136         (RTLD_PROGNAME): New macro.
38137         * elf/tst-null-argv.c: New test case.
38138         * elf/tst-null-argv-lib.c: Library for test case.
38139         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
38140         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
38141         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
38142         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
38143         * elf/dl-init.c (call_init): Likewise.
38144         (_dl_init): Likewise.
38145         * elf/dl-load.c (print_search_path): Likewise.
38146         (_dl_map_object): Likewise.
38147         * elf/dl-lookup.c (do_lookup_x): Likewise.
38148         (add_dependency): Likewise.
38149         (_dl_lookup_symbol_x): Likewise.
38150         (_dl_debug_bindings): Likewise.
38151         * elf/dl-open.c (_dl_show_scope): Likewise.
38152         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38153         * elf/dl-version.c (match_symbol): Likewise.
38154         (_dl_check_map_versions): Likewise.
38155         * elf/rtld.c (dl_main): Likewise.
38156         (print_unresolved): Use RTLD_PROGNAME.
38157         (print_missing_version): Likewise.
38158         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
38159         (elf_machine_rela): Likewise.
38160         * sysdeps/powerpc/powerpc32/dl-machine.c
38161         (__process_machine_rela): Likewise.
38162         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38163         Likewise.
38164         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38165         Likewise.
38166         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38167         Likewise.
38168         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38169         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
38170         Likewise.
38171         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
38172         Likewise.
38173         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38175 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
38177         * po/be.po: Add descriptive title.
38178         * po/zh_CN.po: Likewise.
38179         * po/header.pot: Likewise.
38181 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
38183         * locale/programs/locarchive.c (create_archive): Inlucde fname in
38184         error message.
38185         (enlarge_archive): Likewise.
38187 2013-05-28  Ben North  <ben@redfrontdoor.org>
38189         * manual/arith.texi (frexp): It is the magnitude of the return
38190         value which lies in [0.5, 1), not the return value itself.
38192 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38196 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
38198         * stdio-common/bug26.c (main): Correct fscanf template.
38200         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
38201         declare _dl_skip_args.
38203         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
38204         Don't declare.
38206         * manual/platform.texi: Add missing @end deftypefun.
38208 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
38210         [BZ #15529]
38211         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
38212         bit of mantissa of 2^16382.
38213         * math/libm-test.inc (hypot_test_data): Add more tests.
38215         * math/libm-test.inc: Add drem and pow10 to list of tested
38216         functions.
38217         (pow10_test): New function.
38218         (drem_test): Likewise.
38219         (drem_test_tonearest): Likewise.
38220         (drem_test_towardzero): Likewise.
38221         (drem_test_downward): Likewise.
38222         (drem_test_upward): Likewise.
38223         (main): Call the new functions.
38225         * math/libm-test.inc (finite_test_data): Remove.
38226         (finite_test): Run tests from isfinite_test_data.
38227         (gamma_test_data): Remove.
38228         (gamma_test): Run tests from lgamma_test_data.
38229         * sysdeps/i386/fpu/libm-test-ulps: Update.
38230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38232 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38234         * manual/platform.texi: Add PowerPC PPR function set documentation.
38235         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
38236         implementation.
38238 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
38240         * math/libm-test.inc (MAX_EXP): Define.
38241         (ULPDIFF): Define.
38242         (ulp): New function.
38243         (check_float_internal): Use ULPDIFF.
38244         (cpow_test): Disable failing test.
38245         (check_ulp): Test ulp() implemetnation.
38246         (main): Call check_ulp before starting tests.
38248 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
38250         * math/gen-libm-test.pl (generate_testfile): Do not handle
38251         START_DATA and END_DATA.
38252         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
38253         END_DATA.
38254         (acos_tonearest_test_data): Likewise.
38255         (acos_towardzero_test_data): Likewise.
38256         (acos_downward_test_data): Likewise.
38257         (acos_upward_test_data): Likewise.
38258         (acosh_test_data): Likewise.
38259         (asin_test_data): Likewise.
38260         (asin_tonearest_test_data): Likewise.
38261         (asin_towardzero_test_data): Likewise.
38262         (asin_downward_test_data): Likewise.
38263         (asin_upward_test_data): Likewise.
38264         (asinh_test_data): Likewise.
38265         (atan_test_data): Likewise.
38266         (atanh_test_data): Likewise.
38267         (atan2_test_data): Likewise.
38268         (cabs_test_data): Likewise.
38269         (cacos_test_data): Likewise.
38270         (cacosh_test_data): Likewise.
38271         (carg_test_data): Likewise.
38272         (casin_test_data): Likewise.
38273         (casinh_test_data): Likewise.
38274         (catan_test_data): Likewise.
38275         (catanh_test_data): Likewise.
38276         (cbrt_test_data): Likewise.
38277         (ccos_test_data): Likewise.
38278         (ccosh_test_data): Likewise.
38279         (ceil_test_data): Likewise.
38280         (cexp_test_data): Likewise.
38281         (cimag_test_data): Likewise.
38282         (clog_test_data): Likewise.
38283         (clog10_test_data): Likewise.
38284         (conj_test_data): Likewise.
38285         (copysign_test_data): Likewise.
38286         (cos_test_data): Likewise.
38287         (cos_tonearest_test_data): Likewise.
38288         (cos_towardzero_test_data): Likewise.
38289         (cos_downward_test_data): Likewise.
38290         (cos_upward_test_data): Likewise.
38291         (cosh_test_data): Likewise.
38292         (cosh_tonearest_test_data): Likewise.
38293         (cosh_towardzero_test_data): Likewise.
38294         (cosh_downward_test_data): Likewise.
38295         (cosh_upward_test_data): Likewise.
38296         (cpow_test_data): Likewise.
38297         (cproj_test_data): Likewise.
38298         (creal_test_data): Likewise.
38299         (csin_test_data): Likewise.
38300         (csinh_test_data): Likewise.
38301         (csqrt_test_data): Likewise.
38302         (ctan_test_data): Likewise.
38303         (ctan_tonearest_test_data): Likewise.
38304         (ctan_towardzero_test_data): Likewise.
38305         (ctan_downward_test_data): Likewise.
38306         (ctan_upward_test_data): Likewise.
38307         (ctanh_test_data): Likewise.
38308         (ctanh_tonearest_test_data): Likewise.
38309         (ctanh_towardzero_test_data): Likewise.
38310         (ctanh_downward_test_data): Likewise.
38311         (ctanh_upward_test_data): Likewise.
38312         (erf_test_data): Likewise.
38313         (erfc_test_data): Likewise.
38314         (exp_test_data): Likewise.
38315         (exp_tonearest_test_data): Likewise.
38316         (exp_towardzero_test_data): Likewise.
38317         (exp_downward_test_data): Likewise.
38318         (exp_upward_test_data): Likewise.
38319         (exp10_test_data): Likewise.
38320         (exp2_test_data): Likewise.
38321         (expm1_test_data): Likewise.
38322         (fabs_test_data): Likewise.
38323         (fdim_test_data): Likewise.
38324         (finite_test_data): Likewise.
38325         (floor_test_data): Likewise.
38326         (fma_test_data): Likewise.
38327         (fma_towardzero_test_data): Likewise.
38328         (fma_downward_test_data): Likewise.
38329         (fma_upward_test_data): Likewise.
38330         (fmax_test_data): Likewise.
38331         (fmin_test_data): Likewise.
38332         (fmod_test_data): Likewise.
38333         (fpclassify_test_data): Likewise.
38334         (frexp_test_data): Likewise.
38335         (gamma_test_data): Likewise.
38336         (hypot_test_data): Likewise.
38337         (ilogb_test_data): Likewise.
38338         (isfinite_test_data): Likewise.
38339         (isgreater_test_data): Likewise.
38340         (isgreaterequal_test_data): Likewise.
38341         (isinf_test_data): Likewise.
38342         (isless_test_data): Likewise.
38343         (islessequal_test_data): Likewise.
38344         (islessgreater_test_data): Likewise.
38345         (isnan_test_data): Likewise.
38346         (isnormal_test_data): Likewise.
38347         (issignaling_test_data): Likewise.
38348         (isunordered_test_data): Likewise.
38349         (j0_test_data): Likewise.
38350         (j1_test_data): Likewise.
38351         (jn_test_data): Likewise.
38352         (ldexp_test_data): Likewise.
38353         (lgamma_test_data): Likewise.
38354         (lrint_test_data): Likewise.
38355         (lrint_tonearest_test_data): Likewise.
38356         (lrint_towardzero_test_data): Likewise.
38357         (lrint_downward_test_data): Likewise.
38358         (lrint_upward_test_data): Likewise.
38359         (llrint_test_data): Likewise.
38360         (llrint_tonearest_test_data): Likewise.
38361         (llrint_towardzero_test_data): Likewise.
38362         (llrint_downward_test_data): Likewise.
38363         (llrint_upward_test_data): Likewise.
38364         (log_test_data): Likewise.
38365         (log10_test_data): Likewise.
38366         (log1p_test_data): Likewise.
38367         (log2_test_data): Likewise.
38368         (logb_test_data): Likewise.
38369         (logb_downward_test_data): Likewise.
38370         (lround_test_data): Likewise.
38371         (llround_test_data): Likewise.
38372         (modf_test_data): Likewise.
38373         (nearbyint_test_data): Likewise.
38374         (nextafter_test_data): Likewise.
38375         (nexttoward_test_data): Likewise.
38376         (pow_test_data): Likewise.
38377         (pow_tonearest_test_data): Likewise.
38378         (pow_towardzero_test_data): Likewise.
38379         (pow_downward_test_data): Likewise.
38380         (pow_upward_test_data): Likewise.
38381         (remainder_test_data): Likewise.
38382         (remainder_tonearest_test_data): Likewise.
38383         (remainder_towardzero_test_data): Likewise.
38384         (remainder_downward_test_data): Likewise.
38385         (remainder_upward_test_data): Likewise.
38386         (remquo_test_data): Likewise.
38387         (rint_test_data): Likewise.
38388         (rint_tonearest_test_data): Likewise.
38389         (rint_towardzero_test_data): Likewise.
38390         (rint_downward_test_data): Likewise.
38391         (rint_upward_test_data): Likewise.
38392         (round_test_data): Likewise.
38393         (scalb_test_data): Likewise.
38394         (scalbn_test_data): Likewise.
38395         (scalbln_test_data): Likewise.
38396         (signbit_test_data): Likewise.
38397         (sin_test_data): Likewise.
38398         (sin_tonearest_test_data): Likewise.
38399         (sin_towardzero_test_data): Likewise.
38400         (sin_downward_test_data): Likewise.
38401         (sin_upward_test_data): Likewise.
38402         (sincos_test_data): Likewise.
38403         (sinh_test_data): Likewise.
38404         (sinh_tonearest_test_data): Likewise.
38405         (sinh_towardzero_test_data): Likewise.
38406         (sinh_downward_test_data): Likewise.
38407         (sinh_upward_test_data): Likewise.
38408         (sqrt_test_data): Likewise.
38409         (tan_test_data): Likewise.
38410         (tan_tonearest_test_data): Likewise.
38411         (tan_towardzero_test_data): Likewise.
38412         (tan_downward_test_data): Likewise.
38413         (tan_upward_test_data): Likewise.
38414         (tanh_test_data): Likewise.
38415         (tgamma_test_data): Likewise.
38416         (trunc_test_data): Likewise.
38417         (y0_test_data): Likewise.
38418         (y1_test_data): Likewise.
38419         (yn_test_data): Likewise.
38420         (significand_test_data): Likewise.
38422         * math/gen-libm-test.pl (@functions): Remove variable.
38423         (generate_testfile): Don't handle START and END lines.
38424         * math/libm-test.inc (START): New macro.
38425         (END): Likewise.
38426         (END_COMPLEX): Likewise.
38427         (acos_test): Use END macro without arguments.
38428         (acos_test_tonearest): Likewise.
38429         (acos_test_towardzero): Likewise.
38430         (acos_test_downward): Likewise.
38431         (acos_test_upward): Likewise.
38432         (acosh_test): Likewise.
38433         (asin_test): Likewise.
38434         (asin_test_tonearest): Likewise.
38435         (asin_test_towardzero): Likewise.
38436         (asin_test_downward): Likewise.
38437         (asin_test_upward): Likewise.
38438         (asinh_test): Likewise.
38439         (atan_test): Likewise.
38440         (atanh_test): Likewise.
38441         (atan2_test): Likewise.
38442         (cabs_test): Likewise.
38443         (cacos_test): Use END_COMPLEX macro without arguments.
38444         (cacosh_test): Likewise.
38445         (carg_test): Use END macro without arguments.
38446         (casin_test): Use END_COMPLEX macro without arguments.
38447         (casinh_test): Likewise.
38448         (catan_test): Likewise.
38449         (catanh_test): Likewise.
38450         (cbrt_test): Use END macro without arguments.
38451         (ccos_test): Use END_COMPLEX macro without arguments.
38452         (ccosh_test): Likewise.
38453         (ceil_test): Use END macro without arguments.
38454         (cexp_test): Use END_COMPLEX macro without arguments.
38455         (cimag_test): Use END macro without arguments.
38456         (clog_test): Use END_COMPLEX macro without arguments.
38457         (clog10_test): Likewise.
38458         (conj_test): Likewise.
38459         (copysign_test): Use END macro without arguments.
38460         (cos_test): Likewise.
38461         (cos_test_tonearest): Likewise.
38462         (cos_test_towardzero): Likewise.
38463         (cos_test_downward): Likewise.
38464         (cos_test_upward): Likewise.
38465         (cosh_test): Likewise.
38466         (cosh_test_tonearest): Likewise.
38467         (cosh_test_towardzero): Likewise.
38468         (cosh_test_downward): Likewise.
38469         (cosh_test_upward): Likewise.
38470         (cpow_test): Use END_COMPLEX macro without arguments.
38471         (cproj_test): Likewise.
38472         (creal_test): Use END macro without arguments.
38473         (csin_test): Use END_COMPLEX macro without arguments.
38474         (csinh_test): Likewise.
38475         (csqrt_test): Likewise.
38476         (ctan_test): Likewise.
38477         (ctan_test_tonearest): Likewise.
38478         (ctan_test_towardzero): Likewise.
38479         (ctan_test_downward): Likewise.
38480         (ctan_test_upward): Likewise.
38481         (ctanh_test): Likewise.
38482         (ctanh_test_tonearest): Likewise.
38483         (ctanh_test_towardzero): Likewise.
38484         (ctanh_test_downward): Likewise.
38485         (ctanh_test_upward): Likewise.
38486         (erf_test): Use END macro without arguments.
38487         (erfc_test): Likewise.
38488         (exp_test): Likewise.
38489         (exp_test_tonearest): Likewise.
38490         (exp_test_towardzero): Likewise.
38491         (exp_test_downward): Likewise.
38492         (exp_test_upward): Likewise.
38493         (exp10_test): Likewise.
38494         (exp2_test): Likewise.
38495         (expm1_test): Likewise.
38496         (fabs_test): Likewise.
38497         (fdim_test): Likewise.
38498         (finite_test): Likewise.
38499         (floor_test): Likewise.
38500         (fma_test): Likewise.
38501         (fma_test_towardzero): Likewise.
38502         (fma_test_downward): Likewise.
38503         (fma_test_upward): Likewise.
38504         (fmax_test): Likewise.
38505         (fmin_test): Likewise.
38506         (fmod_test): Likewise.
38507         (fpclassify_test): Likewise.
38508         (frexp_test): Likewise.
38509         (gamma_test): Likewise.
38510         (hypot_test): Likewise.
38511         (ilogb_test): Likewise.
38512         (isfinite_test): Likewise.
38513         (isgreater_test): Likewise.
38514         (isgreaterequal_test): Likewise.
38515         (isinf_test): Likewise.
38516         (isless_test): Likewise.
38517         (islessequal_test): Likewise.
38518         (islessgreater_test): Likewise.
38519         (isnan_test): Likewise.
38520         (isnormal_test): Likewise.
38521         (issignaling_test): Likewise.
38522         (isunordered_test): Likewise.
38523         (j0_test): Likewise.
38524         (j1_test): Likewise.
38525         (jn_test): Likewise.
38526         (ldexp_test): Likewise.
38527         (lgamma_test): Likewise.
38528         (lrint_test): Likewise.
38529         (lrint_test_tonearest): Likewise.
38530         (lrint_test_towardzero): Likewise.
38531         (lrint_test_downward): Likewise.
38532         (lrint_test_upward): Likewise.
38533         (llrint_test): Likewise.
38534         (llrint_test_tonearest): Likewise.
38535         (llrint_test_towardzero): Likewise.
38536         (llrint_test_downward): Likewise.
38537         (llrint_test_upward): Likewise.
38538         (log_test): Likewise.
38539         (log10_test): Likewise.
38540         (log1p_test): Likewise.
38541         (log2_test): Likewise.
38542         (logb_test): Likewise.
38543         (logb_test_downward): Likewise.
38544         (lround_test): Likewise.
38545         (llround_test): Likewise.
38546         (modf_test): Likewise.
38547         (nearbyint_test): Likewise.
38548         (nextafter_test): Likewise.
38549         (nexttoward_test): Likewise.
38550         (pow_test): Likewise.
38551         (pow_test_tonearest): Likewise.
38552         (pow_test_towardzero): Likewise.
38553         (pow_test_downward): Likewise.
38554         (pow_test_upward): Likewise.
38555         (remainder_test): Likewise.
38556         (remainder_test_tonearest): Likewise.
38557         (remainder_test_towardzero): Likewise.
38558         (remainder_test_downward): Likewise.
38559         (remainder_test_upward): Likewise.
38560         (remquo_test): Likewise.
38561         (rint_test): Likewise.
38562         (rint_test_tonearest): Likewise.
38563         (rint_test_towardzero): Likewise.
38564         (rint_test_downward): Likewise.
38565         (rint_test_upward): Likewise.
38566         (round_test): Likewise.
38567         (scalb_test): Likewise.
38568         (scalbn_test): Likewise.
38569         (scalbln_test): Likewise.
38570         (signbit_test): Likewise.
38571         (sin_test): Likewise.
38572         (sin_test_tonearest): Likewise.
38573         (sin_test_towardzero): Likewise.
38574         (sin_test_downward): Likewise.
38575         (sin_test_upward): Likewise.
38576         (sincos_test): Likewise.
38577         (sinh_test): Likewise.
38578         (sinh_test_tonearest): Likewise.
38579         (sinh_test_towardzero): Likewise.
38580         (sinh_test_downward): Likewise.
38581         (sinh_test_upward): Likewise.
38582         (sqrt_test): Likewise.
38583         (tan_test): Likewise.
38584         (tan_test_tonearest): Likewise.
38585         (tan_test_towardzero): Likewise.
38586         (tan_test_downward): Likewise.
38587         (tan_test_upward): Likewise.
38588         (tanh_test): Likewise.
38589         (tgamma_test): Likewise.
38590         (trunc_test): Likewise.
38591         (y0_test): Likewise.
38592         (y1_test): Likewise.
38593         (yn_test): Likewise.
38594         (significand_test): Likewise.
38596 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
38598         [BZ #15381]
38599         * libio/genops.c (_IO_no_init): Initialize wide struct info.
38601 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
38603         [BZ #14894]
38604         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
38605         __ppc_mdoio and __ppc_mdoom.
38606         * manual/platform.texi: Document new functions __ppc_yield,
38607         __ppc_mdoio and __ppc_mdoom.
38609 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
38611         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
38612         (main): Mention "tls" pseudo-hwcap is legacy.
38613         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
38615 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
38617         * math/gen-libm-test.pl (parse_args): Output only string of
38618         arguments as text for test name, not full call or descriptions of
38619         tests for extra outputs.
38620         (generate_testfile): Do not pass function name to parse_args.
38621         Generate this_func variable from START.
38622         * math/libm-test.inc (struct test_f_f_data): Rename test_name
38623         field to arg_str.
38624         (struct test_ff_f_data): Likewise.
38625         (test_ff_f_data_nexttoward): Likewise.
38626         (struct test_fi_f_data): Likewise.
38627         (struct test_fl_f_data): Likewise.
38628         (struct test_if_f_data): Likewise.
38629         (struct test_fff_f_data): Likewise.
38630         (struct test_c_f_data): Likewise.
38631         (struct test_f_f1_data): Likewise.  Remove field extra_name.
38632         (struct test_fF_f1_data): Likewise.
38633         (struct test_ffI_f1_data): Likewise.
38634         (struct test_c_c_data): Rename test_name field to arg_str.
38635         (struct test_cc_c_data): Likewise.
38636         (struct test_f_i_data): Likewise.
38637         (struct test_ff_i_data): Likewise.
38638         (struct test_f_l_data): Likewise.
38639         (struct test_f_L_data): Likewise.
38640         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
38641         and extra2_name.
38642         (COMMON_TEST_SETUP): New macro.
38643         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
38644         (COMMON_TEST_CLEANUP): Likewise.
38645         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
38646         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
38647         macros.
38648         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
38649         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
38650         macros.
38651         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
38652         (RUN_TEST_fff_f): Take argument string.  Call new setup and
38653         cleanup macros.
38654         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
38655         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
38656         macros.
38657         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
38658         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
38659         macros.
38660         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
38661         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
38662         cleanup macros.
38663         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
38664         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
38665         cleanup macros.
38666         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
38667         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
38668         cleanup macros.
38669         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
38670         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
38671         macros.
38672         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
38673         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
38674         macros.
38675         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
38676         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
38677         macros.
38678         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
38679         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
38680         cleanup macros.
38681         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
38682         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
38683         cleanup macros.
38684         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
38685         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
38686         macros.
38687         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
38688         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
38689         cleanup macros.
38690         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
38691         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
38692         macros.
38693         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
38694         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
38695         macros.
38696         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
38697         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
38698         cleanup macros.
38699         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
38701 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
38703         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
38704         to _sifields.sigfault.
38705         (si_addr_lsb): Define new macro.
38706         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
38707         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38708         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
38710 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
38712         [BZ #15441]
38713         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
38714         returns -1.
38715         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
38716         null return -1.
38717         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
38718         loading the domain.
38720 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
38722         * math/gen-libm-test.pl (parse_args): Do not include expected
38723         result in test name.
38724         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
38725         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38726         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38727         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38728         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38731 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38733         * benchtests/Makefile: Sort function entries.
38735         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
38736         tanh, asinh, acosh, atanh.
38737         * benchtests/acos-inputs: New file.
38738         * benchtests/acosh-inputs: New file.
38739         * benchtests/asin-inputs: New file.
38740         * benchtests/asinh-inputs: New file.
38741         * benchtests/atanh-inputs: New file.
38742         * benchtests/cosh-inputs: New file.
38743         * benchtests/log-inputs: New file.
38744         * benchtests/sinh-inputs: New file.
38745         * benchtests/tanh-inputs: New file.
38747 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
38749         [BZ #15339]
38750         * posix/tst-getaddrinfo4.c: New test.
38751         * posix/Makefile (tests): Add it.
38753 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38755         [BZ #15339]
38756         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
38757         when no services were used.
38758         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
38759         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
38761 2013-05-21  Andreas Schwab  <schwab@suse.de>
38763         [BZ #15014]
38764         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
38765         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
38766         successful.
38767         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
38768         redundant variable declarations and reallocation of buffer when
38769         parsing as IPv6 address.  Always set NSS status when called from
38770         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
38771         buffer too small.  Correct computation of needed size.
38772         * nss/Makefile (tests): Add test-digits-dots.
38773         * nss/test-digits-dots.c: New test.
38775 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38777         * benchtests/Makefile: Remove instructions for adding
38778         benchmark tests.
38779         * benchtests/README: New file to explain how to execute and
38780         enhance the benchmark tests.
38782 2013-05-21  Andreas Schwab  <schwab@suse.de>
38784         [BZ #15493]
38785         * setjmp/Makefile (tests): Add tst-sigsetjmp.
38786         * setjmp/tst-sigsetjmp.c: New test.
38788 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
38790         * sysdeps/x86_64/memset.S (memset): New implementation.
38791         (__bzero): Likewise.
38792         (__memset_tail): New function.
38794 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
38796         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
38797         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
38798         __memcpy_sse2_unaligned ifunc selection.
38799         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38800         Add memcpy-sse2-unaligned.S.
38801         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38802         Add: __memcpy_sse2_unaligned.
38804 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
38806         [BZ #15490]
38807         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38808         math_force_eval before restoring floating-point envrionment.
38809         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
38810         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38811         Likewise.
38812         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
38813         <math_private.h>.
38814         (__nearbyintl): Use math_force_eval before restoring
38815         floating-point environment.
38816         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
38818         * math/gen-libm-test.pl (special_functions): Remove.
38819         (parse_args): Don't handle TEST_extra.  Handle functions with no
38820         return value.
38821         * math/libm-test.inc (struct test_sincos_data): Replace with
38822         struct test_fFF_11_data.
38823         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
38824         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
38825         (sincos_test_data): Change element type to struct
38826         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
38827         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
38828         RUN_TEST_LOOP_sincos.
38829         * math/README.libm-test: Don't mention special handling of
38830         individual functions.
38831         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
38832         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38833         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38834         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38835         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38838         * math/gen-libm-test.pl (get_variable): Remove function.
38839         (parse_args): Don't show pointer parameters to call in test
38840         names.  Use "extra output N" in test names for extra outputs
38841         rather than naming variables.
38843 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
38845         [BZ #15488]
38846         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
38847         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
38848         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
38849         double tests.
38850         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
38851         disable.
38852         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
38853         check_long_double.
38855         * math/gen-libm-test.pl (@tests): Remove variable.
38856         ($count): Likewise.
38857         (new_test): Remove function.
38858         (show_exceptions): New function.
38859         (special_functions): Use show_exceptions instead of new_test.
38860         (parse_args): Likewise.
38861         (generate_testfile): Pass only function name in generated call to
38862         print_max_error or print_complex_max_error.
38863         (get_ulps): Do not handle complex tests specially.
38864         (output_test): Rename to ...
38865         (get_all_ulps_for_test): ... this.  Return a string rather than
38866         printing to a file.  Require ulps to be present.
38867         (output_ulps): Generate arrays rather than #defines.
38868         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
38869         (struct ulp_data): New type.
38870         (BUILD_COMPLEX_ULP): Remove macro.
38871         (compare_ulp_data): New function.
38872         (find_ulps): Likewise.
38873         (find_test_ulps): Likewise.
38874         (find_function_ulps): Likewise.
38875         (find_complex_function_ulps): Likewise.
38876         (print_max_error): Determine allowed ulps using
38877         find_function_ulps.
38878         (print_complex_max_error): Determine allowed ulps using
38879         find_complex_function_ulps.
38880         (check_float_internal): Determine max ulps using find_test_ulps.
38881         (check_float): Do not take max_ulp parameter.  Update call to
38882         check_float_internal.
38883         (check_complex): Likewise.
38884         (check_int): Do not take max_ulp parameter.
38885         (check_long): Likewise.
38886         (check_bool): Likewise.
38887         (check_longlong): Likewise.
38888         (struct test_f_f_data): Remove max_ulp field.
38889         (struct test_ff_f_data): Likewise.
38890         (struct test_ff_f_data_nexttoward): Likewise.
38891         (struct test_fi_f_data): Likewise.
38892         (struct test_fl_f_data): Likewise.
38893         (struct test_if_f_data): Likewise.
38894         (struct test_fff_f_data): Likewise.
38895         (struct test_c_f_data): Likewise.
38896         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
38897         (struct test_fF_f1_data): Likewise.
38898         (struct test_ffI_f1_data): Likewise.
38899         (struct test_c_c_data): Remove max_ulp field.
38900         (struct test_cc_c_data): Likewise.
38901         (struct test_f_i_data): Likewise.
38902         (struct test_ff_i_data): Likewise.
38903         (struct test_f_l_data): Likewise.
38904         (struct test_f_L_data): Likewise.
38905         (struct test_sincos_data): Likewise.
38906         (RUN_TEST_f_f): Do not handle ulps.
38907         (RUN_TEST_LOOP_f_f): Likewise.
38908         (RUN_TEST_2_f): Likewise.
38909         (RUN_TEST_LOOP_2_f): Likewise.
38910         (RUN_TEST_fff_f): Likewise.
38911         (RUN_TEST_LOOP_fff_f): Likewise.
38912         (RUN_TEST_c_f): Likewise.
38913         (RUN_TEST_LOOP_c_f): Likewise.
38914         (RUN_TEST_f_f1): Likewise.
38915         (RUN_TEST_LOOP_f_f1): Likewise.
38916         (RUN_TEST_fF_f1): Likewise.
38917         (RUN_TEST_LOOP_fF_f1): Likewise.
38918         (RUN_TEST_fI_f1): Likewise.
38919         (RUN_TEST_LOOP_fI_f1): Likewise.
38920         (RUN_TEST_ffI_f1): Likewise.
38921         (RUN_TEST_LOOP_ffI_f1): Likewise.
38922         (RUN_TEST_c_c): Likewise.
38923         (RUN_TEST_LOOP_c_c): Likewise.
38924         (RUN_TEST_cc_c): Likewise.
38925         (RUN_TEST_LOOP_cc_c): Likewise.
38926         (RUN_TEST_f_i): Likewise.
38927         (RUN_TEST_LOOP_f_i): Likewise.
38928         (RUN_TEST_f_i_tg): Likewise.
38929         (RUN_TEST_LOOP_f_i_tg): Likewise.
38930         (RUN_TEST_ff_i_tg): Likewise.
38931         (RUN_TEST_LOOP_ff_i_tg): Likewise.
38932         (RUN_TEST_f_b): Likewise.
38933         (RUN_TEST_LOOP_f_b): Likewise.
38934         (RUN_TEST_f_b_tg): Likewise.
38935         (RUN_TEST_LOOP_f_b_tg): Likewise.
38936         (RUN_TEST_f_l): Likewise.
38937         (RUN_TEST_LOOP_f_l): Likewise.
38938         (RUN_TEST_f_L): Likewise.
38939         (RUN_TEST_LOOP_f_L): Likewise.
38940         (RUN_TEST_sincos): Likewise.
38941         (RUN_TEST_LOOP_sincos): Likewise.
38943 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
38945         [BZ #15480]
38946         [BZ #15485]
38947         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
38948         main case of finite arguments, set rounding mode to FE_TONEAREST
38949         and discard exceptions.
38950         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
38951         exceptions.
38952         (remainder_tonearest_test_data): New variable.
38953         (remainder_test_tonearest): New function.
38954         (remainder_towardzero_test_data): New variable.
38955         (remainder_test_towardzero): New function.
38956         (remainder_downward_test_data): New variable.
38957         (remainder_test_downward): New function.
38958         (remainder_upward_test_data): New variable.
38959         (remainder_test_upward): New function.
38960         (main): Call the new test functions.
38962         * math/libm-test.inc (struct test_f_f1_data): Remove field
38963         extra_init.
38964         (struct test_fF_f1_data): Likewise.
38965         (struct test_ffI_f1_data): Likewise.
38966         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
38967         based on value of EXTRA_EXPECTED.
38968         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
38969         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
38970         EXTRA_VAR based on value of EXTRA_EXPECTED.
38971         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
38972         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
38973         EXTRA_VAR based on value of EXTRA_EXPECTED.
38974         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
38975         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
38976         EXTRA_VAR based on value of EXTRA_EXPECTED.
38977         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
38978         * math/gen-libm-test.pl (parse_args): Don't output initializers
38979         for extra output values.
38981         * math/libm-test.inc (check_int): Expect result to be exactly
38982         equal to expected value and do not handle ulps.
38983         (check_long): Likewise.
38984         (check_longlong): Likewise.
38986         * math/libm-test.inc (ceil_test_data): Test for "inexact"
38987         exceptions.
38988         (cimag_test_data): Likewise.
38989         (conj_test_data): Likewise.
38990         (copysign_test_data): Likewise.
38991         (cproj_test_data): Likewise.
38992         (creal_test_data): Likewise.
38993         (fabs_test_data): Likewise.
38994         (fdim_test_data): Likewise.
38995         (finite_test_data): Likewise.
38996         (floor_test_data): Likewise.
38997         (fmax_test_data): Likewise.
38998         (fmin_test_data): Likewise.
38999         (fmod_test_data): Likewise.
39000         (fpclassify_test_data): Likewise.
39001         (frexp_test_data): Likewise.
39002         (ilogb_test_data): Likewise.
39003         (isfinite_test_data): Likewise.
39004         (isgreater_test_data): Likewise.
39005         (isgreaterequal_test_data): Likewise.
39006         (isinf_test_data): Likewise.
39007         (isless_test_data): Likewise.
39008         (islessequal_test_data): Likewise.
39009         (islessgreater_test_data): Likewise.
39010         (isnan_test_data): Likewise.
39011         (isnormal_test_data): Likewise.
39012         (issignaling_test_data): Likewise.
39013         (isunordered_test_data): Likewise.
39014         (ldexp_test_data): Likewise.
39015         (lrint_test_data): Likewise.
39016         (lrint_test_data) [TEST_FLOAT]: Disable one test.
39017         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
39018         (lrint_tonearest_test_data): Test for "inexact" exceptions.
39019         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
39020         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
39021         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
39022         test input.
39023         (lrint_towardzero_test_data): Test for "inexact" exceptions.
39024         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
39025         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
39026         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
39027         that test input.
39028         (lrint_downward_test_data): Test for "inexact" exceptions.
39029         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
39030         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
39031         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
39032         test input.
39033         (lrint_upward_test_data): Test for "inexact" exceptions.
39034         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
39035         test input.
39036         (llrint_test_data): Test for "inexact" exceptions.
39037         (llrint_test_data) [TEST_FLOAT]: Disable one test.
39038         (llrint_tonearest_test_data): Test for "inexact" exceptions.
39039         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
39040         (llrint_towardzero_test_data): Test for "inexact" exceptions.
39041         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
39042         (llrint_downward_test_data): Test for "inexact" exceptions.
39043         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
39044         (llrint_upward_test_data): Test for "inexact" exceptions.
39045         (logb_test_data): Likewise.
39046         (logb_downward_test_data): Likewise.
39047         (nextafter_test_data): Likewise.
39048         (nexttoward_test_data): Likewise.
39049         (remainder_test_data): Likewise.
39050         (remquo_test_data): Likewise.
39051         (scalbn_test_data): Likewise.
39052         (scalbln_test_data): Likewise.
39053         (signbit_test_data): Likewise.
39054         (sqrt_test_data): Likewise.
39055         (significand_test_data): Likewise.
39057 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39059         [BZ #15424]
39060         * benchtests/bench-modf.c (struct args): Mark arg0 as
39061         volatile.
39062         * scripts/bench.pl: Mark members of struct args as volatile.
39064 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39066         [BZ # 15497]
39067         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
39068         negative infinity on POWER6 or lower.
39069         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
39071 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
39073         [BZ #15442]
39074         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
39075         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
39076         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
39077         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
39078         (_FP_SETQNAN): New macro.
39079         (_FP_SETQNAN_SEMIRAW): Likewise.
39080         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
39081         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
39082         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
39083         (FP_EXTEND): Use _FP_FRAC_SNANP.
39084         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
39085         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
39086         into account.
39087         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
39088         New macro.
39089         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
39090         Likewise.
39092 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39094         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
39095         with DIVIDE_BY_ZERO_EXCEPTION.
39096         (gamma_test_data): Likewise.
39097         (lgamma_test_data): Likewise.
39098         (log_test_data): Likewise.
39099         (log10_test_data): Likewise.
39100         (log2_test_data): Likewise.
39101         (tgamma_test_data): Likewise.
39103         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
39104         (acos_test_tonearest): Likewise.
39105         (acos_test_towardzero): Likewise.
39106         (acos_test_downward): Likewise.
39107         (acos_test_upward): Likewise.
39108         (acosh_test): Likewise.
39109         (asin_test): Likewise.
39110         (asin_test_tonearest): Likewise.
39111         (asin_test_towardzero): Likewise.
39112         (asin_test_downward): Likewise.
39113         (asin_test_upward): Likewise.
39114         (asinh_test): Likewise.
39115         (atan_test): Likewise.
39116         (atanh_test): Likewise.
39117         (atan2_test): Likewise.
39118         (cabs_test): Likewise.
39119         (cacos_test): Likewise.
39120         (cacosh_test): Likewise.
39121         (casin_test): Likewise.
39122         (casinh_test): Likewise.
39123         (catan_test): Likewise.
39124         (catanh_test): Likewise.
39125         (cbrt_test): Likewise.
39126         (ccos_test): Likewise.
39127         (ccosh_test): Likewise.
39128         (cexp_test): Likewise.
39129         (clog_test): Likewise.
39130         (clog10_test): Likewise.
39131         (cos_test): Likewise.
39132         (cos_test_tonearest): Likewise.
39133         (cos_test_towardzero): Likewise.
39134         (cos_test_downward): Likewise.
39135         (cos_test_upward): Likewise.
39136         (cosh_test): Likewise.
39137         (cosh_test_tonearest): Likewise.
39138         (cosh_test_towardzero): Likewise.
39139         (cosh_test_downward): Likewise.
39140         (cosh_test_upward): Likewise.
39141         (cpow_test): Likewise.
39142         (csin_test): Likewise.
39143         (csinh_test): Likewise.
39144         (csqrt_test): Likewise.
39145         (ctan_test): Likewise.
39146         (ctan_test_tonearest): Likewise.
39147         (ctan_test_towardzero): Likewise.
39148         (ctan_test_downward): Likewise.
39149         (ctan_test_upward): Likewise.
39150         (ctanh_test): Likewise.
39151         (ctanh_test_tonearest): Likewise.
39152         (ctanh_test_towardzero): Likewise.
39153         (ctanh_test_downward): Likewise.
39154         (ctanh_test_upward): Likewise.
39155         (erf_test): Likewise.
39156         (erfc_test): Likewise.
39157         (exp_test): Likewise.
39158         (exp_test_tonearest): Likewise.
39159         (exp_test_towardzero): Likewise.
39160         (exp_test_downward): Likewise.
39161         (exp_test_upward): Likewise.
39162         (exp10_test): Likewise.
39163         (exp2_test): Likewise.
39164         (expm1_test): Likewise.
39165         (fmod_test): Likewise.
39166         (gamma_test): Likewise.
39167         (hypot_test): Likewise.
39168         (j0_test): Likewise.
39169         (j1_test): Likewise.
39170         (jn_test): Likewise.
39171         (lgamma_test): Likewise.
39172         (log_test): Likewise.
39173         (log10_test): Likewise.
39174         (log1p_test): Likewise.
39175         (log2_test): Likewise.
39176         (logb_test_downward): Likewise.
39177         (pow_test): Likewise.
39178         (pow_test_tonearest): Likewise.
39179         (pow_test_towardzero): Likewise.
39180         (pow_test_downward): Likewise.
39181         (pow_test_upward): Likewise.
39182         (remainder_test): Likewise.
39183         (remquo_test): Likewise.
39184         (sin_test): Likewise.
39185         (sin_test_tonearest): Likewise.
39186         (sin_test_towardzero): Likewise.
39187         (sin_test_downward): Likewise.
39188         (sin_test_upward): Likewise.
39189         (sincos_test): Likewise.
39190         (sinh_test): Likewise.
39191         (sinh_test_tonearest): Likewise.
39192         (sinh_test_towardzero): Likewise.
39193         (sinh_test_downward): Likewise.
39194         (sinh_test_upward): Likewise.
39195         (sqrt_test): Likewise.
39196         (tan_test): Likewise.
39197         (tan_test_tonearest): Likewise.
39198         (tan_test_towardzero): Likewise.
39199         (tan_test_downward): Likewise.
39200         (tan_test_upward): Likewise.
39201         (tanh_test): Likewise.
39202         (tgamma_test): Likewise.
39203         (y0_test): Likewise.
39204         (y1_test): Likewise.
39205         (yn_test): Likewise.
39207         * math/gen-libm-test.pl (adjust_arg): Remove function.
39208         (special_function): Remove argument $in_func.  Only handle
39209         generating output for tables of tests, not inside functions.
39210         (parse_args): Likewise.
39211         (generate_testfile): Remove variable $in_func.  Update call to
39212         parse_args.
39213         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
39214         (MINUS_ZERO_INIT): Rename macro to minus_zero.
39215         (PLUS_INFTY_INIT): Rename macro to plus_infty.
39216         (MINUS_INFTY_INIT): Rename macro to minus_infty.
39217         (QNAN_VALUE_INIT): Rename macro to qnan_value.
39218         (MAX_VALUE_INIT): Rename macro to max_value.
39219         (MIN_VALUE_INIT): Rename macro to min_value.
39220         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
39221         (plus_zero): Remove variable.
39222         (minus_zero): Likewise.
39223         (plus_infty): Likewise.
39224         (minus_infty): Likewise.
39225         (qnan_value): Likewise.
39226         (max_value): Likewise.
39227         (min_value): Likewise.
39228         (min_subnorm_value): Likewise.
39230 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39232         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
39233         uint64_t or uint32_t usage.
39234         * crypt/sha256-block.c: Likewise.
39235         * crypt/sha256-crypt.c: Likewise.
39236         * crypt/sha256.c: Likewise.
39237         * crypt/sha512-block.c: Likewise.
39238         * crypt/sha512-crypt.c: Likewise.
39239         * crypt/sha512.c: Likewise.
39240         * debug/backtrace-tst.c: Likewise.
39241         * debug/pcprofiledump.c: Likewise.
39242         * elf/cache.c: Likewise.
39243         * elf/dl-cache.c: Likewise.
39244         * elf/dl-misc.c: Likewise.
39245         * elf/dl-profile.c: Likewise.
39246         * elf/dl-support.c: Likewise.
39247         * elf/ldconfig.c: Likewise.
39248         * elf/sprof.c: Likewise.
39249         * iconv/dummy-repertoire.c: Likewise.
39250         * iconv/iconv_charmap.c: Likewise.
39251         * iconv/skeleton.c: Likewise.
39252         * iconvdata/8bit-generic.c: Likewise.
39253         * iconvdata/cp737.h: Likewise.
39254         * iconvdata/cp775.h: Likewise.
39255         * iconvdata/ibm1008.h: Likewise.
39256         * iconvdata/ibm1025.h: Likewise.
39257         * iconvdata/ibm1046.h: Likewise.
39258         * iconvdata/ibm1097.h: Likewise.
39259         * iconvdata/ibm1112.h: Likewise.
39260         * iconvdata/ibm1122.h: Likewise.
39261         * iconvdata/ibm1123.h: Likewise.
39262         * iconvdata/ibm1124.h: Likewise.
39263         * iconvdata/ibm1129.h: Likewise.
39264         * iconvdata/ibm1130.h: Likewise.
39265         * iconvdata/ibm1132.h: Likewise.
39266         * iconvdata/ibm1133.h: Likewise.
39267         * iconvdata/ibm1137.h: Likewise.
39268         * iconvdata/ibm1140.h: Likewise.
39269         * iconvdata/ibm1141.h: Likewise.
39270         * iconvdata/ibm1142.h: Likewise.
39271         * iconvdata/ibm1143.h: Likewise.
39272         * iconvdata/ibm1144.h: Likewise.
39273         * iconvdata/ibm1145.h: Likewise.
39274         * iconvdata/ibm1146.h: Likewise.
39275         * iconvdata/ibm1147.h: Likewise.
39276         * iconvdata/ibm1148.h: Likewise.
39277         * iconvdata/ibm1149.h: Likewise.
39278         * iconvdata/ibm1153.h: Likewise.
39279         * iconvdata/ibm1154.h: Likewise.
39280         * iconvdata/ibm1155.h: Likewise.
39281         * iconvdata/ibm1156.h: Likewise.
39282         * iconvdata/ibm1157.h: Likewise.
39283         * iconvdata/ibm1158.h: Likewise.
39284         * iconvdata/ibm1160.h: Likewise.
39285         * iconvdata/ibm1161.h: Likewise.
39286         * iconvdata/ibm1162.h: Likewise.
39287         * iconvdata/ibm1163.h: Likewise.
39288         * iconvdata/ibm1164.h: Likewise.
39289         * iconvdata/ibm1166.h: Likewise.
39290         * iconvdata/ibm1167.h: Likewise.
39291         * iconvdata/ibm12712.h: Likewise.
39292         * iconvdata/ibm1390.h: Likewise.
39293         * iconvdata/ibm1399.h: Likewise.
39294         * iconvdata/ibm16804.h: Likewise.
39295         * iconvdata/ibm4517.h: Likewise.
39296         * iconvdata/ibm4899.h: Likewise.
39297         * iconvdata/ibm4909.h: Likewise.
39298         * iconvdata/ibm4971.h: Likewise.
39299         * iconvdata/ibm5347.h: Likewise.
39300         * iconvdata/ibm803.h: Likewise.
39301         * iconvdata/ibm856.h: Likewise.
39302         * iconvdata/ibm901.h: Likewise.
39303         * iconvdata/ibm902.h: Likewise.
39304         * iconvdata/ibm9030.h: Likewise.
39305         * iconvdata/ibm9066.h: Likewise.
39306         * iconvdata/ibm921.h: Likewise.
39307         * iconvdata/ibm922.h: Likewise.
39308         * iconvdata/ibm9448.h: Likewise.
39309         * iconvdata/isiri-3342.h: Likewise.
39310         * iconvdata/jis0201.h: Likewise.
39311         * include/link.h: Likewise.
39312         * include/netdb.h: Likewise.
39313         * inet/check_native.c: Likewise.
39314         * inet/check_pf.c: Likewise.
39315         * inet/getipv4sourcefilter.c: Likewise.
39316         * inet/getnameinfo.c: Likewise.
39317         * inet/getsourcefilter.c: Likewise.
39318         * inet/htonl.c: Likewise.
39319         * inet/setipv4sourcefilter.c: Likewise.
39320         * inet/setsourcefilter.c: Likewise.
39321         * inet/test-inet6_opt.c: Likewise.
39322         * inet/tst-network.c: Likewise.
39323         * locale/C-collate.c: Likewise.
39324         * locale/C-ctype.c: Likewise.
39325         * locale/C-time.c: Likewise.
39326         * locale/C-translit.h: Likewise.
39327         * locale/loadarchive.c: Likewise.
39328         * locale/programs/3level.h: Likewise.
39329         * locale/programs/charmap.c: Likewise.
39330         * locale/programs/charmap.h: Likewise.
39331         * locale/programs/ld-address.c: Likewise.
39332         * locale/programs/ld-collate.c: Likewise.
39333         * locale/programs/ld-ctype.c: Likewise.
39334         * locale/programs/ld-identification.c: Likewise.
39335         * locale/programs/ld-measurement.c: Likewise.
39336         * locale/programs/ld-messages.c: Likewise.
39337         * locale/programs/ld-monetary.c: Likewise.
39338         * locale/programs/ld-name.c: Likewise.
39339         * locale/programs/ld-numeric.c: Likewise.
39340         * locale/programs/ld-paper.c: Likewise.
39341         * locale/programs/ld-telephone.c: Likewise.
39342         * locale/programs/ld-time.c: Likewise.
39343         * locale/programs/linereader.c: Likewise.
39344         * locale/programs/locale.c: Likewise.
39345         * locale/programs/locarchive.c: Likewise.
39346         * locale/programs/locfile.h: Likewise.
39347         * locale/programs/repertoire.c: Likewise.
39348         * locale/programs/simple-hash.c: Likewise.
39349         * locale/programs/simple-hash.h: Likewise.
39350         * malloc/memusage.c: Likewise.
39351         * malloc/memusagestat.c: Likewise.
39352         * nis/nis_defaults.c: Likewise.
39353         * nis/nis_hash.c: Likewise.
39354         * nis/nis_print.c: Likewise.
39355         * nis/nis_xdr.c: Likewise.
39356         * nscd/connections.c: Likewise.
39357         * nscd/hstcache.c: Likewise.
39358         * nscd/nscd_gethst_r.c: Likewise.
39359         * nscd/nscd_getserv_r.c: Likewise.
39360         * nscd/nscd_helper.c: Likewise.
39361         * nscd/servicescache.c: Likewise.
39362         * nss/makedb.c: Likewise.
39363         * nss/nss_db/db-XXX.c: Likewise.
39364         * nss/nss_db/db-initgroups.c: Likewise.
39365         * nss/nss_db/db-netgrp.c: Likewise.
39366         * nss/nss_files/files-network.c: Likewise.
39367         * nss/nss_files/files-parse.c: Likewise.
39368         * posix/bug-regex5.c: Likewise.
39369         * posix/fnmatch_loop.c: Likewise.
39370         * posix/regcomp.c: Likewise.
39371         * posix/regexec.c: Likewise.
39372         * posix/tst-rfc3484-2.c: Likewise.
39373         * posix/tst-rfc3484-3.c: Likewise.
39374         * posix/tst-rfc3484.c: Likewise.
39375         * resolv/nss_dns/dns-canon.c: Likewise.
39376         * resolv/nss_dns/dns-network.c: Likewise.
39377         * resolv/res_init.c: Likewise.
39378         * resolv/res_mkquery.c: Likewise.
39379         * resolv/tst-aton.c: Likewise.
39380         * stdlib/cxa_atexit.c: Likewise.
39381         * stdlib/cxa_finalize.c: Likewise.
39382         * stdlib/gen-fpioconst.c: Likewise.
39383         * stdlib/strtol_l.c: Likewise.
39384         * string/tst-endian.c: Likewise.
39385         * sunrpc/auth_des.c: Likewise.
39386         * sunrpc/clnt_udp.c: Likewise.
39387         * sunrpc/rtime.c: Likewise.
39388         * sunrpc/svcauth_des.c: Likewise.
39389         * sunrpc/xdr.c: Likewise.
39390         * sunrpc/xdr_intXX_t.c: Likewise.
39391         * sunrpc/xdr_rec.c: Likewise.
39392         * sysdeps/generic/ldconfig.h: Likewise.
39393         * sysdeps/generic/ldsodefs.h: Likewise.
39394         * sysdeps/generic/memusage.h: Likewise.
39395         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39396         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
39397         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
39398         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39399         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39400         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39401         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39402         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39403         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39404         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39405         * sysdeps/posix/getaddrinfo.c: Likewise.
39406         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39407         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39408         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39409         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39410         * sysdeps/powerpc/test-gettimebase.c: Likewise.
39411         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
39412         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
39413         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
39414         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
39415         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
39416         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39417         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39418         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
39419         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
39420         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
39421         * sysdeps/x86_64/dl-tls.h: Likewise.
39422         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
39423         * time/alt_digit.c: Likewise.
39424         * time/era.c: Likewise.
39425         * wcsmbs/tst-c16c32-1.c: Likewise.
39427 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39429         * math/libm-test.inc (struct test_sincos_data): New type.
39430         (RUN_TEST_LOOP_sincos): New macro.
39431         (sincos_test_data): New variable.
39432         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
39434 2013-05-16  Richard Henderson  <rth@redhat.com>
39436         * math/atest-exp2.c (LIMB64): New macro.
39437         (CONSTSZ): New macro.
39438         (mp_exp1, mp_exp_m1, mp_log2): New variables.
39439         (hexdig): Move ...
39440         (print_mpn_fp): ... to function scope.
39441         (read_mpn_hex): Remove.
39442         (get_log2): Remove.
39443         (exp2_mpn): Use mp_log2.
39444         (main): Use mp_exp1.
39446 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39448         * math/libm-test.inc: Remove comment about not testing "inexact"
39449         exceptions.
39450         (INEXACT_EXCEPTION): New macro.
39451         (NO_INEXACT_EXCEPTION): Likewise.
39452         (INVALID_EXCEPTION_OK): Update value.
39453         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39454         (OVERFLOW_EXCEPTION_OK): Likewise.
39455         (UNDERFLOW_EXCEPTION_OK): Likewise.
39456         (IGNORE_ZERO_INF_SIGN): Likewise.
39457         (ERRNO_UNCHANGED): Likewise.
39458         (ERRNO_EDOM): Likewise.
39459         (ERRNO_ERANGE): Likewise.
39460         (test_exceptions): Handle testing "inexact" exceptions.
39461         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
39462         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
39463         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
39464         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
39465         INEXACT_EXCEPTION.
39466         (rint_towardzero_test_data): Likewise.
39467         (rint_downward_test_data): Likewise.
39468         (rint_upward_test_data): Likewise.
39470         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
39471         with OVERFLOW_EXCEPTION.
39472         (exp10_test_data): Likewise.
39473         (exp2_test_data): Likewise.
39474         (expm1_test_data): Likewise.
39475         (lgamma_test_data): Likewise.
39476         (pow_test_data): Likewise.
39477         (tgamma_test_data): Likewise.
39478         (yn_test_data): Remove duplicate test of overflow.
39480         * math/libm-test.inc (struct test_cc_c_data): New type.
39481         (RUN_TEST_LOOP_cc_c): New macro.
39482         (cpow_test_data): New variable.
39483         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
39485         * math/libm-test.inc (struct test_f_L_data): New type.
39486         (RUN_TEST_LOOP_f_L): New macro.
39487         (llrint_test_data): New variable.
39488         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
39489         (llrint_tonearest_test_data): New variable.
39490         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
39491         (llrint_towardzero_test_data): New variable.
39492         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
39493         (llrint_downward_test_data): New variable.
39494         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
39495         (llrint_upward_test_data): New variable.
39496         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
39497         (llround_test_data): New variable.
39498         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
39500 2013-05-13  Peter Collingbourne  <pcc@google.com>
39502         * math/atest-exp2.c (get_log2): Remove const attribute.
39504 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
39506         * math/libm-test.inc (struct test_f_l_data): New type.
39507         (RUN_TEST_LOOP_f_l): New macro.
39508         (lrint_test_data): New variable.
39509         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
39510         (lrint_tonearest_test_data): New variable.
39511         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
39512         (lrint_towardzero_test_data): New variable.
39513         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
39514         (lrint_downward_test_data): New variable.
39515         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
39516         (lrint_upward_test_data): New variable.
39517         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
39518         (lround_test_data): New variable.
39519         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
39521 2013-05-15  Peter Collingbourne  <pcc@google.com>
39523         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
39524         (EXTRACT_WORDS64) Use where appropriate.
39525         (INSERT_WORDS64) Likewise.
39527         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
39528         constraints with x constraints.
39529         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
39531         * malloc/obstack.c (_obstack_compat): Add initializer.
39533 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
39535         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
39536         si_trapno and add si_addr_lsb to _sifields.sigfault.
39537         (si_trapno): Remove macro.
39538         (si_addr_lsb): Define new macro.
39539         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
39541 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
39543         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
39544         instead of TEST_f_l.
39545         (llrint_test_tonearest): Likewise.
39546         (llrint_test_towardzero): Likewise.
39547         (llrint_test_downward): Likewise.
39548         (llrint_test_upward): Likewise.
39549         (llround_test): Likewise.
39551         * math/libm-test.inc (struct test_f_i_data): Add comment.
39552         (RUN_TEST_LOOP_f_b): New macro.
39553         (RUN_TEST_LOOP_f_b_tg): Likewise.
39554         (finite_test_data): New variable.
39555         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
39556         (isfinite_test_data): New variable.
39557         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39558         (isinf_test_data): New variable.
39559         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39560         (isnan_test_data): New variable.
39561         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39562         (isnormal_test_data): New variable.
39563         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39564         (issignaling_test_data): New variable.
39565         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39566         (signbit_test_data): New variable.
39567         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39569         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
39570         with INVALID_EXCEPTION.
39571         (acosh_test_data): Likewise.
39572         (asin_test_data): Likewise.
39573         (atanh_test_data): Likewise.
39574         (fmod_test_data): Likewise.
39575         (log_test_data): Likewise.
39576         (log10_test_data): Likewise.
39577         (log2_test_data): Likewise.
39578         (pow_test_data): Likewise.
39579         (sqrt_test_data): Likewise.
39580         (y0_test_data): Likewise.
39581         (y1_test_data): Likewise.
39582         (yn_test_data): Likewise.
39584         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
39585         function contents.
39587         * math/libm-test.inc (struct test_ff_i_data): New type.
39588         (RUN_TEST_LOOP_ff_i_tg): New macro.
39589         (isgreater_test_data): New variable.
39590         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39591         (isgreaterequal_test_data): New variable.
39592         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39593         (isless_test_data): New variable.
39594         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39595         (islessequal_test_data): New variable.
39596         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39597         (islessgreater_test_data): New variable.
39598         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39599         (isunordered_test_data): New variable.
39600         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39602 2013-05-14  David S. Miller  <davem@davemloft.net>
39604         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39606 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
39608         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
39610         * math/libm-test.inc (struct test_fF_f1_data): Change type of
39611         extra_test to int.
39612         (struct test_f_i_data): Change type of max_ulp to int.
39614         * math/libm-test.inc (test_ffI_f1_data): New type.
39615         (RUN_TEST_LOOP_ffI_f1): New macro.
39616         (remquo_test_data): New variable.
39617         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
39619         * setjmp/tst-setjmp-fp.c: New file.
39620         * setjmp/Makefile (tests): Add tst-setjmp-fp.
39621         (link-libm): New variable.
39622         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
39624         * math/libm-test.inc (struct test_f_i_data): New type.
39625         (RUN_TEST_LOOP_f_i): New macro.
39626         (RUN_TEST_LOOP_f_i_tg): Likewise.
39627         (fpclassify_test_data): New variable.
39628         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
39629         (ilogb_test_data): New variable.
39630         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
39632         * math/libm-test.inc (scalbln_test): Correct function name in END
39633         call.
39635         * math/libm-test.inc (struct test_f_f1_data): Add comment.
39636         (RUN_TEST_LOOP_fI_f1): New macro.
39637         (frexp_test_data): New variable.
39638         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
39640         * math/libm-test.inc (struct test_fF_f1_data): New type.
39641         (RUN_TEST_LOOP_fF_f1): New macro.
39642         (modf_test_data): New variable.
39643         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
39645         * math/libm-test.inc (struct test_f_f1_data): New type.
39646         (RUN_TEST_LOOP_f_f1): New macro.
39647         (gamma_test_data): New variable.
39648         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
39649         (lgamma_test_data): New variable.
39650         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
39652 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
39654         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
39655         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
39656         (main): Comment "tls" pseudo-hwcap.
39658 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
39660         * math/libm-test.inc (struct test_fl_f_data): New type.
39661         (RUN_TEST_LOOP_fl_f): New variable.
39662         (scalbln_test_data): New variable.
39663         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
39665         * math/libm-test.inc (struct test_fi_f_data): New type.
39666         (RUN_TEST_LOOP_fi_f): New macro.
39667         (ldexp_test_data): New variable.
39668         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
39669         (scalbn_test_data): New variable.
39670         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
39672         * math/libm-test.inc (struct test_c_f_data): New type.
39673         (RUN_TEST_LOOP_c_f): New macro.
39674         (cabs_test_data): New variable.
39675         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
39676         (carg_test_data): New variable.
39677         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
39678         (cimag_test_data): New variable.
39679         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
39680         (creal_test_data): New variable.
39681         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
39683         * math/libm-test.inc (struct test_if_f_data): New type.
39684         (RUN_TEST_LOOP_if_f): New macro.
39685         (jn_test_data): New variable.
39686         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
39687         (yn_test_data): New variable.
39688         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
39690         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
39692 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39694         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
39695         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
39697 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39699         * benchtests/Makefile (CPPFLAGS-nonlib): Add
39700         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
39701         (bench-deps): Add bench-timing.h.
39702         * benchtests-bench-skeleton.c: Include bench-timing.h.
39703         (main): Use TIMING_* macros instead of clock_gettime.
39704         * benchtests/bench-timing.h: New file.
39706         [BZ #14582]
39707         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
39708         Renamed from _LIB_VERSION.
39709         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
39711 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
39713         * math/libm-test.inc (struct test_fff_f_data): New type.
39714         (RUN_TEST_LOOP_fff_f): New macro.
39715         (fma_test_data): New variable.
39716         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
39717         (fma_towardzero_test_data): New variable.
39718         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
39719         (fma_downward_test_data): New variable.
39720         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
39721         (fma_upward_test_data): New variable.
39722         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
39724         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
39725         (struct test_c_c_data): New type.
39726         (RUN_TEST_LOOP_c_c): New macro.
39727         (cacos_test_data): New variable.
39728         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
39729         (cacosh_test_data): New variable.
39730         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
39731         (casin_test_data): New variable.
39732         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
39733         (casinh_test_data): New variable.
39734         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
39735         (catan_test_data): New variable.
39736         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
39737         (catanh_test_data): New variable.
39738         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
39739         (ccos_test_data): New variable.
39740         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
39741         (ccosh_test_data): New variable.
39742         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
39743         (cexp_test_data): New variable.
39744         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
39745         (clog_test_data): New variable.
39746         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
39747         (clog10_test_data): New variable.
39748         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
39749         (conj_test_data): New variable.
39750         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
39751         (cproj_test_data): New variable.
39752         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
39753         (csin_test_data): New variable.
39754         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
39755         (csinh_test_data): New variable.
39756         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
39757         (csqrt_test_data): New variable.
39758         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
39759         (ctan_test_data): New variable.
39760         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
39761         (ctan_tonearest_test_data): New variable.
39762         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
39763         (ctan_towardzero_test_data): New variable.
39764         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
39765         (ctan_downward_test_data): New variable.
39766         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
39767         (ctan_upward_test_data): New variable.
39768         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
39769         (ctanh_test_data): New variable.
39770         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
39771         (ctanh_tonearest_test_data): New variable.
39772         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
39773         (ctanh_towardzero_test_data): New variable.
39774         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
39775         (ctanh_downward_test_data): New variable.
39776         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
39777         (ctanh_upward_test_data): New variable.
39778         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
39779         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
39780         of BUILD_COMPLEX.
39782         * math/libm-test.inc (struct test_ff_f_data): New type.
39783         (struct test_ff_f_data_nexttoward): Likewise.
39784         (RUN_TEST_LOOP_2_f): New macro.
39785         (RUN_TEST_LOOP_ff_f): Likewise.
39786         (atan2_test_data): New variable.
39787         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
39788         (copysign_test_data): New variable.
39789         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
39790         (fdim_test_data): New variable.
39791         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
39792         (fmax_test_data): New variable.
39793         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
39794         (fmin_test_data): New variable.
39795         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
39796         (fmod_test_data): New variable.
39797         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
39798         (hypot_test_data): New variable.
39799         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
39800         (nextafter_test_data): New variable.
39801         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
39802         (nexttoward_test_data): New variable.
39803         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
39804         (pow_test_data): New variable.
39805         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
39806         (pow_tonearest_test_data): New variable.
39807         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
39808         (pow_towardzero_test_data): New variable.
39809         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
39810         (pow_downward_test_data): New variable.
39811         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
39812         (pow_upward_test_data): New variable.
39813         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
39814         (remainder_test_data): New variable.
39815         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
39816         (scalb_test_data): New variable.
39817         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
39818         * sysdeps/i386/fpu/libm-test-ulps: Update.
39820 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
39822         * math/libm-test.inc (fma_test): Use max_value instead of local
39823         variable fltmax.
39824         (nextafter_test): Likewise.
39826         * math/libm-test.inc (acos_towardzero_test_data): New variable.
39827         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39828         (acos_downward_test_data): New variable.
39829         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39830         (acos_upward_test_data): New variable.
39831         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39832         (acosh_test_data): New variable.
39833         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
39834         (asin_test_data): New variable.
39835         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
39836         (asin_tonearest_test_data): New variable.
39837         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39838         (asin_towardzero_test_data): New variable.
39839         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39840         (asin_downward_test_data): New variable.
39841         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39842         (asin_upward_test_data): New variable.
39843         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39844         (asinh_test_data): New variable.
39845         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
39846         (atan_test_data): New variable.
39847         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
39848         (atanh_test_data): New variable.
39849         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
39850         (cbrt_test_data): New variable.
39851         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
39852         (ceil_test_data): New variable.
39853         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
39854         (cos_test_data): New variable.
39855         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
39856         (cos_tonearest_test_data): New variable.
39857         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39858         (cos_towardzero_test_data): New variable.
39859         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39860         (cos_downward_test_data): New variable.
39861         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39862         (cos_upward_test_data): New variable.
39863         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39864         (cosh_test_data): New variable.
39865         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
39866         (cosh_tonearest_test_data): New variable.
39867         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39868         (cosh_towardzero_test_data): New variable.
39869         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39870         (cosh_downward_test_data): New variable.
39871         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39872         (cosh_upward_test_data): New variable.
39873         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39874         (erf_test_data): New variable.
39875         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
39876         (erfc_test_data): New variable.
39877         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
39878         (exp_test_data): New variable.
39879         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
39880         (exp_tonearest_test_data): New variable.
39881         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39882         (exp_towardzero_test_data): New variable.
39883         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39884         (exp_downward_test_data): New variable.
39885         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39886         (exp_upward_test_data): New variable.
39887         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39888         (exp10_test_data): New variable.
39889         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
39890         (exp2_test_data): New variable.
39891         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
39892         (expm1_test_data): New variable.
39893         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
39894         (fabs_test_data): New variable.
39895         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
39896         (floor_test_data): New variable.
39897         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
39898         (j0_test_data): New variable.
39899         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
39900         (j1_test_data): New variable.
39901         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
39902         (log_test_data): New variable.
39903         (log_test): Run tests with RUN_TEST_LOOP_f_f.
39904         (log10_test_data): New variable.
39905         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
39906         (log1p_test_data): New variable.
39907         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
39908         (log2_test_data): New variable.
39909         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
39910         (logb_test_data): New variable.
39911         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
39912         (logb_downward_test_data): New variable.
39913         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39914         (nearbyint_test_data): New variable.
39915         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
39916         (rint_test_data): New variable.
39917         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
39918         (rint_tonearest_test_data): New variable.
39919         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39920         (rint_towardzero_test_data): New variable.
39921         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39922         (rint_downward_test_data): New variable.
39923         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39924         (rint_upward_test_data): New variable.
39925         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39926         (round_test_data): New variable.
39927         (round_test): Run tests with RUN_TEST_LOOP_f_f.
39928         (sin_test_data): New variable.
39929         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
39930         (sin_tonearest_test_data): New variable.
39931         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39932         (sin_towardzero_test_data): New variable.
39933         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39934         (sin_downward_test_data): New variable.
39935         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39936         (sin_upward_test_data): New variable.
39937         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39938         (sinh_test_data): New variable.
39939         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
39940         (sinh_tonearest_test_data): New variable.
39941         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39942         (sinh_towardzero_test_data): New variable.
39943         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39944         (sinh_downward_test_data): New variable.
39945         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39946         (sinh_upward_test_data): New variable.
39947         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39948         (sqrt_test_data): New variable.
39949         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
39950         (tan_test_data): New variable.
39951         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
39952         (tan_tonearest_test_data): New variable.
39953         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39954         (tan_towardzero_test_data): New variable.
39955         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39956         (tan_downward_test_data): New variable.
39957         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39958         (tan_upward_test_data): New variable.
39959         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39960         (tanh_test_data): New variable.
39961         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
39962         (tgamma_test_data): New variable.
39963         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
39964         (trunc_test_data): New variable.
39965         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
39966         (y0_test_data): New variable.
39967         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
39968         (y1_test_data): New variable.
39969         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
39970         (significand_test_data): New variable.
39971         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
39973 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
39975         [BZ #12387]
39976         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
39978 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39980         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
39982 2013-05-10  Andreas Jaeger  <aj@suse.de>
39984         [BZ #15448]
39985         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
39986         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
39988 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
39990         * math/gen-libm-test.pl (adjust_arg): New function.
39991         (special_functions): Handle generating output in both functions
39992         and arrays.
39993         (parse_args): Likewise.
39994         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
39995         $in_func argument to parse_args.
39996         * math/libm-test.inc (struct test_f_f_data): New type.
39997         (IF_ROUND_INIT_): New macro.
39998         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
39999         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40000         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40001         (IF_ROUND_INIT_FE_UPWARD): Likewise.
40002         (ROUND_RESTORE_): Likewise.
40003         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
40004         (ROUND_RESTORE_FE_TONEAREST): Likewise.
40005         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
40006         (ROUND_RESTORE_FE_UPWARD): Likewise.
40007         (RUN_TEST_LOOP_f_f): New macro.
40008         (acos_test_data): New variable.
40009         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
40010         (acos_tonearest_test_data): New variable.
40011         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40013 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40015         * benchtests/bench-skeleton.c (startup): Fix coding style.
40017 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
40019         [BZ #6809]
40020         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
40021         negative infinity argument.
40022         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
40023         negative infinity argument.
40024         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
40025         negative infinity argument.
40026         * math/libm-test.inc (tgamma_test): Expect errno to be set for
40027         domain errors.
40029 2013-05-10  Florian Weimer  <fweimer@redhat.com>
40031         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
40032         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
40033         * iconv/iconv_prog.c (main): Likewise.
40034         * locale/programs/charmap-dir.c (charmap_readdir)
40035         (fopen_uncompressed): Likewise.
40036         * locale/programs/locfile.c (siblings_uncached)
40037         (write_locale_data): Use lstat64 instead of lstat.
40038         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
40039         stat.
40041 2013-05-10  Andreas Jaeger  <aj@suse.de>
40043         [BZ #15395]
40044         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
40045         localization.
40046         Include <locale.h>.
40048 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
40050         * elf/dl-close.c (_dl_close_worker): Add comments.
40052 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
40054         [BZ #15359]
40055         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
40056         high part of pi/2.
40057         (__ieee754_rem_pio2l): Update comments.
40059         [BZ #15429]
40060         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
40061         high part of pi/2.
40062         (__ieee754_rem_pio2l): Update comments.
40064         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
40065         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
40067         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
40068         M_PI_4l.
40070         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
40071         (M_PI_34_LOG10El): Likewise.
40072         (M_PI2_LOG10El): Likewise.
40073         (M_PI4_LOG10El): Likewise.
40074         (M_PI_LOG10El): Likewise.
40076 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40080 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
40082         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
40083         (MINUS_ZERO_INIT): Likewise.
40084         (PLUS_INFTY_INIT): Likewise.
40085         (MINUS_INFTY_INIT): Likewise.
40086         (QNAN_VALUE_INIT): Likewise.
40087         (MAX_VALUE_INIT): Likewise.
40088         (MIN_VALUE_INIT): Likewise.
40089         (MIN_SUBNORM_VALUE_INIT): Likewise.
40090         (plus_zero): Initialize with PLUS_ZERO_INIT.
40091         (minus_zero): Initialize with MINUS_ZERO_INIT.
40092         (plus_infty): Initialize with PLUS_INFTY_INIT.
40093         (minus_infty): Initialize with MINUS_INFTY_INIT.
40094         (qnan_value): Initialize with QNAN_VALUE_INIT.
40095         (max_value): Initialize with MAX_VALUE_INIT.
40096         (min_value): Initialize with MIN_VALUE_INIT.
40097         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
40099         * math/libm-test.inc (RUN_TEST_if_f): New macro.
40100         (jn_test): Use TEST_if_f instead of TEST_ff_f.
40101         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
40102         (yn_test): Use TEST_if_f instead of TEST_ff_f.
40104         * math/libm-test.inc (RUN_TEST_f_f): New macro.
40105         (RUN_TEST_2_f): Likewise.
40106         (RUN_TEST_ff_f): Likewise.
40107         (RUN_TEST_fi_f): Likewise.
40108         (RUN_TEST_fl_f): Likewise.
40109         (RUN_TEST_fff_f): Likewise.
40110         (RUN_TEST_c_f): Likewise.
40111         (RUN_TEST_f_f1): Likewise.
40112         (RUN_TEST_fF_f1): Likewise.
40113         (RUN_TEST_fI_f1): Likewise.
40114         (RUN_TEST_ffI_f1): Likewise.
40115         (RUN_TEST_c_c): Likewise.
40116         (RUN_TEST_cc_c): Likewise.
40117         (RUN_TEST_f_i): Likewise.
40118         (RUN_TEST_f_i_tg): Likewise.
40119         (RUN_TEST_ff_i_tg): Likewise.
40120         (RUN_TEST_f_b): Likewise.
40121         (RUN_TEST_f_b_tg): Likewise.
40122         (RUN_TEST_f_l): Likewise.
40123         (RUN_TEST_f_L): Likewise.
40124         (RUN_TEST_sincos): Likewise.
40125         * math/gen-libm-test.pl (new_test): Take new argument to indicate
40126         whether to show exceptions.  Do not include ");\n" in return
40127         value.
40128         (special_functions): Output call to RUN_TEST_sincos instead of
40129         check_float calls.  Update calls to new_test.
40130         (parse_args): Output call to single RUN_TEST_* macro instead of
40131         check_* calls and other assignments.  Update calls to new_test.
40133         [BZ #2546]
40134         [BZ #2560]
40135         [BZ #5159]
40136         [BZ #15426]
40137         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
40138         input to result for tgamma overflow.
40139         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
40140         (gamma_coeff): New variable.
40141         (NCOEFF): New macro.
40142         (gamma_positive): New function.
40143         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
40144         underflow here.  Use gamma_positive instead of exp (lgamma) for
40145         other arguments.
40146         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
40147         (gamma_coeff): New variable.
40148         (NCOEFF): New macro.
40149         (gammaf_positive): New function.
40150         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
40151         underflow here.  Use gamma_positive instead of exp (lgamma) for
40152         other arguments.
40153         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
40154         (gamma_coeff): New variable.
40155         (NCOEFF): New macro.
40156         (gammal_positive): New function.
40157         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
40158         underflow here.  Use gamma_positive instead of exp (lgamma) for
40159         other arguments.
40160         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
40161         (gamma_coeff): New variable.
40162         (NCOEFF): New macro.
40163         (gammal_positive): New function.
40164         (__ieee754_gammal_r): Handle positive infinity, overflow and
40165         underflow here.  Handle NaN the same as positive infinity.  Remove
40166         check x < 0xffffffff for negative integers.  Use gamma_positive
40167         instead of exp (lgamma) for other arguments.
40168         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
40169         (gamma_coeff): New variable.
40170         (NCOEFF): New macro.
40171         (gammal_positive): New function.
40172         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
40173         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
40174         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
40175         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
40176         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
40177         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
40178         * sysdeps/generic/math_private.h (__gamma_productf): New
40179         prototype.
40180         (__gamma_product): Likewise.
40181         (__gamma_productl): Likewise.
40182         * math/Makefile (libm-calls): Add gamma_product.
40183         * math/libm-test.inc (tgamma_test): Add more tests.
40184         * sysdeps/i386/fpu/libm-test-ulps: Update.
40185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40187 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
40189         * benchtests/bench-skeleton.c (main): Preheat CPU.
40191 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
40193         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
40195 2013-05-07  Roland McGrath  <roland@hack.frob.com>
40197         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
40198         and _dl_skip_args_internal.
40200 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
40202         * manual/message.texi (Message Translation): Talk about users.
40203         Message to key mapping impacts design.
40205 2013-05-06  Roland McGrath  <roland@hack.frob.com>
40207         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
40209         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
40211         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
40212         * sysdeps/wordsize-64/glob64.c: ... here.
40214         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
40215         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
40216         New macros.
40218         * debug/getlogin_r_chk.c: Moved to ...
40219         * login/getlogin_r_chk.c: ... here.
40220         * debug/Makefile (routines): Move getlogin_r_chk to ...
40221         * login/Makefile (routines): ... here.
40222         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
40223         * login/Versions (libc: GLIBC_2.4): ... here.
40225         * io/poll.c (__poll): Renamed from poll.
40226         Add libc_hidden_def.
40227         (poll): Define as weak alias.
40229         * debug/ptsname_r_chk.c: Moved to ...
40230         * login/ptsname_r_chk.c: ... here.
40231         * debug/Makefile (routines): Move ptsname_r_chk to ...
40232         * login/Makefile (routines): ... here.
40233         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
40234         * login/Versions (libc: GLIBC_2.4): ... here.
40236         * posix/getlogin.c: Moved to ...
40237         * login/getlogin.c: ... here.
40238         * posix/getlogin_r.c: Moved to ...
40239         * login/getlogin_r.c: ... here.
40240         * posix/getlogin_r.c: Moved to ...
40241         * login/getlogin_r.c: ... here.
40242         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
40243         * login/Makefile (routines): ... here.
40244         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
40245         * login/Versions (libc: GLIBC_2.0): ... here.
40247         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
40248         (setrlimit): Define as weak alias.
40250         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
40251         Call __ names for open, ftruncate, and close.
40252         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
40253         (truncate): Define as weak alias.
40255 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
40257         * math/gen-libm-test.pl (parse_args): Initialize x before each
40258         test of frexp, modf and remquo.
40260         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
40261         test signgam value.
40263 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40265         [BZ #15418]
40266         [BZ #15419]
40267         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
40268         internal tests.
40269         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40271 2013-05-06  Roland McGrath  <roland@hack.frob.com>
40273         * elf/dl-writev.h: New file.
40274         * elf/dl-misc.c: Include it.
40275         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
40276         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
40278 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
40280         * math/libm-test.inc (noXFails): Remove variable.
40281         (noXPasses): Likewise.
40282         (BUILD_COMPLEX_INT): Remove macro.
40283         (print_screen): Remove xfail argument.
40284         (print_screen_max_error): Likewise.
40285         (update_stats): Likewise.
40286         (print_max_error): Likewise.  Update calls to other affected
40287         functions.
40288         (print_complex_max_error): Likewise.
40289         (test_single_exception): Update calls to print_screen.
40290         (test_single_errno): Likewise.
40291         (check_float_internal): Remove xfail argument.  Update calls to
40292         other affected functions.
40293         (check_float): Likewise.
40294         (check_complex): Likewise.
40295         (check_int): Likewise.
40296         (check_long): Likewise.
40297         (check_bool): Likewise.
40298         (check_longlong): Likewise.
40299         (main): Don't print noXFails and noXPasses.
40300         * math/gen-libm-test.pl (top level): Don't mention expected
40301         failure handling in comment.
40302         (new_test): Don't handle expected failures.
40303         (parse_args): Don't mention expected failure handling in comment.
40304         (generate_testfile): Don't handle expected failures.
40305         (parse_ulps): Likewise.
40306         (print_ulps_file): Likewise.
40307         (get_failure): Remove function.
40308         (output_test): Don't handle expected failures.
40309         * make/README.libm-test: Don't mention expected failure handling.
40311         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
40312         (minus_zero): Likewise.
40313         (plus_infty): Likewise.
40314         (minus_infty): Likewise.
40315         (qnan_value): Likewise.
40316         (max_value): Likewise.
40317         (min_value): Likewise.
40318         (min_subnorm_value): Likewise.
40319         (initialize): Do not initialize those variables dynamically.
40321 2013-05-03  Roland McGrath  <roland@hack.frob.com>
40323         * io/open.c (__open_2): Moved to ...
40324         * io/open_2.c: ... this new file.
40325         * io/open64.c (__open64_2): Moved to ...
40326         * io/open64_2.c: ... this new file.
40327         * io/openat.c (__openat_2): Moved to ...
40328         * io/openat_2.c: ... this new file.
40329         * io/openat64.c (__openat64_2): Moved to ...
40330         * io/openat64_2.c: ... this new file.
40331         * io/Makefile (routines): Add them.
40332         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
40333         * sysdeps/unix/sysv/linux/open_2.c: File removed.
40334         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
40335         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
40336         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
40337         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
40338         (__openat64): Add hidden_ver.
40339         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
40340         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
40342         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
40343         Separately conditionalize setting of GLRO(dl_sysinfo) so
40344         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
40345         as well, but the actual setting is only under [NEED_DL_SYSINFO].
40347 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40349         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
40350         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
40351         definition.
40352         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
40353         * sysdeps/unix/sysv/linux/powerpc/init-first.c
40354         (_libc_vdso_platform_setup): Add __vdso_time initialization.
40355         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
40356         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
40358 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
40360         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
40361         test signgam value.
40363         * math/libm-test.inc (hypot_test): Do not use
40364         IGNORE_ZERO_INF_SIGN.
40366 2013-05-03  Andreas Jaeger  <aj@suse.de>
40368         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
40369         Linux 3.9.
40370         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
40371         (PF_MAX): Adjust for VSOCK change.
40373 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40377 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
40379         [BZ #15264]
40380         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
40381         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
40382         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
40384 2013-05-02  David S. Miller  <davem@davemloft.net>
40386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40388 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
40390         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
40392 2013-05-01  Roland McGrath  <roland@hack.frob.com>
40394         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
40396 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
40398         [BZ #14952]
40399         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
40400         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
40401         Use __attribute__ ((__gnu_inline__)).
40402         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
40403         Don't use __attribute__ ((__gnu_inline__)).
40405 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
40407         [BZ #15423]
40408         * math/s_catan.c (__catan): Handle small real or imaginary part of
40409         input specially to avoid spurious underflow.
40410         * math/s_catanf.c (__catanf): Likewise.
40411         * math/s_catanh.c (__catanh): Likewise.
40412         * math/s_catanhf.c (__catanhf): Likewise.
40413         * math/s_catanhl.c (__catanhl): Likewise.
40414         * math/s_catanl.c (__catanl): Likewise.
40415         * math/libm-test.inc (catan_test): Add more tests.
40416         (catanh_test): Likewise.
40417         * sysdeps/i386/fpu/libm-test-ulps: Update.
40418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40420 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40424 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
40426         [BZ #15416]
40427         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
40428         accurately for denominator in atan2.
40429         * math/s_catanf.c (__catanf): Likewise.
40430         * math/s_catanh.c (__catanh): Likewise.
40431         * math/s_catanhf.c (__catanhf): Likewise.
40432         * math/s_catanhl.c (__catanhl): Likewise.
40433         * math/s_catanl.c (__catanl): Likewise.
40434         * math/libm-test.inc (catan_test): Add more tests.
40435         (catanh_test): Likewise.
40436         * sysdeps/i386/fpu/libm-test-ulps: Update.
40437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40439 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40441         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
40443         * benchtests/Makefile (bench): Remove slow benchmarks.
40444         * benchtests/atan-inputs: Add slow benchmark inputs.
40445         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
40446         (BENCH_FUNC): Accept variant offset.
40447         (VARIANT): Define.
40448         * benchtests/bench-skeleton.c (main): Run benchmark for each
40449         variant.
40450         * benchtests/cos-inputs: Add slow benchmark inputs.
40451         * benchtests/exp-inputs: Likewise.
40452         * benchtests/pow-inputs: Likewise.
40453         * benchtests/sin-inputs: Likewise.
40454         * benchtests/slowatan-inputs: Remove.
40455         * benchtests/slowatan.c: Remove.
40456         * benchtests/slowcos-inputs: Remove.
40457         * benchtests/slowcos.c: Remove.
40458         * benchtests/slowexp-inputs: Remove.
40459         * benchtests/slowexp.c: Remove.
40460         * benchtests/slowpow-inputs: Remove.
40461         * benchtests/slowpow.c: Remove.
40462         * benchtests/slowsin-inputs: Remove.
40463         * benchtests/slowsin.c: Remove.
40464         * benchtests/slowtan-inputs: Remove.
40465         * benchtests/slowtan.c: Remove.
40466         * benchtests/tan-inputs: Add slow benchmark inputs.
40467         * scripts/bench.pl: Parse comments and directives.
40469         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
40470         in CPPFLAGS.
40471         ($(objpfx)bench-%.c): Remove *-ITER.
40472         * benchtests/bench-modf.c: Remove definition of ITER.
40473         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
40474         (main): Loop for DURATION seconds instead of fixed number of
40475         iterations.
40476         * scripts/bench.pl: Don't expect iterations in parameters.
40478 2013-04-29  Roland McGrath  <roland@hack.frob.com>
40480         * io/fchdir.c (__fchdir): Renamed from fchdir.
40481         (fchdir): Define as weak alias.
40483 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
40485         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
40486         (ERRNO_EDOM): Likewise.
40487         (ERRNO_ERANGE): Likewise.
40488         (noErrnoTests): New variable.
40489         (init_max_error): Set errno to 0.
40490         (test_single_errno): New function.
40491         (test_errno): Likewise.
40492         (check_float_internal): Call test_errno.  Set errno to 0.
40493         (check_complex): Refer to errno tests in comment.
40494         (check_int): Call test_errno.  Set errno to 0.
40495         (check_long): Likewise.
40496         (check_bool): Likewise.
40497         (check_longlong): Likewise.
40498         (cos_test): Use ERRNO_* flags for errno tests instead of
40499         check_int.
40500         (expm1_test): Likewise.
40501         (fmod_test): Likewise.
40502         (ilogb_test): Likewise.
40503         (lgamma_test): Likewise.
40504         (pow_test): Likewise.
40505         (remainder_test): Likewise.
40506         (sin_test): Likewise.
40507         (tan_test): Likewise.
40508         (yn_test): Likewise.
40509         (initialize): Set errno to 0.
40510         (main): Print number of errno tests.
40511         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
40513 2013-04-29  Andreas Jaeger  <aj@suse.de>
40515         [BZ #15084]
40516         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
40517         and RES_USEVC.
40519         [BZ #15085]
40520         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
40521         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
40522         unimplemented.
40524         [BZ #15380]
40525         * stdlib/random.c (__initstate): Return NULL if
40526         __initstate fails.
40528         [BZ #15086]
40529         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
40530         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
40531         RES_SNGLKUPREOP.
40533 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40537 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
40539         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
40540         of individual tests.
40541         (casin_test): Likewise.
40542         (casinh_test): Likewise.
40544 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
40546         [BZ #15409]
40547         * math/s_catan.c (__catan): Handle arguments with large real or
40548         imaginary part separately without squaring.
40549         * math/s_catanf.c (__catanf): Likewise.
40550         * math/s_catanh.c (__catanh): Likewise.
40551         * math/s_catanhf.c (__catanhf): Likewise.
40552         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
40553         and redefine.
40554         (__catanhl): Handle arguments with large real or imaginary part
40555         separately without squaring.
40556         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
40557         and redefine.
40558         (__catanl): Handle arguments with large real or imaginary part
40559         separately without squaring.
40560         * math/libm-test.inc (catan_test): Add more tests.
40561         (catanh_test): Likewise.
40562         * sysdeps/i386/fpu/libm-test-ulps: Update.
40563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40565 2013-04-27  Andreas Jaeger  <aj@suse.de>
40567         [BZ #15007]
40568         * stdlib/stdlib.h: Update guards for qecvt.
40569         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
40570         <stdlib.h>.
40572 2013-04-27  Allan McRae  <allan@archlinux.org>
40574         * sysdeps/i386/fpu/libm-test-ulps: Update.
40576 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
40578         [BZ #15406]
40579         * math/s_catan.c: Include <float.h>.
40580         (__catan): Ensure underflow exception occurs for underflowed
40581         result.
40582         * math/s_catanf.c: Include <float.h>.
40583         (__catanf): Ensure underflow exception occurs for underflowed
40584         result.
40585         * math/s_catanh.c: Include <float.h>.
40586         (__catanh): Ensure underflow exception occurs for underflowed
40587         result.
40588         * math/s_catanhf.c: Include <float.h>.
40589         (__catanhf): Ensure underflow exception occurs for underflowed
40590         result.
40591         * math/s_catanhl.c: Include <float.h>.
40592         (__catanhl): Ensure underflow exception occurs for underflowed
40593         result.
40594         * math/s_catanl.c: Include <float.h>.
40595         (__catanl): Ensure underflow exception occurs for underflowed
40596         result.
40597         * math/libm-test.inc (catan_test): Add more tests.
40598         (catanh_test): Likewise.
40600         [BZ #15405]
40601         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
40602         underflowed result.
40603         * math/s_ccoshf.c (__ccoshf): Likewise.
40604         * math/s_ccoshl.c (__ccoshl): Likewise.
40605         * math/s_csin.c (__csin): Likewise.
40606         * math/s_csinf.c (__csinf): Likewise.
40607         * math/s_csinh.c (__csinh): Likewise.
40608         * math/s_csinhf.c (__csinhf): Likewise.
40609         * math/s_csinhl.c (__csinhl): Likewise.
40610         * math/s_csinl.c (__csinl): Likewise.
40611         * math/libm-test.inc (ccos_test): Add more tests.
40612         (ccosh_test): Likewise.
40613         (csin_test): Likewise.
40614         (csinh_test): Likewise.
40616 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40618         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
40619         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
40620         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
40621         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
40622         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
40623         powerpc/power5+/fpu folders.
40624         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
40627 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
40629         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40631 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
40633         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
40634         additions to variable.
40635         [$(config-machine) = x86_64] (modules-names): Likewise.
40636         ($(objpfx)tst-audit3): Remove dependency.
40637         ($(objpfx)tst-audit3.out): Likewise.
40638         ($(objpfx)tst-audit4): Likewise.
40639         ($(objpfx)tst-audit4.out): Likewise.
40640         ($(objpfx)tst-audit5): Likewise.
40641         ($(objpfx)tst-audit5.out): Likewise.
40642         ($(objpfx)tst-audit6): Likewise.
40643         ($(objpfx)tst-audit6.out): Likewise.
40644         ($(objpfx)tst-audit7): Likewise.
40645         ($(objpfx)tst-audit7.out): Likewise.
40646         (tst-audit3-ENV): Remove variable.
40647         (tst-audit4-ENV): Likewise.
40648         (tst-audit5-ENV): Likewise.
40649         (tst-audit6-ENV): Likewise.
40650         (tst-audit7-ENV): Likewise.
40651         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
40652         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
40653         addition to variable.
40654         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
40655         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
40656         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
40657         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
40658         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
40659         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
40660         tst-audit3, tst-audit4 and tst-audit5.
40661         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
40662         tst-audit6 and tst-audit7.
40663         [$(subdir) = elf] (modules-names): Add audit modules for those
40664         tests.
40665         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
40666         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
40667         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
40668         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
40669         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
40670         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
40671         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
40672         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
40673         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
40674         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
40675         [$(subdir) = elf] (tst-audit3-ENV): New variable.
40676         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
40677         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
40678         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
40679         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
40680         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
40681         Likewise.
40682         [$(subdir) = elf && $(config-cflags-avx) = yes]
40683         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
40684         [$(subdir) = elf && $(config-cflags-avx) = yes]
40685         (CFLAGS-tst-auditmod4a.c): Likewise.
40686         [$(subdir) = elf && $(config-cflags-avx) = yes]
40687         (CFLAGS-tst-auditmod4b.c): Likewise.
40688         [$(subdir) = elf && $(config-cflags-avx) = yes]
40689         (CFLAGS-tst-auditmod6b.c): Likewise.
40690         [$(subdir) = elf && $(config-cflags-avx) = yes]
40691         (CFLAGS-tst-auditmod6c.c): Likewise.
40692         [$(subdir) = elf && $(config-cflags-avx) = yes]
40693         (CFLAGS-tst-auditmod7b.c): Likewise.
40694         * elf/tst-audit3.c: Move to ...
40695         * sysdeps/x86_64/tst-audit3.c: ... here.
40696         * elf/tst-audit4.c: Move to ...
40697         * sysdeps/x86_64/tst-audit4.c: ... here.
40698         * elf/tst-audit5.c: Move to ...
40699         * sysdeps/x86_64/tst-audit5.c: ... here.
40700         * elf/tst-audit6.c: Move to ...
40701         * sysdeps/x86_64/tst-audit6.c: ... here.
40702         * elf/tst-audit7.c: Move to ...
40703         * sysdeps/x86_64/tst-audit7.c: ... here.
40704         * elf/tst-auditmod3a.c: Move to ...
40705         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
40706         * elf/tst-auditmod3b.c: Move to ...
40707         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
40708         * elf/tst-auditmod4a.c: Move to ...
40709         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
40710         * elf/tst-auditmod4b.c: Move to ...
40711         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
40712         * elf/tst-auditmod5a.c: Move to ...
40713         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
40714         * elf/tst-auditmod5b.c: Move to ...
40715         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
40716         * elf/tst-auditmod6a.c: Move to ...
40717         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
40718         * elf/tst-auditmod6b.c: Move to ...
40719         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
40720         * elf/tst-auditmod6c.c: Move to ...
40721         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
40722         * elf/tst-auditmod7a.c: Move to ...
40723         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
40724         * elf/tst-auditmod7b.c: Move to ...
40725         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
40727 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
40729         [BZ #15366]
40730         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
40731         define unconditionally.
40732         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
40733         define unconditionally.
40734         (INT8_C, INT16_C, etc.): Likewise.
40736 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
40738         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
40739         __ehdr_start with hidden visibility.
40741         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
40743 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
40745         * math/libm-test.inc (cos_test): Use accurate hex constants.
40746         (sincost_test): Likewise.
40748 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
40750         * math/libm-test.inc (catan_test): Add more tests.
40751         (catanh_test): Likewise.
40753         * math/s_catanf.c (__catanf): Use suffixed floating-point
40754         constants.
40755         * math/s_catanhf.c (__catanhf): Likewise.
40756         * math/s_catanhl.c (__catanhl): Likewise.
40757         * math/s_catanl.c (__catanl): Likewise.
40759         [BZ #15394]
40760         * math/s_catan.c (__catan): Calculate imaginary part of result
40761         with log1p not log unless computing log of number close to 0.
40762         * math/s_catanf.c (__catanf): Likewise.
40763         * math/s_catanl.c (__catanl): Likewise.
40764         * math/s_catanh.c (__catanh): Calculate real part of result with
40765         log1p not log unless computing log of number close to 0.
40766         * math/s_catanhf.c (__catanhf): Likewise.
40767         * math/s_catanhl.c (__catanhl): Likewise.
40768         * math/libm-test.inc (catan_test): Add more tests.
40769         (catanh_test): Likewise.
40770         * sysdeps/i386/fpu/libm-test-ulps: Update.
40771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40773 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40775         * benchtests/Makefile: Mention files in which fast and slow
40776         paths of math functions are implemented.
40778 2013-04-23  Roland McGrath  <roland@hack.frob.com>
40780         * sysdeps/posix/timespec_get.c: New file.
40782 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40784         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
40785         POWER.
40786         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
40787         for POWER.
40788         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
40789         powerpc/power5/fpu folders.
40790         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
40791         * benchtests/Makefile: Add modf testcase.
40792         * benchtests/bench-modf.c: New file: Benchmark test for mo
40794 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40796         [BZ #14888]
40797         * time/Makefile (tests): Add tst-strptime-whitespace.
40798         * time/strptime_l.c (get_number): Use ISSPACE.
40799         (__strptime_internal): Likewise.
40800         * time/tst-strptime-whitespace.c: New test case.
40802 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
40804         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
40805         member.
40806         (_nss_files_init): Set it here.
40808 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
40810         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
40811         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
40812         unsigned.
40814 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
40816         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
40818 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40820         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
40821         size just once.
40823 2013-04-21  David S. Miller  <davem@davemloft.net>
40825         * po/ru.po: Update Russion translation from translation project.
40827 2013-04-17  Adam Conrad  <adconrad@0c3.net>
40829         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
40830         and setfsgid.
40832 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
40834         * configure.in: Remove i386 configure warning. Remove i386 case.
40835         * configure: Regenerate.
40836         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
40837         Add example to error message.
40838         * sysdeps/i386/configure: Regenerate.
40840 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40842         * benchtests/Makefile (bench): Add cos, tan, slowcos and
40843         slowtan.
40844         * benchtests/cos-inputs: New file.
40845         * benchtests/slowcos-inputs: New file.
40846         * benchtests/slowcos.c: New file.
40847         * benchtests/slowtan-inputs: New file.
40848         * benchtests/slowtan.c: New file.
40849         * benchtests/tan-inputs: New file.
40851 2013-04-16  Roland McGrath  <roland@hack.frob.com>
40853         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
40854         considered kosher.
40856 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40858         * benchtests/Makefile: Include cppflags-iterator.mk to add
40859         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
40861         * Makefile.in (bench-clean): New target.
40862         * benchtests/Makefile (bench-clean): Likewise.
40864 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
40866         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
40868 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
40870         * stdio-common/tstdiomisc.c: Fix coding-style violation.
40872 2013-04-15  Andreas Schwab  <schwab@suse.de>
40874         * nscd/grpcache.c (cache_addgr): Properly check for short write.
40875         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40876         * nscd/pwdcache.c (cache_addpw): Likewise.
40877         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
40878         more than recsize.
40880 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40882         * benchtests/Makefile (bench): Write all output to
40883         bench-out.tmp together.
40885 2013-04-15  Andreas Schwab  <schwab@suse.de>
40887         * nscd/nscd.c (main): Don't fork again after closing files.
40889 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40891         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
40893         * benchtests/Rules (bench-deps): Collect dependencies into a
40894         single variable.  Add Makefile to dependencies.
40895         ($(objpfx)bench-%.c): Depend on bench-deps.
40897 2013-04-12  Roland McGrath  <roland@hack.frob.com>
40898             Xavier Roche  <roche+kml2@exalead.com>
40900         [BZ #15361]
40901         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
40902         just that it's a file descriptor.
40903         * manual/llio.texi (Synchronizing AIO Operations): Update description
40904         for EBADF error from aio_fsync.
40906 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40908         * Rules (bench): Move target definition...
40909         * benchtests/Makefile: ... here.
40911 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
40913         * math/libm-test.inc (cos_test): Fix PI/2 test.
40914         (sincos_test): Likewise.
40915         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40916         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
40918 2013-04-11  Andreas Schwab  <schwab@suse.de>
40920         [BZ #13988]
40921         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
40922         accept exponent character only when digits were seen.
40923         * stdio-common/Makefile (tests): Add bug26.
40924         * stdio-common/bug26.c: New file.
40926         [BZ #14293]
40927         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
40928         non-freeable.
40930 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40932         * Makeconfig (rtld-prefix): Define built linker prefix.
40933         * Rules (run-bench): Use it.
40934         * math/Makefile (run-regen-ulps): Likewise.
40936         * Rules (bench): Remove eval.
40938 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40939             Roland McGrath  <roland@hack.frob.com>
40940             Ondrej Bilka  <neleai@seznam.cz>
40942         [BZ #15346]
40943         * time/getdate.c: Include ctype.h and alloca.h.
40944         (__getdate_r): Trim leading and trailing spaces of input.
40945         * time/tst-getdate.c (tests): Add tests with leading and
40946         trailing spaces.
40948 2013-04-08  Roland McGrath  <roland@hack.frob.com>
40950         [BZ #14280]
40951         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
40952         when computing value.
40954 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
40956         * math/README.libm-test (How can I generate "libm-test-ulps"?):
40957         Use testrun.sh to run libm tests.
40959         [BZ #15309]
40960         * elf/dl-open.c (dl_open_worker): memset all of seen array.
40962 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
40964         [BZ #15264]
40965         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
40967 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
40969         * Makefile.in (regen-ulps): New target.
40970         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
40971         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
40972         [ifneq (no,$(PERL)] (regen-ulps): New target.
40973         [ifeq (no,$(PERL)] (regen-ulps): New target.
40974         * math/libm-test.inc (ulps_file_name): Define.
40975         (output_dir): New variable.
40976         (options): Add "output-dir" option.
40977         (parse_opt): Handle 'o' case.
40978         (main): If output_dir is non-NULL use it as a prefix
40979         otherwise use "".
40980         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
40982 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
40984         [BZ #10060, #10062]
40985         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
40986         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
40987         fail configure if __sync_val_compare_and_swap is not inlined.
40988         * sysdeps/i386/configure: Regenerate.
40989         * configure.in: Build for i686 when configured for i386.
40990         * configure: Regenerate.
40991         * README: Remove i386 reference.
40993 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
40995         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
40996         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40998 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
41000         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
41001         (lmsnanval): New variables.
41002         (F): Add conversion tests.
41003         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
41004         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
41006         * stdio-common/tstdiomisc.c (F): Properly collect individual
41007         tests' results.
41009         [BZ #14686, #15336]
41010         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
41011         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
41012         Instead, use input NaN values or generate a qNaN by arithmetic
41013         operation.  Also fix bugs to comply with the standard.
41014         * math/libm-test.inc (remainder_test): Add more tests.
41016         [BZ #15335, #15342]
41017         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
41018         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
41019         input NaN values or generate a qNaN by arithmetic operation.
41021         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
41022         unreachable code.
41024         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
41025         definitions.
41027 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
41029         [BZ #14478]
41030         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
41031         underflowed result.
41032         * math/s_cexpf.c (__cexpf): Likewise.
41033         * math/s_cexpl.c (__cexpl): Likewise.
41034         * math/libm-test.inc (cexp_test): Add more tests.
41036 2013-04-03  Andreas Schwab  <schwab@suse.de>
41038         [BZ #15330]
41039         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
41040         order arrays from heap if bigger than alloca cutoff.
41042 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
41044         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
41045         (SNAN_TESTS_double): Refer to GCC PR56831.
41046         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
41047         GCC PR56828.
41049 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41051         * Rules (bench): Move bench.out after the run is complete.
41053         * Rules (bench): Echo currently running benchmark.
41055         * benchtests/Makefile (bench): Add atan and slowatan.
41056         * benchtests/atan-inputs: New file.
41057         * benchtests/slowatan-inputs: New file.
41058         * benchtests/slowatan.c: New file.
41060         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
41061         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
41062         its value.
41064         [BZ #15305]
41065         * sysdeps/unix/sysv/linux/kernel-features.h
41066         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
41067         __ASSUME_XFS_RESTRICTED_CHOWN.
41068         * sysdeps/unix/sysv/linux/pathconf.c
41069         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
41070         Save and restore errno.
41072 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
41074         [BZ #15327]
41075         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
41076         arguments using __kernel_casinh.
41077         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
41078         arguments using __kernel_casinhf.
41079         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
41080         arguments using __kernel_casinhl.
41081         * math/libm-test.inc (cacosh_test): Add more tests.
41082         * sysdeps/i386/fpu/libm-test-ulps: Update.
41083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41085 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41087         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
41088         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
41090         * bench/Makefile (bench): Add sin and slowsin.
41091         * benchtests/sin-inputs: New file.
41092         * benchtests/slowsin-inputs: New file.
41093         * benchtests/slowsin.c: New file.
41095         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
41096         (bench): Add slowexp and slowpow.
41097         (exp-ITER): Increase iterations.
41098         (pow-ITER): Likewise.
41099         * benchtests/exp-inputs: Change input.
41100         * benchtests/pow-inputs: Likewise.
41101         * benchtests/slowexp-inputs: New file.
41102         * benchtests/slowexp.c: New file.
41103         * benchtests/slowpow-inputs: New file.
41104         * benchtests/slowpow.c: New file.
41106 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41108         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
41109         instructions.
41110         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41111         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
41112         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
41113         * benchtests/Makefile: Add rint benchtest.
41114         * benchtests/rint-inputs: Input for rint benchtest.
41116 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
41118         * Versions.def (libm): Add GLIBC_2.18.
41119         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
41120         hidden libm prototypes.
41121         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
41122         * math/Makefile (libm-calls): Add s_issignaling.
41123         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
41124         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
41125         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
41126         declaration.
41127         * math/math.h [__USE_GNU] (issignaling): New macro.
41128         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
41129         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
41130         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
41131         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
41132         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
41133         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
41134         * manual/arith.texi (issignaling): New section.
41135         * manual/libm-err-tab.pl (@all_functions): Update comment.
41136         * math/gen-libm-test.pl (parse_args): Apply special handling for
41137         issignaling.
41138         * math/libm-test.inc (print_float, issignaling_test): New
41139         functions.
41140         (check_float_internal): Add issignaling checks.
41141         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
41142         default definition.
41143         * sysdeps/powerpc/math-tests.h: New file.
41144         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
41145         tests.
41146         * math/test-snan.c (TEST_FUNC): Likewise.
41148 2013-03-30  David S. Miller  <davem@davemloft.net>
41150         * po/de.po: Update from translation team.
41152 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
41154         [BZ #10357]
41155         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41156         imaginary part less than 1.0 and real part less than 0.5
41157         specially.
41158         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41159         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41160         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
41161         (cacos_test): Add more tests.
41162         (casin_test): Likewise.
41163         (casinh_test): Likewise.
41164         * sysdeps/i386/fpu/libm-test-ulps: Update.
41165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41167 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41169         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
41170         ONE with its value.
41172         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
41173         (__pow_mp): Replace ONE and MONE with their values.
41174         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41175         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
41176         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41177         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
41178         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41179         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41181         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
41183         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
41184         (__pow_mp): Replace ZERO and MZERO with their values.
41185         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
41186         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41187         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41188         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41189         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41190         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
41191         (__sqr): Likewise.
41193         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
41195         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
41197 2013-03-28  Roland McGrath  <roland@hack.frob.com>
41199         * include/stdlib.h [!SHARED] (__call_tls_dtors):
41200         Declare with __attribute__ ((weak)).
41201         * stdlib/exit.c (__libc_atexit) [!SHARED]:
41202         Call __call_tls_dtors only if it's not NULL.
41204 2013-03-28  Roland McGrath  <roland@hack.frob.com>
41206         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
41207         didn't do it already, then set _dl_phdr and _dl_phnum based on the
41208         magic __ehdr_start linker symbol if it's defined.
41209         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
41210         them up here if it was already done.
41212         * elf/dl-support.c (_dl_phdr): Make pointer to const.
41213         (_dl_aux_init): Use const in cast when setting it.
41214         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
41215         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
41216         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
41218         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
41219         Declare them here.
41220         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
41221         * csu/libc-tls.c: Nor here.
41222         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
41224         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
41225         (__libc_message): Never call vsyslog.
41227 2013-03-28  Alan Modra  <amodra@gmail.com>
41229         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
41230         Define as empty.
41231         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
41232         Likewise.
41234 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41236         [BZ #15214]
41237         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
41238         underflow.
41239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41241 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41243         [BZ #15304]
41244         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41245         Don't add gid passed as argument.
41247         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
41249 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
41251         [BZ #15307]
41252         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41253         imaginary part between 1.0 and 1.5 and real part less than 0.5
41254         specially.
41255         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41256         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41257         * math/libm-test.inc (cacos_test): Add more tests.
41258         (casin_test): Likewise.
41259         (casinh_test): Likewise.
41260         * sysdeps/i386/fpu/libm-test-ulps: Update.
41261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41263 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41265         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
41266         constants.
41267         (norm): Likewise.
41268         (denorm): Likewise.
41269         (__dbl_mp): Likewise.
41270         (add_magnitudes): Likewise.
41271         (sub_magnitudes): Likewise.
41272         (__add): Likewise.
41273         (__sub): Likewise.
41274         (__mul): Likewise.
41275         (__sqr): Likewise.
41276         (__inv): Likewise.
41277         (__dvd): Likewise.
41279         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
41280         commented code.
41281         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
41282         (__dubcos): Likewise.
41283         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
41284         (__ieee754_acos): Likewise.
41285         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
41286         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
41287         (__exp1): Likewise.
41288         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41289         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41290         (log1): Likewise.
41291         (my_log2): Likewise.
41292         (checkint): Likewise.
41293         * sysdeps/ieee754/dbl-64/e_remainder.c
41294         (__ieee754_remainder): Likewise.
41295         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41296         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
41297         (bsloww): Likewise.
41298         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41300         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
41301         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
41302         MANTISSA_STORE_T to store computations on mantissa.  Use
41303         macros for rounding and division.
41304         (denorm): Likewise.
41305         (__dbl_mp): Likewise.
41306         (add_magnitudes): Likewise.
41307         (sub_magnitudes): Likewise.
41308         (__mul): Likewise.
41309         (__sqr): Likewise.
41310         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
41311         powers of two in terms of TWOPOW macro.
41312         (mp_no): Make type of mantissa as MANTISSA_T.
41313         [!RADIXI]: Define RADIXI.
41314         [!TWO52]: Define TWO52.
41315         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
41317 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41319         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
41320         llroundl symbol when building for PPC32.
41322 2013-03-24  Mark H Weaver  <mhw@netris.org>
41324         * manual/arith.texi (Normalization Functions): Fix prototypes for
41325         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
41327 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41329         [BZ #13889]
41330         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
41331         high value to check if expl overflow.
41332         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
41333         to check for underflow and overflow.
41334         * math/libm-test.inc: Add exp test.
41336 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
41338         [BZ #11120]
41339         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
41340         with NOT_IN_libc.
41342 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41344         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
41345         symbol.
41347 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41349         * math/gen-libm-test.pl (parse_args, special_functions): Properly
41350         wrap blocks consisting of several statements.
41352         * sysdeps/generic/math-tests.h: New file.
41353         * sysdeps/i386/fpu/math-tests.h: Likewise.
41354         * math/test-snan.c: Include it.
41355         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
41357 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
41359         [BZ #15285]
41360         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
41361         (__ieee754_j0l): Do not improve calculations using cos of twice
41362         input for inputs above LDBL_MAX / 2.0L.
41363         (__ieee754_y0l): Likewise.
41364         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
41365         (__ieee754_j1l): Do not improve calculations using cos of twice
41366         input for inputs above LDBL_MAX / 2.0L.
41367         (__ieee754_y1l): Likewise.
41368         * math/libm-test.inc (j0_test): Add another test.
41369         (j1_test): Likewise.
41370         (y0_test): Likewise.
41371         (y1_test): Likewise.
41372         * sysdeps/i386/fpu/libm-test-ulps: Update.
41374 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41376         * Rules ($(objpfx)bench-%.c): Include code from a C source
41377         file.
41379 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
41381         [BZ #15287]
41382         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41383         imaginary part 1.0 and real part less than 0.5 specially.
41384         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41385         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41386         * math/libm-test.inc (cacos_test): Add more tests.
41387         (casin_test): Likewise.
41388         (casinh_test): Likewise.
41389         * sysdeps/i386/fpu/libm-test-ulps: Update.
41390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41392 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41394         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
41395         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
41397 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
41399         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
41400         * config.make.in (config-cflags-sse4): Remove variable.
41401         (config-cflags-avx): Likewise.
41402         (config-cflags-sse2avx): Likewise.
41403         (config-cflags-novzeroupper): Likewise.
41404         (config-asflags-i686): Likewise.
41405         (have-mfma4): Likewise.
41406         (have-as-vis3): Likewise.
41407         (MIG): Likewise.
41408         * configure.in (MIG): Do not AC_SUBST.
41409         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
41410         (libc_cv_cc_sse4): Do not AC_SUBST.
41411         (libc_cv_cc_avx): Likewise.
41412         (libc_cv_cc_sse2avx): Likewise.
41413         (libc_cv_cc_novzeroupper): Likewise.
41414         (libc_cv_cc_fma4): Likewise.
41415         (libc_cv_as_i686): Likewise.
41416         (libc_cv_sparc_as_vis3): Likewise.
41417         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
41418         LIBC_CONFIG_VAR.
41419         (config-asflags-i686): Likewise.
41420         (config-cflags-avx): Likewise.
41421         (config-cflags-sse2avx): Likewise.
41422         (have-mfma4): Likewise.
41423         (config-cflags-novzeroupper): Likewise.
41424         * sysdeps/mach/configure.in (MIG): Likewise.
41425         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
41426         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
41427         LIBC_CONFIG_VAR.
41428         (config-cflags-avx): Likewise.
41429         (config-cflags-sse2avx): Likewise.
41430         (have-mfma4): Likewise.
41431         (config-cflags-novzeroupper): Likewise.
41432         * configure: Regenerated.
41433         * sysdeps/i386/configure: Likewise.
41434         * sysdeps/mach/configure: Likewise.
41435         * sysdeps/sparc/configure: Likewise.
41436         * sysdeps/x86_64/configure: Likewise.
41438 2013-03-20  Roland McGrath  <roland@hack.frob.com>
41440         [BZ #14812]
41441         * locale/programs/localedef.c (options): Put N_ translation marker
41442         on argument names, not just descriptions.
41444 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41446         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
41448 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
41450         [BZ #14176]
41451         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
41453 2013-03-19  Roland McGrath  <roland@hack.frob.com>
41455         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
41456         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
41457         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
41458         [!BEFORE_ABORT] (before_abort): New function.
41459         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
41460         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
41461         (writev_for_fatal): New function.
41462         (WRITEV_FOR_FATAL): New macro; call that.
41463         (backtrace_and_maps): New function.
41464         (BEFORE_ABORT): New macro; call that.
41465         (struct str_list): Type removed.
41466         (__libc_message, __libc_fatal): Functions removed.
41467         Include <sysdeps/posix/libc_fatal.c> instead.
41469 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
41471         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
41472         constants.
41473         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
41474         double constants.
41476 2013-03-19  Andreas Schwab  <schwab@suse.de>
41478         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
41479         * sysdeps/gnu/configure: Regenerate.
41481         * configure.in: Substitute libc_cv_rtlddir.
41482         * configure: Regenerate.
41483         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
41484         * Makeconfig (rtlddir, inst_rtlddir): New variables.
41485         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
41486         * elf/Makefile (install-others, CFLAGS-interp.c)
41487         (ldso_install, common-ldd-rewrite): Likewise.
41488         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
41489         $(inst_slibdir)/$(rtld-installed-name).
41490         * scripts/rellns-sh: Add -p option.
41491         * Makerules (make-shlib-link): Use rellns-sh to get relative name
41492         for source.
41494 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41496         * manual/nptl.texi: Renamed to ...
41497         * manual/threads.texi: ... this.
41498         * manual/Makefile (chapters): Update.
41500 2013-03-18  Roland McGrath  <roland@hack.frob.com>
41502         [BZ #14812]
41503         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
41504         on argument names, not just descriptions.
41505         * malloc/memusagestat.c (options): Likewise.
41506         * nss/getent.c (options): Likewise.
41508 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
41510         [BZ #14812]
41511         * iconv/iconv_prog.c (options): Put N_ translation marker
41512         on argument names, not just descriptions.
41513         * iconv/iconvconfig.c (options): Likewise.
41515 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
41517         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
41518         implementation which is faster on all x86_64 architectures.
41519         Tested on AMD, Intel Nehalem, SNB, IVB.
41520         * sysdeps/x86_64/strnlen.S: Likewise.
41522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41523         Remove all multiarch strlen and strnlen versions.
41524         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
41525         Remove strlen and strnlen related parts.
41527         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
41528         Inline strlen part.
41529         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
41531         * sysdeps/x86_64/multiarch/strlen.S: Remove.
41532         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
41533         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
41534         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
41535         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41536         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
41538 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
41540         * manual/memory.texi (Malloc Tunable Parameters):
41541         Sort parameters alphabetically. Add comments for missing entries.
41543 2013-03-17  David S. Miller  <davem@davemloft.net>
41545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41547 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
41549         [BZ #15283]
41550         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
41551         for arguments at most half maximum finite value.
41552         * math/libm-test.inc (j0_test): Add more tests.
41553         (j1_test): Likewise.
41554         (y0_test): Likewise.
41555         (y1_test): Likewise.
41556         * sysdeps/i386/fpu/libm-test-ulps: Update.
41557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41559         [BZ #14155]
41560         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
41561         1 / x and functions P and Q for arguments above 0x1p256L.
41562         (__ieee754_y0l): Likewise.
41563         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
41564         (__ieee754_y1l): Likewise.
41565         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
41566         (j1_test): Likewise.
41567         (y0_test): Likewise.
41568         (y1_test): Likewise.
41570 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
41572         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
41573         variable.
41575 2013-03-15  Roland McGrath  <roland@hack.frob.com>
41577         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
41578         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
41579         zero since it's initialized to EXEC_PAGESIZE.
41581         * sysdeps/unix/sysv/linux/ldsodefs.h
41582         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
41583         * sysdeps/generic/ldsodefs.h: ... here.
41585 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
41587         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
41589         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
41590         math/test-snan.c.
41591         * math/test-snan.c: Renamed from
41592         sysdeps/powerpc/fpu/test-powerpc-snan.c.
41593         * math/Makefile (tests): Add test-snan.
41594         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
41595         test-powerpc-snan.
41597         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
41598         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
41599         functions.
41600         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
41601         __builtin_nan family of functions.
41602         * math/libm-test.inc (initialize): Initialize qnan_value with
41603         __builtin_nan family of functions.
41604         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
41605         Remove variables.
41606         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
41607         Remove functions.
41608         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
41609         storage class.  Initialize qNaN_var and sNaN_var with
41610         __builtin_nan and __builtin_nans families of functions,
41611         respectively.
41613         * math/libm-test.inc (acosh_test): Also test with qNaN input.
41614         (sqrt_test): Remove duplicate test with qNaN input.
41615         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
41616         (round_test, signbit_test, significand_test): Note missing +/-Inf
41617         as well as qNaN tests.
41619         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
41620         qNaN_var.  Fix a few strings, too.
41621         * math/libm-test.inc (nan_value): Rename to qnan_value.
41622         * math/gen-libm-test.pl (%beautify): Adjust to that.
41623         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
41624         * math/test-misc.c (main): Likewise.
41625         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
41626         to __qnan_bytes, and __qnan_union, respectively.
41627         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
41628         Likewise.
41629         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
41630         and lqnanval, respectively.
41631         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
41632         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
41633         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
41634         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
41636         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
41637         * math/test-misc.c (main) [__x86_64__]: Enable test for long
41638         doubles.
41640         * math/test-misc.c (main): Fix copy'n'pastos.
41641         * misc/tst-efgcvt.c (special): Likewise.
41643         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
41644         Remove declarations.
41646 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41648         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
41649         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
41650         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
41651         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
41653 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41655         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
41656         macro to return vdso values correctly in IFUNC implementations.
41657         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41658         Optimization by using IFUNC.
41660 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41661             Richard Henderson  <rth@redhat.com>
41662             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41664         * Makefile.in (bench): New target.
41665         * NEWS: Mention the benchmark framework.
41666         * Rules (bench): Likewise.
41667         (binaries-bench): Generate binaries for functions to
41668         benchmark.
41669         * benchtests/Makefile: New makefile for benchmark tests.
41670         * benchtests/bench-skeleton.c: New skeleton file for benchmark
41671         programs.
41672         * benchtests/exp-inputs: New input file for EXP function.
41673         * benchtests/pow-inputs: New input file for POW function.
41674         * scripts/bench.pl: New script to generate source files for
41675         benchmark programs.
41677 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41679         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
41680         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
41681         computations on mantissa.  Use macros for rounding and
41682         division.
41683         (denorm): Likewise.
41684         (__dbl_mp): Likewise.
41685         (add_magnitudes): Likewise.
41686         (sub_magnitudes): Likewise.
41687         (__mul): Likewise.
41688         (__sqr): Likewise.
41689         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
41690         powers of two in terms of TWOPOW macro.
41691         (mp_no): Make type of mantissa as MANTISSA_T.
41692         [!RADIXI]: Define RADIXI.
41693         [!TWO52]: Define TWO52.
41694         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
41696         * manual/nptl.texi (cindex): Modify threads to pthreads.
41698 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
41700         * sysdeps/x86_64/preconfigure: Regenerated.
41702 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
41704         [BZ #14155]
41705         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
41706         0x1p28 and above.
41707         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
41708         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
41709         0x1p28 and above.
41710         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
41711         * math/libm-test.inc (j0_test): Do not allow one spurious
41712         underflow exception.
41713         (y1_test): Likewise.
41715 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41717         * manual/Makefile (chapters): Add nptl.
41718         * manual/debug.texi (Debugging Support): Add link to Threads
41719         chapter.
41720         * manual/nptl.texi: New file.
41722         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
41724 2013-03-14  Petr Baudis  <pasky@ucw.cz>
41726         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
41727         for non-NULL pointer before the memory validity test. Pointed
41728         out by Holger Brunck <holger.brunck@keymile.com>.
41730 2013-03-13  Andreas Schwab  <schwab@suse.de>
41732         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
41733         instead of .os.
41735 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
41737         * timezone/zic.c: Update from tzcode 2013b.
41739 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
41741         * manual/install.texi (Configuring and compiling):
41742         Mention i686 and i586.
41743         * INSTALL: Regenerate.
41745 2013-03-12  Roland McGrath  <roland@hack.frob.com>
41747         * sysdeps/init_array/elf-init.c: New file.
41748         * csu/elf-init.c
41749         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
41750         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
41752         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
41753         __gmon_start__ as global, but as static with a .preinit_array pointer.
41754         * sysdeps/init_array/gmon-start.c: New file.  Use that.
41755         * sysdeps/init_array/crti.S: New file, empty except for comments.
41756         * sysdeps/init_array/crtn.S: Likewise.
41758 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
41760         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
41761         definining bcopy.
41762         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41763         Remove Prefer_SSE_for_memop.
41764         * sysdeps/x86_64/multiarch/init-arch.h: Remove
41765         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
41766         HAS_PREFER_SSE_FOR_MEMOP.
41767         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
41768         memset-x86-64.
41769         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41770         Remove bzero, memset ifunc support.
41771         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
41772         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
41773         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41774         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41776 2013-03-11  Andreas Schwab  <schwab@suse.de>
41778         [BZ #15234]
41779         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
41780         by SHLIB_COMPAT.
41781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
41782         (GLIBC_2.16): Remove pthread_atfork.
41784 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
41786         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
41787         (ptestcases.h): Likewise.
41789 2013-03-08  Roland McGrath  <roland@hack.frob.com>
41791         * Makeconfig ($(common-objpfx)config.status): Depend on
41792         sysdeps/*/preconfigure{,.in} too.
41794 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
41796         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
41797         (__free_hook): Use void * instead of __malloc_ptr_t.
41798         (__malloc_hook): Likewise.
41799         (__realloc_hook): Likewise.
41800         (__memalign_hook): Likewise.
41801         (__after_morecore_hook): Likewise.
41802         * malloc/arena.c (save_malloc_hook): Likewise.
41803         (save_free_hook): Likewise.
41804         * malloc/hooks.c (malloc_hook_ini): Likewise.
41805         (realloc_hook_ini): Likewise.
41806         (memalign_hook_ini): Likewise.
41807         * malloc/malloc.c (malloc_hook_ini): Likewise.
41808         (realloc_hook_ini): Likewise.
41809         (memalign_hook_ini): Likewise.
41810         (__free_hook): Likewise.
41811         (__malloc_hook): Likewise.
41812         (__realloc_hook): Likewise.
41813         (__memalign_hook): Likewise.
41814         (__libc_malloc): Likewise.
41815         (__libc_free): Likewise.
41816         (__libc_realloc): Likewise.
41817         (__libc_memalign): Likewise.
41818         (__libc_valloc): Likewise.
41819         (__libc_pvalloc): Likewise.
41820         (__libc_calloc): Likewise.
41821         (__posix_memalign): Likewise.
41822         * malloc/morecore.c (__sbrk): Likewise.
41823         (__default_morecore): Likewise.
41825         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
41827         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
41828         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
41829         __malloc_ptrdiff_t.
41831         * malloc/malloc.h (__malloc_size_t): Remove macro.
41832         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
41833         __malloc_size_t.
41834         (old_memalign_hook): Likewise.
41835         (old_realloc_hook): Likewise.
41836         (struct hdr): Likewise.
41837         (flood): Likewise.
41838         (mallochook): Likewise.
41839         (memalignhook): Likewise.
41840         (reallochook): Likewise.
41841         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
41842         (tr_old_realloc_hook): Likewise.
41843         (tr_old_memalign_hook): Likewise.
41844         (tr_mallochook): Likewise.
41845         (tr_reallochook): Likewise.
41846         (tr_memalignhook): Likewise.
41848 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41850         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
41851         default_ldbl_pack and using as default implementation.
41852         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
41853         implementation.
41854         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
41855         redundant definition.
41856         (ldbl_insert_mantissa): Likewise.
41857         (ldbl_canonicalize): Likewise.
41858         (ldbl_nearbyint): Likewise.
41859         (ldbl_pack): Rename to ldbl_pack_ppc.
41860         (ldbl_unpack): Rename to ldbl_unpack_ppc.
41861         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
41862         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
41864 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41866         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
41867         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
41868         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
41869         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
41870         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
41871         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
41872         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
41873         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
41875 2013-03-07  Andreas Jaeger  <aj@suse.de>
41877         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41878         bits/mman-linux.h.
41880 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41882         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
41883         Include mpa.h and declare __MPEXP.
41884         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
41885         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
41886         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
41887         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
41888         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
41889         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
41890         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
41892         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
41893         (__slowpow): Use long double EXPL and LOGL functions to
41894         compute POW.
41895         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
41896         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
41897         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
41898         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
41899         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
41900         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
41902         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
41903         intermediate variable to calculate exponent.
41904         (__sqr): Likewise.
41905         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
41906         Likewise.
41907         (__sqr): Likewise.
41909         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
41910         [!NO__SQR]: Define __sqr.
41911         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
41912         and NO__SQR.  Remove all code except __mul and __sqr.  Include
41913         sysdeps/ieee754/dbl-64/mpa.c.
41914         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41916         [BZ #12723]
41917         * posix/Makefile (tests): Add tst-pathconf.
41918         * posix/tst-pathconf.c: New test case.
41919         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
41920         _PC_PIPE_BUF.
41921         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
41923 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
41925         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
41927 2013-03-06  Andreas Jaeger  <aj@suse.de>
41929         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
41930         definition via __MAP_ANONYMOUS.
41932         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
41933         it's not part of Linux headers.
41935         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
41936         (MAP_HUGE_MASK): Define.
41938         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
41939         Define.
41940         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
41941         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
41942         Define.
41943         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
41944         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
41945         Define.
41946         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
41947         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
41948         Define.
41949         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
41951         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
41952         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
41953         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
41954         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
41955         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
41956         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
41958         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41959         Handle f2fs.
41961         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41962         Handle f2fs and efivarfs.
41964         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
41965         f2fs.
41967         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
41968         (EFIVARFS_MAGIC): Add.
41969         (F2FS_LINK_MAX): Add.
41971 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
41973         * stdio-common/vfprintf.c: Replace __builtin_expect with
41974         __glibc_unlikely.
41976 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
41978         [BZ #13550]
41979         * sysdeps/generic/bp-sym.h: Remove file.
41980         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
41981         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
41982         <bp-sym.h> and <bp-asm.h>.
41983         (__longjmp): Don't use BP_SYM.
41984         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
41985         and <bp-asm.h>.
41986         (memcpy): Don't use BP_SYM.
41987         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
41988         <bp-sym.h> and <bp-asm.h>.
41989         (memcpy): Don't use BP_SYM.
41990         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
41991         <bp-asm.h>.
41992         (memcpy): Don't use BP_SYM.
41993         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
41994         <bp-asm.h>.
41995         (memset): Don't use BP_SYM.
41996         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
41997         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
41998         (__bzero): Don't use BP_SYM.
41999         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42000         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42001         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
42002         <bp-sym.h> and <bp-asm.h>.
42003         (memcmp): Don't use BP_SYM.  Remove comment about bounded
42004         pointers.
42005         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
42006         <bp-sym.h> and <bp-asm.h>.
42007         (memcpy): Don't use BP_SYM.
42008         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
42009         <bp-sym.h> and <bp-asm.h>.
42010         (memset): Don't use BP_SYM.
42011         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42012         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42013         (__bzero): Don't use BP_SYM.
42014         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42015         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42016         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
42017         <bp-sym.h> and <bp-asm.h>.
42018         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42019         pointers.
42020         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
42021         <bp-sym.h> and <bp-asm.h>.
42022         (memcpy): Don't use BP_SYM.
42023         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
42024         <bp-sym.h> and <bp-asm.h>.
42025         (memset): Don't use BP_SYM.
42026         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42027         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42028         (__bzero): Don't use BP_SYM.
42029         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42030         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42031         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
42032         <bp-sym.h> and <bp-asm.h>.
42033         (__memchr): Don't use BP_SYM.
42034         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
42035         <bp-sym.h> and <bp-asm.h>.
42036         (memcmp): Don't use BP_SYM.  Remove comment about bounded
42037         pointers.
42038         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
42039         <bp-sym.h> and <bp-asm.h>.
42040         (memcpy): Don't use BP_SYM.
42041         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
42042         <bp-sym.h> and <bp-asm.h>.
42043         (__mempcpy): Don't use BP_SYM.
42044         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
42045         <bp-sym.h> and <bp-asm.h>.
42046         (__memrchr): Don't use BP_SYM.
42047         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
42048         <bp-sym.h> and <bp-asm.h>.
42049         (memset): Don't use BP_SYM.
42050         (__bzero): Likewise.
42051         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
42052         <bp-sym.h> and <bp-asm.h>.
42053         (__rawmemchr): Don't use BP_SYM.
42054         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
42055         <bp-sym.h> and <bp-asm.h>.
42056         (__STRCMP): Don't use BP_SYM.
42057         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
42058         <bp-sym.h> and <bp-asm.h>.
42059         (strchr): Don't use BP_SYM.
42060         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
42061         <bp-sym.h> and <bp-asm.h>.
42062         (__strchrnul): Don't use BP_SYM.
42063         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
42064         <bp-sym.h> and <bp-asm.h>.
42065         (strlen): Don't use BP_SYM.
42066         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
42067         <bp-sym.h> and <bp-asm.h>.
42068         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42069         pointers.
42070         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
42071         <bp-sym.h> and <bp-asm.h>.
42072         (__strnlen): Don't use BP_SYM.
42073         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
42074         <bp-sym.h> and <bp-asm.h>.
42075         (__GI__setjmp): Don't use BP_SYM.
42076         (_setjmp): Likewise.
42077         (__sigsetjmp): Likewise.
42078         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
42079         (L(start_addresses)): Don't use BP_SYM.
42080         (_start): Likewise.
42081         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
42082         <bp-asm.h>.
42083         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
42084         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
42085         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42086         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42087         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
42088         <bp-asm.h>.
42089         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
42090         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
42091         about bounded pointers.
42092         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42093         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42094         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
42095         <bp-asm.h>.
42096         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
42097         about bounded pointers.  Remove GKM FIXME comments.
42098         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42099         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
42100         <bp-asm.h>.
42101         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
42102         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
42103         Remove GKM FIXME comments.
42104         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42105         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42106         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
42107         <bp-asm.h>.
42108         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
42109         about bounded pointers.  Remove GKM FIXME comment.
42110         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
42111         and <bp-asm.h>.
42112         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42113         pointers.
42114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
42115         <bp-sym.h> and <bp-asm.h>.
42116         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
42117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
42118         <bp-sym.h> and <bp-asm.h>.
42119         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
42120         comment.
42122 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42124         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
42125         call free(NULL).
42127 2013-03-05  David S. Miller  <davem@davemloft.net>
42129         * po/es.po: Update from translation team.
42131 2013-03-05  Andreas Jaeger  <aj@suse.de>
42133         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
42134         <bits/mman-linux.h>.
42135         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42136         is fine.
42137         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
42138         <bits/mman-linux.h> to end of file.
42139         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42140         is fine.
42141         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
42142         <bits/mman-linux.h> to end of file.
42143         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42144         is fine.
42145         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
42146         <bits/mman-linux.h> to end of file.
42148         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
42149         (MCL_CURRENT, MCL_FUTURE): Define here.
42151 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42153         [BZ #15232]
42154         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
42155         attribute_hidden.
42156         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42158 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42160         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
42161         fourth parameter needed for rt_sigprocmask syscall.
42162         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
42163         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42164         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
42165         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42166         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42167         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
42169 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
42171         [BZ #13550]
42172         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
42173         comment about bounded pointers.
42174         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
42175         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
42177 2013-03-04  Andreas Jaeger  <aj@suse.de>
42179         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
42180         common definitions.
42182         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
42183         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
42184         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
42185         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42186         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42187         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42189 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42191         [BZ #15055]
42192         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
42193         __ieee754_sqrl instead of __sqrl.
42195 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
42197         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
42198         * sysdeps/powerpc/fpu_control.h: ... here.
42199         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
42200         * sysdeps/powerpc/bits/fenvinline.h: ... here.
42201         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
42202         * sysdeps/powerpc/bits/mathinline.h: ... here.
42204 2013-03-01  Roland McGrath  <roland@hack.frob.com>
42206         * elf/dl-hwcaps.c (_dl_important_hwcaps):
42207         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
42208         to just [NEED_DL_SYSINFO_DSO].
42209         * elf/dl-support.c: Likewise.
42210         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
42211         * elf/rtld.c (dl_main): Likewise.
42212         * elf/setup-vdso.h (setup_vdso): Likewise.
42213         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
42214         * sysdeps/unix/sysv/linux/dl-sysdep.c
42215         (_dl_discover_osversion): Likewise.
42217 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
42219         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
42220         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
42222 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42224         * NEWS: Mention libm performance improvements and non-x86 PI
42225         futex support.
42227         * csu/libc-start.c (__pthread_initialize_minimal): Change
42228         function arguments.
42229         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
42231 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
42233         [BZ #13550]
42234         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
42235         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
42236         <bp-sym.h> and <bp-asm.h>.
42237         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42238         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
42239         and <bp-asm.h>.
42240         (memcpy): Don't use BP_SYM.
42241         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
42242         <bp-asm.h>.
42243         (__mpn_add_n): Don't use BP_SYM.
42244         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
42245         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
42246         and <bp-asm.h>.
42247         (__mpn_addmul_1): Don't use BP_SYM.
42248         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42249         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
42250         <bp-sym.h>.
42251         (_setjmp): Don't use BP_SYM.
42252         (__novmx_setjmp): Likewise.
42253         (__GI__setjmp): Likewise.
42254         (__vmx_setjmp): Likewise.
42255         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
42256         <bp-sym.h>.
42257         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
42258         (__bzero): Don't use BP_SYM.
42259         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42260         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42261         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
42262         <bp-sym.h> and <bp-asm.h>.
42263         (memcpy): Don't use BP_SYM.
42264         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
42265         <bp-sym.h> and <bp-asm.h>.
42266         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42267         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
42268         <bp-sym.h> and <bp-asm.h>.
42269         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42270         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
42271         <bp-asm.h>.
42272         (__mpn_lshift): Don't use BP_SYM.
42273         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42274         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
42275         <bp-asm.h>.
42276         (memset): Don't use BP_SYM.
42277         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42278         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42279         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
42280         <bp-asm.h>.
42281         (__mpn_mul_1): Don't use BP_SYM.
42282         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42283         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
42284         <bp-sym.h> and <bp-asm.h>.
42285         (memcmp): Don't use BP_SYM.
42286         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
42287         <bp-sym.h> and <bp-asm.h>.
42288         (memcpy): Don't use BP_SYM.
42289         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
42290         <bp-sym.h> and <bp-asm.h>.
42291         (memset): Don't use BP_SYM.
42292         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
42293         <bp-sym.h> and <bp-asm.h>.
42294         (strncmp): Don't use BP_SYM.
42295         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
42296         <bp-sym.h> and <bp-asm.h>.
42297         (memcpy): Don't use BP_SYM.
42298         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
42299         <bp-sym.h> and <bp-asm.h>.
42300         (memset): Don't use BP_SYM.
42301         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
42302         <bp-sym.h> and <bp-asm.h>.
42303         (__memchr): Don't use BP_SYM.
42304         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
42305         <bp-sym.h> and <bp-asm.h>.
42306         (memcmp): Don't use BP_SYM.
42307         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
42308         <bp-sym.h> and <bp-asm.h>.
42309         (memcpy): Don't use BP_SYM.
42310         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
42311         <bp-sym.h> and <bp-asm.h>.
42312         (__mempcpy): Don't use BP_SYM.
42313         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
42314         <bp-sym.h> and <bp-asm.h>.
42315         (__memrchr): Don't use BP_SYM.
42316         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
42317         <bp-sym.h> and <bp-asm.h>.
42318         (memset): Don't use BP_SYM.
42319         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
42320         <bp-sym.h> and <bp-asm.h>.
42321         (__rawmemchr): Don't use BP_SYM.
42322         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
42323         <bp-sym.h> and <bp-asm.h>.
42324         (__STRCMP): Don't use BP_SYM.
42325         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
42326         <bp-sym.h> and <bp-asm.h>.
42327         (strchr): Don't use BP_SYM.
42328         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
42329         <bp-sym.h> and <bp-asm.h>.
42330         (__strchrnul): Don't use BP_SYM.
42331         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
42332         <bp-sym.h> and <bp-asm.h>.
42333         (strlen): Don't use BP_SYM.
42334         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
42335         <bp-sym.h> and <bp-asm.h>.
42336         (strncmp): Don't use BP_SYM.
42337         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
42338         <bp-sym.h> and <bp-asm.h>.
42339         (__strnlen): Don't use BP_SYM.
42340         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
42341         <bp-asm.h>.
42342         (__mpn_rshift): Don't use BP_SYM.
42343         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42344         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
42345         <bp-sym.h> and <bp-asm.h>.
42346         (__sigsetjmp): Don't use BP_SYM.
42347         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
42348         (L(start_addresses)): Don't use BP_SYM.
42349         (_start): Likewise.
42350         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
42351         <bp-asm.h>.
42352         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
42353         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42354         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42355         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
42356         <bp-asm.h>.
42357         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
42358         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42359         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42360         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
42361         <bp-asm.h>.
42362         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
42363         comments.
42364         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42365         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
42366         <bp-asm.h>.
42367         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
42368         FIXME comments.
42369         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42370         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42371         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
42372         <bp-asm.h>.
42373         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
42374         comment.
42375         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
42376         and <bp-asm.h>.
42377         (strncmp): Don't use BP_SYM,
42378         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
42379         <bp-asm.h>.
42380         (__mpn_sub_n): Don't use BP_SYM.
42381         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42382         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
42383         and <bp-asm.h>.
42384         (__mpn_submul_1): Don't use BP_SYM.
42385         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
42387         <bp-sym.h> and <bp-asm.h>.
42388         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
42389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
42390         <bp-sym.h> and <bp-asm.h>.
42391         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
42392         comment.
42394 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42396         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
42397         Use ZK to minimize writes to Z.
42398         (sub_magnitudes): Simplify code a bit.
42399         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
42400         Use ZK to minimize writes to Z.
42401         (sub_magnitudes): Simplify code a bit.
42403 2013-02-27  Roland McGrath  <roland@hack.frob.com>
42405         * csu/gmon-start.c: Add special exception to license text.
42407 2013-02-27  Richard Henderson  <rth@redhat.com>
42409         * scripts/config.guess: Update from config.git.
42410         * scripts/config.sub: Likewise.
42412 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42414         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
42416         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
42418         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
42420         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
42422         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
42424 2013-02-26  Roland McGrath  <roland@hack.frob.com>
42426         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
42427         [$(build-shared = yes].
42429 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42431         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
42432         (__mul): Reduce iterations for calculating mantissa.
42434         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
42435         MPTWO.
42436         (__mpranred): Likewise.
42438         [BZ #15160]
42439         * malloc/memusagestat.c (main): Draw graphs for heap and stack
42440         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
42442 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
42444         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
42445         Define __attribute__.
42447 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42449         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
42450         unused.
42451         * posix/regex_internal.h (__attribute): Remove.
42452         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
42453         (re_string_context_at): Likewise.
42454         (bitset_not): Use __attribute__ and mark function as possibly
42455         unused.
42456         (bitset_merge): Likewise.
42457         (bitset_mask): Likewise.
42458         (re_string_char_size_at): Likewise.
42459         (re_string_wchar_at): Likewise.
42460         (re_string_elem_size_at): Likewise.
42462 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42464         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
42465         code.
42466         (cc32): Likewise.
42468         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
42469         (__acr): Likewise.
42470         (__cpy): Likewise.
42471         (norm): Likewise.
42472         (denorm): Likewise.
42473         (__dbl_mp): Likewise.
42474         (add_magnitudes): Likewise.
42475         (sub_magnitudes): Likewise.
42476         (__mul): Likewise.
42477         (__inv): Likewise.
42479         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
42480         style.
42482         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
42483         style.
42485         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
42486         code.
42488         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
42489         up changes with default code.
42490         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
42491         Likewise.
42493 2013-02-24  Allan McRae  <allan@archlinux.org>
42495         * manual/socket.texi (The Internet Namespace): Order menu items
42496         to match that in the file.
42498         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
42499         node listing of the info page menu.
42501 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
42503         [BZ #13550]
42504         * sysdeps/i386/bp-asm.h: Remove file.
42505         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
42506         (PARMS): Do not use macros from bp-asm.h.
42507         (S1): Likewise.
42508         (S2): Likewise.
42509         (SIZE): Likewise.
42510         (__mpn_add_n): Do not use BP_SYM
42511         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
42512         "bp-asm.h".
42513         (PARMS): Do not use macros from bp-asm.h.
42514         (S1): Likewise.
42515         (SIZE): Likewise.
42516         (__mpn_addmul_1): Do not use BP_SYM
42517         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
42518         "bp-asm.h".
42519         (PARMS): Do not use macros from bp-asm.h.
42520         (SIGMSK): Likewise.
42521         (_setjmp): Likewise.  Do not use BP_SYM.
42522         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
42523         "bp-asm.h".
42524         (PARMS): Do not use macros from bp-asm.h.
42525         (SIGMSK): Likewise.
42526         (setjmp): Likewise.  Do not use BP_SYM.
42527         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
42528         "bp-asm.h".
42529         (PARMS): Do not use macros from bp-asm.h.
42530         (__frexp): Do not use BP_SYM.
42531         (frexp): Likewise.
42532         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
42533         "bp-asm.h".
42534         (PARMS): Do not use macros from bp-asm.h.
42535         (__frexpf): Do not use BP_SYM.
42536         (frexpf): Likewise.
42537         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
42538         "bp-asm.h".
42539         (PARMS): Do not use macros from bp-asm.h.
42540         (__frexpl): Do not use BP_SYM.
42541         (frexpl): Likewise.
42542         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
42543         "bp-asm.h".
42544         (PARMS): Do not use macros from bp-asm.h.
42545         (__remquo): Do not use BP_SYM.
42546         (remquo): Likewise.
42547         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
42548         "bp-asm.h".
42549         (PARMS): Do not use macros from bp-asm.h.
42550         (__remquof): Do not use BP_SYM.
42551         (remquof): Likewise.
42552         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
42553         "bp-asm.h".
42554         (PARMS): Do not use macros from bp-asm.h.
42555         (__remquol): Do not use BP_SYM.
42556         (remquol): Likewise.
42557         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
42558         "bp-asm.h".
42559         (PARMS): Do not use macros from bp-asm.h.
42560         (DEST): Likewise.
42561         (SRC): Likewise.
42562         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
42563         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
42564         "bp-asm.h".
42565         (PARMS): Do not use macros from bp-asm.h.
42566         (strlen): Do not use BP_SYM.
42567         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
42568         "bp-asm.h".
42569         (PARMS): Do not use macros from bp-asm.h.
42570         (S1): Likewise.
42571         (S2): Likewise.
42572         (SIZE): Likewise.
42573         (__mpn_add_n): Do not use BP_SYM.
42574         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
42575         "bp-asm.h".
42576         (PARMS): Do not use macros from bp-asm.h.
42577         (S1): Likewise.
42578         (SIZE): Likewise.
42579         (__mpn_addmul_1): Do not use BP_SYM.
42580         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
42581         weak_alias.
42582         (bzero): Likewise.
42583         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
42584         "bp-asm.h".
42585         (PARMS): Do not use macros from bp-asm.h.
42586         (S): Likewise.
42587         (SIZE): Likewise.
42588         (__mpn_lshift): Do not use BP_SYM.
42589         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
42590         "bp-asm.h".
42591         (PARMS): Do not use macros from bp-asm.h.
42592         (DEST): Likewise.
42593         (SRC): Likewise.
42594         (LEN): Likewise.
42595         (memcpy): Likewise.  Do not use BP_SYM.
42596         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
42597         libc_hidden_def and weak_alias.
42598         (mempcpy): Do not use BP_SYM in weak_alias.
42599         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
42600         "bp-asm.h".
42601         (PARMS): Do not use macros from bp-asm.h.
42602         (DEST): Likewise.
42603         (LEN): Likewise.
42604         [!BZERO_P] (CHR): Likewise.
42605         (memset): Likewise.  Do not use BP_SYM.
42606         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
42607         "bp-asm.h".
42608         (PARMS): Do not use macros from bp-asm.h.
42609         (S1): Likewise.
42610         (SIZE): Likewise.
42611         (__mpn_mul_1): Do not use BP_SYM.
42612         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
42613         "bp-asm.h".
42614         (PARMS): Do not use macros from bp-asm.h.
42615         (S): Likewise.
42616         (SIZE): Likewise.
42617         (__mpn_rshift): Do not use BP_SYM.
42618         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
42619         "bp-asm.h".
42620         (PARMS): Do not use macros from bp-asm.h.
42621         (STR): Likewise.
42622         (CHR): Likewise.
42623         (strchr): Likewise.  Do not use BP_SYM.
42624         (index): Do not use BP_SYM in weak_alias.
42625         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
42626         "bp-asm.h".
42627         (PARMS): Do not use macros from bp-asm.h.
42628         (DEST): Likewise.
42629         (SRC): Likewise.
42630         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
42631         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
42632         "bp-asm.h".
42633         (PARMS): Do not use macros from bp-asm.h.
42634         (strlen): Do not use BP_SYM.
42635         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
42636         "bp-asm.h".
42637         (PARMS): Do not use macros from bp-asm.h.
42638         (S1): Likewise.
42639         (S2): Likewise.
42640         (SIZE): Likewise.
42641         (__mpn_sub_n): Do not use BP_SYM.
42642         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
42643         "bp-asm.h".
42644         (PARMS): Do not use macros from bp-asm.h.
42645         (S1): Likewise.
42646         (SIZE): Likewise.
42647         (__mpn_submul_1): Do not use BP_SYM.
42648         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
42649         "bp-asm.h".
42650         (PARMS): Do not use macros from bp-asm.h.
42651         (S1): Likewise.
42652         (S2): Likewise.
42653         (SIZE): Likewise.
42654         (__mpn_add_n): Do not use BP_SYM.
42655         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
42656         weak_alias.
42657         (bzero): Likewise.
42658         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
42659         "bp-asm.h".
42660         (PARMS): Do not use macros from bp-asm.h.
42661         (BLK2): Likewise.
42662         (LEN): Likewise.
42663         (memcmp): Do not use BP_SYM.
42664         (bcmp): Do not use BP_SYM in weak_alias.
42665         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
42666         "bp-asm.h".
42667         (PARMS): Do not use macros from bp-asm.h.
42668         (DEST): Likewise.
42669         (SRC): Likewise.
42670         (LEN): Likewise.
42671         (memcpy): Likewise.  Do not use BP_SYM.
42672         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
42673         "bp-asm.h".
42674         (PARMS): Do not use macros from bp-asm.h.
42675         (DEST): Likewise.
42676         (SRC): Likewise.
42677         (LEN): Likewise.
42678         (memmove): Likewise.  Do not use BP_SYM.
42679         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
42680         "bp-asm.h".
42681         (PARMS): Do not use macros from bp-asm.h.
42682         (DEST): Likewise.
42683         (SRC): Likewise.
42684         (LEN): Likewise.
42685         (__mempcpy): Likewise.  Do not use BP_SYM.
42686         (mempcpy): Do not use BP_SYM in weak_alias.
42687         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
42688         "bp-asm.h".
42689         (PARMS): Do not use macros from bp-asm.h.
42690         (DEST): Likewise.
42691         (LEN): Likewise.
42692         [!BZERO_P] (CHR): Likewise.
42693         (memset): Likewise.  Do not use BP_SYM.
42694         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
42695         "bp-asm.h".
42696         (PARMS): Do not use macros from bp-asm.h.
42697         (STR2): Likewise.
42698         (strcmp): Do not use BP_SYM.
42699         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
42700         "bp-asm.h".
42701         (PARMS): Do not use macros from bp-asm.h.
42702         (STR): Likewise.
42703         (DELIM): Likewise.
42704         [USE_AS_STRTOK_R] (SAVE): Likewise.
42705         (FUNCTION): Likewise.  Do not use BP_SYM.
42706         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
42707         aliases.
42708         (strtok_r): Likewise.
42709         (__GI___strtok_r): Likewise.
42710         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
42711         (PARMS): Do not use macros from bp-asm.h.
42712         (S): Likewise.
42713         (SIZE): Likewise.
42714         (__mpn_lshift): Do not use BP_SYM.
42715         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
42716         (PARMS): Do not use macros from bp-asm.h.
42717         (STR): Likewise.
42718         (CHR): Likewise.
42719         (__memchr): Do not use BP_SYM.
42720         (memchr): Do not use BP_SYM in weak_alias.
42721         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
42722         (PARMS): Do not use macros from bp-asm.h.
42723         (BLK2): Likewise.
42724         (LEN): Likewise.
42725         (memcmp): Do not use BP_SYM.
42726         (bcmp): Do not use BP_SYM in weak_alias.
42727         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
42728         (PARMS): Do not use macros from bp-asm.h.
42729         (S1): Likewise.
42730         (SIZE): Likewise.
42731         (__mpn_mul_1): Do not use BP_SYM.
42732         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
42733         "bp-asm.h".
42734         (PARMS): Do not use macros from bp-asm.h.
42735         (STR): Likewise.
42736         (CHR): Likewise.
42737         (__rawmemchr): Do not use BP_SYM.
42738         (rawmemchr): Do not use BP_SYM in weak_alias.
42739         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
42740         (PARMS): Do not use macros from bp-asm.h.
42741         (S): Likewise.
42742         (SIZE): Likewise.
42743         (__mpn_rshift): Do not use BP_SYM.
42744         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
42745         (PARMS): Do not use macros from bp-asm.h.
42746         (SIGMSK): Likewise.
42747         (__sigsetjmp): Likewise.  Do not use BP_SYM.
42748         * sysdeps/i386/start.S: Do not include "bp-sym.h".
42749         (_start): Do not use BP_SYM.
42750         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
42751         (PARMS): Do not use macros from bp-asm.h.
42752         (DEST): Likewise.
42753         (SRC): Likewise.
42754         (__stpcpy): Likewise.  Do not use BP_SYM.
42755         (stpcpy): Do not use BP_SYM in weak_alias.
42756         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
42757         "bp-asm.h".
42758         (PARMS): Do not use macros from bp-asm.h.
42759         (DEST): Likewise.
42760         (SRC): Likewise.
42761         (LEN): Likewise.
42762         (__stpncpy): Likewise.  Do not use BP_SYM.
42763         (stpncpy): Do not use BP_SYM in weak_alias.
42764         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
42765         (PARMS): Do not use macros from bp-asm.h.
42766         (STR): Likewise.
42767         (CHR): Likewise.
42768         (strchr): Likewise.  Do not use BP_SYM.
42769         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
42770         "bp-asm.h".
42771         (PARMS): Do not use macros from bp-asm.h.
42772         (STR): Likewise.
42773         (CHR): Likewise.
42774         (__strchrnul): Likewise.  Do not use BP_SYM.
42775         (strchrnul): Do not use BP_SYM in weak_alias.
42776         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
42777         "bp-asm.h".
42778         (PARMS): Do not use macros from bp-asm.h.
42779         (STOP): Likewise.
42780         (strcspn): Do not use BP_SYM.
42781         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
42782         "bp-asm.h".
42783         (PARMS): Do not use macros from bp-asm.h.
42784         (STR): Likewise.
42785         (STOP): Likewise.
42786         (strpbrk): Likewise.  Do not use BP_SYM.
42787         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
42788         "bp-asm.h".
42789         (PARMS): Do not use macros from bp-asm.h.
42790         (STR): Likewise.
42791         (CHR): Likewise.
42792         (strrchr): Likewise.  Do not use BP_SYM.
42793         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
42794         (PARMS): Do not use macros from bp-asm.h.
42795         (SKIP): Likewise.
42796         (strspn): Do not use BP_SYM.
42797         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
42798         (PARMS): Do not use macros from bp-asm.h.
42799         (STR): Likewise.
42800         (DELIM): Likewise.
42801         (SAVE): Likewise.
42802         (FUNCTION): Likewise.  Do not use BP_SYM.
42803         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
42804         aliases.
42805         (strtok_r): Likewise.
42806         (__GI___strtok_r): Likewise.
42807         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
42808         (PARMS): Do not use macros from bp-asm.h.
42809         (S1): Likewise.
42810         (S2): Likewise.
42811         (SIZE): Likewise.
42812         (__mpn_sub_n): Do not use BP_SYM.
42813         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
42814         "bp-asm.h".
42815         (PARMS): Do not use macros from bp-asm.h.
42816         (S1): Likewise.
42817         (SIZE): Likewise.
42818         (__mpn_submul_1): Do not use BP_SYM.
42819         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
42820         <bp-sym.h>.
42821         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
42822         and <bp-asm.h>.
42823         (PARMS): Do not use macros from bp-asm.h.
42824         (FLAGS): Likewise.
42825         (PTID): Likewise.
42826         (TLS): Likewise.
42827         (CTID): Likewise.
42828         (__clone): Do not use BP_SYM.
42829         (clone): Do not use BP_SYM in weak_alias.
42830         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
42831         and <bp-asm.h>.
42832         (PARMS): Do not use macros from bp-asm.h.
42833         (LEN): Likewise.
42834         (__mmap64): Do not use BP_SYM.
42835         (mmap64): Do not use BP_SYM in weak_alias.
42836         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42837         <bp-sym.h> and <bp-asm.h>.
42838         (PARMS): Do not use macros from bp-asm.h.
42839         (__posix_fadvise64_l64): Do not use BP_SYM.
42840         * sysdeps/unix/sysv/linux/i386/semtimedop.S
42841         (PARMS): Do not use macros from bp-asm.h.
42842         (NSOPS): Likewise.
42843         (semtimedop): Do not use BP_SYM.
42844         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
42845         and <bp-asm.h>.
42847 2013-02-21  Allan McRae  <allan@archlinux.org>
42849         * manual/message.texi (Charset conversion in gettext):
42850         Move @end statement to beginning of line.
42852 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42854         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
42855         static.
42856         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
42857         Likewise.
42859         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
42860         (denorm): Likewise.
42861         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
42862         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
42864 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42866         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
42867         tail-call to the resolved function if pltexit isn't needed.
42869 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42871         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
42872         or Y being zero as being unlikely.
42873         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
42874         Likewise.
42876 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
42878         * manual/nss.texi (System Databases and Name Service Switch):
42879         Remove frobnicate @pxref.
42881 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
42883         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
42884         __attribute__ ((unused)) to __attribute__ ((__unused__)).
42886 2013-02-20  Petr Machata  <pmachata@redhat.com>
42888         * elf/elf.h (R_ARM_TARGET1): New macro.
42889         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
42890         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
42891         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
42892         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
42893         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
42894         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
42895         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
42896         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
42897         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
42898         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
42899         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
42900         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
42901         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
42902         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
42903         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
42904         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
42905         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
42906         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
42907         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
42908         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
42909         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
42910         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
42911         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
42912         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
42913         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
42914         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
42915         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
42916         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
42917         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
42918         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
42919         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
42920         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
42921         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
42922         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
42923         (R_ARM_THM_GOT_BREL12): Likewise.
42924         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
42925         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
42926         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
42927         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
42928         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
42929         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
42930         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
42931         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
42932         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
42934 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
42936         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
42937         __attribute_used__ to __attribute__ ((unused)).
42939 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42941         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
42942         powerpc mpa.c.
42943         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
42944         comment formatting.
42945         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
42947 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
42949         [BZ #13550]
42950         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
42951         Remove macro.
42952         (ENTER): Remove both macro definitions.
42953         (LEAVE): Likewise.
42954         (CHECK_BOUNDS_LOW): Likewise.
42955         (CHECK_BOUNDS_HIGH): Likewise.
42956         (CHECK_BOUNDS_BOTH): Likewise.
42957         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
42958         (RETURN_BOUNDED_POINTER): Likewise.
42959         (RETURN_NULL_BOUNDED_POINTER): Likewise.
42960         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
42961         (POP_ERRNO_LOCATION_RETURN): Likewise.
42962         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
42963         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42964         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
42965         macros.
42966         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42967         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
42968         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
42969         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
42970         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
42971         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
42972         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
42973         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
42974         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
42975         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
42976         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
42977         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
42978         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42979         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
42980         removed macros.
42981         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42982         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
42983         macros.
42984         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42985         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
42986         * sysdeps/i386/i586/memset.S (memset): Likewise.
42987         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
42988         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42989         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
42990         macros.
42991         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42992         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
42993         Change uses of L(2) to L(out).
42994         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
42995         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
42996         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
42997         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42998         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
42999         removed macros.
43000         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43001         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
43002         macros.
43003         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43004         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
43005         (RETURN): Do not use macro LEAVE.
43006         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
43007         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
43008         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
43009         * sysdeps/i386/i686/memset.S (memset): Likewise.
43010         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
43011         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
43012         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43013         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
43014         Likewise.
43015         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43016         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
43017         L(1_2) and L(1_3) into L(1).
43018         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
43019         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
43020         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43021         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
43022         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43023         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
43024         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
43025         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43026         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
43027         macros.
43028         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
43029         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43030         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
43031         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
43032         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
43033         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43034         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
43035         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
43036         * sysdeps/i386/strcspn.S (strcspn): Likewise.
43037         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
43038         * sysdeps/i386/strrchr.S (strrchr): Likewise.
43039         * sysdeps/i386/strspn.S (strspn): Likewise.
43040         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
43041         conditional code.
43042         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43043         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
43044         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
43045         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
43046         L(1_3) into L(1_1).
43047         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
43048         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43049         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
43050         macros.
43051         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43053 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
43055         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
43056         macro.
43058 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43060         * math/atest-exp.c (exp_mpn): Remove ROUND.
43061         * math/atest-exp2.c (exp_mpn): Likewise.
43062         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
43064         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
43065         * stdlib/tst-tls-atexit-lib.c: Likewise.
43066         * stdlib/tst-tls-atexit.c: Likewise.
43068 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43070         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
43071         and __attribute_alloc_size__.
43073 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43075         * include/programs/xmalloc.h: Change __attribute_alloc_size to
43076         __attribute_alloc_size__.
43077         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
43078         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
43080 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43082         * include/programs/xmalloc.h: New file.
43083         * catgets/gencat.c: Include it.
43084         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
43085         * elf/pldd.c: Likewise.
43086         * iconv/iconv_charmap.c: Likewise.
43087         * iconv/iconvconfig.c: Likewise.
43088         * iconv/strtab.c: Likewise.
43089         * locale/programs/locale.c: Likewise.
43090         * locale/programs/localedef.h: Likewise.
43091         * locale/programs/simple-hash.c: Likewise.
43092         * nscd/nscd.h: Likewise.
43093         * nss/makedb.c: Likewise.
43094         * sysdeps/generic/ldconfig.h: Likewise.
43096 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43098         * Versions.def: Add GLIBC_2.18.
43099         * include/link.h (struct link_map): New member l_tls_dtor_count.
43100         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
43101         (__call_tls_dtors): Likewise.
43102         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
43103         __cxa_thread_atexit_impl.
43104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43105         Likewise.
43106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43107         Likewise.
43108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43109         Likewise.
43110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43111         Likewise.
43112         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
43114         Likewise.
43115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
43116         Likewise.
43117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43119         Likewise.
43120         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
43121         (tests): Add test case tst-tls-atexit.
43122         (modules-names): Add shared library for tst-tls-atexit.
43123         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
43124         (GLIBC_PRIVATE): Add __call_tls_dtors.
43125         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
43126         for libstdc++.
43127         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
43128         * stdlib/tst-tls-atexit.c: New test case.
43129         * stdlib/tst-tls-atexit-lib.c: New test case.
43131         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
43133         * elf/Versions (ld): Add _dl_find_dso_for_object.
43134         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
43135         * elf/dl-open.c (_dl_find_dso_for_object): New function.
43136         (dl_open_worker): Use _dl_find_dso_for_object.
43137         * elf/dl-sym.c (do_sym): Likewise.
43138         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
43140 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43142         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
43143         Syntactic changes only.
43144         (_dl_runtime_profile): Do a tail-call to the resolved function.
43146 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
43148         [BZ #13550]
43149         * sysdeps/x86_64/bp-asm.h: Remove file.
43150         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
43151         <bp-sym.h> and <bp-asm.h>.
43152         (__clone): Do not use BP_SYM.
43153         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
43154         <bp-sym.h> and <bp-asm.h>.
43155         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43156         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
43157         "bp-asm.h".
43158         (_setjmp): Do not use BP_SYM.
43159         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
43160         "bp-asm.h".
43161         (setjmp): Do not use BP_SYM.
43162         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
43163         libc_hidden_def.
43164         (mempcpy): Do not use BP_SYM in weak_alias.
43165         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
43166         "bp-asm.h".
43167         (strchr): Do not use BP_SYM.
43168         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
43169         "bp-asm.h".
43170         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
43171         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
43172         (_start): Do not use BP_SYM.
43173         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
43174         "bp-asm.h".
43175         (strcat): Do not use BP_SYM.
43176         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
43177         "bp-asm.h".
43178         (STRCMP): Do not use BP_SYM.
43179         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
43180         "bp-asm.h".
43181         (STRCPY): Do not use BP_SYM.
43182         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
43183         "bp-asm.h".
43184         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
43185         "bp-asm.h".
43186         (FUNCTION): Do not use BP_SYM.
43187         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
43188         weak_alias.
43189         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
43191 2013-02-17  Andreas Jaeger  <aj@suse.de>
43193         * time/Versions: Sort entries.
43194         * string/Versions: Likewise.
43195         * resolv/Versions: Likewise.
43196         * posix/Versions: Likewise.
43197         * iconv/Versions: Likewise.
43198         * elf/Versions: Likewise.
43199         * wcsmbs/Versions: Likewise.
43201 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43203         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
43204         loop termination condition.
43206         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
43207         variable to calculate EZ.
43208         (__sqr): Likewise.
43210         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
43211         the lower precision input.
43213 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
43215         [BZ #13550]
43216         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
43217         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
43218         (run-via-rtld-prefix): Do not handle %-bp tests.
43219         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
43220         (all-object-suffixes): Remove .ob.
43221         (bppfx): Remove variable.
43222         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
43223         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
43224         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
43225         [$(build-bounded) = yes] (libtype.ob): Likewise.
43226         * Makerules (elide-routines.ob): Remove variable.
43227         (do-tests-clean): Do not handle *-bp.out.
43228         (common-mostlyclean): Do not handle *-bp and *-bp.out.
43229         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
43230         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
43231         (tests): Do not include $(tests-bp.out).
43232         (xtests): Do not include $(xtests-bp.out).
43233         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
43234         [$(build-bounded) = yes] ($(addprefix
43235         $(objpfx),$(binaries-bounded))): Remove rule.
43236         ($(objpfx)%-bp.out): Remove rule.
43237         * config.make.in (build-bounded): Remove variable.
43238         * crypt/Makefile [$(build-bounded) = yes]
43239         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
43240         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
43241         append to variable.
43242         [$(build-bounded) = yes] (install-lib): Likewise.
43243         [$(build-bounded) = yes] (generated): Likewise.
43244         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
43245         Remove rule.
43246         * intl/Makefile [$(build-bounded) = yes]
43247         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
43248         * math/Makefile [$(build-bounded) = yes]
43249         ($(tests:%=$(objpfx)%-bp): Likewise.
43250         * misc/Makefile [$(build-bounded) = yes]
43251         ($(objpfx)tst-tsearch-bp): Likewise.
43252         * nptl/Makeconfig (bounded-thread-library): Remove variable.
43253         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
43254         Remove dependency.
43255         * string/Makefile (o-objects.ob): Remove variable.
43256         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
43257         (CFLAGS-.ob): Remove variable.
43258         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
43259         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
43260         both definitions of variable.
43261         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
43262         (ASFLAGS-.ob): Remove variable.
43264 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
43266         [BZ #13550]
43267         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
43268         Remove __BOUNDED_POINTERS__ from condition.
43269         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
43270         * string/bits/string2.h [!__NO_STRING_INLINES &&
43271         !__BOUNDED_POINTERS__]: Likewise.
43272         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
43273         Likewise.
43274         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
43275         Remove conditional code.
43276         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
43277         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
43278         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
43279         condition.
43281         [BZ #13550]
43282         * csu/libc-start.c: Do not include <bp-sym.h>.
43283         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
43284         * elf/dl-open.c: Do not include <bp-sym.h>.
43285         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
43286         * math/fegetenv.c: Do not include <bp-sym.h>.
43287         (fegetenv): Do not use BP_SYM in versioned symbols.
43288         * nptl/sysdeps/pthread/bits/libc-lockP.h
43289         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
43290         <bp-sym.h>.
43291         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43292         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
43293         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43294         (__pthread_mutex_destroy): Likewise.
43295         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43296         (__pthread_mutex_lock): Likewise.
43297         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43298         (__pthread_mutex_trylock): Likewise.
43299         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43300         (__pthread_mutex_unlock): Likewise.
43301         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43302         (__pthread_mutexattr_init): Likewise.
43303         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43304         (__pthread_mutexattr_destroy): Likewise.
43305         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43306         (__pthread_mutexattr_settype): Likewise.
43307         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43308         (__pthread_rwlock_init): Likewise.
43309         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43310         (__pthread_rwlock_destroy): Likewise.
43311         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43312         (__pthread_rwlock_rdlock): Likewise.
43313         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43314         (__pthread_rwlock_tryrdlock): Likewise.
43315         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43316         (__pthread_rwlock_wrlock): Likewise.
43317         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43318         (__pthread_rwlock_trywrlock): Likewise.
43319         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43320         (__pthread_rwlock_unlock): Likewise.
43321         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43322         (__pthread_key_create): Likewise.
43323         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43324         (__pthread_setspecific): Likewise.
43325         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43326         (__pthread_getspecific): Likewise.
43327         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
43328         Likewise.
43329         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43330         (_pthread_cleanup_push_defer): Likewise.
43331         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43332         (_pthread_cleanup_pop_restore): Likewise.
43333         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43334         (pthread_setcancelstate): Likewise.
43335         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
43336         <bp-sym.h>.
43337         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
43338         (memchr): Do not use BP_SYM in weak_alias.
43339         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
43340         (fegetenv): Do not use BP_SYM in versioned symbols.
43341         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
43342         (fesetenv): Do not use BP_SYM in versioned symbols.
43343         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
43344         (feupdateenv): Do not use BP_SYM in versioned symbols.
43345         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
43346         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
43347         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
43348         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
43349         (open64): Do not use BP_SYM in weak_alias.
43350         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
43351         (fegetenv): Do not use BP_SYM in versioned symbols.
43352         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
43353         (fesetenv): Do not use BP_SYM in versioned symbols.
43354         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
43355         (feupdateenv): Do not use BP_SYM in versioned symbols.
43356         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
43357         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
43358         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
43359         (feraiseexcept): Do not use BP_SYM in versioned symbols.
43360         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
43361         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
43362         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
43363         <bp-sym.h>.
43364         (__libc_start_main): Do not use BP_SYM.
43366 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43368         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
43369         redundant return line.
43370         (norm): Likewise.
43371         (denorm): Likewise.
43372         (dbl_mp): Likewise.
43373         (sub_magnitudes): Likewise.
43374         (__add): Likewise.
43375         (__sub): Likewise.
43376         (__mul): Likewise.
43377         (__inv): Likewise.
43378         (__dvd): Likewise.
43379         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
43380         (norm): Likewise.
43381         (denorm): Likewise.
43382         (dbl_mp): Likewise.
43383         (sub_magnitudes): Likewise.
43384         (__add): Likewise.
43385         (__sub): Likewise.
43386         (__mul): Likewise.
43387         (__inv): Likewise.
43388         (__dvd): Likewise.
43390         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
43391         instead of __mul.
43392         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43393         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
43394         (cc32): Likewise.
43396         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
43397         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
43398         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
43399         of __mul for squares.
43400         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
43401         function
43402         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
43403         Likewise.
43404         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
43405         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43407 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
43409         [BZ #13550]
43410         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
43411         code.
43412         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
43413         prototype or function definition.  Rename ubp_* variables and
43414         parameters.  Remove argv definitions conditional on
43415         [__BOUNDED_POINTERS__].
43416         * debug/backtrace.c (__backtrace): Do not use __unbounded.
43417         * elf/dl-runtime.c (_dl_fixup): Likewise.
43418         * include/set-hooks.h (RUN_HOOK): Likewise.
43419         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
43420         definition.
43421         * string/strcpy.c (strcpy): Do not use __unbounded.
43422         * sysdeps/generic/frame.h (struct layout): Likewise.
43423         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
43424         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
43425         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
43426         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
43427         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
43428         (__backtrace): Likewise.
43429         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
43430         use __ptrvalue.
43431         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
43432         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
43433         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
43434         Likewise.
43435         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
43436         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
43437         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
43438         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
43439         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
43440         Do not use __unbounded.
43441         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
43442         Rename __unboundedrlimits parameter to rlimits in prototype.
43443         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
43444         Do not use __unbounded.
43445         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
43446         not use __ptrvalue.
43447         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
43448         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
43449         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
43450         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
43451         __ptrvalue or __unbounded.
43452         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
43453         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
43454         use __unbounded.
43455         (__new_msgctl): Do not use __ptrvalue.
43456         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
43457         __unbounded.
43458         (__libc_msgrcv): Do not use __ptrvalue.
43459         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
43460         startup_info): Do not use __unbounded.
43461         (__libc_start_main): Likewise.  Rename ubp_* variables and
43462         parameters.  Remove argv definitions conditional on
43463         [__BOUNDED_POINTERS__].
43464         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
43465         __ptrvalue.
43466         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
43467         use __unbounded.
43468         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
43469         or __ptrvalue.
43470         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
43471         use __unbounded.
43472         (__new_shmctl): Do not use __ptrvalue.
43473         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
43474         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
43475         Likewise.
43476         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
43477         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
43478         (__libc_sigaction): Likewise.
43479         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
43480         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
43481         Likewise.
43482         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
43484 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
43486         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
43488         * string/mempcpy.c: Implement by calling memcpy.
43490 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43492         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
43494         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
43495         evaluation.
43497         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
43498         values in the mantissa.
43500         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
43501         minimize writes to Z.
43502         (sub_magnitudes): Simplify code a bit.
43504 2013-02-12  Roland McGrath  <roland@hack.frob.com>
43506         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
43507         from the message.  The linker prefixes all warnings with that already.
43509 2013-02-12  Andreas Schwab  <schwab@suse.de>
43511         [BZ #15078]
43512         * posix/regexec.c (extend_buffers): Add parameter min_len.
43513         (check_matching): Pass minimum needed length.
43514         (clean_state_log_if_needed): Likewise.
43515         (get_subexp): Likewise.
43516         * posix/Makefile (tests): Add bug-regex34.
43517         (bug-regex34-ENV): Define.
43518         * posix/bug-regex34.c: New file.
43520         [BZ #11561]
43521         * posix/regcomp.c (parse_bracket_exp): When looking up collating
43522         elements compare against the byte sequence of it, not its name.
43523         * posix/Makefile (tests): Add bug-regex35.
43524         (bug-regex35-ENV): Define.
43525         * posix/bug-regex35.c: New file.
43527 2013-02-11  Tom de Vries  <tom@codesourcery.com>
43529         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
43530         comment.
43531         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
43532         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
43533         (CHECK_EOL): Add undef.
43535 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
43537         * bits/stdlib-bsearch.h: New file.
43538         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
43539         * stdlib/stdlib.h: Likewise.
43541 2013-02-11  Roland McGrath  <roland@hack.frob.com>
43543         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
43544         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
43545         declaration.
43546         * manual/search.texi (Array Search Function): Add missing const in
43547         lfind prototype.
43548         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
43549         declaration to use rlim_t.
43550         (Basic Scheduling Functions): Remove erroneous const from
43551         sched_getparam prototype.  Remove erroneous * from
43552         sched_get_priority_max and sched_get_priority_min prototypes.
43553         (Resource Usage): Fix summary @comment on vtimes to refer to
43554         sys/vtimes.h rather than vtimes.h.
43555         Add missing *s in vtimes prototype.
43556         (Limits on Resources): Fix ulimit prototype to return long int.
43557         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
43558         prototypes to use long int rather than double.
43559         (BSD Random): Fix initstate and setstate to use char *, not void *.
43560         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
43561         prototype to make second argument 'struct aiocb64 *const[]'.
43562         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
43563         (Status of AIO Operations): Remove erroneous const in aio_return and
43564         aio_return64 prototypes.
43565         (Synchronizing I/O): Fix sync prototype to return void.
43566         * manual/startup.texi (Suboptions): Remove an erroneous const in
43567         getsubopt prototype.
43568         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
43569         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
43570         use size_t rather than int.
43571         (Scanning All Users): Likewise for getpwent_r.
43572         (Setting Groups): Add missing const to setgroups prototype.
43573         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
43574         * manual/socket.texi (Host Names): Fix gethostbyaddr and
43575         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
43576         'const void *' rather than 'const char *'.
43577         (Host Address Functions): Likewise for inet_ntop.
43578         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
43579         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
43580         ssize_t for return value.
43581         (Sending Data): Likewise for send, sendto, sendmsg.
43582         (Socket Option Functions): Add a missing const in setsockopt prototype.
43583         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
43584         use wchar_t for the argument.
43585         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
43586         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
43587         take no arguments.
43588         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
43589         double/float/long double for second argument.
43590         Fix return types of significand, significandf, significandl.
43591         * manual/filesys.texi (Setting Permissions): Use mode_t for second
43592         argument in fchmod prototype.
43593         (File Owner): Use uid_t and gid_t in fchown prototype.
43594         (File Times): Add const to utimes, futimes, and lutimes prototypes.
43595         (Making Special Files): Use mode_t and dev_t in mknod prototype.
43596         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
43597         use 'const struct dirent **' as argument types to CMP function pointer
43598         argument.
43599         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
43600         (File Times): Fix summary magic @comment for struct utimbuf and utime
43601         to refer to utime.h, not time.h.
43602         * manual/string.texi (Argz Functions): Add missing const in
43603         argz_extract and argz_next prototypes.
43604         (Finding Tokens in a String): Likewise for basename.
43605         (String/Array Comparison): Fix typo in wcscasecmp prototype.
43606         (Copying and Concatenation): Fix typo in wmemmove prototype.
43607         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
43608         (Signal Stack): Remove erroneous const in sigstack prototype.
43609         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
43610         prototype.
43611         (Simple Calendar Time): Likewise for stime.
43612         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
43613         prototype.
43614         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
43615         say sys/sysctl.h instead.
43616         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
43617         and vsyslog prototypes.
43619 2013-02-11  Tom de Vries  <tom@codesourcery.com>
43621         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
43622         Remove.
43624 2013-02-11  Roland McGrath  <roland@hack.frob.com>
43626         * misc/sys/mman.h: Fix typo in mremap comment.
43628 2013-02-08  Roland McGrath  <roland@hack.frob.com>
43630         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
43631         the '\0' terminator.
43633 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
43635         [BZ #13550]
43636         * debug/segfault.c: Don't include <bp-checks.h>.
43637         * sysdeps/generic/bp-checks.h: Remove file.
43638         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
43639         (__GETDENTS): Don't use CHECK_N.
43640         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
43641         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
43642         (__getgroups): Don't use CHECK_N.
43643         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
43644         (setgroups): Don't use CHECK_N.
43645         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
43646         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
43647         (__libc_msgrcv): Don't use CHECK_N.
43648         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
43649         (__libc_msgsnd): Don't use CHECK_N.
43650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
43651         <bp-checks.h>.
43652         (__libc_pread): Don't use CHECK_N.
43653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
43654         include <bp-checks.h>.
43655         (__libc_pread64): Don't use CHECK_N.
43656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
43657         include <bp-checks.h>.
43658         (__libc_pwrite): Don't use CHECK_N.
43659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
43660         include <bp-checks.h>.
43661         (__libc_pwrite64): Don't use CHECK_N.
43662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
43663         <bp-checks.h>.
43664         (__libc_pread): Don't use CHECK_N.
43665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
43666         include <bp-checks.h>.
43667         (__libc_pread64): Don't use CHECK_N.
43668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
43669         include <bp-checks.h>.
43670         (__libc_pwrite): Don't use CHECK_N.
43671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
43672         include <bp-checks.h>.
43673         (__libc_pwrite64): Don't use CHECK_N.
43674         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
43675         (do_pread): Don't use CHECK_N.
43676         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
43677         (do_pread64): Don't use CHECK_N.
43678         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
43679         (do_pwrite): Don't use CHECK_N.
43680         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
43681         (do_pwrite64): Don't use CHECK_N.
43682         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
43683         (__libc_readv): Don't use CHECK_N.
43684         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
43685         (semop): Don't use CHECK_N.
43686         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
43687         <bp-checks.h>.
43688         (semtimedop): Don't use CHECK_N.
43689         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
43690         (__libc_pread): Don't use CHECK_N.
43691         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
43692         <bp-checks.h>.
43693         (__libc_pread64): Don't use CHECK_N.
43694         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
43695         <bp-checks.h>.
43696         (__libc_pwrite): Don't use CHECK_N.
43697         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
43698         <bp-checks.h>.
43699         (__libc_pwrite64): Don't use CHECK_N.
43700         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
43701         <bp-checks.h>.
43702         (__libc_msgrcv): Don't use CHECK_N.
43703         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
43704         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
43705         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
43706         (__libc_writev): Don't use CHECK_N.
43708 2013-02-08  Roland McGrath  <roland@hack.frob.com>
43710         * string/strcpy.c: Removed unused variable.
43712         * Makeconfig (+sysdep-includes): Define with := rather than =.
43713         Use an existing include/ subdir of each sysdeps dir before it.
43715 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
43717         * nscd/connection.c (register_traced_file): Comment function.
43718         [HAVE_INOTIFY] (union __inev): Define.
43719         [HAVE_INOTIFY] (inotify_check_files): New function.
43720         [HAVE_INOTIFY] (clear_db_cache): Likewise.
43721         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
43722         clear_db_cache.
43723         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
43725 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
43727         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
43728         loaded if not already and that a failure is permanent.
43730 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
43732         [BZ #15006]
43733         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
43734         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
43736 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
43738         [BZ #13550]
43739         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
43740         (CHECK_1_NULL_OK): Likewise.
43741         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
43742         (__fxstat): Do not use CHECK_1.
43743         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
43744         <bp-checks.h>.
43745         (___fxstat64): Do not use CHECK_1.
43746         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
43747         <bp-checks.h>.
43748         (__fxstatat): Do not use CHECK_1.
43749         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
43750         <bp-checks.h>.
43751         (__fxstatat64): Do not use CHECK_1.
43752         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
43753         <bp-checks.h>.
43754         (__fxstat): Do not use CHECK_1.
43755         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
43756         <bp-checks.h>.
43757         (__fxstatat): Do not use CHECK_1.
43758         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
43759         <bp-checks.h>.
43760         (__getresgid): Do not use CHECK_1.
43761         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
43762         <bp-checks.h>.
43763         (__getresuid): Do not use CHECK_1.
43764         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
43765         <bp-checks.h>.
43766         (__lxstat): Do not use CHECK_1.
43767         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
43768         <bp-checks.h>.
43769         (__old_msgctl): Do not use CHECK_1.
43770         (__new_msgctl): Likewise.
43771         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
43772         <bp-checks.h>.
43773         (__new_setrlimit): Do not use CHECK_1.
43774         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
43775         <bp-checks.h>.
43776         (__old_shmctl): Do not use CHECK_1.
43777         (__new_shmctl): Likewise.
43778         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
43779         <bp-checks.h>.
43780         (__xstat): Do not use CHECK_1.
43781         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
43782         (__lxstat): Do not use CHECK_1.
43783         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
43784         <bp-checks.h>.
43785         (___lxstat64): Do not use CHECK_1.
43786         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
43787         (__old_msgctl): Do not use CHECK_1.
43788         (__new_msgctl): Likewise.
43789         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
43790         <bp-checks.h>.
43791         (__gettimeofday): Do not use CHECK_1.
43792         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
43793         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
43794         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
43795         <bp-checks.h>.
43796         (__gettimeofday): Do not use CHECK_1.
43797         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
43798         (__old_shmctl): Do not use CHECK_1_NULL_OK.
43799         (__new_shmctl): Do not use CHECK_1.
43800         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
43801         <bp-checks.h>.
43802         (do_sigtimedwait): Do not use CHECK_1.
43803         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
43804         <bp-checks.h>.
43805         (do_sigwaitinfo): Do not use CHECK_1.
43806         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
43807         <bp-checks.h>.
43808         (msgctl): Do not use CHECK_1.
43809         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
43810         <bp-checks.h>.
43811         (shmctl): Do not use CHECK_1.
43812         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
43813         (ustat): Do not use CHECK_1.
43814         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
43815         <bp-checks.h>.
43816         (__fxstat): Do not use CHECK_1.
43817         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
43818         <bp-checks.h>.
43819         (__fxstatat): Do not use CHECK_1.
43820         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
43821         <bp-checks.h>.
43822         (__lxstat): Do not use CHECK_1.
43823         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
43824         <bp-checks.h>.
43825         (__xstat): Do not use CHECK_1.
43826         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
43827         (__xstat): Do not use CHECK_1.
43828         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
43829         (___xstat64): Do not use CHECK_1.
43831         [BZ #13550]
43832         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
43833         definitions.
43834         (CHECK_BOUNDS_HIGH): Likewise.
43835         * string/strcpy.c: Do not include <bp-checks.h>.
43836         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
43838 2013-02-07  Roland McGrath  <roland@hack.frob.com>
43840         * nscd/nscd-client.h (__nscd_drop_map_ref):
43841         Add __attribute__ ((unused)).
43842         * nis/nss-nisplus.h (niserr2nss): Likewise.
43844         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
43845         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
43847         * csu/libc-tls.c (init_static_tls, init_slotinfo):
43848         Remove inline keyword.
43849         * include/rounding-mode.h (round_away): Likewise.
43850         * libio/wfileops.c (adjust_wide_data): Likewise.
43851         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
43852         (__m128i_strloadu_tolower): Likewise.
43853         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
43854         (__m128i_strloadu_tolower): Likewise.
43855         * time/mktime.c (ydhms_diff): Likewise.
43856         * locale/elem-hash.h (elem_hash): Likewise.
43857         * locale/setlocale.c (setdata): Likewise.
43858         * posix/regex_internal.h (re_string_char_size_at): Likewise.
43859         (re_string_wchar_at): Likewise.
43860         (bitset_not, bitset_merge, bitset_mask): Likewise.
43861         [!(__GNUC__ > 3)] (inline): Remove macro.
43862         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
43863         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
43864         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
43865         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
43866         * string/memcmp.c (memcmp_bytes): Likewise.
43867         * locale/programs/locarchive.c (compute_hashval): Likewise.
43868         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
43869         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
43870         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
43871         * nss/getent.c (print_rpc, print_protocols): Likewise.
43872         (print_passwd, print_group, print_aliases): Likewise.
43873         * nis/nss-nisplus.h (niserr2nss): Likewise.
43874         * nscd/connections.c (restart_p): Likewise.
43875         Change return type to bool.
43877 2013-02-05  Roland McGrath  <roland@hack.frob.com>
43879         * Makeconfig (all-Depend-files): Add existing
43880         $(sorted-subdirs:=/Depend) files.
43881         (all-subdirs): Remove nss.
43882         * sysdeps/unix/inet/Subdirs: Add it here instead.
43883         * hesiod/Depend: New file.
43885         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
43886         instead of calling alloca.
43888         * io/lseek.c (__lseek): Rename to __libc_lseek.
43889         Define __lseek as an alias.
43891         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
43893 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
43895         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
43896         else clause and remove check for non-standard endianness.
43898 2013-02-04  David S. Miller  <davem@davemloft.net>
43900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43902 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
43904         [BZ #13550]
43905         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
43906         (__ubp_memchr): Remove prototype.
43907         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
43908         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
43909         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
43910         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
43911         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
43912         Remove alias.
43913         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
43914         (__ubp_memchr): Likewise.
43915         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
43916         (__ubp_memchr): Likewise.
43917         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
43918         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
43919         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
43920         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
43921         CHECK_STRING.
43922         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
43923         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
43924         (__getcwd): Do not use CHECK_STRING.
43925         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
43926         <bp-checks.h>.
43927         (__real_chown): Do not use CHECK_STRING.
43928         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
43929         <bp-checks.h>.
43930         (fchownat): Do not use CHECK_STRING.
43931         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
43932         CHECK_STRING.
43933         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
43934         <bp-checks.h>.
43935         (__lchown): Do not use CHECK_STRING.
43936         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
43937         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
43938         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
43939         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
43940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
43941         include <bp-checks.h>.
43942         (truncate64): Do not use CHECK_STRING.
43943         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
43944         <bp-checks.h>.
43945         (__real_chown): Do not use CHECK_STRING.
43946         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
43947         <bp-checks.h>.
43948         (__lchown): Do not use CHECK_STRING.
43949         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
43950         <bp-checks.h>.
43951         (__chown): Do not use CHECK_STRING.
43952         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
43953         <bp-checks.h>.
43954         (truncate64): Do not use CHECK_STRING.
43955         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
43956         Likewise.
43957         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
43958         (__xmknod): Do not use CHECK_STRING.
43959         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
43960         <bp-checks.h>.
43961         (__xmknodat): Do not use CHECK_STRING.
43962         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
43963         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
43965 2013-02-04  Andreas Schwab  <schwab@suse.de>
43967         [BZ #14142]
43968         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
43969         * include/netdb.h: Likewise for h_errno.
43970         * elf/tst-stackguard1.c: Include <tls.h>.
43972 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
43974         * elf/link.h (struct link_map): Extend the l_addr comment.
43975         * include/link.h (struct link_map): Likewise.
43977 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
43979         [BZ #13550]
43980         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
43981         (BOUNDED_1): Remove macro.
43982         * debug/backtrace.c: Don't include <bp-checks.h>.
43983         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
43984         (__backtrace): Likewise.
43985         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
43986         <bp-checks.h>.
43987         (__backtrace): Don't use BOUNDED_1.
43988         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
43989         <bp-checks.h>.
43990         (__backtrace): Don't use BOUNDED_1.
43991         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
43992         (__backtrace): Don't use BOUNDED_1.
43993         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
43994         (shmat): Don't use BOUNDED_N.
43996 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
43998         [BZ #13550]
43999         * sysdeps/generic/bp-start.h: Remove file.
44000         * csu/libc-start.c: Don't include <bp-start.h>.
44001         (LIBC_START_MAIN): Set up __environ directly instead of using
44002         INIT_ARGV_and_ENVIRON.
44003         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
44004         <bp-start.h>.
44006         [BZ #13550]
44007         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
44008         definitions.
44009         (CHECK_FCNTL): Likewise.
44010         (CHECK_N_PAGES): Likewise.
44012         [BZ #13550]
44013         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
44014         definitions.
44015         (CHECK_SIGSET_NULL_OK): Likewise.
44016         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
44017         <bp-checks.h>.
44018         (sigpending): Don't use CHECK_SIGSET.
44019         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
44020         <bp-checks.h>.
44021         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44022         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
44023         <bp-checks.h>.
44024         (do_sigsuspend): Don't use CHECK_SIGSET.
44025         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
44026         use CHECK_SIGSET.
44027         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
44028         (do_sigwait): Don't use CHECK_SIGSET.
44029         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
44030         use CHECK_SIGSET.
44031         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
44032         include <bp-checks.h>.
44033         (sigpending): Don't use CHECK_SIGSET.
44034         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
44035         include <bp-checks.h>.
44036         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44037         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
44038         <bp-checks.h>.
44039         (sigpending): Don't use CHECK_SIGSET.
44040         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
44041         <bp-checks.h>.
44042         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44044         [BZ #13550]
44045         * sysdeps/generic/bp-semctl.h: Remove file.
44046         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
44047         <bp-checks.h> and <bp-semctl.h>.
44048         (__old_semctl): Don't use CHECK_SEMCTL.
44049         (__new_semctl): Likewise.
44050         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
44051         and <bp-semctl.h>.
44052         (__old_semctl): Don't use CHECK_SEMCTL.
44053         (__new_semctl): Likewise.
44054         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
44055         <bp-checks.h> and <bp-semctl.h>.
44056         (__old_semctl): Don't use CHECK_SEMCTL.
44057         (__new_semctl): Likewise.
44058         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
44059         <bp-checks.h> and <bp-semctl.h>.
44060         (semctl): Don't use CHECK_SEMCTL.
44062         [BZ #13550]
44063         * Makerules (elide-bp-thunks): Remove variable.
44064         (elide-routines.oS): Don't use $(elide-bp-thunks).
44065         (elide-routines.os): Likewise.
44066         (elide-routines.o): Likewise.
44067         (elide-routines.op): Likewise.
44068         (elide-routines.og): Likewise.
44069         (objects): Don't use $(bp-thunks).
44070         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
44071         include.
44072         (common-generated): Do not add s-proto-bp.d.
44073         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
44074         (int): Likewise.
44075         (typ): Likewise.
44076         Do not generate makefile rules for bounded-pointer thunks.
44077         * sysdeps/generic/bp-thunks.h: Remove file.
44078         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
44079         * sysdeps/unix/s-proto-bp.S: Likewise.
44081         [BZ #15062]
44082         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
44083         parts of result separately when argument is not close to line from
44084         -i to i and one part of argument is small.
44085         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44086         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44087         * math/libm-test.inc (cacos_test): Add more tests.
44088         (casin_test): Likewise.
44089         (casinh_test): Likewise.
44090         * sysdeps/i386/fpu/libm-test-ulps: Update.
44091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44093 2013-01-31  David S. Miller  <davem@davemloft.net>
44095         * po/de.po: Update from translation team.
44097 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
44099         * time/tzfile.c: Include stdint.h for SIZE_MAX.
44101 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
44103         * configure.in (_AC_PROG_CC_C89): New definition.
44104         * configure: Regenerate.
44106         * configure.in (AC_PROG_CPP): New definition.
44107         * configure: Regenerate.
44109 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
44111         * debug/tst-backtrace.h: New file.
44112         * debug/tst-backtrace2.c: Include tst-backtrace.h.
44113         (ret): Remove variable.
44114         (x): Likewise.
44115         (FAIL): Remove macro.
44116         (NO_INLINE): Likewise.
44117         (fn1): Use match function instead of strstr.
44118         * debug/tst-backtrace3.c: Include tst-backtrace.h.
44119         (ret): Remove variable.
44120         (x): Likewise.
44121         (FAIL): Remove macro.
44122         (NO_INLINE): Likewise.
44123         (fn): Use match function instead of strstr.
44124         * debug/tst-backtrace4.c: Include tst-backtrace.h.
44125         (ret): Remove variable.
44126         (x): Likewise.
44127         (FAIL): Remove macro.
44128         (NO_INLINE): Likewise.
44129         (handle_signal): Use match function instead of strstr.
44130         * debug/tst-backtrace5.c: Include tst-backtrace.h.
44131         (ret): Remove variable.
44132         (x): Likewise.
44133         (FAIL): Remove macro.
44134         (NO_INLINE): Likewise.
44135         (handle_signal): Use match function instead of strstr.
44137 2013-01-23  Roland McGrath  <roland@hack.frob.com>
44139         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
44141 2013-01-23  David S. Miller  <davem@davemloft.net>
44143         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
44144         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
44145         argument of CAS if possible.
44146         * sysdeps/sparc/sparc64/bits/atomic.h
44147         (__arch_compare_and_exchange_val_32_acq): Likewise.
44148         (__arch_compare_and_exchange_val_64_acq): Likewise.
44150 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
44152         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
44153         * sysdeps/posix/ulimit.c: ... this.
44154         Include <limits.h>.
44155         * sysdeps/unix/bsd/ulimit.c: Remove file.
44157 2013-01-23  Adam Conrad  <adconrad@0c3.net>
44159         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
44160         (LDFLAGS-tst-array5): Likewise.
44162 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
44164         [BZ #15036]
44165         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
44166         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
44167         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
44168         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
44170 2013-01-21  David S. Miller  <davem@davemloft.net>
44172         * sysdeps/sparc/backtrace.c: New file.
44173         * sysdeps/sparc/sparc32/backtrace.h: New file.
44174         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
44175         * sysdeps/sparc/sparc64/backtrace.h: New file.
44176         * sysdeps/sparc/sparc64/backtrace.c: Delete.
44177         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
44178         -funwind-tables.
44180 2013-01-21  Andreas Schwab  <schwab@suse.de>
44182         [BZ #15020]
44183         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
44184         closed its stdout.
44186 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
44188         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
44189         "mpa2.h".
44190         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44192 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
44193             Mark Mitchell  <mark@codesourcery.com>
44194             Tom de Vries  <tom@codesourcery.com>
44195             Paul Pluzhnikov  <ppluzhnikov@google.com>
44197         * debug/tst-backtrace2.c: New file.
44198         * debug/tst-backtrace3.c: Likewise.
44199         * debug/tst-backtrace4.c: Likewise.
44200         * debug/tst-backtrace5.c: Likewise.
44201         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
44202         (CFLAGS-tst-backtrace3.c): Likewise.
44203         (CFLAGS-tst-backtrace4.c): Likewise.
44204         (CFLAGS-tst-backtrace5.c): Likewise.
44205         (LDFLAGS-tst-backtrace2): Likewise.
44206         (LDFLAGS-tst-backtrace3): Likewise.
44207         (LDFLAGS-tst-backtrace4): Likewise.
44208         (LDFLAGS-tst-backtrace5): Likewise.
44209         (tests): Add new tests tst-backtrace2, tst-backtrace3,
44210         tst-backtrace4 and tst-backtrace5.
44212 2013-01-18  Anton Blanchard  <anton@samba.org>
44213             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44215         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
44216         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
44217         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
44218         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
44219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
44220         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
44221         "+r" and remove output regs list as redundant.  Add explicit inline
44222         asm to specify register of return val to work around compiler codegen
44223         bug.  Remove (int) cast on return value.  Add return type parameter to
44224         use in macro so that this macro does not truncate return value for
44225         64-bit values.
44226         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
44227         pass to INTERNAL_VSYSCALL_NCS.
44228         (INLINE_VSYSCALL): Add 'long int' as return type to
44229         INTERNAL_VSYSCALL_NCS macro invocation.
44230         (INTERNAL_VSYSCALL): Add 'long int' as return type to
44231         INTERNAL_VSYSCALL_NCS macro invocation.
44232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44234 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44236         [BZ #14496]
44237         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
44238         Fix application of SIMD FP exception mask.
44240         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
44241         mp_no from a power of two.
44242         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
44243         __mpexp_twomm1.  Use __pow_mp.
44245         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
44246         multiplication.
44248 2013-01-17  David S. Miller  <davem@davemloft.net>
44250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44252 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
44254         [BZ #15023]
44255         * include/complex.h: Condition contents on [!_COMPLEX_H].
44256         (__kernel_casinhf): New prototype.
44257         (__kernel_casinh): Likewise.
44258         (__kernel_casinhl): Likewise.
44259         * math/Makefile (libm_calls): Add k_casinh.
44260         * math/k_casinh.c: New file.
44261         * math/k_casinhf.c: Likewise.
44262         * math/k_casinhl.c: Likewise.
44263         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
44264         finite nonzero arguments.
44265         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
44266         finite nonzero arguments.
44267         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
44268         finite nonzero arguments.
44269         * math/s_casinh.c: Do not include <float.h>.
44270         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
44271         * math/s_casinhf.c: Do not include <float.h>.
44272         (__casinhf): Move code for finite nonzero arguments to
44273         k_casinhf.c.
44274         * math/s_casinhl.c: Do not include <float.h>.
44275         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
44276         redefine.
44277         (__casinhl): Move code for finite nonzero arguments to
44278         k_casinhl.c.
44279         * math/libm-test.inc (cacos_test): Add more tests.
44280         * sysdeps/i386/fpu/libm-test-ulps: Update.
44281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44283 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
44285         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
44286         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
44287         [!HAVE_MREMAP]: Remove [defined linux] case.
44288         * malloc/arena.c: Do not include <malloc-sysdep.h>.
44290 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44292         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
44294 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
44296         * elf/elf.h (R_386_SIZE32): New relocation.
44297         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
44298         R_386_SIZE32.
44299         (elf_machine_rela): Likewise.
44300         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44301         R_X86_64_SIZE64 and R_X86_64_SIZE32.
44303 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
44305         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
44306         (FP_FAST_FMA): Do not define.
44307         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
44308         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
44309         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
44310         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
44311         !_SOFT_FLOAT]: Likewise.
44312         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
44313         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
44314         value.
44315         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
44316         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
44317         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
44318         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
44319         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
44320         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
44321         file.
44323 2013-01-16  Andreas Schwab  <schwab@suse.de>
44325         [BZ #14327]
44326         * include/stdlib.h (__mktemp): Add declaration.
44327         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
44328         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
44330 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44332         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
44333         definitions.
44334         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
44335         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
44336         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
44337         definitions here.
44338         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
44339         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
44340         definitions.
44341         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
44342         and ONE.
44343         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
44344         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
44345         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
44346         definitions.
44347         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
44348         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
44349         definitions.
44350         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
44352         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
44354 2013-01-15  David S. Miller  <davem@davemloft.net>
44356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44357         trunc{,f} to libm-sysdep_routes.
44358         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
44360         file.
44361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
44362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
44363         file.
44364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
44365         file.
44366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
44367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
44368         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
44369         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
44370         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
44371         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
44372         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
44373         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
44375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44376         nearbyint{,f} to libm-sysdep_routes.
44377         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
44379         New file.
44380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
44381         file.
44382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
44383         New file.
44384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
44385         file.
44386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
44387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
44388         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
44389         file.
44390         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
44391         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
44392         file.
44393         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
44394         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
44395         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
44397         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
44398         libc_feholdexcept and libc_fesetenv.
44400 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
44402         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
44404 2013-01-14  David S. Miller  <davem@davemloft.net>
44406         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
44407         (SPARC_ASM_VIS2_IFUNC): Likewise.
44408         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
44409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
44410         use of 'siam' instruction.
44411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
44412         Likewise.
44413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
44414         Likewise.
44415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
44416         Likewise.
44417         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
44418         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
44419         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
44420         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
44421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
44422         file.
44423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
44424         file.
44425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
44426         file.
44427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
44428         file.
44429         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
44430         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
44431         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
44432         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
44433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
44434         new VIS2 routines.
44435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44438         Likewise.
44439         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44440         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44441         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44442         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
44444         routines to libm-sysdep_routines.
44445         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44448         fdim/fdimf to libm-sysdep_routines.
44449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
44450         file.
44451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
44452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
44453         file.
44454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
44455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
44456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
44457         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
44458         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
44459         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
44460         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
44462 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44464         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
44465         to optimize copies.
44467         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
44468         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
44469         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44471         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
44472         local variable MPTWO.
44473         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
44474         Likewise.
44476 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44478         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
44479         GLOB_NOESCAPE.
44481 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44483         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
44485 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44487         * manual/pattern.texi (glob_t): Document gl_flags.
44488         (glob64_t): Likewise.
44490 2013-01-11  David S. Miller  <davem@davemloft.net>
44492         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
44493         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
44494         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
44495         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
44496         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
44497         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
44498         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
44499         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
44500         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
44501         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
44502         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
44503         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
44504         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
44506         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
44507         sparc V9 rather than using V8 code.
44508         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
44509         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
44511         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44512         Move to...
44513         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
44514         Here.
44516 2013-01-11  Roland McGrath  <roland@hack.frob.com>
44518         [BZ #14941]
44519         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
44520         not in the main loop.
44521         * configure: Regenerated.
44523 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
44525         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
44526         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
44527         to just #else.
44528         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
44529         [!__GLIBC_HAVE_LONG_LONG] case.
44530         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
44531         condition to just #else.
44532         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
44533         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
44534         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
44535         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
44536         unconditional.
44537         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
44538         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
44539         #elif condition to just #else.
44540         * sysdeps/unix/sysv/linux/sys/sysmacros.h
44541         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
44542         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
44543         #elif condition to just #else.
44545 2013-01-11  Steve Ellcey  <sellcey@mips.com>
44547         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
44548         (EF_MIPS_ARCH_64): Fix value.
44549         (EF_MIPS_ARCH_32R2): New.
44550         (EF_MIPS_ARCH_64R2): New.
44552 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
44554         * Makeconfig (+link-pie-before-libc): New.
44555         (+link-pie-after-libc): Likewise.
44556         (+link-pie-tests): Likewise.
44557         (+link-pie): Rewritten.
44558         (link-before-libc): Remove $(config-LDFLAGS).
44559         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
44560         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
44561         (config-LDFLAGS): Renamed to ...
44562         (rtld-LDFLAGS): This.
44563         (rtld-tests-LDFLAGS): New macro.
44564         (link-libc-rpath-link): Likewise.
44565         (link-libc-tests-rpath-link): Likewise.
44566         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
44567         (link-libc): Prepand $(link-libc-rpath-link).
44568         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
44569         (test-program-prefix): New macro.
44570         (test-via-rtld-prefix): Likewise.
44571         (test-program-cmd): Likewise.
44572         (host-test-program-cmd): Likewise.
44573         * Makefile ($(common-objpfx)testrun.sh): Replace
44574         $(run-program-prefix) with $(test-program-prefix).
44575         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
44576         $(rtld-LDFLAGS).
44577         ($(common-objpfx)shlib.lds): Likewise.
44578         (build-module-helper): Likewise.
44579         ($(common-objpfx)format.lds): Likewise.
44580         * Rules (binaries-pie-tests): New.
44581         (binaries-pie-notests): Likewise.
44582         (binaries-pie): Rewritten.
44583         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
44584         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
44585         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
44586         (make-test-out): Replace $(host-built-program-cmd) with
44587         $(host-test-program-cmd).
44588         * config.make.in (build-hardcoded-path-in-tests): New variable.
44589         * configure.in (--enable-hardcoded-path-in-tests): New configure
44590         option.
44591         (hardcoded_path_in_tests): New AC_SUBST.
44592         * configure: Regenerated.
44593         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
44594         $(built-program-cmd) with $(test-program-cmd).
44595         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
44596         (test_program_cmd): This.
44597         * elf/Makefile ($(objpfx)order.out): Run test with
44598         $(test-program-prefix).
44599         ($(objpfx)order2.out): Likewise.
44600         ($(objpfx)tst-initorder.out): Likewise.
44601         ($(objpfx)tst-initorder2.out): Likewise.
44602         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
44603         $(test-program-cmd).
44604         ($(objpfx)tst-array1-static.out): Likewise.
44605         ($(objpfx)tst-array2.out): Likewise.
44606         ($(objpfx)tst-array3.out): Likewise.
44607         ($(objpfx)tst-array4.out): Likewise.
44608         ($(objpfx)tst-array5.out): Likewise.
44609         ($(objpfx)tst-array5-static.out): Likewise.
44610         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
44611         $(test-program-cmd).
44612         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
44613         $(run-program-prefix) with $(test-program-prefix).
44614         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
44615         (test_program_prefix): This.
44616         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
44617         $(run-program-prefix) with $(test-program-prefix).
44618         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
44619         (test_program_prefix): This.
44620         * iconvdata/tst-tables.sh: Likewise.
44621         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
44622         $(run-program-prefix) with $(test-program-prefix).
44623         ($(objpfx)tst-translit.out): Likewise.
44624         ($(objpfx)tst-gettext2.out): Likewise.
44625         ($(objpfx)tst-gettext4.out): Likewise.
44626         ($(objpfx)tst-gettext6.out): Likewise.
44627         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
44628         (test_program_prefix): This.
44629         * intl/tst-gettext2.sh: Likewise.
44630         * intl/tst-gettext4.sh  Likewise.
44631         * intl/tst-gettext6.sh: Likewise.
44632         * intl/tst-translit.sh: Likewise.
44633         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
44634         with $(test-program-cmd).
44635         * libio/Makefile ($(objpfx)test-freopen.out): Replace
44636         $(run-program-prefix) with $(test-program-prefix).
44637         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
44638         (test_program_prefix): This.
44639         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
44640         $(run-program-prefix) with $(test-program-prefix).
44641         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
44642         (test_program_prefix): This.
44643         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
44644         * posix/Makefile ($(objpfx)globtest.out): Replace
44645         $(run-via-rtld-prefix) and $(test-wrapper) with
44646         $(test-program-prefix) and $(test-via-rtld-prefix).
44647         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
44648         $(test-program-prefix).
44649         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
44650         $(host-test-program-cmd).
44651         (tst-spawn-ARGS): Likewise.
44652         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
44653         $(test-program-prefix).
44654         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
44655         (test_via_rtld_prefix): This.
44656         (test_wrapper): Renamed to ...
44657         (test_program_prefix): This.
44658         (run_program_prefix): Replaced by test_program_prefix.
44659         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
44660         (test_program_prefix): This.
44661         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
44662         with $(host-test-program-cmd).
44663         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
44664         $(run-program-prefix) with $(test-program-prefix).
44665         ($(objpfx)tst-printf.out): Likewise.
44666         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
44667         $(test-program-cmd).
44668         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
44669         (test_program_prefix): This.
44670         * stdio-common/tst-unbputc.sh: Likewise.
44671         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
44672         $(run-program-prefix) with $(test-program-prefix).
44673         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
44674         (test_program_prefix): This.
44675         * string/Makefile ($(objpfx)tst-svc.out):  Replace
44676         $(built-program-cmd) with $(test-program-cmd).
44678 2013-01-11  Andreas Jaeger  <aj@suse.de>
44680         [BZ #15003]
44681         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
44682         value. Sync with Linux 3.7.
44684 2013-01-10  David S. Miller  <davem@davemloft.net>
44686         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
44687         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
44688         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
44690 2013-01-10  Roland McGrath  <roland@hack.frob.com>
44692         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
44693         never set.
44694         * configure: Regenerated.
44696 2013-01-10  David S. Miller  <davem@davemloft.net>
44698         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
44699         sparc V9 rather than using V8 code.
44700         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
44701         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
44703 2013-01-10  Roland McGrath  <roland@hack.frob.com>
44705         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
44706         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
44707         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
44708         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
44709         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
44710         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
44711         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
44712         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
44713         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
44714         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
44715         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
44716         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
44717         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
44718         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
44719         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
44720         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
44721         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
44722         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
44723         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
44724         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
44725         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
44726         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
44727         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
44728         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
44729         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
44730         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
44731         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
44733 2013-01-10  David S. Miller  <davem@davemloft.net>
44735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44737 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
44739         * posix/Makefile (tests-static): New variable.
44740         (tests): Add $(tests-static).
44741         (tst-exec-static-ARGS): New variable.
44742         (tst-spawn-static-ARGS): Likewise.
44743         * posix/tst-exec-static.c: New file.
44744         * posix/tst-spawn-static.c: Likewise.
44745         * posix/tst-exec.c: Support run directly.
44746         * posix/tst-spawn.c: Likewise.
44748 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
44750         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
44751         long.
44752         * math/bits/mathcalls.h (llrint): Likewise.
44753         (llround): Likewise.
44754         * stdlib/stdlib.h (struct drand48_data): Likewise.
44755         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
44756         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
44757         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
44758         Likewise.
44759         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
44760         Likewise.
44761         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
44762         (elf_greg_t): Likewise.
44763         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
44764         (__jmp_buf): Likewise.
44765         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
44766         definitions.
44767         (llrint): Likewise, for all definitions.
44768         (llrintl): Likewise.
44770         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
44771         Remove [__GNUC__] condition.
44772         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
44773         condition to just [__USE_ISOC99].
44774         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
44776 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
44778         [BZ #14200]
44779         * sysdeps/unix/sysv/linux/x86/bits/environments.h
44780         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
44781         defined.
44782         (_POSIX_V6_ILP32_OFF32): Likewise.
44783         (_XBS5_ILP32_OFF32): Likewise.
44784         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
44785         (__ILP32_OFFBIG_LDFLAGS): Likewise.
44787 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44789         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
44791         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
44792         doubles __mpexp_twomm1.  Adjust usage.
44793         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
44794         Remove.
44796 2013-01-10  Andreas Schwab  <schwab@suse.de>
44798         [BZ #14964]
44799         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
44800         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
44802 2013-01-09  David S. Miller  <davem@davemloft.net>
44804         [BZ #15003]
44805         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
44806         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
44807         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
44808         (TCP_FASTOPEN): Define.
44809         (tcp_repair_opt): New structure.
44810         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
44811         enum values.
44812         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
44813         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
44814         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
44815         (tcp_cookie_transactions): New structure.
44817 2013-01-09  Anton Blanchard  <anton@samba.org>
44819         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
44820         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
44821         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
44822         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
44824 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
44826         * include/features.h (__USE_ANSI): Remove.
44828 2013-01-09  Roland McGrath  <roland@hack.frob.com>
44830         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
44832         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
44834 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
44836         * sysdeps/s390/fpu/libm-test-ulps: Update.
44838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44840         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
44841         (__acr): Likewise.
44842         (__cpy): Likewise.
44843         (norm): Likewise.
44844         (denorm): Likewise.
44845         (__mp_dbl): Likewise.
44846         (__dbl_mp): Likewise.
44847         (add_magnitudes): Likewise.
44848         (sub_magnitudes): Likewise.
44849         (__add): Likewise.
44850         (__sub): Likewise.
44851         (__mul): Likewise.
44852         (__inv): Likewise.
44853         (__dvd): Likewise.
44854         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
44855         (__acr): Likewise.
44856         (__cpy): Likewise.
44857         (norm): Likewise.
44858         (denorm): Likewise.
44859         (__mp_dbl): Likewise.
44860         (__dbl_mp): Likewise.
44861         (add_magnitudes): Likewise.
44862         (sub_magnitudes): Likewise.
44863         (__add): Likewise.
44864         (__sub): Likewise.
44865         (__mul): Likewise.
44866         (__inv): Likewise.
44867         (__dvd): Likewise.
44868         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
44869         (__acr): Likewise.
44870         (__cpy): Likewise.
44871         (norm): Likewise.
44872         (denorm): Likewise.
44873         (__mp_dbl): Likewise.
44874         (__dbl_mp): Likewise.
44875         (add_magnitudes): Likewise.
44876         (sub_magnitudes): Likewise.
44877         (__add): Likewise.
44878         (__sub): Likewise.
44879         (__mul): Likewise.
44880         (__inv): Likewise.
44881         (__dvd): Likewise.
44883 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
44885         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
44886         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
44887         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
44888         2 && __USE_EXTERN_INLINES]: Likewise.
44890 2013-01-08  Andreas Jaeger  <aj@suse.de>
44892         [BZ# 14985]
44893         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
44894         Remove.
44895         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
44896         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
44898 2013-01-07  Anton Blanchard  <anton@samba.org>
44900         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
44901         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
44902         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
44903         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
44904         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
44905         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44906         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
44907         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
44908         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
44909         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44910         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44911         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44912         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44913         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44914         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
44915         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44916         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44917         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44918         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
44919         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
44920         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
44921         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
44922         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44923         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
44924         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
44925         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
44926         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44927         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
44928         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
44929         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44930         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
44931         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44932         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44933         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44934         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44935         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44936         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44937         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44938         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
44939         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
44940         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
44941         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44942         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44944 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
44946         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
44947         (__MALLOC_PMT): Likewise.
44948         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
44949         [__GNUC__], only on [_LIBC].
44950         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
44951         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
44952         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
44953         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
44954         forward declaration.
44955         (realloc_hook_ini): Likewise.
44956         (memalign_hook_ini): Likewise.
44957         (__libc_memalign): Do not use __MALLOC_PMT in variable
44958         declaration.
44959         (__libc_valloc): Likewise.
44960         (__libc_pvalloc): Likewise.
44961         (__libc_calloc): Likewise.
44962         (__posix_memalign): Likewise.
44964         [BZ #14996]
44965         * math/s_casinh.c: Include <float.h>.
44966         (__casinh): Do not do computation with squaring and square root
44967         for large arguments.
44968         * math/s_casinhf.c: Include <float.h>.
44969         (__casinhf): Do not do computation with squaring and square root
44970         for large arguments.
44971         * math/s_casinhl.c: Include <float.h>.
44972         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
44973         (__casinhl): Do not do computation with squaring and square root
44974         for large arguments.
44975         * math/libm-test.inc (casin_test): Add more tests.
44976         (casinh_test): Likewise.
44977         * sysdeps/i386/fpu/libm-test-ulps: Update.
44978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44980 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
44982         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
44983         (__x86_64_raw_data_cache_size): Likewise.
44984         (__x86_64_data_cache_size_half): Likewise.
44985         (__x86_64_raw_data_cache_size_half): Likewise.
44986         (__x86_64_shared_cache_size): Likewise.
44987         (__x86_64_raw_shared_cache_size): Likewise.
44988         (__x86_64_shared_cache_size_half): Likewise.
44989         (__x86_64_raw_shared_cache_size_half): Likewise.
44990         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
44991         to ...
44992         (__x86_data_cache_size): This.
44993         (__x86_64_raw_data_cache_size): Renamed to ...
44994         (__x86_raw_data_cache_size): This.
44995         (__x86_64_data_cache_size_half): Renamed to ...
44996         (__x86_data_cache_size_half): This.
44997         (__x86_64_raw_data_cache_size_half): Renamed to ...
44998         (__x86_raw_data_cache_size_half): This.
44999         (__x86_64_shared_cache_size): Renamed to ...
45000         (__x86_shared_cache_size): This.
45001         (__x86_64_raw_shared_cache_size): Renamed to ...
45002         (__x86_raw_shared_cache_size): This.
45003         (__x86_64_shared_cache_size_half): Renamed to ...
45004         (__x86_shared_cache_size_half): This.
45005         (__x86_64_raw_shared_cache_size_half): Renamed to ...
45006         (__x86_raw_shared_cache_size_half): This.
45007         * sysdeps/x86_64/memcpy.S: Updated.
45008         * sysdeps/x86_64/memset.S: Likewise.
45009         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45010         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45011         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45013 2013-01-04  David S. Miller  <davem@davemloft.net>
45015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45017 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
45019         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
45020         1 to avoid redefinition warning.
45021         (__USE_GNU): Don't define.
45022         (init_signaling_nan): Protoize.
45024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45026 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45028         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
45029         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
45030         (__cpymn): Likewise.
45031         (norm): Remove commented code.
45032         (denorm): Likewise.
45033         (__mp_dbl): Likewise.
45034         (__inv): Likewise.
45035         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
45036         (__cpymn): Likewise.
45037         (norm): Remove commented code.
45038         (denorm): Likewise.
45039         (__mp_dbl): Likewise.
45040         (__inv): Likewise.
45042         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
45043         mp_no value for 1.0 and 2.0.
45044         (norm): Use RADIXI instead of radixi.d.
45045         (denorm): Likewise.
45046         (__mul): Use 0.0 instead of zero.d.
45047         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
45048         mp_no value for 1.0 and 2.0.
45049         (norm): Use RADIXI instead of radixi.d.
45050         (denorm): Likewise.
45051         (__mul): Use 0.0 instead of zero.d.
45053 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
45055         [BZ #14994]
45056         * math/s_casinh.c (__casinh): Reduce finite argument to first
45057         quadrant then set signs of results at the end.
45058         * math/s_casinhf.c (__casinhf): Likewise.
45059         * math/s_casinhl.c (__casinhl): Likewise.
45060         * math/libm-test.inc (casin_test): Add more tests.
45061         (casinh_test): Likewise.
45062         * sysdeps/i386/fpu/libm-test-ulps: Update.
45063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45065 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45067         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
45069         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
45071         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
45072         declarations.
45073         (denorm): Likewise.
45074         (__mp_dbl): Likewise.
45075         (__inv): Likewise.
45077         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
45078         and adjust the header comment.
45080         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
45081         variable name from declaration.
45083 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
45085         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45086         Initialize COMMON_CPUID_INDEX_7 element.
45087         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
45088         (CPUID_RTM): Likewise.
45089         (HAS_RTM): Likewise.
45090         (COMMON_CPUID_INDEX_7): New enum.
45092 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
45094         [BZ #14981]
45095         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
45096         size is zero, record memory as freed.
45098 2013-01-03  Andreas Jaeger  <aj@suse.de>
45100         * po/ia.po: Add new Interlingua translation.
45102 2012-01-03  Allan McRae  <allan@archlinux.org>
45104         * locale/programs/localedef.c: Fix description of '--posix' flag.
45106 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
45108         * NEWS: Update dates in second copyright notice.
45109         * README: Update copyright dates in example.
45110         * manual/libc.texinfo: Update copyright dates.
45111         * scripts/test-installation.pl: Update copyright date in --version
45112         output.
45114         * hurd/ctty-input.c: Fix copyright notice formatting.
45115         * hurd/ctty-output.c: Likewise.
45116         * hurd/dtable.c: Likewise.
45117         * hurd/hurd-raise.c: Likewise.
45118         * hurd/hurdprio.c: Likewise.
45119         * hurd/msgportdemux.c: Likewise.
45120         * misc/sys/file.h: Likewise.
45121         * misc/sys/ioctl.h: Likewise.
45122         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45123         * sysdeps/mach/hurd/chdir.c: Likewise.
45124         * sysdeps/mach/hurd/fchdir.c: Likewise.
45125         * sysdeps/mach/hurd/rename.c: Likewise.
45126         * sysdeps/mach/hurd/rmdir.c: Likewise.
45127         * sysdeps/mach/hurd/seekdir.c: Likewise.
45128         * sysdeps/mach/hurd/setsid.c: Likewise.
45129         * sysdeps/posix/wait3.c: Likewise.
45131         * All files with FSF copyright notices: Update copyright dates
45132         using scripts/update-copyrights.
45133         * intl/plural.c: Regenerated.
45134         * locale/programs/charmap-kw.h: Likewise.
45135         * locale/programs/locfile-kw.h: Likewise.
45137 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45139         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
45140         four values.
45142         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
45143         calculation loop and add branch prediction.
45145         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
45146         check access beyond bounds of m1np.
45148         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
45149         MPTWO.
45150         (__inv): Remove local variable MPTWO to use the global
45151         constant.
45152         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
45153         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
45154         variable MPTWO.
45155         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
45156         MP3HALFS static const.
45158 2013-01-01  David S. Miller  <davem@davemloft.net>
45160         * po/ca.po: Update from translation team.
45162 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
45164         * scripts/update-copyrights: New file.
45165         * Makeconfig: Reformat copyright notice.
45166         * ctype/ctype.h: Likewise.
45167         * debug/swprintf_chk.c: Likewise.
45168         * elf/dl-cache.c: Likewise.
45169         * elf/dl-debug.c: Likewise.
45170         * elf/dl-object.c: Likewise.
45171         * grp/initgroups.c: Likewise.
45172         * hurd/Makefile: Likewise.
45173         * hurd/hurd/signal.h: Likewise.
45174         * hurd/hurdfault.c: Likewise.
45175         * hurd/hurdioctl.c: Likewise.
45176         * hurd/hurdlookup.c: Likewise.
45177         * hurd/intr-msg.c: Likewise.
45178         * iconv/gconv_open.c: Likewise.
45179         * libio/swprintf.c: Likewise.
45180         * locale/lc-ctype.c: Likewise.
45181         * locale/nl_langinfo.c: Likewise.
45182         * mach/Machrules: Likewise.
45183         * mach/Makefile: Likewise.
45184         * malloc/obstack.h: Likewise.
45185         * manual/Makefile: Likewise.
45186         * manual/tsort.awk: Likewise.
45187         * misc/bits/stab.def: Likewise.
45188         * nis/nis_print_group_entry.c: Likewise.
45189         * nis/nis_table.c: Likewise.
45190         * nis/nss_compat/compat-pwd.c: Likewise.
45191         * nis/nss_compat/compat-spwd.c: Likewise.
45192         * po/Makefile: Likewise.
45193         * posix/fnmatch.c: Likewise.
45194         * posix/regex.h: Likewise.
45195         * resolv/Makefile: Likewise.
45196         * resolv/nss_dns/dns-network.c: Likewise.
45197         * resolv/res_hconf.c: Likewise.
45198         * scripts/gen-sorted.awk: Likewise.
45199         * soft-fp/soft-fp.h: Likewise.
45200         * stdio-common/printf.h: Likewise.
45201         * stdlib/monetary.h: Likewise.
45202         * stdlib/random.c: Likewise.
45203         * stdlib/random_r.c: Likewise.
45204         * sysdeps/generic/Makefile: Likewise.
45205         * sysdeps/gnu/Makefile: Likewise.
45206         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45207         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45208         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45209         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45210         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45211         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45212         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45213         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45214         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45215         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45216         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45217         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45218         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45219         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45220         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
45221         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45222         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45223         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45224         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45225         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45226         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45227         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45228         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45229         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
45230         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
45231         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45232         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45233         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
45234         * sysdeps/mach/hurd/errnos.awk: Likewise.
45235         * sysdeps/mach/hurd/fork.c: Likewise.
45236         * sysdeps/mach/hurd/getcwd.c: Likewise.
45237         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
45238         * sysdeps/mach/hurd/mmap.c: Likewise.
45239         * sysdeps/mach/hurd/utimes.c: Likewise.
45240         * sysdeps/mach/hurd/xmknod.c: Likewise.
45241         * sysdeps/posix/profil.c: Likewise.
45242         * sysdeps/posix/readdir_r.c: Likewise.
45243         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45244         * sysdeps/powerpc/bits/setjmp.h: Likewise.
45245         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
45246         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
45247         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
45248         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45249         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45250         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45251         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45252         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45253         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45254         * sysdeps/pthread/lio_listio.c: Likewise.
45255         * sysdeps/sparc/dl-procinfo.h: Likewise.
45256         * sysdeps/unix/i386/sysdep.S: Likewise.
45257         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
45258         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
45259         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
45260         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
45261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45262         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
45263         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
45264         * sysdeps/unix/sysv/linux/speed.c: Likewise.
45265         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
45266         * sysdeps/wordsize-32/divdi3.c: Likewise.
45267         * time/sys/time.h: Likewise.
45268         * wcsmbs/Makefile: Likewise.
45270 2013-01-01  David S. Miller  <davem@davemloft.net>
45272         * po/fr.po: Update from translation team.
45274         * catgets/gencat.c: Update copyright year.
45275         * csu/version.c: Likewise.
45276         * debug/catchsegv.sh: Likewise.
45277         * debug/pcprofiledump.c: Likewise.
45278         * debug/xtrace.sh: Likewise.
45279         * elf/ldconfig.c: Likewise.
45280         * elf/ldd.bash.in: Likewise.
45281         * elf/pldd.c: Likewise.
45282         * elf/sotruss.ksh: Likewise.
45283         * elf/sprof.c: Likewise.
45284         * iconv/iconv_prog.c: Likewise.
45285         * iconv/iconvconfig.c: Likewise.
45286         * locale/programs/locale.c: Likewise.
45287         * locale/programs/localedef.c: Likewise.
45288         * login/programs/pt_chown.c: Likewise.
45289         * malloc/memusage.sh: Likewise.
45290         * malloc/memusagestat.c: Likewise.
45291         * malloc/mtrace.pl: Likewise.
45292         * nscd/nscd.c: Likewise.
45293         * nss/getent.c: Likewise.
45294         * nss/makedb.c: Likewise.
45295         * posix/getconf.c: Likewise.
45297 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45299         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
45300         numbers.
45302 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
45304         * math/bits/mathcalls.h (modf): Use __nonnull.
45306 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45308         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
45309         (split): Use macro CN instead of the bare value.
45310         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
45311         could be used.
45312         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
45313         instead of the bare value.
45314         (power1): Likewise.
45316 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45318         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
45319         __ATAN_TWOM.
45320         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45322         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
45323         their values.
45324         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
45325         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45326         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
45327         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
45329 2012-12-28  Andreas Jaeger  <aj@suse.de>
45331         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
45332         values are from Linux 3.7.
45334         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
45335         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
45337 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45339         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
45340         TRUE case.
45342         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
45343         (norm): Likewise.
45344         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
45345         variables with preprocessor constants.
45346         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45347         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45348         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45350 2012-12-27  Bruno Haible  <bruno@clisp.org>
45352         [BZ #14317]
45353         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
45354         only if needed.
45356 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45358         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
45359         and use variable directly.
45360         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
45362         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
45363         MPONE.
45364         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
45365         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
45366         variable MPONE.
45367         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45368         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45369         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
45370         include directive.  Remove local variable MPONE.
45371         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
45372         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
45373         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45375 2012-12-25  David S. Miller  <davem@davemloft.net>
45377         * version.h (RELEASE): Set to "development".
45378         (VERSION): Set to "2.17.90".
45379         * NEWS: Add 2.18 section.
45381 2012-12-21  David S. Miller  <davem@davemloft.net>
45383         * po/hr.po: Update from translation team.
45385 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45387         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
45389 2012-12-19  Steve Ellcey  <sellcey@mips.com>
45391         * NEWS:  Mention new memcpy for MIPS.
45393 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45395         * manual/contrib.texi (Contributors): Spelling correction.
45397 2012-12-15  David S. Miller  <davem@davemloft.net>
45399         * po/ru.po: Update from translation team.
45401 2012-12-13  David S. Miller  <davem@davemloft.net>
45403         * NEWS: Mention IFUNC testsuite enhancements.
45405         * po/pl.po: Update from translation team.
45406         * po/bg.po: Likewise.
45408         * manual/contrib.texi (Contributors): Update entries for Hongjiu
45409         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
45411 2012-12-11  David S. Miller  <davem@davemloft.net>
45413         * po/sv.po: Update from translation team.
45415         * po/vi.po: Update from translation team.
45417         * po/cs.po: Update from translation team.
45419         * po/de.po: Update from translation team.
45420         * po/eo.po: Likewise.
45421         * po/nl.po: Likewise.
45423 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45425         [BZ #14246]
45426         * manual/argp.texi (Argp Helper Functions): Move node to follow
45427         Argp Parsing State.
45429         [BZ #14872]
45430         * manual/conf.texi (Limits on File System Capacity): Mention if
45431         terminating null is included in the max size.
45433 2012-12-10  Andreas Jaeger  <aj@suse.de>
45435         * po/cs.po: Update from translation team.
45437 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45439         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
45440         void pointer and cast to uintptr_t.
45441         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
45442         path.
45443         * sysdeps/s390/s390-64/memcpy.S: Likewise.
45444         * sysdeps/s390/s390-64/memset.S: Likewise.
45446 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
45448         [BZ #14833]
45449         * menual/message.texi (Message Translation): Fix typos.
45450         (Helper programs for gettext): Likewise.
45452 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
45454         [BZ #14898]
45455         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
45456         Change to -1.
45458 2012-12-07  David S. Miller  <davem@davemloft.net>
45460         * po/libc.pot: Update.
45462 2012-12-07  Richard Henderson  <rth@redhat.com>
45464         [BZ #10114]
45465         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
45466         normal/normal case to before the switch.
45467         (_FP_DIV): Likewise.
45469 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
45470             Mike Frysinger  <vapier@gentoo.org>
45472         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
45473         check for __NR_fadvise64_64.
45475 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
45477         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
45478         0, not just to plain "0" as a statement.
45479         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
45480         with cw.
45482 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
45484         * NEWS: Use sourceware.org in Bugzilla URL.
45486 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
45489         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
45491         * stdio-common/tst-put-error.c (do_test): Add newline to the
45492         padded test to ensure flush.
45494 2012-12-05  Jeff Law  <law@redhat.com>
45496         * sunrpc/etc.rpc (fedfs_admin): Add entry.
45498 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
45500         * README: Don't refer to ports add-on as distributed separately.
45501         Mention AArch64 in list of systems supported in the ports add-on.
45503         * LICENSES: Add more non-FSF copyright and license notices.
45505         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
45506         ((unused)).
45508         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
45510         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
45511         10000 as width of padded output.
45513 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
45515         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
45517         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
45518         variable LX with __attribute__ ((unused)).
45519         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
45520         Likewise.
45521         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
45522         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45523         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
45524         with __attribute__ ((unused)).
45526 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
45528         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
45530 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
45532         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
45533         (CFLAGS-nldbl-acos.c): New variable.
45534         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
45535         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
45536         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
45537         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
45538         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
45539         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
45540         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
45541         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
45542         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
45543         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
45544         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
45545         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
45546         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
45547         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
45548         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
45549         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
45550         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
45551         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
45552         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
45553         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
45554         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
45555         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
45556         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
45557         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
45558         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
45559         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
45560         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
45561         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
45562         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
45563         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
45564         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
45565         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
45566         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
45567         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
45568         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
45569         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
45570         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
45571         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
45572         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
45573         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
45574         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
45575         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
45576         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
45577         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
45578         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
45579         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
45580         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
45581         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
45582         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
45583         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
45584         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
45585         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
45586         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
45587         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
45588         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
45589         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
45590         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
45591         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
45592         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
45593         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
45594         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
45595         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
45596         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
45597         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
45598         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
45599         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
45600         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
45601         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
45602         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
45603         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
45604         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
45605         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
45606         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
45607         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
45608         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
45609         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
45610         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
45611         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
45612         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
45613         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
45614         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
45615         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
45616         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
45617         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
45618         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
45619         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
45620         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
45621         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
45622         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
45623         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
45624         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
45625         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
45626         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
45627         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
45628         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
45629         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
45630         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
45632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
45633         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
45635         [BZ #14914]
45636         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
45637         whole low double instead of just low 47 bits when splitting values
45638         into two parts.
45640 2012-12-03  Allan McRae  <allan@archlinux.org>
45642         * manual/stdio.texi (Predefined Printf Handlers): Remove
45643         @hsep and @vsep usage.
45645 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
45647         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
45648         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
45650 2012-12-03  Jeff Law  <law@redhat.com>
45652         * time/sys/time.h (settimeofday): Do not mark TV argument
45653         as __nonnull.
45655 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
45657         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
45658         when currently writing and seek to current position when not.
45659         * libio/Makefile (tests): Remove bug-fclose1.
45660         * libio/bug-fclose1.c: Delete.
45662 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
45664         * manual/arith.texi (feenableexcept): Fix typo.
45665         (fedisableexcept): Likewise.
45667 2012-11-30  Roland McGrath  <roland@hack.frob.com>
45669         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
45670         second, differently-typed declaration, rather than a cast.
45672 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45674         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
45675         * include/rpc/svc.h: ... here.
45677 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
45679         [BZ #13013]
45680         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
45681         depending n and resplen2 to catch cases where answer
45682         equals answerp2.
45684 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
45686         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
45687         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
45689 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
45691         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
45693 2012-11-29  Roland McGrath  <roland@hack.frob.com>
45695         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
45697 2012-11-28  Jeff Law  <law@redhat.com>
45699         [BZ #13761]
45700         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
45701         dataset_temporary.  Track alloca usage into alloca_used.
45702         If dataset is large allocate and release it via malloc/free.
45704 2012-06-04  Florian Weimer  <fweimer@redhat.com>
45706         [BZ #14197]
45707         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
45709 2012-11-28  David S. Miller  <davem@davemloft.net>
45711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45713 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
45715         [BZ #14803]
45716         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
45717         of pi/2 rounded to nearest to 64 bits.
45718         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
45719         nearest to 64 bits.
45720         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
45721         bits.
45723 2012-11-28  Jeff Law <law@redhat.com>
45724             Martin Osvald <mosvald@redhat.com>
45726         [BZ #14889]
45727         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
45728         * sunrpc/svc.c: Include time.h.
45729         (__svc_accept_failed): New function.
45730         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
45731         any reason other than EINTR, call __svc_accept_failed.
45732         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
45733         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
45735 2012-11-28  Andreas Schwab  <schwab@suse.de>
45737         * scripts/abilist.awk: Also handle indirect functions in .opd
45738         section.
45740 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
45742         [BZ #13881]
45743         * sysdeps/x86/fpu/powl_helper.c: New file.
45744         * sysdeps/x86/fpu/Makefile: Likewise.
45745         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
45746         (p3): New object.
45747         (__ieee754_powl): Use __powl_helper for finite arguments except
45748         integer exponents below 8.
45749         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
45750         (p3): New object.
45751         (__ieee754_powl): Use __powl_helper for finite arguments except
45752         integer exponents below 8.
45753         * math/libm-test.inc (pow_test): Add more tests and enable some
45754         previously disabled tests.
45755         * sysdeps/i386/fpu/libm-test-ulps: Update.
45756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45758 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45759             Carlos O'Donell  <carlos_odonell@mentor.com>
45761         * nss/makedb.c (is_prime): Assert that input is odd and greater
45762         than 4.  Note that fact in a comment too.
45763         (next_prime): Add 4 to input.
45765 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45767         [BZ #11741]
45768         * libio/Makefile (tests): Add test case tst-fwrite-error.
45769         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
45770         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
45771         * libio/tst-fwrite-error.c: New test case.
45773 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
45775         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
45776         before casting to void *.
45777         * include/libc-internal.h (__pointer_type): New macro.
45778         (__integer_if_pointer_type_sub): Likewise.
45779         (__integer_if_pointer_type): Likewise.
45780         (cast_to_integer): Likewise.
45781         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
45782         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
45783         before casting to atomic64_t.
45784         (atomic_exchange_acq): Likewise.
45785         (__arch_exchange_and_add_body): Likewise.
45786         (__arch_add_body): Likewise.
45787         (atomic_add_negative): Likewise.
45788         (atomic_add_zero): Likewise.
45790 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
45792         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
45793         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
45794         (add_fdes): Likewise.
45795         (linear_search_fdes): Likewise.
45796         (binary_search_unencoded_fdes): Likewise.
45798 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
45800         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
45802 2012-11-24  Adam Conrad  <adconrad@0c3.net>
45804         * configure.in: Autodetect C++ header directories.
45805         * configure: Regenerated.
45807 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
45809         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
45811 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
45813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45815 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
45817         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
45818         LDBL_MANT_DIG == 106]: Disable some tests.
45819         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
45820         Likewise.
45821         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
45822         Likewise.
45824         [BZ #14871]
45825         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
45826         input for small inputs.  Return +/- pi/2 for large inputs.
45827         * math/libm-test.inc (atan_test): Add more tests.
45829         * sysdeps/generic/unwind-dw2-fde-glibc.c
45830         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
45831         __attribute__ ((unused)).
45833         [BZ #14645]
45834         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
45835         x * y if x and y are nonzero and z is zero.
45837         [BZ #14811]
45838         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
45839         nonzero exponents with absolute value below 0x1p-117 to +/-
45840         0x1p-117.
45842         [BZ #14869]
45843         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
45844         up arguments below 2**-450, not just those below 2**-500.
45845         * math/libm-test.inc (hypot_test): Add another test.
45847         [BZ #14868]
45848         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
45849         Return a+b for ratio over 2**120, not 2**60.
45850         * math/libm-test.inc (hypot_test): Add another test.
45852         * math/libm-test.inc (clog_test): Use
45853         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
45854         (clog10_test): Likewise.
45856         [BZ #6778]
45857         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
45859 2012-11-22  Andreas Schwab  <schwab@suse.de>
45861         * sysdeps/i386/fpu/libm-test-ulps: Update.
45863 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
45865         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
45866         printf output with newline.
45868 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
45870         [BZ #14865]
45871         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
45872         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
45873         -z nodlopen, -z initfirst and -z execstack support.
45874         * configure: Regenerated.
45876         * elf/elf.h (DF_1_NODIRECT): New macro.
45877         (DF_1_IGNMULDEF): Likewise.
45878         (DF_1_NOKSYMS): Likewise.
45879         (DF_1_NOHDR): Likewise.
45880         (DF_1_EDITED): Likewise.
45881         (DF_1_NORELOC): Likewise.
45882         (DF_1_SYMINTPOSE): Likewise.
45883         (DF_1_GLOBAUDIT): Likewise.
45884         (DF_1_SINGLETON): Likewise.
45885         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
45886         DT_1_SUPPORTED_MASK bits.
45887         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
45889 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
45891         * sysdeps/unix/make-syscalls.sh: Document prefixes.
45893 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
45895         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
45896         macro.
45898         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
45899         (sendmmsg): Move declarations...
45900         * socket/sys/socket.h: ... here.
45901         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
45902         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
45903         include it from...
45904         * socket/recvmmsg.c: ... this new file.
45905         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
45906         (sendmmsg): Rename to __sendmmsg, create weak alias and make
45907         definition of __sendmmsg hidden.
45908         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
45909         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
45910         Move ENOSYS stub into and include it from...
45911         * socket/sendmmsg.c: ... this new file.
45912         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
45913         (sysdep_routines): Move recvmmsg and sendmmsg...
45914         * socket/Makefile (routines): ... here.
45915         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
45916         (GLIBC_PRIVATE): Add __sendmmsg.
45917         * include/sys/socket.h (__sendmmsg): Add declarations.
45918         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
45919         sendmmsg.
45921 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
45923         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
45924         variable I1 with __attribute__ ((unused)).
45925         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45927 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
45929         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
45930         DUMMY variables with __attribute__ ((unused)).
45932         * bits/byteswap.h: Include <bits/types.h>.
45933         (__bswap_64): Use __uint64_t instead of unsigned long long int.
45935 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
45937         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
45938         string_t.  Do not manually set errno.
45939         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
45940         length with __strnlen.  Make sure to both set errno and return it on
45941         failure.
45943 2012-11-19  David S. Miller  <davem@davemloft.net>
45945         With help from Joseph Myers.
45946         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
45947         very large arguments properly.
45948         * math/libm-test.inc (atan_test): New tests.
45949         (atan2_test): New tests.
45950         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45951         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45953 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
45955         [BZ #14856]
45956         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
45957         Define to 3.
45959         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
45960         [POSIX] (EADDRNOTAVAIL): Likewise.
45961         [POSIX] (EAFNOSUPPORT): Likewise.
45962         [POSIX] (EALREADY): Likewise.
45963         [POSIX] (ECONNABORTED): Likewise.
45964         [POSIX] (ECONNREFUSED): Likewise.
45965         [POSIX] (ECONNRESET): Likewise.
45966         [POSIX] (EDESTADDRREQ): Likewise.
45967         [POSIX] (EDQUOT): Likewise.
45968         [POSIX] (EHOSTUNREACH): Likewise.
45969         [POSIX] (EIDRM): Likewise.
45970         [POSIX] (EISCONN): Likewise.
45971         [POSIX] (ELOOP): Likewise.
45972         [POSIX] (EMULTIHOP): Likewise.
45973         [POSIX] (ENETDOWN): Likewise.
45974         [POSIX] (ENETUNREACH): Likewise.
45975         [POSIX] (ENOBUFS): Likewise.
45976         [POSIX] (ENODATA): Likewise.
45977         [POSIX] (ENOLINK): Likewise.
45978         [POSIX] (ENOMSG): Likewise.
45979         [POSIX] (ENOPROTOOPT): Likewise.
45980         [POSIX] (ENOSR): Likewise.
45981         [POSIX] (ENOSTR): Likewise.
45982         [POSIX] (ENOTCONN): Likewise.
45983         [POSIX] (ENOTSOCK): Likewise.
45984         [POSIX] (EOPNOTSUPP): Likewise.
45985         [POSIX] (EOVERFLOW): Likewise.
45986         [POSIX] (EPROTO): Likewise.
45987         [POSIX] (EPROTONOSUPPORT): Likewise.
45988         [POSIX] (EPROTOTYPE): Likewise.
45989         [POSIX] (ESTALE): Likewise.
45990         [POSIX] (ETIME): Likewise.
45991         [POSIX] (ETXTBSY): Likewise.
45992         [POSIX] (EWOULDBLOCK): Likewise.
45993         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
45994         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
45995         [POSIX] (SEEK_CUR): Likewise.
45996         [POSIX] (SEEK_END): Likewise.
45997         [POSIX || UNIX98] (mode_t): Do not require.
45998         [POSIX] (off_t): Likewise.
45999         [POSIX] (pid_t): Likewise.
46000         [POSIX] (sys/stat.h): Do not allow header.
46001         [POSIX] (unistd.h): Likewise.
46002         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
46003         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
46004         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
46005         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
46006         require.
46007         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
46008         sigevent): Specify elements.
46009         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
46010         entry.
46011         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
46012         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
46014         * conform/data/cpio.h-data [POSIX]: Disable whole file.
46015         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
46016         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
46017         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
46018         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
46019         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
46020         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
46021         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
46022         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
46023         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
46024         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
46025         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
46026         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
46027         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
46028         Likewise.
46029         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
46030         Likewise.
46031         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
46032         Likewise.
46033         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
46034         Likewise.
46035         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
46036         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
46037         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
46038         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
46039         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
46040         Specify lower bound on value.
46041         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
46042         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
46043         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
46044         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
46045         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
46046         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
46047         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
46048         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
46049         value.
46050         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
46051         as optional.
46052         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
46053         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
46054         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
46055         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
46056         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
46057         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
46058         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
46059         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
46060         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
46061         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
46062         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
46063         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
46064         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
46065         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
46066         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
46067         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
46068         entry.
46069         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
46070         optional.
46071         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
46072         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
46073         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
46074         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
46075         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
46076         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
46077         Likewise.
46078         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
46079         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
46080         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
46081         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
46082         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
46083         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
46084         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
46085         as optional.
46086         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
46087         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
46088         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
46089         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
46090         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
46091         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
46092         specify as optional.
46093         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
46094         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
46095         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
46096         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
46097         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
46098         [XPG3] (NL_LANGMAX): Likewise.
46099         [POSIX || XPG3] (NL_MSGMAX): Likewise.
46100         [POSIX || XPG3] (NL_NMAX): Likewise.
46101         [POSIX || XPG3] (NL_SETMAX): Likewise.
46102         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
46103         [XPG3] (NZERO): Likewise.
46104         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
46105         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
46106         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
46107         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
46108         (REG_ERANGE): Expect.
46109         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
46110         optional-constant.
46111         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
46112         Use (void) in prototype.
46113         [POSIX] (*_t): Allow.
46114         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
46115         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
46116         (WRDE_BADVAL): Expect.
46118         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
46119         expect.
46120         [XPG3 || XPG4] (O_RSYNC): Likewise.
46121         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
46122         Likewise.
46123         [XPG3 || XPG4] (pthread_sigmask): Likewise.
46124         [XPG3 || XPG4] (sigqueue): Likewise.
46125         [XPG3 || XPG4] (sigtimedwait): Likewise.
46126         [XPG3 || XPG4] (sigwaitinfo): Likewise.
46127         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
46128         [XPG3 || XPG4] (vsnprintf): Likewise.
46129         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
46130         Likewise.
46131         [XPG3 || XPG4] (blksize_t): Likewise.
46132         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
46133         Likewise.
46134         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
46135         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
46136         [XPG3 || XPG4] (struct itimerspec): Likewise.
46137         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
46138         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
46139         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
46140         [XPG3 || XPG4] (clockid_t): Likewise.
46141         [XPG3 || XPG4] (timer_t): Likewise.
46142         [XPG3 || XPG4] (clock_getres): Likewise.
46143         [XPG3 || XPG4] (clock_gettime): Likewise.
46144         [XPG3 || XPG4] (clock_settime): Likewise.
46145         [XPG3 || XPG4] (nanosleep): Likewise.
46146         [XPG3 || XPG4] (timer_create): Likewise.
46147         [XPG3 || XPG4] (timer_delete): Likewise.
46148         [XPG3 || XPG4] (timer_gettime): Likewise.
46149         [XPG3 || XPG4] (timer_getoverrun): Likewise.
46150         [XPG3 || XPG4] (timer_settime): Likewise.
46151         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
46152         [XPG3 || XPG4] (getlogin_r): Likewise.
46153         [XPG3 || XPG4] (pread): Likewise.
46154         [XPG3 || XPG4] (pthread_atfork): Likewise.
46155         [XPG3 || XPG4] (pwrite): Likewise.
46157         [BZ #14835]
46158         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
46159         <bits/siginfo.h>.
46161 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
46163         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
46164         finalizing MALLSTREAM.
46166         * sysdeps/mach/hurd/syncfs.c: New file.
46168 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46170         [BZ #14719]
46171         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
46172         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
46173         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
46174         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
46175         (_nss_dns_gethostbyname4_r): Likewise.
46176         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
46177         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
46179 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
46181         [BZ #13763]
46182         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
46184 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
46186         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
46187         * elf/cache.c (print_entry): Print ",AArch64" for
46188         FLAG_AARCH64_LIB64
46190         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
46191         * elf/cache.c (print_entry): Print ",hard-float" for
46192         FLAG_ARM_LIBHF.
46194 2012-11-18  David S. Miller  <davem@davemloft.net>
46196         With help from Joseph Myers.
46197         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
46198         cutoff to 2**-13.
46199         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
46200         cutoff to 2**-25.
46201         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
46202         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
46203         small.
46204         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
46205         * math/libm-test.inc (y0_test): New tests.
46206         (y1_test): New tests.
46207         * sysdeps/i386/fpu/libm-test-ulps: Update.
46208         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46211 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
46213         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
46214         64-bit targets.
46215         * configure: Regenerated.
46217 2012-11-17  David S. Miller  <davem@davemloft.net>
46219         [BZ #14811]
46220         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
46221         nonzero exponents with absolute value below 0x1p-128 to +/-
46222         0x1p-128.
46224 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
46226         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
46228         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
46230         * posix/getconf-speclist.c: New file.
46231         * posix/posix-envs.def: Likewise.
46232         * posix/confstr.c (START_ENV_GROUP): New macro.
46233         (END_ENV_GROUP): Likewise.
46234         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
46235         (KNOWN_PRESENT_ENV_STRING): Likewise.
46236         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
46237         (UNKNOWN_ENVIRONMENT): Likewise.
46238         (confstr): Include posix-envs.def instead of handling
46239         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
46240         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
46241         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
46242         (END_ENV_GROUP): Likewise.
46243         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
46244         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
46245         (UNKNOWN_ENVIRONMENT): Likewise.
46246         (__sysconf): Include posix-envs.def instead of handling associated
46247         cases directly here.
46248         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
46249         preprocessing getconf-speclist.c rather than running getconf or
46250         generating empty file.
46252 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
46254         * scripts/check-local-headers.sh: Ignore 'mach' headers.
46256 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
46258         [BZ #14672]
46259         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
46261 2012-11-16  David S. Miller  <davem@davemloft.net>
46263         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
46264         smaller than LDBL_EPSILON/2.0L, just return xm1.
46266 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
46268         * elf/tst-array1.c (init): Set constructor priority to 1000.
46269         (fini): Set destructor priority to 1000.
46270         * elf/tst-array2dep.c: Likewise.
46272 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46274         [BZ #11741]
46275         * libio/fileops.c (_IO_new_file_write): Correctly return error.
46276         (_IO_new_file_xsputn): Also return EOF if none of the input
46277         data was written when overflow failed.
46278         * libio/iopadn.c (_IO_padn): Likewise.
46279         * libio/iowpadn.c (_IO_wpadn): Likewise.
46280         * stdio-common/tst-put-error.c: Add copyright notice.
46281         (do_test): Add case for printing padded string.
46282         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
46283         _IO_padn returned error.
46284         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
46285         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
46286         return EOF.
46288 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46290         * libio/libioP.h: Add comment note that the references to C++
46291         bits are now obsolete.
46293 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46295         * math/libm-test.inc (check_complex): Use asprintf.
46297 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
46299         * debug/pcprofiledump.c (print_version): Update copyright year.
46300         * malloc/memusagestat.c (print_version): Likewise.
46302 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
46304         [BZ #14831]
46305         * elf/Makefile (tests): Add tst-audit8.
46306         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
46307         ($(objpfx)tst-audit8.out): New target.
46308         (tst-audit8-ENV): New variable.
46309         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
46310         audit if l_reloc_result is NULL.
46311         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
46312         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
46313         * elf/tst-audit8.c: New file.
46315 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46317         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
46318         * misc/Makefile (CFLAGS-select.c): Define.
46319         * posix/Makefile (CFLAGS-pause.c): Define.
46321 2012-11-13  David S. Miller  <davem@davemloft.net>
46323         * crypt/Makefile: Move test targets after toplevel Rules
46324         inclusion.  Grab any necessary sysdep routines when linking.
46325         * crypt/md5.c (md5_process_block): Remove define, we will always
46326         name it __md5_process_block.
46327         (md5_finish_ctx): Update md5_process_block call.
46328         (md5_stream): Likewise.
46329         (md5_process_bytes): Likewise.
46330         (md5_process_block): Rename to __md5_process_block and move to ...
46331         * crypt/md5-block.c: ... here.
46332         * crypt/sha256.c (sha256_process_block): Move to ...
46333         * crypt/sha256-block.c: ... here.
46334         * crypt/sha512.c (sha512_process_block): Move to ...
46335         * crypt/sha512-block.c: ... here.
46336         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
46337         path.
46338         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
46339         * sysdeps/sparc/sparc64/multiarch/Makefile
46340         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
46341         crypt subdir.
46342         (localedef-aux): Add md5 crypto assembler when in locale subdir.
46343         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
46344         multiarch changes.
46345         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
46346         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
46347         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
46348         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
46349         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
46350         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
46351         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
46352         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
46353         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
46354         file.
46355         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
46356         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
46357         file.
46358         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
46360 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
46362         * timezone/tzselect.ksh: Update from tzcode git revision
46363         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
46364         * timezone/zdump.c: Likewise.
46365         * timezone/zic.c: Likewise.
46366         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
46367         in TZVERSION setting, not $(PKGVERSION).
46368         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
46369         REPORT_BUGS_TO settings.
46371         [BZ #14838]
46372         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
46373         macro.
46375 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46377         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
46378         detection to immediately after _FP_ROUND().
46379         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
46380         bits are 0.
46382 2012-11-11  David S. Miller  <davem@davemloft.net>
46384         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
46385         inttypes.h
46386         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
46387         __close rather than their public counterparts.
46389 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
46391         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
46392         file.
46393         [UNIX98] (sem_timedwait): Do not expect.
46394         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
46395         [XPG4 || UNIX98] (sockatmark): Do not expect.
46396         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
46397         (clock_getcpuclockid): Do not expect.
46398         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
46399         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
46400         Do not expect.
46401         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
46402         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
46403         [UNIX98] (vwscanf): Likewise.
46404         [UNIX98] (vswscanf): Likewise.
46406 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
46408         * timezone/version.h: Remove file.
46409         * timezone/README: Do not refer to version.h.
46410         * timezone/Makefile ($(objpfx)zic.o): New dependency on
46411         $(objpfx)version.h.
46412         ($(objpfx)zdump.o): Likewise.
46413         ($(objpfx)version.h): New target.
46415         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
46416         2012i.
46417         * timezone/README: Don't mention modification to tzselect.ksh.
46418         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
46419         work on unmodified tzselect.ksh.  Substitute version numbers in
46420         tzselect.ksh.
46422         * Makefile (format-me): Remove.
46423         (INSTALL): Adjust indentation.  Use commands directly instead of
46424         using $(format-me).
46426         * aclocal.m4 (ACX_PKGVERSION): New macro.
46427         (ACX_BUGURL): Likewise.
46428         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
46429         (PKGVERSION): New AC_DEFINE_UNQUOTED.
46430         (REPORT_BUGS_TO): Likewise.
46431         * configure: Regenerated.
46432         * config.h.in (PKGVERSION): New macro.
46433         (REPORT_BUGS_TO): Likewise.
46434         * config.make.in (PKGVERSION): New variable.
46435         (PKGVERSION_TEXI): Likewise.
46436         (REPORT_BUGS_TO): Likewise.
46437         (REPORT_BUGS_TEXI): Likewise.
46438         * Makefile (format-me): Use -I$(common-objpfx)manual.
46439         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
46440         ($(common-objpfx)manual/%): New target.
46441         (manual/%): Remove target.
46442         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
46443         (print_version): Use PKGVERSION.
46444         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
46445         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
46446         and REPORT_BUGS_TO.
46447         ($(objpfx)xtrace): Likewise.
46448         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
46449         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
46450         (print_version): Use PKGVERSION.
46451         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
46452         (do_version): Use PKGVERSION.
46453         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
46454         REPORT_BUGS_TO.
46455         (common-ldd-rewrite): Likewise.
46456         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
46457         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
46458         (print_version): Use PKGVERSION.
46459         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
46460         * elf/pldd.c (argp_program_bug_address): Remove variable.
46461         (more_help): New function.
46462         (argp): Use more_help.
46463         (print_version): Use PKGVERSION.
46464         * elf/sln.c (main): Use PKGVERSION.
46465         (usage): Use REPORT_BUGS_TO.
46466         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
46467         (top level): Use PKGVERSION.
46468         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
46469         (print_version): Use PKGVERSION.
46470         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
46471         (print_version): Use PKGVERSION.
46472         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
46473         (print_version): Use PKGVERSION.
46474         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
46475         (print_version): Use PKGVERSION.
46476         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
46477         (print_version): Use PKGVERSION.
46478         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
46479         (print_version): Use PKGVERSION.
46480         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
46481         and BUGURL.
46482         ($(objpfx)memusage): Likewise.
46483         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
46484         (do_version): Use PKGVERSION.
46485         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
46486         (print_version): Use PKGVERSION.
46487         * malloc/mtrace.pl ($PACKAGE): Remove variable.
46488         ($PKGVERSION): New variable.
46489         ($REPORT_BUGS_TO): Likewise.
46490         (usage): Use $REPORT_BUGS_TO.
46491         (top level): Use $PKGVERSION.
46492         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
46493         ($(objpfx)pkgvers.texi): New rule.
46494         ($(objpfx)stamp-pkgvers): Likewise.
46495         * manual/install.texi: Include pkgvers.texi.
46496         (--with-pkgversion): Document new configure option.
46497         (--with-bugurl): Likewise.
46498         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
46499         than necessarily for this particular distribution.  Use
46500         REPORT_BUGS_TO for where to report bugs.
46501         * INSTALL: Regenerated.
46502         * manual/libc.texinfo: Include pkgvers.texi.
46503         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
46504         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
46505         (print_version): Use PKGVERSION.
46506         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
46507         (print_version): Use PKGVERSION.
46508         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
46509         (print_version): Use PKGVERSION.
46510         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
46511         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
46512         macro.
46513         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
46514         (print_version): Use PKGVERSION.
46515         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
46516         (print_version): Use PKGVERSION.
46517         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
46518         and PKGVERSION.
46520         * timezone/checktab.awk: Update from tzcode 2012i.
46521         * timezone/ialloc.c: Likewise.
46522         * timezone/private.h: Likewise.
46523         * timezone/scheck.c: Likewise.
46524         * timezone/tzfile.h: Likewise.
46525         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
46526         (TZVERSION): Hardcode tzcode version number.
46527         * timezone/zdump.c: Update from tzcode 2012i.
46528         * timezone/zic.c: Likewise.
46529         * timezone/version.h: New file.
46530         * timezone/README: Describe version.h.  Update upstream location.
46532         [BZ #14824]
46533         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
46534         (mktemp): Enable declaration.
46535         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
46536         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
46537         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
46538         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
46539         Likewise.
46540         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
46541         Likewise.
46542         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
46543         Likewise.
46544         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
46545         Likewise.
46546         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
46547         Likewise.
46548         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
46549         Likewise.
46551         [BZ #14821]
46552         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
46553         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
46554         for copies of such integer values.
46555         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46556         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46558 2012-11-09  Andreas Jaeger  <aj@suse.de>
46560         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
46561         definitions and declarations that are provided by
46562         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
46564 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46566         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
46567         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
46568         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
46569         definition.
46571 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46573         * elf/elf.h: Update comment before AArch64 relocations.
46575 2012-11-07  David S. Miller  <davem@davemloft.net>
46577         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
46578         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46579         (__start_context): Declare.
46580         (__makecontext_ret): Delete.
46581         (__makecontext): Hook up __start_context instead of
46582         __makecontext_ret.
46583         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
46584         (sysdep_routines): Add __start_context when in stdlib.
46586 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
46588         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
46589         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
46590         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
46591         hardcoded "nm".
46592         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
46593         (READELF): New variable.  Use it instead of hardcoded "readelf".
46595 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
46597         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
46598         * sysdeps/x86/Makefile: Here.
46599         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
46600         * sysdeps/x86/tst-xmmymm.sh: This.
46602 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
46604         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
46605         expectations.
46606         [UNIX98] (pthread_barrier_t): Do not expect.
46607         [UNIX98] (pthread_barrierattr_t): Likewise.
46608         [UNIX98] (pthread_spinlock_t): Likewise.
46609         [UNIX98] (pthread_barrier_destroy): Likewise.
46610         [UNIX98] (pthread_barrier_init): Likewise.
46611         [UNIX98] (pthread_barrier_wait): Likewise.
46612         [UNIX98] (pthread_barrierattr_destroy): Likewise.
46613         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
46614         [UNIX98] (pthread_barrierattr_init): Likewise.
46615         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
46616         [UNIX98] (pthread_getcpuclockid): Likewise.
46617         [UNIX98] (pthread_mutex_timedlock): Likewise.
46618         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
46619         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
46620         [UNIX98] (pthread_sigmask): Likewise.
46621         [UNIX98] (pthread_spin_destroy): Likewise.
46622         [UNIX98] (pthread_spin_init): Likewise.
46623         [UNIX98] (pthread_spin_lock): Likewise.
46624         [UNIX98] (pthread_spin_trylock): Likewise.
46625         [UNIX98] (pthread_spin_unlock): Likewise.
46626         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
46627         Do not expect.
46628         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
46629         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
46630         [XPG3 || XPG4] (pthread_cond_t): Likewise.
46631         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
46632         [XPG3 || XPG4] (pthread_key_t): Likewise.
46633         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
46634         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
46635         [XPG3 || XPG4] (pthread_once_t): Likewise.
46636         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
46637         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
46638         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
46639         [XPG3 || XPG4] (pthread_t): Likewise.
46641         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
46642         not expect.
46643         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
46645         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
46646         Change function return type to int.
46648         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
46649         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
46650         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
46651         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
46652         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
46653         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
46654         [!POSIX] (posix_madvise): Likewise.
46655         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
46656         && !UNIX98].
46657         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
46658         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
46659         (mode_t): Likewise.
46660         (posix_mem_offset): Likewise.
46661         (posix_typed_mem_get_info): Likewise.
46662         (posix_typed_mem_open): Likewise.
46664         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
46665         Change condition to [XOPEN2K8].
46667         * conform/conformtest.pl: Preprocess allow-header data with -x c
46668         instead of from stdin.
46669         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
46670         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
46671         [C99-based standards] (cerfc): Likewise.
46672         [C99-based standards] (cexp2): Likewise.
46673         [C99-based standards] (cexpm1): Likewise.
46674         [C99-based standards] (clog10): Likewise.
46675         [C99-based standards] (clog1p): Likewise.
46676         [C99-based standards] (clog2): Likewise.
46677         [C99-based standards] (clgamma): Likewise.
46678         [C99-based standards] (ctgamma): Likewise.
46679         [C99-based standards] (cerff): Likewise.
46680         [C99-based standards] (cerfcf): Likewise.
46681         [C99-based standards] (cexp2f): Likewise.
46682         [C99-based standards] (cexpm1f): Likewise.
46683         [C99-based standards] (clog10f): Likewise.
46684         [C99-based standards] (clog1pf): Likewise.
46685         [C99-based standards] (clog2f): Likewise.
46686         [C99-based standards] (clgammaf): Likewise.
46687         [C99-based standards] (ctgammaf): Likewise.
46688         [C99-based standards] (cerfl): Likewise.
46689         [C99-based standards] (cerfcl): Likewise.
46690         [C99-based standards] (cexp2l): Likewise.
46691         [C99-based standards] (cexpm1l): Likewise.
46692         [C99-based standards] (clog10l): Likewise.
46693         [C99-based standards] (clog1pl): Likewise.
46694         [C99-based standards] (clog2l): Likewise.
46695         [C99-based standards] (clgammal): Likewise.
46696         [C99-based standards] (ctgammal): Likewise.
46697         * conform/data/inttypes.h-data [C99-based standards]: Include
46698         stdint.h-data.  Remove all expectations for stdint.h contents.
46699         [C99-based standards] (PRI*): Do not allow.
46700         [C99-based standards] (SCN*): Likewise.
46701         [C99-based standards] (*_t): Likewise.
46702         [C99-based-standards] (PRId8): Expect macro.
46703         [C99-based-standards] (PRIi8): Likewise.
46704         [C99-based-standards] (PRIo8): Likewise.
46705         [C99-based-standards] (PRIu8): Likewise.
46706         [C99-based-standards] (PRIx8): Likewise.
46707         [C99-based-standards] (PRIX8): Likewise.
46708         [C99-based-standards] (SCNd8): Likewise.
46709         [C99-based-standards] (SCNi8): Likewise.
46710         [C99-based-standards] (SCNo8): Likewise.
46711         [C99-based-standards] (SCNu8): Likewise.
46712         [C99-based-standards] (SCNx8): Likewise.
46713         [C99-based-standards] (PRIdLEAST8): Likewise.
46714         [C99-based-standards] (PRIiLEAST8): Likewise.
46715         [C99-based-standards] (PRIoLEAST8): Likewise.
46716         [C99-based-standards] (PRIuLEAST8): Likewise.
46717         [C99-based-standards] (PRIxLEAST8): Likewise.
46718         [C99-based-standards] (PRIXLEAST8): Likewise.
46719         [C99-based-standards] (SCNdLEAST8): Likewise.
46720         [C99-based-standards] (SCNiLEAST8): Likewise.
46721         [C99-based-standards] (SCNoLEAST8): Likewise.
46722         [C99-based-standards] (SCNuLEAST8): Likewise.
46723         [C99-based-standards] (SCNxLEAST8): Likewise.
46724         [C99-based-standards] (PRIdFAST8): Likewise.
46725         [C99-based-standards] (PRIiFAST8): Likewise.
46726         [C99-based-standards] (PRIoFAST8): Likewise.
46727         [C99-based-standards] (PRIuFAST8): Likewise.
46728         [C99-based-standards] (PRIxFAST8): Likewise.
46729         [C99-based-standards] (PRIXFAST8): Likewise.
46730         [C99-based-standards] (SCNdFAST8): Likewise.
46731         [C99-based-standards] (SCNiFAST8): Likewise.
46732         [C99-based-standards] (SCNoFAST8): Likewise.
46733         [C99-based-standards] (SCNuFAST8): Likewise.
46734         [C99-based-standards] (SCNxFAST8): Likewise.
46735         [C99-based-standards] (PRId16): Likewise.
46736         [C99-based-standards] (PRIi16): Likewise.
46737         [C99-based-standards] (PRIo16): Likewise.
46738         [C99-based-standards] (PRIu16): Likewise.
46739         [C99-based-standards] (PRIx16): Likewise.
46740         [C99-based-standards] (PRIX16): Likewise.
46741         [C99-based-standards] (SCNd16): Likewise.
46742         [C99-based-standards] (SCNi16): Likewise.
46743         [C99-based-standards] (SCNo16): Likewise.
46744         [C99-based-standards] (SCNu16): Likewise.
46745         [C99-based-standards] (SCNx16): Likewise.
46746         [C99-based-standards] (PRIdLEAST16): Likewise.
46747         [C99-based-standards] (PRIiLEAST16): Likewise.
46748         [C99-based-standards] (PRIoLEAST16): Likewise.
46749         [C99-based-standards] (PRIuLEAST16): Likewise.
46750         [C99-based-standards] (PRIxLEAST16): Likewise.
46751         [C99-based-standards] (PRIXLEAST16): Likewise.
46752         [C99-based-standards] (SCNdLEAST16): Likewise.
46753         [C99-based-standards] (SCNiLEAST16): Likewise.
46754         [C99-based-standards] (SCNoLEAST16): Likewise.
46755         [C99-based-standards] (SCNuLEAST16): Likewise.
46756         [C99-based-standards] (SCNxLEAST16): Likewise.
46757         [C99-based-standards] (PRIdFAST16): Likewise.
46758         [C99-based-standards] (PRIiFAST16): Likewise.
46759         [C99-based-standards] (PRIoFAST16): Likewise.
46760         [C99-based-standards] (PRIuFAST16): Likewise.
46761         [C99-based-standards] (PRIxFAST16): Likewise.
46762         [C99-based-standards] (PRIXFAST16): Likewise.
46763         [C99-based-standards] (SCNdFAST16): Likewise.
46764         [C99-based-standards] (SCNiFAST16): Likewise.
46765         [C99-based-standards] (SCNoFAST16): Likewise.
46766         [C99-based-standards] (SCNuFAST16): Likewise.
46767         [C99-based-standards] (SCNxFAST16): Likewise.
46768         [C99-based-standards] (PRId32): Likewise.
46769         [C99-based-standards] (PRIi32): Likewise.
46770         [C99-based-standards] (PRIo32): Likewise.
46771         [C99-based-standards] (PRIu32): Likewise.
46772         [C99-based-standards] (PRIx32): Likewise.
46773         [C99-based-standards] (PRIX32): Likewise.
46774         [C99-based-standards] (SCNd32): Likewise.
46775         [C99-based-standards] (SCNi32): Likewise.
46776         [C99-based-standards] (SCNo32): Likewise.
46777         [C99-based-standards] (SCNu32): Likewise.
46778         [C99-based-standards] (SCNx32): Likewise.
46779         [C99-based-standards] (PRIdLEAST32): Likewise.
46780         [C99-based-standards] (PRIiLEAST32): Likewise.
46781         [C99-based-standards] (PRIoLEAST32): Likewise.
46782         [C99-based-standards] (PRIuLEAST32): Likewise.
46783         [C99-based-standards] (PRIxLEAST32): Likewise.
46784         [C99-based-standards] (PRIXLEAST32): Likewise.
46785         [C99-based-standards] (SCNdLEAST32): Likewise.
46786         [C99-based-standards] (SCNiLEAST32): Likewise.
46787         [C99-based-standards] (SCNoLEAST32): Likewise.
46788         [C99-based-standards] (SCNuLEAST32): Likewise.
46789         [C99-based-standards] (SCNxLEAST32): Likewise.
46790         [C99-based-standards] (PRIdFAST32): Likewise.
46791         [C99-based-standards] (PRIiFAST32): Likewise.
46792         [C99-based-standards] (PRIoFAST32): Likewise.
46793         [C99-based-standards] (PRIuFAST32): Likewise.
46794         [C99-based-standards] (PRIxFAST32): Likewise.
46795         [C99-based-standards] (PRIXFAST32): Likewise.
46796         [C99-based-standards] (SCNdFAST32): Likewise.
46797         [C99-based-standards] (SCNiFAST32): Likewise.
46798         [C99-based-standards] (SCNoFAST32): Likewise.
46799         [C99-based-standards] (SCNuFAST32): Likewise.
46800         [C99-based-standards] (SCNxFAST32): Likewise.
46801         [C99-based-standards] (PRId64): Likewise.
46802         [C99-based-standards] (PRIi64): Likewise.
46803         [C99-based-standards] (PRIo64): Likewise.
46804         [C99-based-standards] (PRIu64): Likewise.
46805         [C99-based-standards] (PRIx64): Likewise.
46806         [C99-based-standards] (PRIX64): Likewise.
46807         [C99-based-standards] (SCNd64): Likewise.
46808         [C99-based-standards] (SCNi64): Likewise.
46809         [C99-based-standards] (SCNo64): Likewise.
46810         [C99-based-standards] (SCNu64): Likewise.
46811         [C99-based-standards] (SCNx64): Likewise.
46812         [C99-based-standards] (PRIdLEAST64): Likewise.
46813         [C99-based-standards] (PRIiLEAST64): Likewise.
46814         [C99-based-standards] (PRIoLEAST64): Likewise.
46815         [C99-based-standards] (PRIuLEAST64): Likewise.
46816         [C99-based-standards] (PRIxLEAST64): Likewise.
46817         [C99-based-standards] (PRIXLEAST64): Likewise.
46818         [C99-based-standards] (SCNdLEAST64): Likewise.
46819         [C99-based-standards] (SCNiLEAST64): Likewise.
46820         [C99-based-standards] (SCNoLEAST64): Likewise.
46821         [C99-based-standards] (SCNuLEAST64): Likewise.
46822         [C99-based-standards] (SCNxLEAST64): Likewise.
46823         [C99-based-standards] (PRIdFAST64): Likewise.
46824         [C99-based-standards] (PRIiFAST64): Likewise.
46825         [C99-based-standards] (PRIoFAST64): Likewise.
46826         [C99-based-standards] (PRIuFAST64): Likewise.
46827         [C99-based-standards] (PRIxFAST64): Likewise.
46828         [C99-based-standards] (PRIXFAST64): Likewise.
46829         [C99-based-standards] (SCNdFAST64): Likewise.
46830         [C99-based-standards] (SCNiFAST64): Likewise.
46831         [C99-based-standards] (SCNoFAST64): Likewise.
46832         [C99-based-standards] (SCNuFAST64): Likewise.
46833         [C99-based-standards] (SCNxFAST64): Likewise.
46834         [C99-based-standards] (PRIdMAX): Likewise.
46835         [C99-based-standards] (PRIiMAX): Likewise.
46836         [C99-based-standards] (PRIoMAX): Likewise.
46837         [C99-based-standards] (PRIuMAX): Likewise.
46838         [C99-based-standards] (PRIxMAX): Likewise.
46839         [C99-based-standards] (PRIXMAX): Likewise.
46840         [C99-based-standards] (SCNdMAX): Likewise.
46841         [C99-based-standards] (SCNiMAX): Likewise.
46842         [C99-based-standards] (SCNoMAX): Likewise.
46843         [C99-based-standards] (SCNuMAX): Likewise.
46844         [C99-based-standards] (SCNxMAX): Likewise.
46845         [C99-based-standards] (PRIdPTR): Likewise.
46846         [C99-based-standards] (PRIiPTR): Likewise.
46847         [C99-based-standards] (PRIoPTR): Likewise.
46848         [C99-based-standards] (PRIuPTR): Likewise.
46849         [C99-based-standards] (PRIxPTR): Likewise.
46850         [C99-based-standards] (PRIXPTR): Likewise.
46851         [C99-based-standards] (SCNdPTR): Likewise.
46852         [C99-based-standards] (SCNiPTR): Likewise.
46853         [C99-based-standards] (SCNoPTR): Likewise.
46854         [C99-based-standards] (SCNuPTR): Likewise.
46855         [C99-based-standards] (SCNxPTR): Likewise.
46856         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
46857         allow.
46858         * conform/data/stdint.h-data: Update comments to clarify
46859         requirements.
46860         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
46861         type.
46862         [C99-based standards] (INT8_MAX): Likewise.
46863         [C99-based standards] (INT16_MIN): Likewise.
46864         [C99-based standards] (INT16_MAX): Likewise.
46865         [C99-based standards] (INT32_MIN): Likewise.
46866         [C99-based standards] (INT32_MAX): Likewise.
46867         [C99-based standards] (INT64_MIN): Likewise.
46868         [C99-based standards] (INT64_MAX): Likewise.
46869         [C99-based standards] (UINT8_MAX): Likewise.
46870         [C99-based standards] (UINT16_MAX): Likewise.
46871         [C99-based standards] (UINT32_MAX): Likewise.
46872         [C99-based standards] (UINT64_MAX): Likewise.
46873         [C99-based standards] (INT_LEAST8_MIN): Likewise.
46874         [C99-based standards] (INT_LEAST8_MAX): Likewise.
46875         [C99-based standards] (INT_LEAST16_MIN): Likewise.
46876         [C99-based standards] (INT_LEAST16_MAX): Likewise.
46877         [C99-based standards] (INT_LEAST32_MIN): Likewise.
46878         [C99-based standards] (INT_LEAST32_MAX): Likewise.
46879         [C99-based standards] (INT_LEAST64_MIN): Likewise.
46880         [C99-based standards] (INT_LEAST64_MAX): Likewise.
46881         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
46882         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
46883         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
46884         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
46885         [C99-based standards] (INT_FAST8_MIN): Likewise.
46886         [C99-based standards] (INT_FAST8_MAX): Likewise.
46887         [C99-based standards] (INT_FAST16_MIN): Likewise.
46888         [C99-based standards] (INT_FAST16_MAX): Likewise.
46889         [C99-based standards] (INT_FAST32_MIN): Likewise.
46890         [C99-based standards] (INT_FAST32_MAX): Likewise.
46891         [C99-based standards] (INT_FAST64_MIN): Likewise.
46892         [C99-based standards] (INT_FAST64_MAX): Likewise.
46893         [C99-based standards] (UINT_FAST8_MAX): Likewise.
46894         [C99-based standards] (UINT_FAST16_MAX): Likewise.
46895         [C99-based standards] (UINT_FAST32_MAX): Likewise.
46896         [C99-based standards] (UINT_FAST64_MAX): Likewise.
46897         [C99-based standards] (INTPTR_MIN): Likewise.
46898         [C99-based standards] (INTPTR_MAX): Likewise.
46899         [C99-based standards] (UINTPTR_MAX): Likewise.
46900         [C99-based standards] (INTMAX_MIN): Likewise.
46901         [C99-based standards] (INTMAX_MAX): Likewise.
46902         [C99-based standards] (UINTMAX_MAX): Likewise.
46903         [C99-based standards] (PTRDIFF_MIN): Likewise.
46904         [C99-based standards] (PTRDIFF_MAX): Likewise.
46905         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
46906         [C99-based standards] (SIZE_MAX): Likewise.
46907         [C99-based standards] (WCHAR_MAX): Likewise.
46908         [C99-based standards] (WINT_MAX): Likewise.
46909         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
46910         constraint on value.
46911         [C99-based standards] (WCHAR_MIN): Likewise.
46912         [C99-based standards] (WINT_MIN): Likewise.
46913         [C99-based standards] (*_t): Allow.
46914         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
46915         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
46916         Include math.h-data and complex.h-data.  Remove all expectations
46917         of math.h and complex.h contents.
46918         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
46919         at end of line.
46920         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
46921         (struct tm): Expect tag.
46922         [C99-based-standards] (wcstof): Expect function.
46923         [C99-based-standards] (wcstold): Likewise.
46924         [C99-based-standards] (wcstoll): Likewise.
46925         [C99-based-standards] (wcstoull): Likewise.
46926         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
46927         macro-int-constant.  Specify type.
46928         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
46929         constraint on value.
46930         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
46931         Specify type.
46932         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
46933         Specify value.
46934         [ISO C standards]: Do not allow headers.
46935         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
46936         wcs[abcdefghijklmnopqrstuvwxyz]*.
46937         [ISO C standards] (*_t): Do not allow.
46938         * conform/data/wctype.h-data [C99-based standards] (iswblank):
46939         Expect function.
46940         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
46941         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
46942         Specify type.
46943         [ISO C standards]: Do not allow headers.
46944         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
46945         is[abcdefghijklmnopqrstuvwxyz]*.
46946         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
46947         to[abcdefghijklmnopqrstuvwxyz]*.
46948         [ISO C standards] (*_t): Do not allow.
46949         * conform/data/stdalign.h-data: New file.
46950         * conform/data/stdbool.h-data: Likewise.
46951         * conform/data/stdnoreturn.h-data: Likewise.
46953 2012-11-07  Roland McGrath  <roland@hack.frob.com>
46955         [BZ #14815]
46956         * manual/filesys.texi (Directory Entries): Typo fix.
46957         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
46959 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46961         * elf/elf.h (EM_AARCH64): New macro.
46962         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
46963         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
46964         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
46965         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
46966         (R_AARCH64_TLSDESC): Likewise.
46967         (NT_ARM_TLS): Likewise.
46968         (NT_ARM_HW_BREAK): Likewise.
46969         (NT_ARM_HW_WATCH): Likewise.
46971 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
46973         [BZ #14811]
46974         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
46975         (__ieee754_powl): Saturate nonzero exponents with absolute value
46976         below 0x1p-79 to +/- 0x1p-79.
46977         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
46978         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
46979         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
46980         nonzero exponents with absolute value below 0x1p-32 to +/-
46981         0x1p-32.
46982         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
46983         (__ieee754_powl): Saturate nonzero exponents with absolute value
46984         below 0x1p-79 to +/- 0x1p-79.
46985         * math/libm-test.inc (pow_test): Add more tests.
46987 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46989         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
46990         _dl_s390_cap_flags with kernel. Increase string length.
46991         (_dl_s390_platforms): Add z196 and zEC12.
46993 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
46995         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
46996         Change XOPEN21K to XOPEN2K.
46998 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
47000         * string/memmove.c: Use memcpy when possible.
47002 2012-11-06  Andreas Jaeger  <aj@suse.de>
47004         * po/eo.po: Update from translation team.
47006 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
47008         [BZ #14793]
47009         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
47010         exponent and small x and y exponents, scale x or y up.  Increase
47011         by 2 the exponent used in scaling up.
47012         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47013         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47014         * math/libm-test.inc (fma_test): Add more tests.
47015         (fma_test_towardzero): Likewise.
47016         (fma_test_downward): Likewise.
47017         (fma_test_upward): Likewise.
47019 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
47021         [BZ #14805]
47022         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
47023         fenv_t *.
47025         [BZ #14801]
47026         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
47027         namespace for names of struct fields.
47028         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
47029         fenv_t fields.
47030         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
47031         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
47033 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47035         [BZ #3665]
47036         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
47038 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
47040         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
47041         PTR_DEMANGLE.
47043         [BZ #5246]
47044         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
47045         PTR_DEMANGLE.
47047 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
47049         [BZ #14797]
47050         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
47051         definitely overflow as x * y not x * y + z.
47052         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47053         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47054         * math/libm-test.inc (fma_test): Add more tests.
47055         (fma_test_towardzero): Likewise.
47056         (fma_test_downward): Likewise.
47057         (fma_test_upward): Likewise.
47059 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
47061         [BZ #157]
47063         * include/stub-tag.h: Remove file.
47064         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
47065         '#include' of it.
47066         * manual/maint.texi (Porting): Don't reference it.
47067         * Makerules ($(objpfx)stubs): Likewise.
47068         * dirent/closedir.c: Don't include <stub-tag.h>.
47069         * dirent/dirfd.c: Likewise.
47070         * dirent/fdopendir.c: Likewise.
47071         * dirent/getdents.c: Likewise.
47072         * dirent/getdents64.c: Likewise.
47073         * dirent/opendir.c: Likewise.
47074         * dirent/readdir.c: Likewise.
47075         * dirent/readdir64.c: Likewise.
47076         * dirent/readdir64_r.c: Likewise.
47077         * dirent/readdir_r.c: Likewise.
47078         * dirent/rewinddir.c: Likewise.
47079         * dirent/seekdir.c: Likewise.
47080         * dirent/telldir.c: Likewise.
47081         * gmon/profil.c: Likewise.
47082         * grp/setgroups.c: Likewise.
47083         * inet/if_index.c: Likewise.
47084         * io/access.c: Likewise.
47085         * io/chdir.c: Likewise.
47086         * io/chmod.c: Likewise.
47087         * io/chown.c: Likewise.
47088         * io/close.c: Likewise.
47089         * io/dup.c: Likewise.
47090         * io/dup2.c: Likewise.
47091         * io/dup3.c: Likewise.
47092         * io/euidaccess.c: Likewise.
47093         * io/faccessat.c: Likewise.
47094         * io/fchdir.c: Likewise.
47095         * io/fchmod.c: Likewise.
47096         * io/fchmodat.c: Likewise.
47097         * io/fchown.c: Likewise.
47098         * io/fchownat.c: Likewise.
47099         * io/fcntl.c: Likewise.
47100         * io/flock.c: Likewise.
47101         * io/fstatfs.c: Likewise.
47102         * io/fstatfs64.c: Likewise.
47103         * io/fstatvfs.c: Likewise.
47104         * io/fstatvfs64.c: Likewise.
47105         * io/futimens.c: Likewise.
47106         * io/fxstat.c: Likewise.
47107         * io/fxstat64.c: Likewise.
47108         * io/fxstatat.c: Likewise.
47109         * io/fxstatat64.c: Likewise.
47110         * io/getcwd.c: Likewise.
47111         * io/isatty.c: Likewise.
47112         * io/lchmod.c: Likewise.
47113         * io/lchown.c: Likewise.
47114         * io/link.c: Likewise.
47115         * io/linkat.c: Likewise.
47116         * io/lseek.c: Likewise.
47117         * io/lseek64.c: Likewise.
47118         * io/lxstat64.c: Likewise.
47119         * io/mkdir.c: Likewise.
47120         * io/mkdirat.c: Likewise.
47121         * io/mkfifo.c: Likewise.
47122         * io/mkfifoat.c: Likewise.
47123         * io/open.c: Likewise.
47124         * io/open64.c: Likewise.
47125         * io/openat.c: Likewise.
47126         * io/openat64.c: Likewise.
47127         * io/pipe.c: Likewise.
47128         * io/pipe2.c: Likewise.
47129         * io/poll.c: Likewise.
47130         * io/posix_fadvise.c: Likewise.
47131         * io/posix_fadvise64.c: Likewise.
47132         * io/posix_fallocate.c: Likewise.
47133         * io/posix_fallocate64.c: Likewise.
47134         * io/read.c: Likewise.
47135         * io/readlink.c: Likewise.
47136         * io/readlinkat.c: Likewise.
47137         * io/rmdir.c: Likewise.
47138         * io/sendfile.c: Likewise.
47139         * io/sendfile64.c: Likewise.
47140         * io/statfs.c: Likewise.
47141         * io/statfs64.c: Likewise.
47142         * io/statvfs.c: Likewise.
47143         * io/statvfs64.c: Likewise.
47144         * io/symlink.c: Likewise.
47145         * io/symlinkat.c: Likewise.
47146         * io/ttyname.c: Likewise.
47147         * io/ttyname_r.c: Likewise.
47148         * io/umask.c: Likewise.
47149         * io/unlink.c: Likewise.
47150         * io/unlinkat.c: Likewise.
47151         * io/utime.c: Likewise.
47152         * io/utimensat.c: Likewise.
47153         * io/write.c: Likewise.
47154         * io/xmknod.c: Likewise.
47155         * io/xmknodat.c: Likewise.
47156         * io/xstat.c: Likewise.
47157         * io/xstat64.c: Likewise.
47158         * login/getpt.c: Likewise.
47159         * login/grantpt.c: Likewise.
47160         * login/unlockpt.c: Likewise.
47161         * math/e_acoshl.c: Likewise.
47162         * math/e_acosl.c: Likewise.
47163         * math/e_asinl.c: Likewise.
47164         * math/e_atan2l.c: Likewise.
47165         * math/e_atanhl.c: Likewise.
47166         * math/e_coshl.c: Likewise.
47167         * math/e_expl.c: Likewise.
47168         * math/e_fmodl.c: Likewise.
47169         * math/e_gammal_r.c: Likewise.
47170         * math/e_hypotl.c: Likewise.
47171         * math/e_j0l.c: Likewise.
47172         * math/e_j1l.c: Likewise.
47173         * math/e_jnl.c: Likewise.
47174         * math/e_lgammal_r.c: Likewise.
47175         * math/e_log10l.c: Likewise.
47176         * math/e_log2l.c: Likewise.
47177         * math/e_logl.c: Likewise.
47178         * math/e_powl.c: Likewise.
47179         * math/e_rem_pio2l.c: Likewise.
47180         * math/e_sinhl.c: Likewise.
47181         * math/e_sqrtl.c: Likewise.
47182         * math/fclrexcpt.c: Likewise.
47183         * math/fedisblxcpt.c: Likewise.
47184         * math/feenablxcpt.c: Likewise.
47185         * math/fegetenv.c: Likewise.
47186         * math/fegetexcept.c: Likewise.
47187         * math/fegetround.c: Likewise.
47188         * math/feholdexcpt.c: Likewise.
47189         * math/fesetenv.c: Likewise.
47190         * math/fesetround.c: Likewise.
47191         * math/feupdateenv.c: Likewise.
47192         * math/fgetexcptflg.c: Likewise.
47193         * math/fraiseexcpt.c: Likewise.
47194         * math/fsetexcptflg.c: Likewise.
47195         * math/ftestexcept.c: Likewise.
47196         * math/k_cosl.c: Likewise.
47197         * math/k_rem_pio2l.c: Likewise.
47198         * math/k_sinl.c: Likewise.
47199         * math/k_tanl.c: Likewise.
47200         * math/s_asinhl.c: Likewise.
47201         * math/s_atanl.c: Likewise.
47202         * math/s_cbrtl.c: Likewise.
47203         * math/s_erfl.c: Likewise.
47204         * math/s_expm1l.c: Likewise.
47205         * math/s_log1pl.c: Likewise.
47206         * math/s_tanhl.c: Likewise.
47207         * misc/acct.c: Likewise.
47208         * misc/brk.c: Likewise.
47209         * misc/chflags.c: Likewise.
47210         * misc/chroot.c: Likewise.
47211         * misc/fchflags.c: Likewise.
47212         * misc/fgetxattr.c: Likewise.
47213         * misc/flistxattr.c: Likewise.
47214         * misc/fremovexattr.c: Likewise.
47215         * misc/fsetxattr.c: Likewise.
47216         * misc/fsync.c: Likewise.
47217         * misc/ftruncate.c: Likewise.
47218         * misc/futimes.c: Likewise.
47219         * misc/futimesat.c: Likewise.
47220         * misc/getdomain.c: Likewise.
47221         * misc/getdtsz.c: Likewise.
47222         * misc/gethostid.c: Likewise.
47223         * misc/gethostname.c: Likewise.
47224         * misc/getloadavg.c: Likewise.
47225         * misc/getpagesize.c: Likewise.
47226         * misc/getsysstats.c: Likewise.
47227         * misc/getxattr.c: Likewise.
47228         * misc/gtty.c: Likewise.
47229         * misc/ioctl.c: Likewise.
47230         * misc/lgetxattr.c: Likewise.
47231         * misc/listxattr.c: Likewise.
47232         * misc/llistxattr.c: Likewise.
47233         * misc/lremovexattr.c: Likewise.
47234         * misc/lsetxattr.c: Likewise.
47235         * misc/lutimes.c: Likewise.
47236         * misc/madvise.c: Likewise.
47237         * misc/mincore.c: Likewise.
47238         * misc/mlock.c: Likewise.
47239         * misc/mlockall.c: Likewise.
47240         * misc/mmap.c: Likewise.
47241         * misc/mprotect.c: Likewise.
47242         * misc/msync.c: Likewise.
47243         * misc/munlock.c: Likewise.
47244         * misc/munlockall.c: Likewise.
47245         * misc/munmap.c: Likewise.
47246         * misc/preadv.c: Likewise.
47247         * misc/preadv64.c: Likewise.
47248         * misc/ptrace.c: Likewise.
47249         * misc/pwritev.c: Likewise.
47250         * misc/pwritev64.c: Likewise.
47251         * misc/readv.c: Likewise.
47252         * misc/reboot.c: Likewise.
47253         * misc/remap_file_pages.c: Likewise.
47254         * misc/removexattr.c: Likewise.
47255         * misc/revoke.c: Likewise.
47256         * misc/select.c: Likewise.
47257         * misc/setdomain.c: Likewise.
47258         * misc/setegid.c: Likewise.
47259         * misc/seteuid.c: Likewise.
47260         * misc/sethostid.c: Likewise.
47261         * misc/sethostname.c: Likewise.
47262         * misc/setregid.c: Likewise.
47263         * misc/setreuid.c: Likewise.
47264         * misc/setxattr.c: Likewise.
47265         * misc/sstk.c: Likewise.
47266         * misc/stty.c: Likewise.
47267         * misc/swapoff.c: Likewise.
47268         * misc/swapon.c: Likewise.
47269         * misc/sync.c: Likewise.
47270         * misc/syncfs.c: Likewise.
47271         * misc/syscall.c: Likewise.
47272         * misc/truncate.c: Likewise.
47273         * misc/ualarm.c: Likewise.
47274         * misc/usleep.c: Likewise.
47275         * misc/ustat.c: Likewise.
47276         * misc/utimes.c: Likewise.
47277         * misc/vhangup.c: Likewise.
47278         * misc/writev.c: Likewise.
47279         * posix/_exit.c: Likewise.
47280         * posix/alarm.c: Likewise.
47281         * posix/execve.c: Likewise.
47282         * posix/fexecve.c: Likewise.
47283         * posix/fork.c: Likewise.
47284         * posix/fpathconf.c: Likewise.
47285         * posix/getaddrinfo.c: Likewise.
47286         * posix/getegid.c: Likewise.
47287         * posix/geteuid.c: Likewise.
47288         * posix/getgid.c: Likewise.
47289         * posix/getgroups.c: Likewise.
47290         * posix/getlogin.c: Likewise.
47291         * posix/getlogin_r.c: Likewise.
47292         * posix/getpgid.c: Likewise.
47293         * posix/getpid.c: Likewise.
47294         * posix/getppid.c: Likewise.
47295         * posix/getresgid.c: Likewise.
47296         * posix/getresuid.c: Likewise.
47297         * posix/getsid.c: Likewise.
47298         * posix/getuid.c: Likewise.
47299         * posix/glob64.c: Likewise.
47300         * posix/nanosleep.c: Likewise.
47301         * posix/pathconf.c: Likewise.
47302         * posix/pause.c: Likewise.
47303         * posix/posix_madvise.c: Likewise.
47304         * posix/pread.c: Likewise.
47305         * posix/pread64.c: Likewise.
47306         * posix/pwrite.c: Likewise.
47307         * posix/pwrite64.c: Likewise.
47308         * posix/sched_getaffinity.c: Likewise.
47309         * posix/sched_getp.c: Likewise.
47310         * posix/sched_gets.c: Likewise.
47311         * posix/sched_primax.c: Likewise.
47312         * posix/sched_primin.c: Likewise.
47313         * posix/sched_rr_gi.c: Likewise.
47314         * posix/sched_setaffinity.c: Likewise.
47315         * posix/sched_setp.c: Likewise.
47316         * posix/sched_sets.c: Likewise.
47317         * posix/sched_yield.c: Likewise.
47318         * posix/setgid.c: Likewise.
47319         * posix/setlogin.c: Likewise.
47320         * posix/setpgid.c: Likewise.
47321         * posix/setresgid.c: Likewise.
47322         * posix/setresuid.c: Likewise.
47323         * posix/setsid.c: Likewise.
47324         * posix/setuid.c: Likewise.
47325         * posix/sleep.c: Likewise.
47326         * posix/spawni.c: Likewise.
47327         * posix/sysconf.c: Likewise.
47328         * posix/times.c: Likewise.
47329         * posix/wait.c: Likewise.
47330         * posix/wait3.c: Likewise.
47331         * posix/wait4.c: Likewise.
47332         * posix/waitpid.c: Likewise.
47333         * resolv/gai_sigqueue.c: Likewise.
47334         * resource/getpriority.c: Likewise.
47335         * resource/getrlimit.c: Likewise.
47336         * resource/getrusage.c: Likewise.
47337         * resource/nice.c: Likewise.
47338         * resource/setpriority.c: Likewise.
47339         * resource/setrlimit.c: Likewise.
47340         * resource/ulimit.c: Likewise.
47341         * rt/aio_cancel.c: Likewise.
47342         * rt/aio_fsync.c: Likewise.
47343         * rt/aio_read.c: Likewise.
47344         * rt/aio_sigqueue.c: Likewise.
47345         * rt/aio_suspend.c: Likewise.
47346         * rt/aio_write.c: Likewise.
47347         * rt/clock_getres.c: Likewise.
47348         * rt/clock_gettime.c: Likewise.
47349         * rt/clock_nanosleep.c: Likewise.
47350         * rt/clock_settime.c: Likewise.
47351         * rt/lio_listio.c: Likewise.
47352         * rt/mq_close.c: Likewise.
47353         * rt/mq_getattr.c: Likewise.
47354         * rt/mq_notify.c: Likewise.
47355         * rt/mq_open.c: Likewise.
47356         * rt/mq_receive.c: Likewise.
47357         * rt/mq_send.c: Likewise.
47358         * rt/mq_setattr.c: Likewise.
47359         * rt/mq_timedreceive.c: Likewise.
47360         * rt/mq_timedsend.c: Likewise.
47361         * rt/mq_unlink.c: Likewise.
47362         * rt/shm_open.c: Likewise.
47363         * rt/shm_unlink.c: Likewise.
47364         * rt/timer_create.c: Likewise.
47365         * rt/timer_delete.c: Likewise.
47366         * rt/timer_getoverr.c: Likewise.
47367         * rt/timer_gettime.c: Likewise.
47368         * rt/timer_settime.c: Likewise.
47369         * setjmp/__longjmp.c: Likewise.
47370         * setjmp/setjmp.c: Likewise.
47371         * signal/kill.c: Likewise.
47372         * signal/killpg.c: Likewise.
47373         * signal/raise.c: Likewise.
47374         * signal/sigaction.c: Likewise.
47375         * signal/sigaltstack.c: Likewise.
47376         * signal/sigblock.c: Likewise.
47377         * signal/sigignore.c: Likewise.
47378         * signal/sigintr.c: Likewise.
47379         * signal/signal.c: Likewise.
47380         * signal/sigpause.c: Likewise.
47381         * signal/sigpending.c: Likewise.
47382         * signal/sigqueue.c: Likewise.
47383         * signal/sigreturn.c: Likewise.
47384         * signal/sigset.c: Likewise.
47385         * signal/sigsetmask.c: Likewise.
47386         * signal/sigstack.c: Likewise.
47387         * signal/sigsuspend.c: Likewise.
47388         * signal/sigtimedwait.c: Likewise.
47389         * signal/sigvec.c: Likewise.
47390         * signal/sigwait.c: Likewise.
47391         * signal/sigwaitinfo.c: Likewise.
47392         * signal/sysv_signal.c: Likewise.
47393         * socket/accept.c: Likewise.
47394         * socket/accept4.c: Likewise.
47395         * socket/bind.c: Likewise.
47396         * socket/connect.c: Likewise.
47397         * socket/getpeername.c: Likewise.
47398         * socket/getsockname.c: Likewise.
47399         * socket/getsockopt.c: Likewise.
47400         * socket/isfdtype.c: Likewise.
47401         * socket/listen.c: Likewise.
47402         * socket/recv.c: Likewise.
47403         * socket/recvfrom.c: Likewise.
47404         * socket/recvmsg.c: Likewise.
47405         * socket/send.c: Likewise.
47406         * socket/sendmsg.c: Likewise.
47407         * socket/sendto.c: Likewise.
47408         * socket/setsockopt.c: Likewise.
47409         * socket/shutdown.c: Likewise.
47410         * socket/sockatmark.c: Likewise.
47411         * socket/socket.c: Likewise.
47412         * socket/socketpair.c: Likewise.
47413         * stdio-common/ctermid.c: Likewise.
47414         * stdio-common/cuserid.c: Likewise.
47415         * stdio-common/remove.c: Likewise.
47416         * stdio-common/rename.c: Likewise.
47417         * stdio-common/renameat.c: Likewise.
47418         * stdio-common/tempname.c: Likewise.
47419         * stdlib/getcontext.c: Likewise.
47420         * stdlib/makecontext.c: Likewise.
47421         * stdlib/setcontext.c: Likewise.
47422         * stdlib/swapcontext.c: Likewise.
47423         * stdlib/system.c: Likewise.
47424         * streams/fattach.c: Likewise.
47425         * streams/fdetach.c: Likewise.
47426         * streams/getmsg.c: Likewise.
47427         * streams/getpmsg.c: Likewise.
47428         * streams/putmsg.c: Likewise.
47429         * streams/putpmsg.c: Likewise.
47430         * sysdeps/unix/bsd/getpt.c: Likewise.
47431         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
47432         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
47433         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47435         Likewise.
47436         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
47437         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47438         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
47439         * sysvipc/msgctl.c: Likewise.
47440         * sysvipc/msgget.c: Likewise.
47441         * sysvipc/msgrcv.c: Likewise.
47442         * sysvipc/msgsnd.c: Likewise.
47443         * sysvipc/semctl.c: Likewise.
47444         * sysvipc/semget.c: Likewise.
47445         * sysvipc/semop.c: Likewise.
47446         * sysvipc/semtimedop.c: Likewise.
47447         * sysvipc/shmat.c: Likewise.
47448         * sysvipc/shmctl.c: Likewise.
47449         * sysvipc/shmdt.c: Likewise.
47450         * sysvipc/shmget.c: Likewise.
47451         * termios/tcdrain.c: Likewise.
47452         * termios/tcflow.c: Likewise.
47453         * termios/tcflush.c: Likewise.
47454         * termios/tcgetattr.c: Likewise.
47455         * termios/tcgetpgrp.c: Likewise.
47456         * termios/tcsendbrk.c: Likewise.
47457         * termios/tcsetattr.c: Likewise.
47458         * termios/tcsetpgrp.c: Likewise.
47459         * time/adjtime.c: Likewise.
47460         * time/clock.c: Likewise.
47461         * time/getitimer.c: Likewise.
47462         * time/gettimeofday.c: Likewise.
47463         * time/setitimer.c: Likewise.
47464         * time/settimeofday.c: Likewise.
47465         * time/stime.c: Likewise.
47466         * time/time.c: Likewise.
47468 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
47470         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
47471         /usr/old/bin.
47473         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
47474         instead of spaces.
47475         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
47477 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
47479         [BZ #14796]
47480         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
47481         FE_TONEAREST before applying Dekker multiplication and Knuth
47482         addition.  Clear inexact exceptions and check for exact zero
47483         results afterwards.
47484         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47485         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47486         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47487         * math/libm-test.inc (fma_test): Add more tests.
47488         (fma_test_towardzero): Likewise.
47489         (fma_test_downward): Likewise.
47490         (fma_test_upward): Likewise.
47491         * sysdeps/generic/math_private.h (default_libc_fesetround): New
47492         function.
47493         (libc_fesetround): New macro.
47494         (libc_fesetroundf): Likewise.
47495         (libc_fesetroundl): Likewise.
47496         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
47497         function.
47498         (libc_fesetround_387): Likewise.
47499         (libc_fesetroundf): New macro.
47500         (libc_fesetround): Likewise.
47501         (libc_fesetroundl): Likewise.
47502         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
47503         function.
47504         (libc_fesetroundf): New macro.
47505         (libc_fesetround): Likewise.
47506         (libc_fesetroundl): Likewise.
47507         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
47508         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
47509         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
47510         libm_hidden_ver.
47511         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
47512         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
47513         libm_hidden_def.
47514         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
47515         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
47516         libm_hidden_ver.
47517         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
47518         libm_hidden_def.
47520         [BZ #3439]
47521         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
47522         integer constant usable in #if and use that to give value to enum
47523         constant.
47524         (FE_DIVBYZERO): Likewise.
47525         (FE_UNDERFLOW): Likewise.
47526         (FE_OVERFLOW): Likewise.
47527         (FE_INVALID): Likewise.
47528         (FE_INVALID_SNAN): Likewise.
47529         (FE_INVALID_ISI): Likewise.
47530         (FE_INVALID_IDI): Likewise.
47531         (FE_INVALID_ZDZ): Likewise.
47532         (FE_INVALID_IMZ): Likewise.
47533         (FE_INVALID_COMPARE): Likewise.
47534         (FE_INVALID_SOFTWARE): Likewise.
47535         (FE_INVALID_SQRT): Likewise.
47536         (FE_INVALID_INTEGER_CONVERSION): Likewise.
47537         (FE_TONEAREST): Likewise.
47538         (FE_TOWARDZERO): Likewise.
47539         (FE_UPWARD): Likewise.
47540         (FE_DOWNWARD): Likewise.
47541         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
47542         (FE_DIVBYZERO): Likewise.
47543         (FE_OVERFLOW): Likewise.
47544         (FE_UNDERFLOW): Likewise.
47545         (FE_INEXACT): Likewise.
47546         (FE_TONEAREST): Likewise.
47547         (FE_DOWNWARD): Likewise.
47548         (FE_UPWARD): Likewise.
47549         (FE_TOWARDZERO): Likewise.
47550         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
47551         (FE_UNDERFLOW): Likewise.
47552         (FE_OVERFLOW): Likewise.
47553         (FE_DIVBYZERO): Likewise.
47554         (FE_INVALID): Likewise.
47555         (FE_TONEAREST): Likewise.
47556         (FE_TOWARDZERO): Likewise.
47557         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
47558         (FE_OVERFLOW): Likewise.
47559         (FE_UNDERFLOW): Likewise.
47560         (FE_DIVBYZERO): Likewise.
47561         (FE_INEXACT): Likewise.
47562         (FE_TONEAREST): Likewise.
47563         (FE_TOWARDZERO): Likewise.
47564         (FE_UPWARD): Likewise.
47565         (FE_DOWNWARD): Likewise.
47566         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
47567         (FE_DIVBYZERO): Likewise.
47568         (FE_OVERFLOW): Likewise.
47569         (FE_UNDERFLOW): Likewise.
47570         (FE_INEXACT): Likewise.
47571         (FE_TONEAREST): Likewise.
47572         (FE_DOWNWARD): Likewise.
47573         (FE_UPWARD): Likewise.
47574         (FE_TOWARDZERO): Likewise.
47576 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
47578         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
47580 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
47582         * scripts/cross-test-ssh.sh (command): Use newlines to separate
47583         commands.  Quote $PWD.
47584         (blacklist_exports): Don't use remove_newlines.  Replace "declare
47585         -x" by "export".
47586         (remove_newlines): Remove.
47588 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
47590         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
47591         * stdlib/stdlib.h (atof): Moved to ...
47592         * include/bits/stdlib-float.h: Here.  New file.
47593         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
47594         * stdlib/bits/stdlib-float.h: New file.
47595         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
47596         -mno-sse -mno-mmx.
47597         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
47598         <xmmintrin.h>.
47600 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
47602         * conform/conformtest.pl (@headers): Add fenv.h.
47603         * conform/data/fenv.h-data: New file.
47604         * include/fenv.h [_ISOMAC]: Disable all contents of file except
47605         include of <math/fenv.h>.
47607         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
47608         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
47609         && !UNIX98].  Enables tests for XOPEN2K8.
47610         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
47611         POSIX2008]: Likewise.
47613         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
47614         (struct rusage): Do not expect type or its members.
47616         [BZ #3439]
47617         * math/math.h (FP_NAN): Define macro to integer constant usable in
47618         #if and use that to give value to enum constant.
47619         (FP_INFINITE): Likewise.
47620         (FP_ZERO): Likewise.
47621         (FP_SUBNORMAL): Likewise.
47622         (FP_NORMAL): Likewise.
47624 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
47626         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
47627         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
47628         arguments.
47630 2012-11-02  Roland McGrath  <roland@hack.frob.com>
47632         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
47633         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
47634         autoconf-time if not.
47635         * configure.in: Remove AC_PREREQ.
47637 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47639         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
47640         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
47641         of the internal implementation.
47643 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
47645         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
47646         except include of <misc/sys/syslog.h>.
47648 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
47650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
47651         function returns with a NULL context exit with zero.
47653 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47655         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
47657 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
47659         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
47660         (run_program_cmd): This.
47661         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
47662         (tst_langinfo): New variable.  Use it.
47664 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
47666         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
47667         floating point opcodes.
47669 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
47671         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
47672         variable.
47674         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
47676         * sysdeps/mach/hurd/powerpc: Remove directory.
47677         * sysdeps/mach/powerpc: Likewise.
47679 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
47681         * scripts/check-local-headers.sh: Ignore c++ headers.
47683 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
47685         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
47686         __libc_cleanup_region_start argument.
47688 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
47690         [BZ #14784]
47691         [BZ #14785]
47692         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
47693         x * y using scaling, not as x * y + z.
47694         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47695         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47696         * math/libm-test.inc (fma_test): Add more tests.
47697         (fma_test_towardzero): Likewise.
47698         (fma_test_downward): Likewise.
47699         (fma_test_upward): Likewise.
47701 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
47703         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
47705 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
47707         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
47708         New variable.
47710 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
47712         * rt/tst-shm.c (worker): Correct checking for mmap failure.
47714 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
47716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47717         Fix sort order.
47718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47719         Likewise.
47721 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47724         Fix the order of the list for glibc 2.17.
47725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47726         Likewise.
47728 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
47730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47732 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
47734         [BZ #14610]
47735         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
47736         for low part of x being zero before using __atanl (y).
47737         * math/libm-test.inc (atan2_test): Add another test.
47739         * manual/install.texi (Configuring and compiling): Document
47740         general use of test-wrapper and test-wrapper-env.
47741         * INSTALL: Regenerated.
47743         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
47744         (__fma): Do not extract and scale down low bits on after-rounding
47745         systems when result rounded to normal precision would have normal
47746         exponent.
47747         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
47748         (__fmal): Do not extract and scale down low bits on after-rounding
47749         systems when result rounded to normal precision would have normal
47750         exponent.
47751         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
47752         (__fmal): Do not extract and scale down low bits on after-rounding
47753         systems when result rounded to normal precision would have normal
47754         exponent.
47755         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
47756         macro.
47757         (fma_test): Add more tests.
47758         (fma_test_towardzero): Likewise.
47759         (fma_test_downward): Likewise.
47760         (fma_test_upward): Likewise.
47762 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
47764         * sysdeps/i386/tininess.h: Renamed to ...
47765         * sysdeps/x86/tininess.h: This.
47766         * sysdeps/x86_64/tininess.h: Removed.
47768 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
47770         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
47771         input.  Use $(build-program-cmd).
47772         ($(objpfx)tst-array1-static.out): Likewise.
47773         ($(objpfx)tst-array2.out): Likewise.
47774         ($(objpfx)tst-array3.out): Likewise.
47775         ($(objpfx)tst-array4.out): Likewise.
47776         ($(objpfx)tst-array5.out): Likewise.
47777         ($(objpfx)tst-array5-static.out): Likewise.
47779 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
47781         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
47782         if defined.
47784         * nss/nsswitch.h (nss_interface_function): Provide new
47785         macro for use with NSS functions.
47786         * grp/initgroups.c: Use new macro.
47787         * nss/getXXbyYY.c: Likewise.
47788         * nss/getXXbyYY_r.c: Likewise.
47789         * nss/getXXent.c: Likewise.
47790         * nss/getXXent_r.c: Likewise.
47791         * sysdeps/posix/getaddrinfo.c: Likewise.
47793 2012-10-30  Andreas Jaeger  <aj@suse.de>
47795         * po/ru.po: Update Russion translation from translation project.
47797 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
47799         [BZ #14152]
47800         [BZ #14783]
47801         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
47802         result and shift together with sticky bit instead of replicating
47803         round-to-nearest rounding.
47804         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47805         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47806         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
47807         missing underflow exceptions.
47808         (fma_test_towardzero): Add more tests.
47809         (fma_test_downward): Likewise.
47810         (fma_test_upward): Likewise.
47812         [BZ #14047]
47813         * sysdeps/generic/tininess.h: New file.
47814         * sysdeps/i386/tininess.h: Likewise.
47815         * sysdeps/sh/tininess.h: Likewise.
47816         * sysdeps/x86_64/tininess.h: Likewise.
47817         * stdlib/tst-strtod-underflow.c: Likewise.
47818         * stdlib/tst-tininess.c: Likewise.
47819         * stdlib/strtod_l.c: Include <tininess.h>.
47820         (round_and_return): Do not set errno for exact underflow cases.
47821         Force an underflow exception when setting errno for underflow.
47822         Determine underflow based on rounding to normal precision if
47823         TININESS_AFTER_ROUNDING.
47824         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
47825         ERANGE for exact underflow cases.
47826         * stdlib/Makefile (tests): Add tst-tininess and
47827         tst-strtod-underflow.
47828         ($(objpfx)tst-tininess): Use $(link-libm).
47829         ($(objpfx)tst-strtod-underflow): Likewise.
47831 2012-10-30  Andreas Jaeger  <aj@suse.de>
47833         [BZ#14767]
47834         * elf/Makefile (tests): Remove conditional for have-initfini-array
47835         since this is now always required and the variable does not exist
47836         anymore.
47837         (tests-static): Likewise.
47838         (modules-names): Likewise.
47840         * po/eo.po: Add Esperanto translation from translation project.
47842         * elf/tst-array1.c (fini_array): Make writeable so that it can be
47843         merged with constructor/destructor.
47844         (init_array): Likewise.
47845         * elf/tst-array2dep.c (fini_array): Likewise.
47846         (init_array): Likewise.
47848 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
47850         * manual/message.texi: Delete @cartouche tags.
47852 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
47854         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
47855         EOPNOTSUPP.
47856         * sysdeps/mach/hurd/fsync.c: Likewise.
47858         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
47859         [_POSIX_REALTIME_SIGNALS]: Change condition to
47860         [_POSIX_REALTIME_SIGNALS > 0].
47862 2012-10-27  Andreas Jaeger  <aj@suse.de>
47864         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
47865         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
47866         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
47867         [__WORDSIZE != 64]: Likewise.
47869 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
47871         *  iconvdata/tst-table.sh: Remove ${SHELL}.
47872         *  iconvdata/tst-tables.sh: Likewise.
47874 2012-10-25  David S. Miller  <davem@davemloft.net>
47876         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47877         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
47878         of strtoull.
47880         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
47881         ifunc-impl-list.c
47882         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47883         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
47884         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
47885         file.
47887 2012-10-25  Roland McGrath  <roland@hack.frob.com>
47889         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47890         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
47891         __getdirentries.
47893 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
47894             Jim Blandy  <jimb@codesourcery.com>
47896         * scripts/cross-test-ssh.sh: New file.
47897         * manual/install.texi (Configuring and compiling): Document use of
47898         cross-test-ssh.sh.
47899         * INSTALL: Regenerated.
47901 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
47903         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
47904         EOPNOTSUPP.
47906 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
47908         * Makeconfig (run-program-prefix): Fix comment.
47910 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
47911             Jim Blandy  <jimb@codesourcery.com>
47913         * Makeconfig (test-wrapper): New variable,
47914         (test-wrapper-env): Likewise.
47915         [$(cross-compiling) = yes && $(test-wrapper) != ""]
47916         (run-built-tests): Define to yes.
47917         (run-program-prefix): Use $(test-wrapper).
47918         (built-program-cmd): Likewise.
47919         * Rules (make-test-out): Use $(test-wrapper-env) and
47920         $(host-built-program-cmd).
47921         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
47922         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
47923         tst-pathopt.sh.
47924         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
47925         $(test-wrapper-env) to tst-rtld-load-self.sh.
47926         ($(objpfx)order2.out): Use $(test-wrapper).
47927         ($(objpfx)tst-initorder.out): Likewise.
47928         ($(objpfx)tst-initorder2.out): Likewise.
47929         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
47930         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
47931         (test_wrapper_env): New variable.  Use it to run ld.so.
47932         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
47933         Use it to run ld.so.
47934         (test_wrapper_env): Likewise.
47935         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
47936         $(test-wrapper) to run-iconv-test.sh.
47937         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
47938         (ICONV): Use $test_wrapper.
47939         * posix/Makefile ($(objpfx)globtest.out): Pass
47940         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
47941         globtest.sh, not $(run-program-prefix).
47942         * posix/globtest.sh (run_via_rtld_prefix): New variable.
47943         (test_wrapper): Likewise.
47944         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
47945         set together with run_via_rtld_prefix.
47946         (run_program_prefix): Define in terms of test_wrapper and
47947         run_via_rtld_prefix.
47949 2012-10-24  Roland McGrath  <roland@hack.frob.com>
47951         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
47952         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
47953         Targets removed.
47955         [BZ #14743]
47956         * include/time.h: Remove librt_hidden_proto (clock_gettime).
47957         Declare __clock_getres, __clock_gettime, __clock_settime,
47958         __clock_nanosleep, and __clock_getcpuclockid.
47959         * rt/clock_gettime.c: Define __clock_gettime as an alias.
47960         Remove librt_hidden_def (clock_gettime).
47961         * sysdeps/unix/clock_gettime.c: Likewise.
47962         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
47963         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
47964         * rt/clock_getres.c: Define __clock_getres as an alias.
47965         * sysdeps/posix/clock_getres.c: Likewise.
47966         * rt/clock_settime.c: Define __clock_settime as an alias.
47967         * sysdeps/unix/clock_settime.c: Likewise.
47968         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
47969         * sysdeps/unix/clock_nanosleep.c: Likewise.
47970         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
47971         * rt/clock-compat.c: New file.
47972         * rt/Makefile (librt-routines): Add clock-compat and move
47973         $(clock-routines) to ...
47974         (routines): ... here, new variable.
47975         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
47976         Don't add get_clockfreq here.
47977         * rt/Versions (libc: GLIBC_2.17): New version set.
47978         Add clock_* symbols here.
47979         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
47980         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
47981         (GLIBC_2.17): Add clock_* symbols.
47982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47984         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47986         Likewise.
47987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47988         Likewise.
47989         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47993         * NEWS: Mention the move.
47995         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
47996         Use __open, __read, __close rather than their public counterparts.
47997         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47998         (__get_clockfreq_via_cpuinfo): Likewise.
47999         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
48000         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
48002         * config.h.in (HAVE_IFUNC): New #undef.
48003         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
48004         was successful.
48005         * configure: Regenerated.
48007 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
48009         * configure.in: Move READELF check to start of file.
48010         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
48011         libc_cv_asm_gnu_indirect_function in the process.
48012         * configure: Regenerated.
48014 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
48016         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
48017         send the output to /dev/null.
48018         (libc_cv_cc_with_libunwind): Likewise.
48019         (libc_cv_as_noexecstack): Likewise.
48020         * configure: Regenerate.
48022 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
48024         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
48026         * posix/globtest.sh (TMPDIR): Do not set.
48027         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
48028         (testout): Likewise.
48030 2012-10-24  Andreas Jaeger  <aj@suse.de>
48032         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
48033         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
48034         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
48035         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
48036         posix_fadvise64, posix_fallocate64.
48038         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
48039         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
48040         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
48041         Likewise.
48042         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
48043         Likewise.
48044         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
48046         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
48047         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
48048         <bits/fcntl-linux.h>.
48049         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
48051         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
48052         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
48053         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
48054         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
48055         [__WORDSIZE != 64]: Likewise.
48057 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
48059         * Makeconfig (run-built-tests): New variable.
48060         * Rules [$(cross-compiling) = yes]: Change condition to
48061         [$(run-built-tests) = no].
48062         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
48063         to [$(run-built-tests) = yes].
48064         * elf/Makefile [$(cross-compiling) = no]: Likewise
48065         * grp/Makefile [$(cross-compiling) = no]: Likewise.
48066         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
48067         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
48068         * intl/Makefile [$(cross-compiling) = no]: Likewise.
48069         * io/Makefile [$(cross-compiling) = no]: Likewise.
48070         * libio/Makefile [$(cross-compiling) = no]: Likewise.
48071         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
48072         * misc/Makefile [$(cross-compiling) = no]: Likewise.
48073         * posix/Makefile [$(cross-compiling) = no]: Likewise.
48074         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
48075         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
48076         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
48077         * string/Makefile [$(cross-compiling) = no]: Likewise.
48079         * posix/Makefile ($(objpfx)globtest.out): Pass
48080         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
48081         $(rtld-installed-name).
48082         * posix/globtest.sh (elf_objpfx): Remove variable.
48083         (rtld_installed_name): Likewise.
48084         (library_path): Likewise.
48085         (run_program_prefix): New variable.  Use for running globtest
48086         binary.
48088 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
48089             Joseph Myers  <joseph@codesourcery.com>
48091         * Makeconfig (host-built-program-cmd): New variable.
48092         * elf/Makefile (tst-stackguard1-ARGS): Use
48093         $(host-built-program-cmd).
48094         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
48095         (tst-spawn-ARGS): Likewise.
48096         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
48098 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
48099             Jim Blandy  <jimb@codesourcery.com>
48101         * Makeconfig (run-via-rtld-prefix): New variable.
48102         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
48103         (built-program-cmd): Likewise.
48105 2012-10-22  Andreas Jaeger  <aj@suse.de>
48107         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
48108         __O_RSYNC if it exists, otherwise to O_SYNC.
48110 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
48111             Joseph Myers  <joseph@codesourcery.com>
48113         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
48114         /dev/null.
48115         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
48116         from /dev/null
48117         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
48118         /dev/null.
48120 2012-10-22  Andreas Jaeger  <aj@suse.de>
48122         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
48123         Define always.
48124         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
48126         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48127         bits/fcntl-linux.h.
48129         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
48130         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
48132         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
48133         to __O_LARGEFILE.
48134         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
48135         to __O_LARGEFILE.
48137 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
48138             Joseph Myers  <joseph@codesourcery.com>
48140         * config.make.in (NM): New variable.
48142 2012-10-21  Andreas Jaeger  <aj@suse.de>
48144         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
48145         definitions and declarations that are provided by
48146         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
48148 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
48150         [BZ #14683]
48151         * elf/Makefile (tests-static): Add tst-leaks1-static.
48152         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
48153         ($(objpfx)tst-leaks1-static): New rule.
48154         ($(objpfx)tst-leaks1-static-mem): Likewise.
48155         (tst-leaks1-static-ENV): New macro.
48156         * elf/dl-open.c (dl_open_worker): Check the main application
48157         only if SHARED is defined.
48158         * elf/tst-leaks1-static.c: New file.
48160 2012-10-20  Andreas Jaeger  <aj@suse.de>
48162         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
48163         generic values for Linux.
48164         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
48165         and declarations that are provided by <bits/fcntl-linux.h> and
48166         include <bits/fcntl-linux.h>.
48167         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48168         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48170 2012-10-20  Roland McGrath  <roland@hack.frob.com>
48172         * io/fcntl.h: Move include of <bits/types.h> to the top and
48173         include it unconditionally.
48175 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
48177         * wcsmbs/Makefile (tests-ifunc): New variable.
48178         (tests): Add $(tests-ifunc).
48179         * wcsmbs/test-wcschr-ifunc.c: New file.
48180         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
48181         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
48182         * wcsmbs/test-wcslen-ifunc.c: Likewise.
48183         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
48184         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
48186         * string/Makefile (tests-ifunc): New variable.
48187         (tests): Add $(tests-ifunc).
48188         * string/test-memccpy.c (TEST_NAME): New macro.
48189         * string/test-memchr.c (TEST_NAME): Likewise.
48190         * string/test-memcmp.c (TEST_NAME): Likewise.
48191         * string/test-memcpy.c (TEST_NAME): Likewise.
48192         * string/test-memmem.c (TEST_NAME): Likewise.
48193         * string/test-memmove.c (TEST_NAME): Likewise.
48194         * string/test-memset.c (TEST_NAME): Likewise.
48195         * string/test-rawmemchr.c (TEST_NAME): Likewise.
48196         * string/test-stpcpy.c (TEST_NAME): Likewise.
48197         * string/test-stpncpy.c (TEST_NAME): Likewise.
48198         * string/test-strcasecmp.c (TEST_NAME): Likewise.
48199         * string/test-strcasestr.c (TEST_NAME): Likewise.
48200         * string/test-strcat.c (TEST_NAME): Likewise.
48201         * string/test-strchr.c (TEST_NAME): Likewise.
48202         * string/test-strcmp.c(TEST_NAME): Likewise.
48203         * string/test-strcpy.c (TEST_NAME): Likewise.
48204         * string/test-strcspn.c (TEST_NAME): Likewise.
48205         * string/test-strlen.c (TEST_NAME): Likewise.
48206         * string/test-strncasecmp.c (TEST_NAME): Likewise.
48207         * string/test-strncmp.c (TEST_NAME): Likewise.
48208         * string/test-strncpy.c (TEST_NAME): Likewise.
48209         * string/test-strnlen.c (TEST_NAME): Likewise.
48210         * string/test-strpbrk.c (TEST_NAME): Likewise.
48211         * string/test-strrchr.c (TEST_NAME): Likewise.
48212         * string/test-strspn.c (TEST_NAME): Likewise.
48213         * string/test-strstr.c (TEST_NAME): Likewise.
48214         * string/test-bcopy-ifunc.c: New file.
48215         * string/test-bzero-ifunc.c: Likewise.
48216         * string/test-memccpy-ifunc.c: Likewise.
48217         * string/test-memchr-ifunc.c: Likewise.
48218         * string/test-memcmp-ifunc.c: Likewise.
48219         * string/test-memcpy-ifunc.c: Likewise.
48220         * string/test-memmem-ifunc.c: Likewise.
48221         * string/test-memmove-ifunc.c: Likewise.
48222         * string/test-mempcpy-ifunc.c: Likewise.
48223         * string/test-memset-ifunc.c: Likewise.
48224         * string/test-rawmemchr-ifunc.c: Likewise.
48225         * string/test-stpcpy-ifunc.c: Likewise.
48226         * string/test-stpncpy-ifunc.c: Likewise.
48227         * string/test-strcasecmp-ifunc.c: Likewise.
48228         * string/test-strcasestr-ifunc.c: Likewise.
48229         * string/test-strcat-ifunc.c: Likewise.
48230         * string/test-strchr-ifunc.c: Likewise.
48231         * string/test-strchrnul-ifunc.c: Likewise.
48232         * string/test-strcmp-ifunc.c: Likewise.
48233         * string/test-strcpy-ifunc.c: Likewise.
48234         * string/test-strcspn-ifunc.c: Likewise.
48235         * string/test-strlen-ifunc.c: Likewise.
48236         * string/test-strncasecmp-ifunc.c: Likewise.
48237         * string/test-strncat-ifunc.c: Likewise.
48238         * string/test-strncmp-ifunc.c: Likewise.
48239         * string/test-strncpy-ifunc.c: Likewise.
48240         * string/test-strnlen-ifunc.c: Likewise.
48241         * string/test-strpbrk-ifunc.c: Likewise.
48242         * string/test-strrchr-ifunc.c: Likewise.
48243         * string/test-strspn-ifunc.c: Likewise.
48244         * string/test-strstr-ifunc.c: Likewise.
48246         * debug/Makefile (tests-ifunc): New variable.
48247         (tests): Add $(tests-ifunc).
48248         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
48249         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
48250         * debug/test-stpcpy_chk-ifunc.c: New file.
48251         * debug/test-strcpy_chk-ifunc.c: Likewise.
48253 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48255         [BZ #13601]
48256         * elf/dl-load.c (open_verify): Retry read if the entire ELF
48257         header is not read in.
48259 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
48261         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
48262         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
48263         directly.  Pass built executable to script as
48264         $(built-program-cmd).
48265         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
48266         $testprogram without using LD_LIBRARY_PATH and $ldso.
48268         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
48269         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
48270         $(rtld-installed-name).
48271         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
48272         (rtld_installed_name): Likewise.
48273         (library_path): Likewise.
48274         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
48275         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
48276         $(run-program-prefix) to tst-tables.sh.
48277         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
48278         it to run tst-table-from and tst-table-to.
48279         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
48280         Pass it to tst-table.sh.
48281         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
48282         $(run-program-prefix) to tst-gettext.sh.
48283         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
48284         tst-translit.sh.
48285         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
48286         tst-gettext2.sh.
48287         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
48288         to run tst-gettext.
48289         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
48290         to run tst-gettext2.
48291         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
48292         to run tst-translit.
48293         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
48294         $(run-program-prefix) to tst-mtrace.sh.
48295         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
48296         to run tst-mtrace.
48297         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
48298         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
48299         $(rtld-installed-name).
48300         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
48301         (rtld_installed_name): Likewise.
48302         (run_program_prefix): New variable.  Use it to run wordexp-test.
48304         * Makeconfig (ARCH): Remove all definitions.
48305         (machine): Likewise.
48306         [ARCH]: Remove conditional code.
48307         [!objdir]: Give error.
48308         [!objdir] (objpfx): Remove.
48309         [!objdir] (common-objpfx): Likewise.
48310         [!objdir] (common-objdir): Likewise.
48311         * configure.in (config_makefile): Remove.  Hardcode Makefile in
48312         AC_CONFIG_FILES call.
48313         * configure: Regenerated.
48315         [BZ #13888]
48316         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
48317         or TMPDIR.
48318         (testout): Likewise.
48320         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
48321         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
48322         $(rtld-installed-name).
48323         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
48324         (rtld_installed_name): Likwise.
48325         (runit): Remove function.
48326         (run_getconf): New variable,  Use it for running getconf binary.
48328 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
48330         [BZ #14716]
48331         * string/test-memmem.c (check_result): New function.
48332         (do_one_test): Use it.
48333         (check1): New function.
48334         (test_main): Use it.
48336 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
48338         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
48340 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
48342         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
48343         (_G_LSEEK64): Likewise.
48344         (_G_MMAP64): Likewise.
48345         (_G_FSTAT64): Likewise.
48346         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
48347         (_G_LSEEK64): Likewise.
48348         (_G_MMAP64): Likewise.
48349         (_G_FSTAT64): Likewise.
48350         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
48351         unconditional.  Call __mmap64 directly.
48352         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
48353         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
48354         __lseek64 directly.
48355         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
48356         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
48357         __mmap64 directly.
48358         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
48359         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
48360         __lseek64 directly.
48361         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
48362         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
48363         __lseek64 directly.
48364         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
48365         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
48366         __lseek64 directly.
48367         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
48368         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
48369         __fxstat64 directly.
48370         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
48371         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
48372         unconditional.
48373         (freopen64) [!_G_OPEN64]: Remove conditional code.
48374         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
48375         unconditional.
48376         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
48377         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
48378         unconditional.
48379         (ftello64) [!_G_LSEEK64]: Remove conditional code.
48380         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
48381         unconditional.
48382         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
48383         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
48384         unconditional.
48385         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
48386         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
48387         unconditional.
48388         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
48389         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
48390         unconditional.
48391         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
48392         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
48393         unconditional.
48394         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
48396 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48398         [BZ #12140]
48399         * manual/memory.texi (Malloc Tunable Parameters): Add note
48400         about free list pointers overwriting some perturb bytes.
48401         Wording suggested by Roland McGrath.
48403 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
48405         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
48406         (lgamma_test): Likewise.
48407         (tgamma_test): Likewise.
48409 2012-10-16  Florian Weimer  <fweimer@redhat.com>
48411         [BZ #14700]
48412         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
48413         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
48415 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
48417         * NEWS: Mention BZ #14716.
48418         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
48419         when removing AVAILABLE1_USES_J macro.
48421 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
48423         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
48424         (__bswap_64): __uint64_t for unsigned 64-bit int.
48426 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
48428         * include/string.h (memmem): Declare libc hidden alias.
48429         * string/memmem.c (memmem): Define libc hidden alias.
48430         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
48431         __read, __close instead of open, read, close.
48433 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
48435         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
48436         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
48437         global and hidden.
48438         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
48439         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
48440         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
48441         Likewise.
48442         (__rawmemchr_sse2): Likewise.
48443         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
48444         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
48445         (__strchr_sse2): Likewise.
48446         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
48447         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
48448         (__strcasecmp_sse2): Likewise.
48449         (__strncasecmp_sse2): Likewise.
48450         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
48451         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
48452         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
48453         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
48454         (__strrchr_sse2): Likewise.
48455         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
48456         ifunc-impl-list.c.
48457         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
48458         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
48459         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
48460         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48461         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
48462         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
48463         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48464         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48465         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
48466         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
48467         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
48468         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
48469         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
48470         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
48471         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
48472         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48473         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
48474         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
48475         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
48476         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
48477         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
48478         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
48479         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
48480         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
48481         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
48482         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48483         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
48484         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48485         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
48486         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
48488         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
48489         global and hidden.
48490         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
48491         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
48492         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
48493         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
48494         Likewise.
48495         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
48496         Likewise.
48497         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
48498         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
48499         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
48500         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
48501         ifunc-impl-list.c.
48502         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48503         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48504         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48505         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48506         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48507         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48508         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48509         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48510         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48511         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48512         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48513         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48514         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48515         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
48516         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
48517         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48518         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
48519         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
48520         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48521         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48522         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48523         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48524         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48525         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48526         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48527         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
48528         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
48529         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
48530         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
48531         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48532         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
48533         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48534         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48535         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
48536         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48537         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48538         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48539         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48540         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48541         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48542         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
48544         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
48545         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
48546         * include/ifunc-impl-list.h: New file.
48547         * misc/ifunc-impl-list.c: Likewise.
48548         * misc/Makefile (routines): Add ifunc-impl-list.
48549         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
48550         * string/test-string.h: Include <ifunc-impl-list.h>.
48551         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
48552         TEST_NAME]: New variables.
48553         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
48554         are defined.
48555         (test_init): Call __libc_ifunc_impl_list to initialize
48556         func_list if TEST_IFUNC and TEST_NAME are defined.
48558         * string/Makefile (strop-tests): Add bcopy and bzero.
48559         * string/test-bcopy.c: New file.
48560         * string/test-bzero.c: Likewise.
48561         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
48562         defined.
48563         * string/test-memset.c: Support bzero test if TEST_BZERO is
48564         defined.
48565         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
48566         __libc_memmove.
48567         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
48568         __libc_memset.
48569         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
48570         of memset.
48572 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
48574         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
48575         * configure: Regenerated.
48577         * Makeconfig (+link-static-before-libc): Don't include
48578         $(link-static-libc).
48580         * libio/libio.h (_IO_pos_t): Remove.
48582 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
48584         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
48585         McGrath.
48587 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
48589         * crypt/crypt-entry.c: Include fips-private.h.
48590         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
48591         * crypt/md5c-test.c (main): Tolerate disabled MD5.
48592         * sysdeps/unix/sysv/linux/fips-private.h: New file.
48593         * sysdeps/generic/fips-private.h: New file, dummy fallback.
48595 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
48597         * crypt/crypt-private.h: Include stdbool.h.
48598         (_ufc_setup_salt_r): Return bool.
48599         * crypt/crypt-entry.c: Include errno.h.
48600         (__crypt_r): Return NULL with EINVAL for bad salt.
48601         * crypt/crypt_util.c (bad_for_salt): New.
48602         (_ufc_setup_salt_r): Check that salt is long enough and within
48603         the specified alphabet.
48604         * crypt/badsalttest.c: New file.
48605         * crypt/Makefile (tests): Add it.
48606         ($(objpfx)badsalttest): New.
48608 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
48610         * NEWS: Add entry for BZ #14602.
48612 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
48614         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
48615         type-generic.
48616         * math/libm-test.inc: Update comment listing what functions and
48617         macros are tested.
48618         (isgreater_test): New function.
48619         (isgreaterequal_test): Likewise.
48620         (isless_test): Likewise.
48621         (islessequal_test): Likewise.
48622         (islessgreater_test): Likewise.
48623         (isunordered_test): Likewise.
48624         (main): Call the new functions.
48626 2012-10-09  Roland McGrath  <roland@hack.frob.com>
48628         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
48629         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
48630         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
48631         * sysdeps/i386/configure: Regenerated.
48632         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
48633         * sysdeps/mach/configure: Regenerated.
48634         * sysdeps/mach/hurd/configure: Regenerated.
48635         * sysdeps/powerpc/configure: Regenerated.
48636         * sysdeps/powerpc/powerpc32/configure: Regenerated.
48637         * sysdeps/powerpc/powerpc64/configure: Regenerated.
48638         * sysdeps/s390/s390-32/configure: Regenerated.
48639         * sysdeps/s390/s390-64/configure: Regenerated.
48640         * sysdeps/sh/configure: Regenerated.
48641         * sysdeps/sparc/configure: Regenerated.
48642         * sysdeps/unix/sysv/linux/configure: Regenerated.
48643         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
48644         * sysdeps/x86_64/configure: Regenerated.
48646         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
48647         defined.  Don't check if MAP is NULL.
48649 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
48651         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
48652         (_G_stat64): Likewise.
48653         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
48654         (_G_stat64): Likewise.
48655         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
48656         instead of struct _G_stat64.
48657         * libio/fileops.c (mmap_remap_check): Likewise.
48658         (decide_maybe_mmap): Likewise.
48659         (_IO_new_file_seekoff): Likewise.
48660         (_IO_file_stat): Likewise.
48661         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
48662         _G_off64_t.
48663         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
48664         instead of struct _G_stat64.
48665         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
48667 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
48669         [BZ #14602]
48670         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
48671         Replace with ...
48672         (CHECK_EOL): New macro.
48673         (two_way_short_needle): Check beginning of haystack for EOL.  Use
48674         CHECK_EOL.
48675         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
48676         Replace with CHECK_EOL.
48677         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
48678         Replace with CHECK_EOL.
48680 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
48682         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
48683         type-generic.
48684         * math/libm-test.inc: Update comment listing what functions and
48685         macros are tested.
48686         (finite_test): New function.
48687         (isinf_test): Likewise.
48688         (isnan_test): Likewise.
48689         (fpclassify_test): Test subnormal input.
48690         (isfinite_test): Likewise.
48691         (isnormal_test): Likewise.
48692         (main): Call the new functions.
48694 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
48696         [BZ #14660]
48697         * Makerules (%.dynsym): Force C locale when running
48698         $(OBJDUMP) --dynamic-syms.
48700 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
48702         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
48703         <stdint.h>.
48705 2012-10-06  David S. Miller  <davem@davemloft.net>
48707         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
48708         upper 32-bits of the length value in %o2 since we use branch-on-register
48709         tests which consider the entire 64-bit register.
48711 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
48713         * string/test-strstr.c (check2): Add a test for page boundary.
48715 2012-10-05  David S. Miller  <davem@davemloft.net>
48717         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
48718         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
48719         file.
48720         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
48721         sysdep_routines.
48722         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
48723         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
48724         and bzero when HWCAP_SPARC_CRYPTO is present.
48726 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
48728         [BZ #14602]
48729         * string/test-strstr.c (check2): New function.
48730         (test_main): Call check2.
48732         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
48733         and bug-strchr1.
48734         * string/bug-strcasestr1.c (do_test): Moved to ...
48735         * string/test-strcasestr.c (check1): Here.  New function.
48736         (do_one_test): Break out result checking code into ...
48737         (check_result): This.  New function.
48738         (do_one_test): Call check_result.
48739         (test_main): Call check1.
48740         * string/bug-strchr1.c (do_test): Moved to ...
48741         * string/test-strchr.c (check1): Here.  New function.
48742         (do_one_test): Break out result checking code into ...
48743         (check_result): This.  New function.
48744         (do_one_test): Call check_result.
48745         (test_main): Call check1.
48746         * string/bug-strstr1.c (main): Moved to ...
48747         * string/test-strstr.c (check1): Here.  New function.
48748         (do_one_test): Break out result checking code into ...
48749         (check_result): This.  New function.
48750         (do_one_test): Call check_result.
48751         (test_main): Call check1.
48752         * string/bug-strcasestr1.c: Removed.
48753         * string/bug-strchr1.c: Likewise.
48754         * string/bug-strstr1.c: Likewise.
48756         * elf/Makefile (dl-routines): Add hwcaps.
48757         * elf/dl-support.c (_dl_important_hwcaps): Removed.
48758         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
48759         (_dl_important_hwcaps): Moved to ...
48760         * elf/dl-hwcaps.c: Here.  New file.
48761         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
48763         [BZ #14557]
48764         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
48765         if IS_IN_rtld isn't defined.
48767         * elf/dl-support.c (_dl_sysinfo_map): New.
48768         Include "get-dynamic-info.h" and "setup-vdso.h".
48769         (_dl_non_dynamic_init): Call setup_vdso.
48770         * elf/dynamic-link.h: Don't include <assert.h>.
48771         (elf_get_dynamic_info): Moved to ...
48772         * elf/get-dynamic-info.h: Here.  New file.
48773         * elf/dynamic-link.h: Include "get-dynamic-info.h".
48774         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
48775         * elf/setup-vdso.h: Here.  New file.
48776         * elf/rtld.c: Include "setup-vdso.h".
48777         (dl_main): Call setup_vdso.
48779 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
48781         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
48782         creal in comment listing functions tested.  List finite, isinf,
48783         isnan, isless, islessequal, isgreater, isgreaterequal,
48784         islessgreater, isunordered, lgamma_r and pow10 as functions and
48785         macros not tested.  Mention which functions not tested are aliases
48786         for other functions.  Fix typo.  Note that signs of NaNs are not
48787         tested.
48789         * scripts/config.guess: Update from config.git.
48790         * scripts/config.sub: Likewise.
48792 2012-10-04  Roland McGrath  <roland@hack.frob.com>
48794         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
48795         * misc/madvise.c (madvise): Renamed to __madvise.
48796         Make madvise a weak alias.
48797         * include/sys/mman.h: Declare __madvise.
48798         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
48799         * sysdeps/unix/syscalls.list
48800         (madvise): Make __madvise the strong name, and madvise a weak alias.
48801         * sysdeps/unix/sysv/linux/syscalls.list
48802         (madvise, mmap): Remove redundant entries.
48803         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
48804         * malloc/malloc.c (mtrim): Likewise.
48805         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
48807 2012-10-03  Roland McGrath  <roland@hack.frob.com>
48809         * sysdeps/mach/hurd/dl-cache.c: File removed.
48810         * config.h.in (USE_LDCONFIG): New #undef.
48811         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
48812         * configure: Regenerated.
48813         * elf/Makefile (dl-routines): Add dl-cache only under
48814         [$(use-ldconfig) = yes].
48815         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
48816         cache on [USE_LDCONFIG].
48817         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
48818         [USE_LDCONFIG].
48819         * elf/rtld.c (dl_main): Likewise.
48821 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
48823         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
48824         _SC_LEVEL4_CACHE_LINESIZE.
48826 2012-10-03  Roland McGrath  <roland@hack.frob.com>
48828         * sysdeps/unix/bsd/confstr.h: File removed.
48830 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
48832         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
48833         sys/sdt-config.h.
48835 2012-10-02  Roland McGrath  <roland@hack.frob.com>
48837         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
48838         Make 'mapoff' field ElfW(Off) rather than off_t.
48840 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
48842         * nscd/Makefile: Remove nscd-cflags and all its users.
48843         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
48844         (CFLAGS-nonlib): Add compiler flags for nscd modules.
48846         [BZ #10631]
48847         * malloc.c (malloc_printerr): Clarify error message.
48849 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
48851         [BZ #14648]
48852         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48853         Set bit_FMA_Usable if FMA is supported.
48854         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
48855         macro.
48856         (bit_FMA4_Usable): Updated.
48857         (index_FMA_Usable): New macro.
48858         (CPUID_FMA): Likewise
48859         (HAS_FMA): Defined with bit_FMA_Usable.
48861 2012-10-01  Roland McGrath  <roland@hack.frob.com>
48863         * bits/types.h (__swblk_t): Type removed.
48864         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
48865         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
48866         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48867         (__SWBLK_T_TYPE): Likewise.
48868         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48869         (__SWBLK_T_TYPE): Likewise.
48870         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48871         (__SWBLK_T_TYPE): Likewise.
48872         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48873         (__SWBLK_T_TYPE): Likewise.
48875 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
48876             Honza Horak <hhorak@redhat.com>
48878         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
48879         (xdr_mapname): Use YPMAXMAP as maxsize.
48880         (xdr_peername): Use YPMAXPEER as maxsize.
48881         (xdr_keydat): Use YPAXRECORD as maxsize.
48882         (xdr_valdat): Use YPMAXRECORD as maxsize.
48884 2012-10-01  Roland McGrath  <roland@hack.frob.com>
48886         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
48888         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
48889         * csu/init-first.c: ... here.
48890         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
48891         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
48892         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
48893         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
48894         * sysdeps/i386/init-first.c: File removed.
48895         * sysdeps/sh/init-first.c: File removed.
48897 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
48899         [BZ #14645]
48900         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
48901         if x * y might underflow to zero and z is zero.
48902         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48903         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48904         * math/libm-test.inc (min_subnorm_value): New variable.
48905         (fma_test): Add more tests.
48906         (fma_test_towardzero): Likewise.
48907         (fma_test_downward): Likewise
48908         (fma_test_upward): Likewise.
48909         (initialize): Set min_subnorm_value.
48911 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
48913         [BZ #14638]
48914         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
48915         0 + 0.
48916         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
48917         mode for addition resulting in exact zero.
48918         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
48919         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
48920         exact 0 + 0.
48921         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
48922         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48923         * math/libm-test.inc (fma_test): Add more tests.
48924         (fma_test_towardzero): New function.
48925         (fma_test_downward): Likewise.
48926         (fma_test_upward): Likewise.
48927         (main): Call the new functions.
48929 2012-09-28  David S. Miller  <davem@davemloft.net>
48931         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
48933 2012-09-28  Roland McGrath  <roland@hack.frob.com>
48935         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
48936         instead of SIGALRM.
48938         * sysdeps/gnu/_G_config.h: Moved to ...
48939         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
48940         * sysdeps/mach/hurd/_G_config.h: Moved to ...
48941         * sysdeps/generic/_G_config.h: ... here.
48943         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
48945         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
48947         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
48948         Conditionalize target on [libnss_test1.so-version].
48950         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
48952         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
48953         (elfobjdir): Move out of conditionals.
48955         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
48956         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
48957         (__nss_lookup_function): Conditionalize label remove_from_tree on
48958         [!DO_STATIC_NSS || SHARED], matching its only use.
48960 2012-09-28  David S. Miller  <davem@davemloft.net>
48962         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
48963         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
48964         file.
48965         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
48966         sysdep_routines.
48967         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
48968         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
48969         when HWCAP_SPARC_CRYPTO is present.
48971 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
48973         * io/tst-mknodat.c: Create a FIFO instead of a socket.
48975 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
48977         [BZ #6530]
48978         * stdio-common/vfprintf.c (process_string_arg): Revert
48979         2000-07-22 change.
48981 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
48983         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
48984         for testcase.
48985         * stdio-common/tst-sprintf.c: Include <locale.h>
48986         (main): Test sprintf's handling of incomplete multibyte
48987         characters.
48989 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
48991         * elf/dl-runtime.c (VERSYMIDX): Removed.
48992         * elf/dl-version.c (VERSYMIDX): Likewise.
48993         * elf/do-rel.h (VERSYMIDX): Likewise.
48994         (VALIDX): Likewise.
48995         * elf/dynamic-link.h (VERSYMIDX): Likewise.
48996         * elf/rtld.c (VALIDX): Likewise.
48997         (ADDRIDX): Likewise.
48998         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
48999         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
49000         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
49001         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
49002         (VALIDX): Likewise.
49003         (ADDRIDX): Likewise.
49005 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49007         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
49009 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
49011         [BZ #11438]
49012         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
49013         to global scope.
49014         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
49015         addresses are in the same scope as 192.0.2/24.
49016         * posix/gai.conf: Document new scope table defaults.
49018 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49020         [BZ #5298]
49021         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
49022         for ftell.  Compute offsets from write pointers instead.
49023         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
49025 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49027         [BZ #14543]
49028         * libio/Makefile (tests): New test case tst-fseek.
49029         * libio/tst-fseek.c: New test case to verify that fseek/ftell
49030         combination works in wide mode.
49031         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
49032         state when the external buffer state changes.
49034 2012-09-27  David S. Miller  <davem@davemloft.net>
49036         [BZ #14376]
49037         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
49038         pass reloc->r_addend in as the 'high' argument to
49039         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
49041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49043 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49045         * rt/tst-aio2.c: Include <pthread.h>.
49046         * rt/tst-aio3.c: Likewise.
49048 2012-09-27  Steve Ellcey  <sellcey@mips.com>
49050         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
49052 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
49054         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
49055         contents on [SHARED].
49057 2012-09-26  Marek Polacek  <polacek@redhat.com>
49059         [BZ #14530]
49060         [BZ #13741]
49061         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
49062         for C++ and GCC <4.3 as well as for non GCC compilers.
49064 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49066         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49068 2012-09-25  Roland McGrath  <roland@hack.frob.com>
49070         * Makefile.in (all, install): Declare with .PHONY.
49071         Reported by Michael Hope <michael.hope@linaro.org>.
49073 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49075         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
49076         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
49077         system header.
49078         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
49079         Likewise.
49080         (sydep_routines): Add the new and the internal functions.
49081         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
49082         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
49083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
49084         (GLIBC_2.17): Add the new function.
49085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49086         (GLIBC_2.17): Likewise.
49087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
49088         (GLIBC_2.17): Likewise.
49089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
49090         (GLIBC_2.17): Likewise.
49091         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
49093 2012-09-25  Alan Modra  <amodra@gmail.com>
49095         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
49096         Add release barrier before setting once_control to say
49097         initialisation is done.  Add hints on lwarx.  Use macro in
49098         place of isync.
49099         (clear_once_control): Add release barrier.
49101 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
49103         [BZ #13629]
49104         * math/s_clog.c (__clog): Handle more values close to |z| = 1
49105         specially.
49106         * math/s_clog10.c (__clog10): Likewise.
49107         * math/s_clog10f.c (__clog10f): Likewise.
49108         * math/s_clog10l.c (__clog10l): Likewise.
49109         * math/s_clogf.c (__clogf): Likewise.
49110         * math/s_clogl.c (__clogl): Likewise.
49111         * math/Makefile (libm-calls): Add x2y2m1.
49112         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
49113         (__x2y2m1): Likewise.
49114         (__x2y2m1l): Likewise.
49115         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
49116         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
49117         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
49118         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
49119         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
49120         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
49121         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
49122         * sysdeps/i386/fpu/libm-test-ulps: Update.
49123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49125         [BZ #14621]
49126         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
49127         int as type of variable DEPTH.
49128         (glob): Use size_t instead of int as type of variables NEWCOUNT
49129         and OLD_PATHC.
49131 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49133         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
49134         Add s_sincosf-sse2.
49135         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
49136         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
49137         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
49138         macros for using routine as __sincosf_ia32.
49139         Use macro for function declaration and weak_alias.
49140         * sysdeps/i386/fpu/libm-test-ulps: Update.
49142         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
49143         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49145         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
49146         subnormal argument.
49147         * math/s_cexpf.c (__cexpf): Likewise.
49148         * math/s_csinf.c (__csinf): Likewise.
49149         * math/s_csinhf.c (__csinhf): Likewise.
49150         * math/s_ctanf.c (__ctanf): Likewise.
49151         * math/s_ctanhf.c (__ctanhf): Likewise.
49152         * math/s_ccosh.c (__ccoshf): Likewise.
49153         * math/s_cexp.c (__cexpl): Likewise.
49154         * math/s_csin.c (__csin): Likewise.
49155         * math/s_csinh.c (__csinh): Likewise.
49156         * math/s_ctan.c (__ctan): Likewise.
49157         * math/s_ctanh.c (ctanh): Likewise.
49158         * math/s_ccoshl.c (__ccoshl): Likewise.
49159         * math/s_cexpl.c (__cexpl): Likewise.
49160         * math/s_csinl.c (__csinl): Likewise.
49161         * math/s_csinhl.c (__csinhl): Likewise.
49162         * math/s_ctanl.c (__ctanl): Likewise.
49163         * math/s_ctanhl.c (__ctanhl): Likewise.
49165 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
49167         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
49168         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
49169         (_IO_off_t): Define to __off_t, not _G_off_t.
49170         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
49171         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
49172         (_IO_wint_t): Define to wint_t, not _G_wint_t.
49173         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
49174         type of __dummy and __dummy2 fields.
49175         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
49176         (_G_ssize_t): Likewise.
49177         (_G_off_t): Likewise.
49178         (_G_pid_t): Likewise.
49179         (_G_uid_t): Likewise.
49180         (_G_wchar_t): Likewise.
49181         (_G_wint_t): Likewise.
49182         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
49183         (_G_ssize_t): Likewise.
49184         (_G_off_t): Likewise.
49185         (_G_pid_t): Likewise.
49186         (_G_uid_t): Likewise.
49187         (_G_wchar_t): Likewise.
49188         (_G_wint_t): Likewise.
49189         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
49190         (_G_ssize_t): Likewise.
49191         (_G_off_t): Likewise.
49192         (_G_pid_t): Likewise.
49193         (_G_uid_t): Likewise.
49194         (_G_wchar_t): Likewise.
49195         (_G_wint_t): Likewise.
49197 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49199         * malloc/arena.c: Include malloc-sysdep.h.
49200         (shrink_heap): Use check_may_shrink_heap to decide if madvise
49201         is sufficient to shrink the heap or an unmap is needed.
49202         * sysdeps/generic/malloc-sysdep.h: New file.  Define
49203         new function check_may_shrink_heap.
49204         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
49205         new function check_may_shrink_heap.
49207 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49209         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
49210         comments.
49212 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
49214         * catgets/test-gencat.sh: Add "set -e".
49215         * elf/tst-pathopt.sh: Likewise.
49216         * grp/tst_fgetgrent.sh: Likewise.
49217         * iconvdata/run-iconv-test.sh: Likewise.
49218         * intl/tst-gettext.sh: Likewise.
49219         * intl/tst-gettext2.sh: Likewise.
49220         * intl/tst-gettext4.sh: Likewise.
49221         * intl/tst-gettext6.sh: Likewise.
49222         * intl/tst-translit.sh: Likewise.
49223         * io/ftwtest-sh: Likewise.
49224         * libio/test-freopen.sh: Likewise.
49225         * malloc/tst-mtrace.sh: Likewise.
49226         * posix/globtest.sh: Likewise.
49227         * posix/tst-getconf.sh: Likewise.
49228         * posix/wordexp-tst.sh: Likewise.
49229         * stdio-common/tst-printf.sh: Likewise.
49230         * stdio-common/tst-unbputc.sh: Likewise.
49231         * stdlib/tst-fmtmsg.sh: Likewise.
49232         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
49233         * catgets/Makefile: Do not specify -e option when running
49234         testsuite shell scripts.
49235         * elf/Makefile: Likewise.
49236         * grp/Makefile: Likewise.
49237         * iconvdata/Makefile: Likewise.
49238         * intl/Makefile: Likewise.
49239         * io/Makefile: Likewise.
49240         * libio/Makefile: Likewise.
49241         * malloc/Makefile: Likewise.
49242         * posix/Makefile: Likewise.
49243         * stdio-common/Makefile: Likewise.
49244         * stdlib/Makefile: Likewise.
49245         * sysdeps/x86_64/Makefile: Likewise.
49247         * io/ftwtest-sh: Add copyright header.
49248         * posix/globtest.sh: Likewise.
49249         * posix/tst-getconf.sh: Likewise.
49250         * posix/wordexp-tst.sh: Likewise.
49251         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
49253 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
49255         [BZ #13679]
49256         * Makeconfig (+link): Defined as $(+link-static) if
49257         $(build-shared) isn't yes.
49258         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
49259         isn't yes.
49260         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
49262         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
49264         [BZ #14562]
49265         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
49266         new chunk size with MALLOC_ALIGN_MASK.
49268 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
49270         [BZ #5044]
49271         * stdio-common/printf_fphex.c: Include <stdbool.h> and
49272         <rounding-mode.h>.
49273         (__printf_fphex): Determine rounding using get_rounding_mode and
49274         round_away.
49275         * stdio-common/tst-printf-round.c (struct hex_test): New
49276         structure.
49277         (hex_tests): New variable.
49278         (test_hex_in_one_mode): New function.
49279         (do_test): Also run tests for hex float output.
49281 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
49283         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
49284         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
49285         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
49286         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
49287         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
49288         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
49289         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
49290         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
49292 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
49294         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
49295         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
49296         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
49297         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
49299 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
49301         [BZ #14579]
49302         * elf/rtld.c (dl_main): Limit the check for self loading to normal
49303         mode only.
49304         * elf/tst-rtld-load-self.sh: New test.
49305         * elf/Makefile: Run it.
49307 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
49309         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
49310         (tst-writev-ENV): Remove.
49311         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
49313 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
49315         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
49317 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
49319         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
49320         unconditional.
49321         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
49322         Likewise.
49323         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
49324         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
49325         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
49326         Likewise.
49328 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
49330         [BZ #14587]
49331         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
49332         * config.make.in (have-cpp-asm-debuginfo): Removed.
49333         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
49334         * configure: Regenerated.
49336 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
49338         [BZ #5044]
49339         * stdio-common/printf_fp.c: Include <stdbool.h> and
49340         <rounding-mode.h>.
49341         (___printf_fp): Determine rounding using get_rounding_mode and
49342         round_away.
49343         * stdio-common/tst-printf-round.c: New file.
49344         * stdio-common/Makefile (tests): Add tst-printf-round.
49345         (link-libm): New variable.
49346         ($(objpfx)tst-printf-round): Depend in $(link-libm).
49348 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
49350         [BZ #14576]
49351         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
49352         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
49353         Likewise.
49354         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
49355         Likewise.
49357 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
49359         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
49360         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49361         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49362         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49364 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
49366         [BZ #14518]
49367         * include/rounding-mode.h: New file.
49368         * sysdeps/generic/get-rounding-mode.h: Likewise.
49369         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
49370         * stdlib/strtod_l.c: Include <rounding-mode.h>.
49371         (MAX_VALUE): New macro.
49372         (MIN_VALUE): Likewise.
49373         (overflow_value): New function.
49374         (underflow_value): Likewise.
49375         (round_and_return): Use overflow_value and underflow_value to
49376         determine return values in overflow and underflow cases.  Use
49377         round_away to determine rounding depending on rounding mode.
49378         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
49379         determine return values in overflow and underflow cases.
49380         * stdlib/tst-strtod-round.c: Include <fenv.h>.
49381         (struct test_results): New structure.
49382         (struct test): Use struct test_results to store expected results
49383         for all rounding modes.
49384         (TEST): Include expected results for all rounding modes.
49385         (test_in_one_mode): New function.
49386         (do_test): Use test_in_one_mode to compute and check results.
49387         Check results for all rounding modes.
49388         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
49389         $(link-libm).
49391 2012-12-09  Allan McRae  <allan@archlinux.org>
49393         * sysdeps/i386/fpu/libm-test-ulps: Update
49395 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
49397         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
49398         (_G_int32_t): Likewise.
49399         (_G_uint16_t): Likewise.
49400         (_G_uint32_t): Likewise.
49401         (_G_HAVE_BOOL): Likewise.
49402         (_G_HAVE_ATEXIT): Likewise.
49403         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49404         (_G_HAVE_IO_FILE_OPEN): Likewise.
49405         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
49406         (_G_int32_t): Likewise.
49407         (_G_uint16_t): Likewise.
49408         (_G_uint32_t): Likewise.
49409         (_G_HAVE_BOOL): Likewise.
49410         (_G_HAVE_ATEXIT): Likewise.
49411         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49412         (_G_HAVE_IO_FILE_OPEN): Likewise.
49413         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
49414         (_G_int32_t): Likewise.
49415         (_G_uint16_t): Likewise.
49416         (_G_uint32_t): Likewise.
49417         (_G_HAVE_BOOL): Likewise.
49418         (_G_HAVE_ATEXIT): Likewise.
49419         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49420         (_G_HAVE_IO_FILE_OPEN): Likewise.
49422 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
49424         * csu/libc-tls.c: Update copyright years.
49426 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
49428         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
49429         [!_G_USING_THUNKS]: Remove conditional code.
49430         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
49431         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
49433         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
49434         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
49435         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49436         (_G_VTABLE_LABEL_PREFIX): Likewise.
49437         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49438         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49439         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49440         (_G_VTABLE_LABEL_PREFIX): Likewise.
49441         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
49442         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49443         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49444         (_G_VTABLE_LABEL_PREFIX): Likewise.
49445         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
49447 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
49449         * libio/Makefile: Include ../Makeconfig before tests.
49450         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
49451         only if $(build-shared) is yes.
49453         * iconv/gconv_db.c: Update copyright years.
49455 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49457         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
49458         unwind info if defined PIC. Fix special cases description.
49459         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
49461         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
49462         DP_HI_MASK entry.
49463         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
49465 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
49467         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
49469         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
49470         is NULL.
49472         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
49473         (LDLIBS-tst-chk4): This.
49474         (LDFLAGS-tst-chk5): Renamed to ...
49475         (LDLIBS-tst-chk5): This.
49476         (LDFLAGS-tst-chk6): Renamed to ...
49477         (LDLIBS-tst-chk6): This.
49478         (LDFLAGS-tst-lfschk4): Renamed to ...
49479         (LDLIBS-tst-lfschk4): This.
49480         (LDFLAGS-tst-lfschk5): Renamed to ...
49481         (LDLIBS-tst-lfschk5): This.
49482         (LDFLAGS-tst-lfschk6): Renamed to ...
49483         (LDLIBS-tst-lfschk6): This.
49485         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
49486         on $(common-objpfx)soversions.mk.
49488 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
49490         [BZ #10014]
49491         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
49492         example host name.
49494 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49496         * malloc/arena.c (arena_get_retry): New function that gets
49497         another arena for the caller to try its request on.
49498         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
49499         current arena cannot fulfill the request.
49500         (__libc_memalign): Likewise.
49501         (__libc_memalign): Likewise.
49502         (__libc_pvalloc): Likewise.
49503         (__libc_calloc): Likewise.
49505 2012-09-05  John Tobey  <john.tobey@gmail.com>
49507         [BZ #13542]
49508         * manual/arith.texi (Operations on Complex): Fix description
49509         of carg branch cut.
49511 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
49513         [BZ #10014]
49514         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
49515         host name.
49517         [BZ #10038]
49518         * manual/memory.texi (Memory): Make order of menu items match
49519         order of sections.
49521 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49523         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
49524         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
49525         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
49527 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49529         * csu/libc-tls.c (static_dtv): Renamed to ...
49530         (_dl_static_dtv): This.  Make it global.
49531         (_dl_initial_dtv): Removed.
49532         (__libc_setup_tls): Updated.
49533         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
49534         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
49535         DL_INITIAL_DTV.
49537 2012-09-06  Petr Machata  <pmachata@redhat.com>
49539         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
49540         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
49541         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
49542         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
49544 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49546         [BZ #14545]
49547         * csu/libc-tls.c (_dl_initial_dtv): New variable.
49548         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
49549         freeing dtv[-1].
49551 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49553         [BZ #14544]
49554         * Makeconfig (link-static-before-libc): Replace $(+prector)
49555         with $(+prectorT).
49556         (link-static-after-libc): Replace $(+postctor) with
49557         $(+postctorT).
49558         (link-bounded): Replace $(+prector)/$(+postctor) with
49559         $(+prectorT)/$(+postctorT).
49560         (+prectorT): New macro.
49561         (+postctorT): Likewise.
49563 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
49565         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
49566         (round_str): Handle values above the maximum for IBM long double
49567         as inexact.
49568         * stdlib/tst-strtod-round.c (tests): Regenerated.
49570 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49572         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
49573         assembler flag.
49574         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
49575         zarch_nohighgprs around the zarch optimized routines.
49576         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
49577         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
49578         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
49579         for zarch.
49581 2012-09-05  David S. Miller  <davem@davemloft.net>
49583         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49585         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
49586         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
49587         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
49588         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49589         entries.
49591 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49593         * malloc/arena.c: Fold copyright years.
49594         * malloc/mcheck.c, malloc/memusage.c: Likewise.
49596 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49598         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
49600 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49602         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
49604 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49606         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
49607         change internal state upon failure.
49609 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49611         * malloc/mcheck.c (mcheck_check_all): Fix typo.
49612         * malloc/memusage.c (mmap): Likewise.
49613         (mmap64, mremap): Likewise.  Adjust name in comment.
49615 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49617         * libio/fileops.c: Fix typos in comments.
49618         * libio/oldfileops.c: Likewise.
49619         * libio/wfileops.c: Likewise.
49621 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49623         [BZ #1349]
49624         * malloc/Makefile (tests): Add tst-malloc-usable test case.
49625         (tst-malloc-usable-ENV): Set environment for test case.
49626         * malloc/hooks.c (malloc_check_get_size): New function to get
49627         requested size.
49628         * malloc/malloc.c (musable): Use malloc_check_get_size.
49629         * malloc/tst-malloc-usable.c: New test case.
49631 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49633         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
49635 2012-09-05  Allan McRae  <allan@archlinux.org>
49637         [BZ #13966]
49638         * configure.in (CXX_SYSINCLUDES): Use compiler output to
49639         determine header location.
49640         * configure: Regenerated.
49642 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49644         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
49645         float format.
49646         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
49647         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
49648         format.
49649         (test): Regenerate.
49651 2012-09-04  David S. Miller  <davem@davemloft.net>
49653         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
49654         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
49655         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
49657 2012-09-04  Florian Weimer  <fweimer@redhat.com>
49659         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
49660         failures.
49662         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
49664 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
49666         [BZ #9914]
49667         * libio/iogetdelim.c: Include <limits.h>.
49668         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
49669         + len + 1 would overflow.
49671 2012-09-03  Andreas Jaeger  <aj@suse.de>
49673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49674         * sysdeps/i386/fpu/libm-test-ulps: Update.
49676 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49678         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
49679         Add s_sinf-sse2, s_conf-sse2.
49681         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
49682         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
49683         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
49684         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
49686         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
49687         for using routine as __sinf_ia32.
49688         Use macro for function declaration and weak_alias.
49689         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
49690         for using routine as __cosf_ia32.
49691         Use macro for function declaration and weak_alias.
49693         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
49694         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
49696         * sysdeps/x86_64/fpu/s_sinf.S: New file.
49697         * sysdeps/x86_64/fpu/s_cosf.S: New file.
49698         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49700         * math/libm-test.inc (cos_test): Add more test cases.
49701         (sin_test): Likewise.
49702         (sincos_test): Likewise.
49704 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49706         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
49707         (IFUNC_RESOLVE): Make pointers to the specialized implementations
49708         hidden.
49709         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49711 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
49713         [BZ #14538]
49714         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
49715         first element of the GOT.
49716         (elf_machine_load_address): Return the difference between
49717         the runtime address of _DYNAMIC and elf_machine_dynamic ().
49719 2012-09-01  Allan McRae  <allan@archlinux.org>
49721         [BZ #13412]
49722         * configure.in (AWK): Require gawk version 3.0 or later.
49723         * configure: Regenerated.
49725 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
49727         * sysdeps/unix/sysv/linux/kernel-features.h
49728         (__ASSUME_POSIX_CPU_TIMERS): Remove.
49729         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49730         [__NR_clock_getres]: Make code unconditional.
49731         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
49732         (clock_getcpuclockid): Remove code left unreachable by removal of
49733         conditionals.
49734         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
49735         code unconditional.
49736         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
49737         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
49738         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
49739         Make code unconditional.
49740         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
49741         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
49742         * sysdeps/unix/sysv/linux/clock_settime.c
49743         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
49744         conditional code.
49745         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
49746         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
49748 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
49750         [BZ #14476]
49751         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
49752         scripts/test-installation.pl.
49754         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
49755         and $ld_so_version if it is set.
49757 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49759         [BZ #14516]
49760         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
49761         failure if reading from procfs failed.
49762         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
49764 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
49766         * sysdeps/unix/sysv/linux/kernel-features.h
49767         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
49768         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
49769         Remove conditional code.
49770         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49771         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
49772         Remove conditional code.
49773         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49774         * sysdeps/unix/sysv/linux/i386/fxstat.c
49775         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
49776         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49777         * sysdeps/unix/sysv/linux/i386/fxstatat.c
49778         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
49779         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49780         * sysdeps/unix/sysv/linux/i386/lxstat.c
49781         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
49782         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49783         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
49784         Remove conditional code.
49785         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49786         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
49787         Remove conditional code.
49788         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49789         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
49790         <kernel-features.h>.
49791         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
49792         Remove.
49793         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
49794         Remove conditional code.
49795         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49796         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
49797         Remove conditional.
49799 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
49801         [BZ #5400]
49802         * NEWS: Add fixed bug number.
49804 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
49806         [BZ #14519]
49807         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
49808         underflowing exponent in case of negative sign.
49809         * stdlib/tst-strtod-round-data: Add more tests.
49810         * stdlib/tst-strtod-round.c (tests): Regenerated.
49812         [BZ #3479]
49813         * stdlib/strtod_l.c (NDIG): Remove.
49814         (HEXNDIG): Likewise.
49815         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
49816         smallest representable value.
49817         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
49818         lie within an exact representation of 1/2 ulp of the result.
49819         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
49820         unconditionally.
49821         (TENS_P9_IDX): Define unconditionally.
49822         (TENS_P9_SIZE): Likewise.
49823         (TENS_P10_IDX): Likewise.
49824         (TENS_P10_SIZE): Likewise.
49825         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
49826         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
49827         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
49828         entries for 10^2^13 and 10^2^14.
49829         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
49830         (TENS_P13_IDX): Define.
49831         (TENS_P13_SIZE): Likewise.
49832         (TENS_P14_IDX): Likewise.
49833         (TENS_P14_SIZE): Likewise.
49834         (_fpioconst_pow10): Change array size to
49835         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
49836         unconditional.
49837         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
49838         1024]: Add entries for 10^2^13 and 10^2^14.
49839         [LAST_POW10 > _LAST_POW10]: Remove #error.
49840         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
49841         (_fpioconst_pow10): Change array size to
49842         FPIOCONST_POW10_ARRAY_SIZE.
49843         * stdlib/gen-fpioconst.c: New file.
49844         * stdlib/gen-tst-strtod-round.c: Likewise.
49845         * stdlib/tst-strtod-round-data: Likewise.
49846         * stdlib/tst-strtod-round.c: Likewise.
49847         * stdlib/Makefile (tests): Add tst-strtod-round.
49849         [BZ #14459]
49850         * stdlib/strtod_l.c: Include <stdint.h>.
49851         (NDEBUG): Do not define.
49852         (round_and_return): Change EXPONENT parameter to type intmax_t.
49853         Rearrange calculations to avoid internal overflow possibilities.
49854         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
49855         Rearrange calculations to avoid internal overflow possibilities.
49856         Assert that number fits inside MPNSIZE limbs.
49857         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
49858         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
49859         calculations and add assertions to avoid internal overflow
49860         possibilities.  Add casts to avoid signed/unsigned operations.
49861         * stdlib/tst-strtod-overflow.c: New file.
49862         * stdlib/Makefile (tests): Add tst-strtod-overflow.
49864 2012-08-25  Marek Polacek  <polacek@redhat.com>
49866         * time/time.h: Fix some typos in comments.
49868 2012-08-23  Roland McGrath  <roland@hack.frob.com>
49870         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
49871         * posix/tst-rfc3484-2.c: Likewise.
49872         * posix/tst-rfc3484-3.c: Likewise.
49874 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
49876         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
49877         (EF_ARM_ABI_FLOAT_HARD): Likewise.
49879 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
49881         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
49882         #include of fxstatat64.c.
49884 2012-08-22  Roland McGrath  <roland@hack.frob.com>
49886         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
49887         * shadow/getspent_r.c: Likewise.
49888         * shadow/getspnam.c: Likewise.
49889         * shadow/getspnam_r.c: Likewise.
49890         * gshadow/getsgent.c: Likewise.
49891         * gshadow/getsgent_r.c: Likewise.
49892         * gshadow/getsgnam.c: Likewise.
49893         * gshadow/getsgnam_r.c: Likewise.
49894         * inet/getnetbyad.c: Likewise.
49895         * inet/getnetbyad_r.c: Likewise.
49896         * inet/getnetbynm.c: Likewise.
49897         * inet/getnetbynm_r.c: Likewise.
49898         * inet/getnetent.c: Likewise.
49899         * inet/getnetent_r.c: Likewise.
49900         * inet/getproto.c: Likewise.
49901         * inet/getproto_r.c: Likewise.
49902         * inet/getprtent.c: Likewise.
49903         * inet/getprtent_r.c: Likewise.
49904         * inet/getprtname.c: Likewise.
49905         * inet/getprtname_r.c: Likewise.
49906         * inet/getrpcbyname.c: Likewise.
49907         * inet/getrpcbyname_r.c: Likewise.
49908         * inet/getrpcbynumber.c: Likewise.
49909         * inet/getrpcbynumber_r.c: Likewise.
49910         * inet/getrpcent.c: Likewise.
49911         * inet/getrpcent_r.c: Likewise.
49912         * inet/getaliasent.c: Likewise.
49913         * inet/getaliasent_r.c: Likewise.
49914         * inet/getaliasname.c: Likewise.
49915         * inet/getaliasname_r.c: Likewise.
49916         * nscd/getgrgid_r.c: Likewise.
49917         * nscd/getgrnam_r.c: Likewise.
49918         * nscd/gethstbyad_r.c: Likewise.
49919         * nscd/gethstbynm3_r.c: Likewise.
49920         * nscd/getpwnam_r.c: Likewise.
49921         * nscd/getpwuid_r.c: Likewise.
49922         * nscd/getsrvbynm_r.c: Likewise.
49923         * nscd/getsrvbypt_r.c: Likewise.
49924         * nscd/gai.c: Likewise.
49926         * configure.in (build_nscd): New substituted variable, set
49927         by --disable-build-nscd and defaults to $use_nscd.
49928         * configure: Regenerated.
49929         * config.make.in (build-nscd): New substituted variable.
49930         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
49931         Change conditional to require [$(build-nscd) = yes] as well.
49932         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
49934         [BZ# 13696]
49935         * configure.in (use_nscd): New substituted variable, set by
49936         --disable-nscd.  If enabled, define USE_NSCD.
49937         * configure: Regenerated.
49938         * config.h.in: Add USE_NSCD.
49939         * config.make.in (use-nscd): New substituted variable.
49940         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
49941         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
49942         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
49943         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
49944         (CFLAGS-getgrnam_r.c): Likewise.
49945         (CFLAGS-initgroups.c): Likewise.
49946         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
49947         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
49948         Variables removed.
49949         * inet/getnetgrent_r.c
49950         (nscd_setnetgrent): New function, broken out of ...
49951         (setnetgrent): ... here.  Call it.
49952         (innetgr): Conditionalize nscd bits on [USE_NSCD].
49953         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
49954         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
49955         * nscd/Makefile (routines, aux): Move definitions after include of
49956         Makeconfig.  Conditionalize on [$(use-nscd) != no].
49957         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
49958         Conditionalize on [USE_NSCD].
49959         (is_nscd, nscd_init_cb): Likewise.
49960         (nss_load_library): Conditionalize init callback on [USE_NSCD].
49961         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
49962         * nss/nss_db/db-init.c: Likewise.
49963         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
49964         [USE_NSCD].
49965         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
49966         (make_request): Use it.
49967         (cache_valid_p): New function.
49968         (__check_pf): Use it.
49969         * NEWS: Add item for --disable-nscd.
49971 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
49973         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
49974         to support sed >= 4.2.1-20-ga9bf076.
49975         * configure: Regenerated.
49977 2012-08-22  Roland McGrath  <roland@hack.frob.com>
49979         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
49980         Conditionalize whole body on [IREL].
49982 2012-08-22  Jeff Law <law@redhat.com>
49984         [BZ #14505]
49985         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
49986         if the family is PF_UNSPEC.
49988 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
49990         * Makerules (lib-version): Rename from V.
49991         (install-lib-nosubdir): Change V to lib-version.
49993 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
49995         [BZ #14252]
49996         * powerpc32/power6/wcschr.c: New file.
49997         * powerpc32/power6/wcscpy.c: New file.
49998         * powerpc32/power6/wcsrchr.c: New file.
49999         * powerpc64/power6/wcschr.c: New file.
50000         * powerpc64/power6/wcscpy.c: New file.
50001         * powerpc64/power6/wcsrchr.c: New file.
50003 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
50005         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
50006         (two_way_short_needle): Use it.
50007         * string/strstr.c (AVAILABLE1_USES_J): Define.
50008         * string/strcasestr.c: Likewise.
50010         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
50011         array references.
50012         * string/strcasestr.c (TOLOWER): Make side-effect safe.
50014         [BZ #11607]
50015         * NEWS: Add an entry.
50016         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
50017         define their defaults.
50018         (two_way_short_needle): Detect end-of-string on-the-fly.
50019         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
50020         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
50021         * string/bug-strcasestr1.c: New test.
50022         * string/Makefile: Run it.
50024 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
50026         [BZ #11607]
50027         * string/str-two-way.h (two_way_short_needle): Optimize matching of
50028         the first character.
50030 2012-08-21  Roland McGrath  <roland@hack.frob.com>
50032         * csu/elf-init.c (__libc_csu_irel): Function removed.
50033         * csu/libc-start.c (apply_irel): New function.
50034         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
50036 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
50038         * sysdeps/unix/sysv/linux/kernel-features.h
50039         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
50040         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
50041         <kernel-features.h>.
50042         [__NR_fadvise64_64]: Make code unconditional.
50043         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
50044         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
50045         !__NR_fadvise64_64)]: Likewise.
50046         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
50047         !__NR_fadvise64_64))]: Likewise.
50048         [__NR_fadvise64]: Make code unconditional.
50049         [!__NR_fadvise64]: Remove conditional code.
50050         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
50051         <kernel-features.h>.
50052         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50053         unconditional.
50054         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50055         conditional code.
50056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
50057         not include <kernel-features.h>.
50058         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50059         unconditional.
50060         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50061         conditional code.
50062         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
50063         include <kernel-features.h>.
50064         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50065         unconditional.
50066         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50067         conditional code.
50069 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
50071         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
50072         slight instruction rearrangements per scrollpipe analysis.
50073         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
50075 2012-08-20  Roland McGrath  <roland@hack.frob.com>
50077         * manual/syslog.texi (syslog; vsyslog, closelog):
50078         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
50079         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
50081         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
50082         DSOCAPS to match condition on defining it.
50084 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
50086         * sysdeps/unix/sysv/linux/kernel-features.h
50087         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
50088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
50089         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50090         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
50092         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50093         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
50095         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50096         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50098         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
50099         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
50101         * sysdeps/unix/sysv/linux/kernel-features.h
50102         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
50103         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
50104         unconditional.
50105         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50106         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
50107         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
50108         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50109         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
50110         Make code unconditional.
50111         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50112         (__mmap64) [!__NR_mmap2]: Likewise.
50113         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
50114         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
50115         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50116         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
50117         [__NR_mmap2]: Make code unconditional.
50118         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50119         (__mmap64) [!__NR_mmap2]: Likewise.
50121 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50123         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
50125 2012-08-18  Andreas Jaeger  <aj@suse.de>
50127         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
50129 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
50131         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
50132         * include/unistd.h (__have_sock_cloexec): Likewise.
50133         (__have_pipe2): Likewise.
50134         (__have_dup3): Likewise.
50136 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
50138         [BZ #9685]
50139         * include/unistd.h (__have_pipe2): Change define into an extern int.
50140         (__have_dup3): Likewise.
50141         * socket/have_sock_cloexec.c: Include fcntl.h.
50142         (__have_pipe2): New variable.
50143         (__have_dup3): Likewise.
50145 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
50147         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
50149 2012-08-17  Marek Polacek  <polacek@redhat.com>
50151         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
50152         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
50154 2012-08-17  Roland McGrath  <roland@hack.frob.com>
50156         * configure.in: Add AC_SUBST for sysheaders.
50157         * configure: Regenerated.
50158         * config.make.in (sysheaders): New substituted variable.
50160         * sysdeps/unix/mkfifo.c: Moved ...
50161         * sysdeps/posix/mkfifo.c: ... here.
50162         * sysdeps/unix/mkfifoat.c: Moved ...
50163         * sysdeps/posix/mkfifoat.c: ... here.
50165         * sysdeps/unix/utime.c: Moved ...
50166         * sysdeps/posix/utime.c: ... here.
50168         * sysdeps/unix/time.c: Moved ...
50169         * sysdeps/posix/time.c: ... here.
50170         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
50171         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
50173         * sysdeps/unix/nice.c: Moved ...
50174         * sysdeps/posix/nice.c: ... here.
50176         * sysdeps/unix/alarm.c: Moved ...
50177         * sysdeps/posix/alarm.c: ... here.
50179         * intl/Makefile ($(codeset_mo)): Depend on the input file.
50181 2012-08-17  Jeff Law <law@redhat.com>
50183         * intl/Makefile (codeset_mo): New variable.
50184         ($(codeset_mo)): New target.
50185         (tst-codeset.out): Depend on that.  Remove explicit rule.
50186         (tst-gettext3.out, tst-gettext5.out): Likewise.
50187         (LOCPATH-ENV, tst-codeset-ENV): New variables.
50188         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
50189         * intl/tst-codeset.sh: Remove.
50190         * intl/tst-gettext3.sh: Likewise.
50191         * intl/tst-gettext5.sh: Likewise.
50193 2012-08-17  Roland McGrath  <roland@hack.frob.com>
50195         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
50196         * sysdeps/unix/syscalls.list: ... here.
50198         * sysdeps/posix/getaddrinfo.c
50199         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
50200         (gaiconf_init, gaiconf_reload): Use them.
50201         [!_STATBUF_ST_NSEC]
50202         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
50203         Define using time_t rather than struct timespec.
50205         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
50206         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
50207         Macros removed.
50208         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
50209         [!NO_THREADS].
50210         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
50211         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
50212         Likewise.
50214         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
50215         __libc_cleanup_push argument.
50217         * bits/param.h: New file.
50218         * misc/sys/param.h: New file.
50219         * include/sys/param.h: New file.
50220         * misc/Makefile (headers): Add bits/param.h.
50221         * sysdeps/generic/sys/param.h: File removed.
50222         * sysdeps/unix/sysv/linux/bits/param.h: New file.
50223         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
50224         * sysdeps/mach/hurd/bits/param.h: New file.
50225         * sysdeps/mach/hurd/sys/param.h: File removed.
50227         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
50228         last change.
50230         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
50231         [_IO_MTSAFE_IO].
50232         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
50233         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
50234         New macros.
50236         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
50237         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
50238         rather than -D_IO_MTSAFE_IO conditionally.
50239         * stdio-common/Makefile (CPPFLAGS): Likewise.
50240         * wcsmbs/Makefile (CPPFLAGS): Likewise.
50241         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
50242         Use $(libio-mtsafe).
50243         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
50244         of -D_IO_MTSAFE_IO.
50245         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
50246         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
50247         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
50248         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
50249         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
50250         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
50251         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
50252         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
50253         (CFLAGS-fread_u_chk.c): Likewise.
50254         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
50255         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
50256         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
50257         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
50258         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
50259         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
50260         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
50261         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
50262         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
50264         * libio/Makefile: Test [$(libc-reentrant) = yes]
50265         instead of [$(filter %REENTRANT, $(defines)) nonempty].
50267         * Makeconfig
50268         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
50269         * sysdeps/pthread/configure: File removed.
50270         * sysdeps/pthread/Makeconfig: New file.
50271         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
50272         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
50274 2012-08-16  Gary Benson  <gbenson@redhat.com>
50276         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
50277         unmapping the first object in a namespace.
50279 2012-08-16  Roland McGrath  <roland@hack.frob.com>
50281         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
50282         (__internal_setnetgrent): ... this.  Add internal_function to
50283         definition.  Add libc_hidden_def.
50284         (setnetgrent): Update caller.
50285         (internal_endnetgrent): Renamed to ...
50286         (__internal_endnetgrent): ... this.  Add internal_function to
50287         definition.  Add libc_hidden_def.
50288         (endnetgrent): Update caller.
50289         (internal_getnetgrent_r): Renamed to ...
50290         (__internal_getnetgrent_r): ... this.  Add internal_function to
50291         definition.  Add libc_hidden_def.
50292         (__getnetgrent_r): Update caller.
50293         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
50295 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
50297         * stdlib/longlong.h: Update from GCC.
50299 2012-08-16  Roland McGrath  <roland@hack.frob.com>
50301         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
50302         on _QL, which is set by umul_ppmm but never used.
50303         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
50304         variables, which are set by GMP macros but never used.
50305         * stdio-common/_itowa.c (_itowa): Likewise.
50306         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
50307         * stdlib/mod_1.c (mpn_mod_1): Likewise.
50309 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
50311         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
50312         struct La_sh_regs is not constant.
50313         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
50314         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
50315         and struct La_sparc64_regs are not constant.
50317 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
50319         * sysdeps/unix/sysv/linux/kernel-features.h
50320         (__ASSUME_POSIX_TIMERS): Remove.
50321         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50322         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50323         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
50324         Make code unconditional.
50325         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50326         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
50327         Make code unconditional.
50328         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50329         * sysdeps/unix/sysv/linux/clock_nanosleep.c
50330         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
50331         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50332         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
50333         Make code unconditional.
50334         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50335         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
50336         (__libc_missing_posix_timers): Remove.
50338 2012-08-15  Roland McGrath  <roland@hack.frob.com>
50340         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
50341         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
50343         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
50345         * elf/dl-sym.c: Include <stdlib.h>.
50347         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
50348         constants, which avoids warnings in 32-bit builds.
50350         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
50351         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
50353         * misc/lseek.c: File moved to ...
50354         * io/lseek.c: ... here.
50356         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
50358         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
50359         shifting LEN more than 31 bits at once.
50361 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50363         [BZ #14195]
50364         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
50365         segmentation fault for a case of two empty input strings.
50366         * string/test-strncasecmp.c (check1): Renamed to...
50367         (bz12205): ...this.
50368         (bz14195): Add new testcase for two empty input strings and N > 0.
50369         (test_main): Call new testcase, adapt for renamed function.
50371 2012-08-15  Andreas Jaeger  <aj@suse.de>
50373         [BZ #14090]
50374         * crypt/md5test2.c: New test, based on test supplied by Serge
50375         Belyshev <belyshev@depni.sinp.msu.ru>.
50376         * crypt/Makefile (xtests): Add md5test-giant..
50377         * crypt/Makefile ($(objpfx)md5test-giant): Add.
50379 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
50381         [BZ #14090]
50382         * crypt/md5.c (md5_process_block): Don't assume the buffer
50383         length is less than 2**32.
50384         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
50385         length is less than 2**64.
50387 2012-08-15  Roland McGrath  <roland@hack.frob.com>
50389         * string/str-two-way.h: Include <sys/param.h>.
50390         (MAX): Macro removed.
50392         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
50393         Move #define and #undef of memmove to just before and after
50394         including <string.h>.
50396         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
50397         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
50398         and after including <string.h>.  Move declarations of
50399         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
50400         to before #include "string/memmove.c".
50402         * include/dirent.h: Declare __getdirentries.
50404         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
50405         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
50407 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
50409         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
50410         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
50411         * sysdeps/i386/configure: Regenerated.
50412         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
50413         STABS_CURRENT_FILE, and STABS_FUN.
50414         (END): Remove call to STABS_FUN_END.
50415         (STABS_CURRENT_FILE1): Delete.
50416         (STABS_CURRENT_FILE): Likewise.
50417         (STABS_FUN): Likewise.
50418         (STABS_FUN_END): Likewise.
50419         (STABS_FUN2): Likewise.
50420         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
50421         * sysdeps/x86_64/configure: Regenerated.
50423 2012-08-14  Roland McGrath  <roland@hack.frob.com>
50425         * elf/dl-open.c: Include <atomic.h>.
50426         * elf/dl-lookup.c: Likewise.
50428 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
50430         * sysdeps/unix/sysv/linux/kernel-features.h
50431         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
50432         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
50433         unconditionally.
50434         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
50435         unconditionally.
50436         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
50437         condition on __ASSUME_CLONE_THREAD_FLAGS.
50439 2012-08-14  Andreas Jaeger  <aj@suse.de>
50441         * sysdeps/i386/fpu/libm-test-ulps: Update.
50443 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
50445         * include/atomic.h (atomic_exchange_and_add): Split into ...
50446         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
50447         New atomic macros.
50449 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
50451         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50453 2012-08-13  Jeff Law <law@redhat.com>
50455         * manual/stdio.texi (snprintf): Clarify handling of the trailing
50456         null byte in the output string.
50458 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
50460         * sysdeps/unix/sysv/linux/kernel-features.h
50461         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
50462         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
50463         (__ASSUME_ARG_MAX_STACK_BASED): Define.
50464         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
50465         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
50466         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
50467         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
50469 2012-08-09  Jeff Law <law@redhat.com>
50471         [BZ #13939]
50472         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
50473         When avoid_arena is set, don't retry in the that arena.  Pick the
50474         next one, whatever it might be.
50475         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
50476         (arena_lock): Pass in new parameter to arena_get2.
50477         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
50478         arena_get2.
50479         (__libc_malloc): Unify retrying after main arena failure with
50480         __libc_memalign version.
50481         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
50483 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
50485         [BZ #14166]
50486         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
50487         to __redirect_strstr.
50488         (__strstr_sse42): Use typeof __redirect_strstr.
50489         (__strstr_ia32): Likewise.
50490         (__libc_strstr): New prototype.
50491         (strstr): Renamed to ...
50492         (__libc_strstr): This.
50493         (strstr): New strong alias of __libc_strstr.
50494         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
50495         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
50496         __redirect_time.
50497         Include <time.h>.
50498         (__libc_time): New prototype.
50499         (time_ifunc): Replace time with __libc_time.
50500         (time): New strong alias and hidden definition of __libc_time.
50501         (__GI_time): Remove strong alias.
50502         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
50503         Include <stddef.h>.
50504         (memmove): Redefined to __redirect_memmove.
50505         (__memmove_sse2): Use typeof __redirect_memmove.
50506         (__memmove_ssse3): Likewise.
50507         (__memmove_ssse3_back): Likewise.
50508         (__libc_memmove): New prototype.
50509         (memmove): Renamed to ...
50510         (__libc_memmove): This.
50511         (memmove): New strong alias of __libc_memmove.
50513 2012-08-08  Mark Salter  <msalter@redhat.com>
50515         * elf/elf.h
50516         (R_MN10300_TLS_GD): Define.
50517         (R_MN10300_TLS_LD): Likewise.
50518         (R_MN10300_TLS_LDO): Likewise.
50519         (R_MN10300_TLS_GOTIE): Likewise.
50520         (R_MN10300_TLS_IE): Likewise.
50521         (R_MN10300_TLS_LE): Likewise.
50522         (R_MN10300_TLS_DTPMOD): Likewise.
50523         (R_MN10300_TLS_DTPOFF): Likewise.
50524         (R_MN10300_TLS_TPOFF): Likewise.
50525         (R_MN10300_SYM_DIFF): Likewise.
50526         (R_MN10300_ALIGN): Likewise.
50527         (R_MN10300_NUM): Update.
50529 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
50531         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
50532         Remove.
50534 2012-08-08  Roland McGrath  <roland@hack.frob.com>
50536         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
50538         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
50539         sysdeps/unix -> sysdeps/posix move.
50540         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
50542 2012-08-07      Allan McRae     <allan@archlinux.org>
50544         [BZ #14303]
50545         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
50546         (SUNOS_CPP): Likewise.
50547         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
50548         not found.
50549         (open_input): Call CPP using execvp.
50551 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
50553         * sysdeps/unix/sysv/linux/kernel-features.h
50554         (__ASSUME_PROT_GROWSUPDOWN): Remove.
50555         (__ASSUME_NO_CLONE_DETACHED): Likewise.
50556         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
50557         (__ASSUME_WAITID_SYSCALL): Likewise.
50558         * sysdeps/unix/sysv/linux/dl-execstack.c
50559         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
50560         code unconditional.
50561         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
50562         conditional code.
50563         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
50564         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
50565         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
50566         code.
50567         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
50568         unconditional.
50569         [__ASSUME_WAITID_SYSCALL]: Likewise.
50570         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
50572 2012-08-07  Roland McGrath  <roland@hack.frob.com>
50574         * sysdeps/unix/closedir.c: Renamed to ...
50575         * sysdeps/posix/closedir.c: ... here.
50576         * sysdeps/unix/dirfd.c: Renamed to ...
50577         * sysdeps/posix/dirfd.c: ... here.
50578         * sysdeps/unix/dirstream.h: Renamed to ...
50579         * sysdeps/posix/dirstream.h: ... here.
50580         * sysdeps/unix/fdopendir.c: Renamed to ...
50581         * sysdeps/posix/fdopendir.c: ... here.
50582         * sysdeps/unix/opendir.c: Renamed to ...
50583         * sysdeps/posix/opendir.c: ... here.
50584         * sysdeps/unix/readdir.c: Renamed to ...
50585         * sysdeps/posix/readdir.c: ... here.
50586         * sysdeps/unix/readdir_r.c: Renamed to ...
50587         * sysdeps/posix/readdir_r.c: ... here.
50588         * sysdeps/unix/rewinddir.c: Renamed to ...
50589         * sysdeps/posix/rewinddir.c: ... here.
50590         * sysdeps/unix/seekdir.c: Renamed to ...
50591         * sysdeps/posix/seekdir.c: ... here.
50592         * sysdeps/unix/telldir.c: Renamed to ...
50593         * sysdeps/posix/telldir.c: ... here.
50594         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
50595         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
50596         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
50597         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
50599         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
50600         * bits/fcntl.h: ... here.
50602         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
50603         not 0.
50604         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
50605         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
50606         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
50607         (struct flock): Move l_start, l_len to the beginning.
50608         Use __pid_t for l_pid.
50609         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
50610         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
50611         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
50612         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
50613         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
50614         [__USE_LARGEFILE64] (struct flock64): New type.
50615         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
50617         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
50618         * bits/dirent.h: ... here.
50620         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
50621         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
50623 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
50625         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
50626         Change from 2.6.0 to 2.6.16.
50627         * sysdeps/unix/sysv/linux/configure: Regenerated.
50628         * sysdeps/unix/sysv/linux/kernel-features.h
50629         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
50630         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
50631         version.
50632         (__ASSUME_UTIMES): Likewise.
50633         (__ASSUME_CLONE_STOPPED): Remove.
50634         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
50635         architectures, not kernel version.
50636         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
50637         (__ASSUME_NO_CLONE_DETACHED): Likewise.
50638         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
50639         (__ASSUME_WAITID_SYSCALL): Likewise.
50640         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
50641         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
50642         * README: State 2.6.16 as minimum Linux kernel version.  Do not
50643         refer to older versions.
50645 2012-08-06  Roland McGrath  <roland@hack.frob.com>
50647         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
50648         Define alphasort64 as an alias.
50649         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
50650         Define versionsort64 as an alias.
50651         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
50652         Define scandir64 as an alias.
50653         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
50654         Define scandirat64 as an alias.
50655         * dirent/alphasort64.c (alphasort64):
50656         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
50657         * dirent/versionsort64.c: Likewise.
50658         * dirent/scandir64.c: Likewise.
50659         * dirent/scandirat64.c: Likewise.
50660         * sysdeps/wordsize-64/alphasort.c: File removed.
50661         * sysdeps/wordsize-64/alphasort64.c: File removed.
50662         * sysdeps/wordsize-64/scandir.c: File removed.
50663         * sysdeps/wordsize-64/scandir64.c: File removed.
50664         * sysdeps/wordsize-64/scandirat.c: File removed.
50665         * sysdeps/wordsize-64/scandirat64.c: File removed.
50666         * sysdeps/wordsize-64/versionsort.c: File removed.
50667         * sysdeps/wordsize-64/versionsort64.c: File removed.
50668         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
50669         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
50670         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
50671         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
50672         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
50673         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
50674         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
50675         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
50677         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
50678         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
50679         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
50680         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50681         [defined __arch64__ || defined __sparcv9]
50682         (__INO_T_MATCHES_INO64_T): New macro.
50683         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50684         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
50685         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
50686         * sysdeps/unix/sysv/linux/bits/dirent.h
50687         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
50688         (_DIRENT_MATCHES_DIRENT64): New macro.
50690         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
50691         Define lockf64 as an alias.
50692         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
50693         Define fseeko64 as an alias.
50694         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
50695         Define ftello64 as an alias.
50696         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
50697         Define _IO_fgetpos64 and fgetpos64 as aliases.
50698         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
50699         Define _IO_fsetpos64 and fsetpos64 as aliases.
50700         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
50701         Conditionalize body on this.
50702         * libio/fseeko64.c: Likewise.
50703         * libio/ftello64.c: Likewise.
50704         * libio/iofgetpos64.c: Likewise.
50705         * libio/iofsetpos64.c: Likewise.
50706         * sysdeps/wordsize-64/lockf.c: File removed.
50707         * sysdeps/wordsize-64/lockf64.c: File removed.
50708         * sysdeps/wordsize-64/fseeko.c: File removed.
50709         * sysdeps/wordsize-64/fseeko64.c: File removed.
50710         * sysdeps/wordsize-64/ftello.c: File removed.
50711         * sysdeps/wordsize-64/ftello64.c: File removed.
50712         * sysdeps/wordsize-64/iofgetpos.c: File removed.
50713         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
50714         * sysdeps/wordsize-64/iofsetpos.c: File removed.
50715         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
50716         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
50717         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
50718         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
50719         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
50720         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
50721         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
50722         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
50723         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
50724         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
50725         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
50727         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
50728         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
50729         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
50730         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50731         [defined __arch64__ || defined __sparcv9]
50732         (__OFF_T_MATCHES_OFF64_T): New macro.
50733         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50734         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
50735         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50736         (__OFF_T_MATCHES_OFF64_T): New macro.
50738 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
50740         * stdlib/secure-getenv.c (__secure_getenv): Replace
50741         GLIBC_2_16 with GLIBC_2_17.
50743 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
50745         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
50746         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50748 2012-08-03  David S. Miller  <davem@davemloft.net>
50750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50752 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
50754         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
50755         Remove.
50756         (__ASSUME_CORRECT_SI_PID): Likewise.
50757         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
50758         (__ASSUME_TMPFS_NAME): Likewise.
50759         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
50760         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
50761         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
50762         (HAVE_AUX_SECURE): Make definition unconditional.
50763         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
50764         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
50766 2012-08-03  Roland McGrath  <roland@hack.frob.com>
50768         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
50769         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
50770         * sysdeps/mach/hurd/eloop-threshold.h: New file.
50771         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50772         __eloop_threshold instead of SYMLOOP_MAX.
50774         * sysdeps/generic/eloop-threshold.h: New file.
50775         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
50776         of MAXSYMLINKS.
50777         * elf/chroot_canon.c (chroot_canon): Likewise.
50779 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
50781         [BZ #13717]
50782         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
50783         Change to 2.6.0 everywhere.
50784         * sysdeps/unix/sysv/linux/configure: Regenerated.
50785         * sysdeps/unix/sysv/linux/kernel-features.h
50786         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
50787         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
50788         kernel versions.
50789         (__ASSUME_POSIX_TIMERS): Define unconditionally.
50790         (__ASSUME_FUTEX_REQUEUE): Remove.
50791         (__ASSUME_STATFS64): Define unconditionally.
50792         (__ASSUME_AT_SECURE): Likewise.
50793         (__ASSUME_CORRECT_SI_PID): Likewise.
50794         (__ASSUME_TGKILL): Define without depending on kernel version for
50795         i386.
50796         (__ASSUME_UTIMES): Likewise.
50797         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
50798         kernel version.
50799         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
50800         (__ASSUME_TMPFS_NAME): Likewise.
50801         * README: Update reference to Linux kernel versions.
50803 2012-08-02  Marek Polacek  <polacek@redhat.com>
50805         [BZ# 14150]
50806         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
50807         libc_cv_asm_type_prefix with %.
50808         * configure: Regenerated.
50809         * include/libc-symbols.h: Remove comment about
50810         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
50811         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
50812         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
50813         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
50814         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
50815         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
50816         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
50817         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
50818         * elf/tst-unique2mod1.c: Likewise.
50819         * elf/tst-unique1mod2.c: Likewise.
50820         * elf/tst-unique1mod1.c: Likewise.
50821         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
50822         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
50823         Replace ASM_TYPE_DIRECTIVE with .type.
50824         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50825         * sysdeps/i386/sysdep.h: Likewise.
50826         * sysdeps/x86_64/sysdep.h: Likewise.
50827         * sysdeps/sh/sysdep.h: Likewise.
50828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50829         Do not define ASM_TYPE_DIRECTIVE.
50830         * sysdeps/powerpc/sysdep.h: Likewise.
50831         * sysdeps/powerpc/powerpc32/sysdep.h:
50832         Replace ASM_TYPE_DIRECTIVE with .type.
50833         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
50834         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50835         * sysdeps/i386/fpu/e_powf.S: Likewise.
50836         * sysdeps/i386/fpu/e_expl.S: Likewise.
50837         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50838         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50839         * sysdeps/i386/fpu/e_pow.S: Likewise.
50840         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50841         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50842         * sysdeps/i386/fpu/s_expm1.S: Likewise.
50843         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50844         * sysdeps/i386/fpu/e_log2.S: Likewise.
50845         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50846         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50847         * sysdeps/i386/fpu/e_powl.S: Likewise.
50848         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50849         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50850         * sysdeps/i386/fpu/e_logl.S: Likewise.
50851         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50852         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50853         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50854         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50855         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50856         * sysdeps/i386/fpu/e_log.S: Likewise.
50857         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50858         * sysdeps/i386/fpu/e_logf.S: Likewise.
50859         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50860         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50861         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50862         * sysdeps/i386/fpu/e_log10.S: Likewise.
50863         * sysdeps/i386/fpu/s_frexp.S: Likewise.
50864         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50865         * sysdeps/i386/fpu/s_asinh.S: Likewise.
50866         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50867         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50868         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
50869         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50870         * sysdeps/i386/i686/strtok.S: Likewise.
50871         * sysdeps/i386/i386-mcount.S: Likewise.
50872         * sysdeps/i386/strtok.S: Likewise.
50873         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
50874         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50875         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50876         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50877         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50878         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50879         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50880         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50881         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50882         * sysdeps/x86_64/_mcount.S: Likewise.
50883         * sysdeps/x86_64/strtok.S: Likewise.
50884         * sysdeps/sh/_mcount.S: Likewise.
50886 2012-08-01  Roland McGrath  <roland@hack.frob.com>
50888         * libio/iofopen.c: Include <fcntl.h>.
50889         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
50890         (_IO_fopen64, fopen64): Define as aliases.
50891         * libio/iofopen64.c: Include <fcntl.h>.
50892         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
50893         Conditionalize body on this.
50894         * sysdeps/wordsize-64/iofopen.c: File removed.
50895         * sysdeps/wordsize-64/iofopen64.c: File removed.
50897 2012-08-01  Marek Polacek  <polacek@redhat.com>
50899         * libc/Makeconfig: Use elf in place of binfmt-subdir.
50900         Use dlfcn directly instead of a variable.
50901         (binfmt-subdir): Do not define.
50902         (dlfcn): Likewise.
50904 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
50906         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
50907         Remove all definitions.
50908         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
50909         <kernel-features.h>.
50910         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
50911         (miss_F_GETOWN_EX): Remove all definitions.
50912         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
50913         macro definition.
50914         [!__ASSUME_FCNTL64]: Remove conditional code.
50915         [__ASSUME_FCNTL64]: Make code unconditional.
50916         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
50917         <kernel-features.h>.
50918         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
50919         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
50920         (lockf64) [__NR_fcntl64]: Make code unconditional.
50921         (lockf64) [__ASSUME_FCNTL64]: Likewise.
50923         * sysdeps/unix/sysv/linux/kernel-features.h
50924         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
50925         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
50926         Make code unconditional.
50927         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
50928         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
50929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
50930         [__NR_vfork]: Make code unconditional.
50931         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
50932         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
50933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
50934         [__NR_vfork]: Make code unconditional.
50935         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
50936         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
50938 2012-08-01  Roland McGrath  <roland@hack.frob.com>
50940         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
50941         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
50943         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
50944         Define mkstemp64 as an alias.
50945         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
50946         Define mkstemps64 as an alias.
50947         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
50948         Define mkostemp64 as an alias.
50949         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
50950         Define mkostemps64 as an alias.
50951         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
50952         Conditionalize body on this.
50953         * misc/mkostemp64.c: Likewise.
50954         * misc/mkostemps64.c: Likewise.
50955         * misc/mkstemps64.c: Likewise.
50956         * sysdeps/wordsize-64/mkstemp64.c: File removed.
50957         * sysdeps/wordsize-64/mkostemp64.c: File removed.
50958         * sysdeps/wordsize-64/mkostemp.c: File removed.
50959         * sysdeps/wordsize-64/mkstemp.c: File removed.
50960         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
50961         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
50962         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
50963         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
50965         [BZ #14138]
50966         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
50967         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
50968         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
50969         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
50971         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
50972         compat_symbol macros from <shlib-compat.h> rather than the underlying
50973         default_symbol_version and symbol_version macros, so that DEFAULT
50974         lines in shlib-versions are respected.
50975         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
50977 2012-08-01  Florian Weimer  <fweimer@redhat.com>
50979         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
50980         Declare with warn_unused_result.
50981         (setgid, setregid, setegid, setresgid): Likewise.
50982         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
50983         Likewise.
50984         * WUR-REPORT: Remove set*id functions.
50986 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
50988         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
50990 2012-07-31  Roland McGrath  <roland@hack.frob.com>
50992         [BZ #10191]
50993         * include/sys/socket.h (__libc_accept, __libc_accept4):
50994         Add attribute_hidden.
50995         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
50997         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
50998         use of PTR_MANGLE.
50999         * inet/getnetgrent_r.c (setup): Likewise.
51001         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
51003 2012-07-31  David S. Miller  <davem@davemloft.net>
51005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51007 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
51009         [BZ #13629]
51010         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
51011         value between 1.0 and 2.0 and smaller part has absolute value less
51012         than 1.0.
51013         * math/s_clog10.c (__clog10): Likewise.
51014         * math/s_clog10f.c (__clog10f): Likewise.
51015         * math/s_clog10l.c (__clog10l): Likewise.
51016         * math/s_clogf.c (__clogf): Likewise.
51017         * math/s_clogl.c (__clogl): Likewise.
51018         * math/libm-test.inc (clog_test): Add more tests.
51019         (clog10_test): Likewise.
51020         * sysdeps/i386/fpu/libm-test-ulps: Update.
51021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51023 2012-07-31  Florian Weimer  <fweimer@redhat.com>
51025         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
51026         Exit with zero in case no suitable GID is found, and write a
51027         message to standard error.
51029 2012-07-30  Roland McGrath  <roland@hack.frob.com>
51031         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
51032         rather than to 1.
51033         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
51034         (MAXPATHLEN): Removed.
51035         (NOGROUP, NODEV): New macros.
51036         (setbit, clrbit, isset, isclr): New macros.
51037         (howmany, roundup, powerof2): New macros.
51038         (DEV_BSIZE): New macro.
51040         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
51041         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
51043         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
51044         definition on [!__NO_LONG_DOUBLE_MATH].
51046         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
51047         PTR_MANGLE and PTR_DEMANGLE.
51049         * socket/accept4.c (accept4): Rename to __libc_accept4.
51050         Define accept4 as a weak alias.
51052         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
51053         on [_DIRENT_HAVE_D_TYPE].
51054         * io/ftw.c (ftw_dir): Likewise.
51056         * io/xmknod.c (__xmknod): Don't check PATH for being null.
51058         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
51060         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
51061         Use the BSD numbers rather than the arbitrary ones we had.
51062         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
51063         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
51064         (SIGXCPU, SIGXFSZ): New macros.
51065         (_NSIG): Now 32.
51067         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
51068         initializer on [_LIBC_REENTRANT].
51070         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
51071         definitions inside [_POSIX_MAPPED_FILES].
51073         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
51075         * dirent/opendir.c: Include <fcntl.h>.
51077         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
51078         (__libc_getspecific): Likewise.
51079         (__libc_key_create): Likewise.
51081         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
51082         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
51083         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
51084         (tmpfile64): Define as alias.
51085         * sysdeps/wordsize-64/tmpfile.c: File removed.
51086         * sysdeps/wordsize-64/tmpfile64.c: File removed.
51087         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
51088         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
51090         * stdio-common/vfscanf.c: Include <stdbool.h>.
51091         * nss/makedb.c: Likewise.
51092         * stdio-common/_i18n_number.h: Likewise.
51093         * argp/argp-help.c: Likewise.
51094         * posix/wordexp.c: Likewise.
51095         * sysdeps/posix/spawni.c: Likewise.
51096         * nss/nss_files/files-initgroups.c: Likewise.
51097         * stdio-common/reg-modifier.c: Include <stdlib.h>.
51098         * nss/nss_files/files-initgroups.c: Likewise.
51099         * nss/nss_db/db-netgrp.c: Likewise.
51100         * nss/nss_db/db-initgroups.c: Likewise.
51101         * io/fchmodat.c: Include <sys/stat.h>.
51103         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
51104         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
51106         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
51107         [HAVE_MMAP].
51109         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
51110         Add multiple inclusion protection.
51112 2012-07-27  David S. Miller  <davem@davemloft.net>
51114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51116 2012-07-27  Gary Benson  <gbenson@redhat.com>
51118         [BZ #14298]
51119         * elf/rtld.c: Include <stap-probe.h>.
51120         (dl_main): Added static probes "init_start" and "init_complete".
51121         * elf/dl-load.c: Include <stap-probe.h>.
51122         (lose): Take new parameter "nsid".
51123         Added static probe "map_failed".
51124         (_dl_map_object_from_fd): Pass namespace id to lose.
51125         Added static probe "map_start".
51126         (open_verify): Pass namespace id to lose.
51127         * elf/dl-open.c: Include <stap-probe.h>.
51128         (dl_open_worker) Added static probes "map_complete", "reloc_start"
51129         and "reloc_complete".
51130         * elf/dl-close.c: Include <stap-probe.h>.
51131         (_dl_close_worker): Added static probes "unmap_start" and
51132         "unmap_complete".
51133         * elf/rtld-debugger-interface.txt: New file documenting the above.
51135 2012-07-26  Roland McGrath  <roland@hack.frob.com>
51137         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
51138         rather than a string variable.
51139         * sunrpc/rpc_main.c (h_output): Likewise.
51140         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
51142 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
51144         * inet/check_native.c: New file.
51146 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
51148         [BZ #13629]
51149         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
51150         if larger part has absolute value 1.0.
51151         * math/s_clog10.c (__clog10): Likewise.
51152         * math/s_clog10f.c (__clog10f): Likewise.
51153         * math/s_clog10l.c (__clog10l): Likewise.
51154         * math/s_clogf.c (__clogf): Likewise.
51155         * math/s_clogl.c (__clogl): Likewise.
51156         * math/libm-test.inc (clog_test): Add more tests.
51157         (clog10_test): Likewise.
51158         * sysdeps/i386/fpu/libm-test-ulps: Update.
51159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51161         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
51162         (pltexit): Likewise.
51163         (La_regs): Likewise.
51164         (La_retval): Likewise.
51165         (int_retval): Likewise.
51166         Update #error for removed macros to refer only to definitions in
51167         tst-audit.h.
51168         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
51169         macro.
51170         (pltexit): Likewise.
51171         (La_regs): Likewise.
51172         (La_retval): Likewise.
51173         (int_retval): Likewise.
51174         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
51175         macro.
51176         (pltexit): Likewise.
51177         (La_regs): Likewise.
51178         (La_retval): Likewise.
51179         (int_retval): Likewise.
51180         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
51181         macro.
51182         (pltexit): Likewise.
51183         (La_regs): Likewise.
51184         (La_retval): Likewise.
51185         (int_retval): Likewise.
51186         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
51187         macro.
51188         (pltexit): Likewise.
51189         (La_regs): Likewise.
51190         (La_retval): Likewise.
51191         (int_retval): Likewise.
51192         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
51193         macro.
51194         (pltexit): Likewise.
51195         (La_regs): Likewise.
51196         (La_retval): Likewise.
51197         (int_retval): Likewise.
51198         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
51199         macro.
51200         (pltexit): Likewise.
51201         (La_regs): Likewise.
51202         (La_retval): Likewise.
51203         (int_retval): Likewise.
51204         * sysdeps/generic/tst-audit.h: Update comment to refer only to
51205         macro definitions in tst-audit.h.
51206         * sysdeps/i386/tst-audit.h: New file.
51207         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
51208         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
51209         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
51210         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
51211         * sysdeps/sh/tst-audit.h: Likewise.
51212         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
51213         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
51214         * sysdeps/x86_64/tst-audit.h: Likewise.
51216 2012-07-26  Andreas Jaeger  <aj@suse.de>
51218         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
51219         ptrace.
51221         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
51222         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
51223         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
51224         PTRACE_O_MASK.
51225         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
51226         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
51227         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
51229         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
51230         value.
51232         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
51233         _sigsys.
51234         (si_call_addr, si_syscall, si_arch): Define new macro.
51235         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
51236         _sigsys.
51237         (si_call_addr, si_syscall, si_arch): Define new marcro.
51238         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
51239         _sigsys.
51240         (si_call_addr, si_syscall, si_arch): Define new macro.
51241         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
51242         _sigsys.
51243         (si_call_addr, si_syscall, si_arch): Define new macro.
51245 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
51247         [BZ #13717]
51248         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51249         Change to 2.4.21 where previously 2.4.1.
51250         * sysdeps/unix/sysv/linux/configure: Regenerated.
51251         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
51252         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
51253         Linux kernel version.
51254         (__ASSUME_STD_AUXV): Remove.
51255         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
51256         kernel version.
51257         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
51258         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
51259         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
51260         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
51261         (__ASSUME_NETLINK_SUPPORT): Likewise.
51262         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
51263         (__no_netlink_support): Remove conditional definition.
51264         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
51265         Remove.
51266         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
51267         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
51268         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
51269         (if_nameindex_ioctl): Remove.
51270         (if_nameindex_netlink): Do not handle __no_netlink_support.
51271         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
51272         code.
51273         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
51274         Remove conditional code.
51275         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
51276         code.
51277         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
51278         unconditional.
51279         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
51280         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
51281         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
51282         Remove.
51283         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
51284         [!__ASSUME_STD_AUXV]: Remove conditional code.
51285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
51286         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
51287         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
51288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
51289         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
51290         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
51291         code.
51292         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
51293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51294         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
51295         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
51296         conditional code.
51297         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
51298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
51299         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
51300         code.
51301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51302         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
51303         conditional code.
51304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
51305         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51306         code unconditional.
51307         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51308         conditional code.
51309         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51310         unconditional.
51311         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51312         conditional code.
51313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51314         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51315         unconditional.
51316         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51317         conditional code.
51318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
51319         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51320         code unconditional.
51321         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51322         conditional code.
51323         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51324         unconditional.
51325         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51326         conditional code.
51327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
51328         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51329         code unconditional.
51330         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51331         conditional code.
51332         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51333         unconditional.
51334         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51335         conditional code.
51337 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
51339         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
51340         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
51341         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
51342         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
51343         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
51344         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
51345         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
51346         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
51347         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
51348         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
51349         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
51350         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
51351         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
51352         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
51353         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
51354         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
51355         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
51356         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
51357         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
51358         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
51359         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
51360         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
51361         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51363 2012-07-25  Florian Weimer  <fweimer@redhat.com>
51365         * Versions.def: Add GLIBC_2.17.
51366         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
51367         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
51368         Introduce __libc_secure_getenv.
51369         * stdlib/Versions (2.17): Add secure_getenv
51370         (GLIBC_PRIVATE): Add __libc_secure_getenv.
51371         * stdlib/secure-getenv.c: Rename __secure_getenv to
51372         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
51373         symbol __secure_getenv for GLIBC_2.0.
51374         * stdlib/tst-secure-getenv.c: New.
51375         * stdlib/Makefile (tests): Add testcase.
51376         * manual/startup.texi (Environment Access): Document
51377         secure_getenv.
51378         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
51379         __libc_secure_getenv.
51380         * inet/ruserpass.c (ruserpass): Likewise.
51381         * malloc/mtrace.c (mtrace): Likewise.
51382         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
51383         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
51384         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
51385         * sysdeps/posix/tempname.c: Likewise.  Evaluate
51386         HAVE_SECURE_GETENV.
51387         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
51388         __secure_getenv to __libc_secure_getenv.
51389         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
51390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51391         Likewise.
51392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51393         Likewise.
51394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
51395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
51396         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
51402 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
51404         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
51405         (struct La_i86_retval): Likewise.
51406         (struct La_x86_64_regs): Likewise.
51407         (struct La_x86_64_retval): Likewise.
51408         (struct La_x32_regs): Likewise.
51409         (struct La_x32_retval): Likewise.
51410         (struct La_ppc32_regs): Likewise.
51411         (struct La_ppc32_retval): Likewise.
51412         (struct La_ppc64_regs): Likewise.
51413         (struct La_ppc64_retval): Likewise.
51414         (struct La_sh_regs): Likewise.
51415         (struct La_sh_retval): Likewise.
51416         (struct La_s390_32_regs): Likewise.
51417         (struct La_s390_32_retval): Likewise.
51418         (struct La_s390_64_regs): Likewise.
51419         (struct La_s390_64_retval): Likewise.
51420         (struct La_sparc32_regs): Likewise.
51421         (struct La_sparc32_retval): Likewise.
51422         (struct La_sparc64_regs): Likewise.
51423         (struct La_sparc64_retval): Likewise.
51424         (struct audit_ifaces): Remove architecture-specific pltenter and
51425         pltexit members.
51426         * sysdeps/i386/ldsodefs.h: New file.
51427         * sysdeps/powerpc/ldsodefs.h: Likewise.
51428         * sysdeps/s390/ldsodefs.h: Likewise.
51429         * sysdeps/sh/ldsodefs.h: Likewise.
51430         * sysdeps/sparc/ldsodefs.h: Likewise.
51431         * sysdeps/x86_64/ldsodefs.h: Likewise.
51433 2012-07-25  Marek Polacek  <polacek@redhat.com>
51435         [BZ #6808]
51436         * math/libm-test.inc (yn_test): Add another test.
51437         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
51438         to ERANGE when the result is +-Inf.
51439         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
51440         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
51441         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
51442         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
51444 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
51446         * conform/data/time.h-data (NULL): Use macro-constant.  Require
51447         equal to 0.
51448         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
51449         clock_t.
51450         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
51452 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
51454         * configure.in <sysdeps resolving>: Correct printing
51455         Implies_before.
51456         * configure: Regenerate.
51458 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
51460         * math/w_ilogb.c: Include <limits.h>.
51461         * math/w_ilogbl.c: Likewise.
51463 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
51465         * manual/lang.texi (__va_copy): Document primarily as ISO C99
51466         va_copy.  Document allowing for unavailable va_copy only as
51467         pre-C99 compatibility.
51468         * manual/string.texi (Copying and Concatenation): Use va_copy
51469         instead of __va_copy in concat example.
51471 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
51473         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
51474         (__sendto): Use create_address_port.  Initialize APORT and deallocate
51475         it if not null.
51477         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
51478         with O_NOLINK passed to __file_name_lookup.
51480         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
51481         with O_NOLINK passed to __file_name_lookup.
51483         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
51484         negative N or less than NGIDS.
51486         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
51487         type to string_t.  Set ERANGE as errno and return it if NAME is not big
51488         enough.  Use memcpy instead of strncpy.
51490 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
51492         * elf/Makefile (check-data): Remove.
51493         (localplt.data): New vpath directive.
51494         ($(objpfx)check-localplt.out): Use localplt.data from vpath
51495         instead of $(check-data).
51496         * scripts/data/localplt-generic.data: Move to ...
51497         * sysdeps/generic/localplt.data: ... here.
51498         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
51499         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
51500         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
51501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
51502         ... here.
51503         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
51504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
51505         ... here.
51506         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
51507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
51508         ... here.
51509         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
51510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
51511         ... here.
51512         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
51513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
51514         ... here.
51515         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
51516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
51517         ... here.
51519 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51521         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
51522         PPC32 and PPC64 files.
51523         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
51524         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
51526 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51528         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
51529         __makecontext_ret to ...
51530         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
51531         ... here and call exit if uc_link is NULL.  New file.
51532         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
51533         __makecontext_ret.S.
51534         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
51535         __makecontext_ret to ...
51536         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
51537         ... here and call exit if uc_link is NULL.  New file.
51538         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
51539         __makecontext_ret.S.
51541 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51543         * elf/elf.h (R_390_IRELATIVE): New definition.
51544         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
51545         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
51546         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
51547         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
51548         (elf_machine_lazy_rel): Likewise.
51549         * sysdeps/s390/dl-irel.h: New file.
51550         * sysdeps/s390/s390-64/memcpy.S: New asm code.
51551         * sysdeps/s390/s390-64/memset.S: New asm code.
51552         * sysdeps/s390/s390-64/memcmp.S: New asm code.
51553         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
51554         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
51555         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
51556         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
51557         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
51558         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
51559         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
51560         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
51561         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
51562         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
51563         * sysdeps/s390/s390-32/memcpy.S: New asm code.
51564         * sysdeps/s390/s390-32/memset.S: New asm code.
51565         * sysdeps/s390/s390-32/memcmp.S: New asm code.
51567 2012-07-17  Marek Polacek  <polacek@redhat.com>
51569         [BZ #14349]
51570         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
51571         * sysdeps/s390/s390-64/configure.in: Likewise.
51572         * sysdeps/sparc/configure.in: Likewise.
51573         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
51574         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
51575         * sysdeps/i386/configure.in: Likewise.
51576         * sysdeps/x86_64/configure.in: Likewise.
51577         * sysdeps/sh/configure.in: Likewise.
51578         * sysdeps/s390/s390-32/configure: Regenerated.
51579         * sysdeps/s390/s390-64/configure: Likewise.
51580         * sysdeps/x86_64/configure: Likewise.
51581         * sysdeps/sh/configure: Likewise.
51582         * sysdeps/powerpc/powerpc64/configure: Likewise.
51583         * sysdeps/powerpc/powerpc32/configure: Likewise.
51584         * sysdeps/sparc/configure: Likwise.
51585         * sysdeps/i386/configure: Likewise.
51587         * elf/dl-open.c: Comment fixes.
51589 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
51591         * Makefile [CXX] (check-data): Remove.
51592         [CXX] (c++-types.data): New vpath directive.
51593         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
51594         vpath.  Do not allow for C++ type data being missing.
51595         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
51596         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
51597         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
51598         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
51599         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
51600         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
51601         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
51602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
51603         ... here.
51604         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
51605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
51606         ... here.
51607         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
51608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
51609         ... here.
51610         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
51611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
51612         ... here.
51613         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
51614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
51615         ... here.
51616         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
51617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
51618         ... here.
51619         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
51620         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
51621         ... here.
51622         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
51623         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
51625         * elf/tls-macros.h (TLS_LE): Move architecture-specific
51626         definitions to architecture-specific files.
51627         (TLS_IE): Likewise.
51628         (TLS_LD): Likewise.
51629         (TLS_GD): Likewise.
51630         * sysdeps/i386/tls-macros.h: New file.
51631         * sysdeps/powerpc/tls-macros.h: Likewise.
51632         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
51633         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
51634         * sysdeps/sh/tls-macros.h: Likewise.
51635         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
51636         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
51637         * sysdeps/x86_64/tls-macros.h: Likewise.
51639 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
51641         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
51642         zero value for regular exit case.
51644         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
51645         (__start_context): Preserve zero value for regular exit case.
51647 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
51648             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51650         * manual/setjmp.texi (setcontext): Clarify normal process
51651         termination when uc_link is the null pointer.
51652         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
51653         exit call.
51655 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
51657         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
51658         preprocessor.  Test for each exception mask separately.
51660 2012-07-16  Andreas Jaeger  <aj@suse.de>
51662         * po/ru.po: Update from translation team.
51664 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
51666         * conform/data/string.h-data (NULL): Use macro-constant.  Require
51667         equal to 0.
51668         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
51669         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
51670         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
51671         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
51672         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51674 2012-07-13  Andreas Jaeger  <aj@suse.de>
51676         * po/fr.po: Update from translation team.
51678 2012-07-12  Marek Polacek  <polacek@redhat.com>
51680         [BZ #14173]
51681         * math/libm-test.inc (yn_test): Add test for BZ #14173.
51682         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
51683         loop condition.
51685 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
51687         [BZ #13717]
51688         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51689         Change to 2.4.1 where previously 2.4.0.
51690         * sysdeps/unix/sysv/linux/configure: Regenerated.
51691         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
51692         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
51693         version.
51694         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
51695         (__ASSUME_AT_CLKTCK): Remove.
51696         (__ASSUME_AT_PAGESIZE): Likewise.
51697         (__ASSUME_AT_XID): Likewise.
51698         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
51699         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
51700         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
51701         unconditionally.
51702         (HAVE_AUX_PAGESIZE): Likewise.
51703         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
51704         [__ASSUME_AT_CLKTCK]: Make code unconditional.
51705         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
51707 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
51709         [BZ #14307]
51710         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
51711         the temporary buffer used to invoke __gethostbyname2_r,
51712         __gethostbyaddr_r and gethostbyname4_r to make room for struct
51713         host_data / struct gaih_addrtuple.
51714         * resolv/nss_dns/dns-host.c (global scope): Move definition of
51715         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
51716         header file nss/nsswitch.h.
51717         * nss/nsswitch.h (global scope): Add definition of implementation
51718         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
51719         resolv/nss_dns/dns-host.c).
51721 2012-07-11  Andreas Jaeger  <aj@suse.de>
51723         * po/fr.po: Update from translation team.
51725         * po/sv.po: Update from translation team
51726         * po/fr.po: Another update from translation team.
51728 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51730         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
51731         for subnormals or multiply small sinh result by itself.
51732         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51735 2012-07-11  David S. Miller  <davem@davemloft.net>
51737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51739 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
51741         [BZ #14347]
51742         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
51743         (INTERNAL_MARK): Shift it here.
51745 2012-07-10  Marek Polacek  <polacek@redhat.com>
51747         [BZ #14151]
51748         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
51749         libc_cv_asm_global_directive with .globl.
51750         * configure: Regenerated.
51751         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
51752         with .globl.
51753         * sysdeps/i386/configure: Regenerated.
51754         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
51755         with .globl.
51756         * sysdeps/x86_64/configure: Regenerated.
51757         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
51758         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
51759         * elf/tst-unique2mod2.c: Likewise.
51760         * elf/tst-unique2mod1.c: Likewise.
51761         * elf/tst-unique1mod2.c: Likewise.
51762         * elf/tst-unique1mod1.c: Likewise.
51763         * sysdeps/s390/s390-32/sysdep.h: Likewise.
51764         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
51765         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51766         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51767         * sysdeps/mach/sysdep.h: Likewise.
51768         * sysdeps/i386/sysdep.h: Likewise.
51769         * sysdeps/i386/i386-mcount.S: Likewise.
51770         * sysdeps/x86_64/_mcount.S: Likewise.
51771         * sysdeps/x86_64/sysdep.h: Likewise.
51772         * sysdeps/sh/_mcount.S: Likewise.
51773         * sysdeps/sh/sysdep.h: Likewise.
51774         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
51775         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
51776         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
51777         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51778         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
51779         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
51780         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
51781         * locale/localeinfo.h: Likewise.
51782         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
51783         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
51785 2012-07-09  Roland McGrath  <roland@hack.frob.com>
51787         [BZ #14336]
51788         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
51789         system".
51790         * manual/message.texi (The Uniforum approach): Likewise.
51791         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
51792         (glibc iconv Implementation): Likewise.
51794 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
51796         [BZ #14337]
51797         * math/s_clog.c (__clog): Avoid scaling a value down where that
51798         could result in underflow.
51799         * math/s_clog10.c (__clog10): Likewise.
51800         * math/s_clog10f.c (__clog10f): Likewise.
51801         * math/s_clog10l.c (__clog10l): Likewise.
51802         * math/s_clogf.c (__clogf): Likewise.
51803         * math/s_clogl.c (__clogl): Likewise.
51804         * math/libm-test.inc (clog_test): Add more tests.
51805         (clog10_test): Likewise.
51806         * sysdeps/i386/fpu/libm-test-ulps: Update.
51807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51809 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
51811         [BZ #14283]
51812         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
51813         by 7 not 8 to examine high bit of fractional part.
51815         [BZ #14042]
51816         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
51817         for call to __mcount_internal.
51818         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
51819         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
51820         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
51822 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
51824         [BZ #14154]
51825         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
51826         approximation for values within 0x1p-13f of an odd multiple of
51827         pi/4.
51828         * math/libm-test.inc (tan_test): Do not allow spurious underflow
51829         exception.  Add more tests.
51830         * sysdeps/i386/fpu/libm-test-ulps: Update.
51832         [BZ #6778]
51833         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
51834         inputs and return -1 for them.  Do not check for +Inf in case not
51835         reachable for +Inf.
51836         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
51837         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
51838         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
51839         and return -1 for them.  Do not check for +Inf in case not
51840         reachable for +Inf.
51841         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
51842         define.
51843         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
51844         and return -1 for them.  Do not check for +Inf in case not
51845         reachable for +Inf.
51846         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
51847         spurious underflow.
51848         * sysdeps/i386/fpu/libm-test-ulps: Update.
51849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51851 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
51853         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
51855 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
51857         [BZ #14157]
51858         [BZ #14331]
51859         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
51860         could result in spurious underflow.  Scale down values above
51861         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
51862         * math/s_csqrtf.c (__csqrtf): Likewise.
51863         * math/s_csqrtl.c (__csqrtl): Likewise.
51864         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
51865         spurious underflow.
51866         * sysdeps/i386/fpu/libm-test-ulps: Update.
51867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51869 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
51871         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
51872         xopen-msg.sed.
51873         * catgets/xopen-msg.awk: New file.
51874         * catgets/xopen-msg.sed: Removed.
51876         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
51877         po2text.sed.
51878         * intl/po2test.awk: New file.
51879         * intl/po2test.sed: Removed.
51881 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
51883         [BZ #14328]
51884         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
51885         or multiply small sinh result by itself.
51886         * math/s_ctanf.c (__ctanf): Likewise.
51887         * math/s_ctanh.c (__ctanh): Likewise.
51888         * math/s_ctanhf.c (__ctanhf): Likewise.
51889         * math/s_ctanhl.c (__ctanhl): Likewise.
51890         * math/s_ctanl.c (__ctanl): Likewise.
51891         * math/libm-test.inc (ctan_test_tonearest): New function.
51892         (ctan_test_towardzero): Likewise.
51893         (ctan_test_downward): Likewise.
51894         (ctan_test_upward): Likewise.
51895         (ctanh_test_tonearest): Likewise.
51896         (ctanh_test_towardzero): Likewise.
51897         (ctanh_test_downward): Likewise.
51898         (ctanh_test_upward): Likewise.
51899         (main): Call these new functions.
51900         * sysdeps/i386/fpu/libm-test-ulps: Update.
51901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51903 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
51905         * .gitignore: Delete /ports entry.
51907 2012-07-03  Andreas Jaeger  <aj@suse.de>
51909         * po/bg.po: Update from translation team.
51910         * po/cs.po: Likewise.
51911         * po/de.po: Likewise.
51912         * po/hr.po: Likewise.
51913         * po/nl.pl: Likewise.
51914         * po/pl.po: Likewise.
51915         * po/vi.po: Likewise.
51917 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
51919         * Makeconfig [!+link] (+link-before-libc): New variable.
51920         [!+link] (+link-after-libc): Likewise.
51921         [!+link] (+link-tests): Likewise.
51922         [!+link] (+link): Define in terms of $(+link-before-libc) and
51923         $(+link-after-libc).
51924         [!+link-static] (+link-static-before-libc): New variable.
51925         [!+link-static] (+link-static-after-libc): Likewise.
51926         [!+link-static] (+link-static-tests): Likewise.
51927         [!+link-static] (+link-static): Define in terms of
51928         $(+link-static-before-libc) and $(+link-static-after-libc).
51929         [build-shared] (link-libc-before-gnulib): New variable.
51930         [build-shared] (link-libc-tests): Likewise.
51931         [build-shared] (link-libc): Define in terms of
51932         $(link-libc-before-gnulib).
51933         [!build-shared] (link-libc-tests): New variable.
51934         (link-libc-static-tests): New variable.
51935         [!gnulib] (gnulib-arch): New variable.
51936         [!gnulib] (gnulib-tests): Likewise.
51937         [!gnulib] (static-gnulib-arch): Likewise.
51938         [!gnulib] (static-gnulib-tests): Likewise.
51939         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
51940         Define with "=" instead of ":=".
51941         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
51942         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
51943         * Rules (binaries-all-notests): New variable.
51944         (binaries-all-tests): Likewise.
51945         (binaries-static-notests): Likewise.
51946         (binaries-static-tests): Likewise.
51947         (binaries-all): Define using $(binaries-all-notests) and
51948         $(binaries-all-tests).
51949         (binaries-static): Define using $(binaries-static-notests) and
51950         $(binaries-static-tests).
51951         (binaries-shared-tests): New variable.
51952         (binaries-shared-notests): Likewise.
51953         (binaries-shared): Remove variable.
51954         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
51955         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
51956         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
51957         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
51958         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
51959         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
51960         * elf/Makefile (sln-modules): New variable.
51961         (extra-objs): Add $(sln-modules:=.o).
51962         (ldconfig-modules): Add static-stubs.
51963         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
51964         * elf/static-stubs.c: New file.
51966         [BZ #14283]
51967         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
51968         by 7 not 8 to examine high bit of fractional part.  Use volatile
51969         variables when splitting into final array of floats if
51970         __FLT_EVAL_METHOD__ != 0.
51971         * math/libm-test.inc (cos_test): Add another test.
51972         (sin_test): Likewise.
51973         * sysdeps/i386/fpu/libm-test-ulps: Update.
51975         [BZ #14273]
51976         * math/libm-test.inc (cosh_test): Add more tests.
51978         * version.h (RELEASE): Set to "development".
51979         (VERSION): Set to "2.16.90".
51981 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
51983         * NEWS: Update copyright. Remove last-updated date.
51984         Mention math library bug fixes and timezone data changes.
51985         * README: Mention GNU/Hurd, x32, and HPPA support status.
51987 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
51989         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
51991 2012-06-27  Andreas Jaeger  <aj@suse.de>
51993         * manual/contrib.texi (Contributors): Add Samuel Thibault.
51995 2012-06-25  Andreas Jaeger  <aj@suse.de>
51997         * sysdeps/s390/fpu/libm-test-ulps: Update.
51999 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
52000             Thomas Schwinge  <thomas@codesourcery.com>
52002         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
52003         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
52004         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
52005         fanotify_mark.
52007 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
52009         * sysdeps/mach/start.c: Remove file.
52010         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
52011         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
52012         * sysdeps/sh/init-first.c: Likewise.
52014         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
52015         registers for frame unwinding purposes, add CFI directives.
52016         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
52017         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
52018         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
52019         Likewise.
52021         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
52022         __fortify_fail returning.
52023         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
52025         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
52026         sysdeps/sh/____longjmp_chk.S.
52027         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
52028         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
52029         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
52030         (gen-as-const-headers): Append sigaltstack-offsets.sym.
52032         * sysdeps/sh/abort-instr.h: New file.
52033         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
52034         process in case exit returns.
52036         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
52037         initialize the GOT register before use.
52039         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
52040         calculation of ARGC > 4.
52042         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
52043         meaningful names to some local labels.
52045 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52046             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52048         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
52049         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
52050         (__arch_compare_and_exchange_val_16_acq): Likewise.
52051         (__arch_compare_and_exchange_val_32_acq): Likewise.
52052         (atomic_exchange_and_add): Fix gUSA sequence.
52053         (atomic_add): Likewise.
52054         (atomic_add_negative): Likewise.
52055         (atomic_add_zero): Likewise.
52056         (atomic_bit_test_set): Likewise.
52058 2012-06-22  Andreas Schwab  <schwab@redhat.com>
52060         [BZ #13579]
52061         * include/link.h (struct link_map): Add l_free_initfini.
52062         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
52063         l_initfini.
52064         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
52065         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
52066         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
52067         set.
52069 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
52071         * configure.in: Use AC_LANG_SOURCE.
52072         * configure: Regenerate.
52074 2012-06-22  Roland McGrath  <roland@hack.frob.com>
52076         * configure.in (libc_cv_localstatedir): New substituted variable.
52077         * configure: Regenerated.
52078         * config.make.in (localstatedir): New variable, substituted from
52079         libc_cv_localstatedir.
52080         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
52081         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
52082         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
52083         * sysdeps/gnu/configure: Regenerated.
52085 2012-06-21  Jeff Law  <law@redhat.com>
52087         [BZ #14277]
52088         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
52089         free.  Simplify list management for _LIBC case.
52091 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
52093         [BZ #14273]
52094         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
52095         Clear sign bit of 64-bit integer value before comparing against
52096         overflow value.
52098         * sysdeps/mach/configure: Regenerated.
52100 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
52102         [BZ #14278]
52103         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
52105 2012-06-21  Jeff Law  <law@redhat.com>
52107         [BZ #13882]
52108         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
52109         uint16_t for elements in the "seen" array to avoid char overflows.
52110         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52111         * elf/dl-open.c (dl_open_worker): Likewise.
52113 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
52115         * scripts/list-sources.sh: Scan PORTS for translations.
52116         * po/libc.pot: Regenerated.
52118 2012-06-21  Andreas Jaeger  <aj@suse.de>
52120         [BZ #12194]
52121         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
52122         warning.
52123         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
52124         * bits/byteswap-16.h (__bswap_16): Likewise.
52125         * bits/byteswap.h (__bswap_constant_16): Likewise.
52127 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
52129         [BZ #14117]
52130         * sysdeps/i386/fpu_control.h: Removed.
52131         * sysdeps/x86_64/fpu_control.h: Moved to ...
52132         * sysdeps/x86/fpu_control.h: Here.
52134         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
52135         (_FPU_SETCW): Likewise.
52137 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
52139         [BZ #14117]
52140         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
52141         * sysdeps/x86/fpu/bits/mathinline.h: This.
52142         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
52144         [BZ #14050]
52145         [BZ #14117]
52146         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
52147         functions if __x86_64__ is defined.
52149 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
52151         * string/endian.h: Add !__ASSEMBLER__ condition for including
52152         conversion interfaces.
52154 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
52156         [BZ #14241]
52157         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
52158         of ABS(x) in calculating zero to negative powers other than odd
52159         integers.
52160         * math/libm-test.inc (pow_test): Add more tests.
52162 2012-06-15  Andreas Jaeger  <aj@suse.de>
52164         * manual/contrib.texi (Contributors): Update entry of Liubov
52165         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
52166         Machado Filho.
52168 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
52170         * string/string.h: Add __wur to GNU version of strerror_r.
52172 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
52174         [BZ #14229]
52175         * string/Makefile (tests): Add tst-strtok_r.
52176         * string/tst-strtok_r.c: New file.
52177         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
52178         RAX_LP/RDX_LP on SAVE_PTR.
52180 2012-06-14  Roland McGrath  <roland@hack.frob.com>
52182         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
52184 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
52186         * libm_test.inc (csqrt_test): Allow more spurious underflow
52187         exceptions.
52188         (j0_test): Likewise.
52189         (j1_test): Likewise.
52190         (y0_test): Likewise.
52191         (y1_test): Likewise.
52193 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
52195         * po/Makefile (libc.pot): Use UTF-8 charset.
52197 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
52199         [BZ #14210]
52200         Suppress sign-conversion warning from FD_SET.
52201         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
52202         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
52203         not unsigned long int.
52204         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
52206 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
52208         [BZ #14050]
52209         [BZ #14117]
52210         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
52211         __extern_always_inline instead of __extern_inline.
52212         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
52213         (__signbit): Likewise.
52214         (__signbitl): Support C++ namespace.
52215         (lrintf): New inline function.
52216         (lrint): Likewise.
52217         (llrintf): Likewise.
52218         (llrint): Likewise.
52219         (fmaxf): Likewise.
52220         (fmax): Likewise.
52221         (fminf): Likewise.
52222         (fmin): Likewise.
52223         (rint): Likewise.
52224         (rintf): Likewise.
52225         (ceil): Likewise.
52226         (ceilf): Likewise.
52227         (floor): Likewise.
52228         (floorf): Likewise.
52229         (nearbyint): Likewise.
52230         (nearbyintf): Likewise.
52232 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
52234         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
52235         non-default versions.
52237 2012-06-11  Roland McGrath  <roland@hack.frob.com>
52239         [BZ #14218]
52240         * manual/argp.texi (Argp): Reword argp_parse description slightly.
52242 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
52244         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
52245         (FE_UPWARD, FE_DOWNWARD): Don't define.
52246         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
52247         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
52249         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
52250         reading it.
52251         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
52252         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52254 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52256         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52257         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
52258         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
52259         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
52261 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
52263         [BZ #14117]
52264         * sysdeps/i386/fpu/bits/fenv.h: Removed.
52265         * sysdeps/i386/fpu/Implies: New file.
52266         * sysdeps/x86_64/fpu/Implies: Likewise.
52267         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
52268         * sysdeps/x86/fpu/bits/fenv.h: This.
52270         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
52271         __SSE_MATH__.
52273 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52275         [BZ #14134]
52276         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
52277         character 0xffff that matches the last element of the
52278         conversion table.
52280 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52282         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
52283         fmodl commit.
52285 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52287         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
52288         values higher than 25.6283.
52290 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52292         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
52293         subnormal exponent extraction and add some __builtin_expect.
52294         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
52295         Fix for subnormal mantissa calculation.
52297 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
52299         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
52300         cpu2 is -1 and errno is not ENOSYS.
52302 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
52304         [BZ #14117]
52305         * sysdeps/i386/i486/bits/string.h: Renamed to ...
52306         * sysdeps/x86/bits/string.h: This.
52307         * sysdeps/x86_64/bits/string.h: Removed.
52309         * sysdeps/i386/i486/bits/string.h: Define inline functions only
52310         if not compiling for x86-64, but compiling for >= i486.
52312         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
52313         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
52315         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
52316         New macro from Linux kernel 3.4.0.
52317         (FP_XSTATE_MAGIC2): Likewise.
52318         (FP_XSTATE_MAGIC2_SIZE): Likewise.
52319         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
52320         (struct _fpx_sw_bytes): New struct.
52321         (struct _xsave_hdr): Likewise.
52322         (struct _ymmh_state): Likewise.
52323         (struct _xstate): Likewise.
52325         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
52326         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
52327         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
52328         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
52329         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
52330         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
52332         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
52333         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
52334         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
52335         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
52336         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
52337         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
52339 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52341         [BZ #13743]
52342         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
52343         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
52344         (sysdep_headers): Include sys/platform/ppc.h.
52345         * sysdeps/powerpc/test-gettimebase.c: Test for
52346         __ppc_get_timebase() to catch future ISA opcode/insn changes.
52347         * manual/Makefile (appendices): Include platform.texi.
52348         * manual/contrib.texi (Contributors): Update @node pointers.
52349         * manual/maint.texi (Maintenance): Likewise.
52350         (Platform): New node.
52351         * manual/platform.texi: New file.  Document the new features.
52353 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52354             Jakub Jelinek  <jakub@redhat.com>
52356         [BZ #14188]
52357         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
52358         where __builtin_expect is unavailable.
52360 2012-06-03  David S. Miller  <davem@davemloft.net>
52362         * stdlib/longlong.h: Updated from GCC.
52364 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
52366         [BZ #14042]
52367         * sysdeps/powerpc/powerpc32/mcount.c: New file.
52368         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
52369         __mcount_internal.
52370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
52371         (GLIBC_2.16): Likewise.
52373 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52375         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
52377 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
52379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
52380         (default-abi): New variable.
52381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
52382         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
52383         variable.
52384         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
52385         Likewise.
52386         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
52387         Likewise.
52388         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
52389         Likewise.
52391         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
52392         definition.  Document in comment.
52394 2012-06-01  David S. Miller  <davem@davemloft.net>
52396         * stdlib/longlong.h: Updated from GCC.
52398 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52400         [BZ #14117]
52401         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
52402         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
52403         sys/debugreg.h sys/io.h here.
52404         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
52405         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
52406         sys/io.h.
52407         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
52408         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
52409         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
52410         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
52411         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
52412         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
52414         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
52415         Define only if __x86_64__ is defined.
52417 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
52419         [BZ #14048]
52420         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
52421         Use int64_t for variable i.
52422         * math/libm-test.inc (fmod_test): Add more tests.
52424         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
52425         z computation is not scheduled after fetestexcept.
52426         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
52427         Use math_force_eval instead of asm to ensure calculation scheduled
52428         before exception test.
52429         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
52430         Ensure a1 + u.d computation is not scheduled after fetestexcept.
52432 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
52434         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
52435         computation is not scheduled after fetestexcept.
52437 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52439         [BZ #14117]
52440         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
52441         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
52443 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52445         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
52446         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52448 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
52450         [BZ #14117]
52451         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
52452         <bits/wordsize.h>.
52453         (__WCHAR_MIN): Support __WORDSIZE == 64.
52454         (__WCHAR_MAX): Likewise.
52456         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
52457         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
52459         [BZ #14183]
52460         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
52461         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
52463         [BZ #14117]
52464         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
52465         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
52467         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
52468         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
52470         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
52471         Defined to 1 if __x86_64__ isn't defined.
52472         (_STAT_VER_LINUX_OLD): New.
52473         (st_atime): Remove duplicate.
52474         (st_mtime): Likewise.
52475         (st_ctime): Likewise.
52477 2012-05-31  David S. Miller  <davem@davemloft.net>
52479         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
52480         entries.
52482 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
52484         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
52485         gen-libm-test.pl.
52487         [BZ #14132]
52488         * elf/dl-reloc.c: Include <_itoa.h>.
52489         (_dl_reloc_bad_type): Remove use of INTUSE.
52490         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
52491         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
52492         * stdio-common/psiginfo.c (psiginfo): Likewise.
52493         * stdio-common/psignal.c (psignal): Likewise.
52494         * string/strsignal.c (strsignal): Likewise.
52495         * include/signal.h (_sys_siglist): Declare hidden proto.
52496         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
52497         INTVARDEF with libc_hidden_data_def.
52498         * stdio-common/itoa-udigits.c: Likewise.
52499         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
52500         (_itoa_lower_digits_internal): Remove declaration.
52501         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
52502         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
52503         (_sys_sigabbrev_internal): Remove aliases.
52504         (_sys_siglist): Define hidden alias.
52506 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
52508         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52509         bits/sysctl.h.
52511 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
52513         [BZ #14117]
52514         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
52515         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
52517         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
52518         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
52519         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
52520         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
52521         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
52522         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
52524         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
52525         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
52526         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
52528         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
52529         with __addr.
52530         (insw): Likewise.
52531         (insl): Likewise.
52532         (outsb): Likewise.
52533         (outsw): Likewise.
52534         (outsl): Likewise.
52536         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
52537         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
52538         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
52540         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
52541         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
52542         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
52543         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
52544         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
52545         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
52547         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
52548         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
52550         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
52551         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
52553         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
52554         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
52555         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
52557         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
52558         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
52559         to ...
52560         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
52562         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
52563         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
52564         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
52566         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
52567         for x86-64.
52568         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
52570 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
52572         * math/math.h (M_El): Use two more decimal places.
52573         (M_LOG2El): Likewise.
52574         (M_LOG10El): Likewise.
52575         (M_LN2l): Likewise.
52576         (M_LN10l): Likewise.
52577         (M_PIl): Likewise.
52578         (M_PI_2l): Likewise.
52579         (M_PI_4l): Likewise.
52580         (M_1_PIl): Likewise.
52581         (M_2_PIl): Likewise.
52582         (M_2_SQRTPIl): Likewise.
52583         (M_SQRT2l): Likewise.
52584         (M_SQRT1_2l): Likewise.
52586 2012-05-31  David S. Miller  <davem@davemloft.net>
52588         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
52589         values between float registers.
52590         * sysdeps/sparc/sparc64/memset.S: Likewise.
52591         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52593 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
52595         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
52596         -D_FORTIFY_SOURCE=1.
52597         (CPPFLAGS-tst-longjmp_chk.c): Define.
52598         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
52599         (CPPFLAGS-tst-longjmp_chk2.c): Define.
52600         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
52601         CFLAGS-tst-wchar-h.c.
52603 2012-05-31  Marek Polacek  <polacek@redhat.com>
52605         [BZ #14132]
52606         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
52607         __endmntent_internal): Remove declaration.
52608         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
52609         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
52610         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
52612 2012-05-30  David S. Miller  <davem@davemloft.net>
52614         * sysdeps/sparc/sparc32/soft-fp/q_util.c
52615         (___Q_simulate_exceptions): Use real FP ops rather than writing
52616         into the %fsr.
52617         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
52618         Likewise.
52620 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52622         [BZ #14117]
52623         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
52624         * sysdeps/x86/bits/xtitypes.h: This.
52626         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
52627         * sysdeps/x86/bits/wordsize.h: This.
52629         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
52630         * sysdeps/x86/bits/huge_vall.h: This.
52632         * sysdeps/i386/bits/select.h: Removed.
52633         * sysdeps/x86_64/bits/select.h: Renamed to ...
52634         * sysdeps/x86/bits/select.h: This.
52636         * sysdeps/i386/bits/setjmp.h: Removed.
52637         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
52638         * sysdeps/x86/bits/setjmp.h: This.
52640         * sysdeps/i386/bits/mathdef.h: Removed.
52641         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
52642         * sysdeps/x86/bits/mathdef.h: This.
52644 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
52646         [BZ #14132]
52647         * include/sys/socket.h (__connect_internal)
52648         (__libc_sa_len_internal): Remove declaration.
52649         (__connect, __libc_sa_len): Declare hidden_proto.
52650         (SA_LEN): Remove use of INTUSE.
52651         * socket/connect.c: Add libc_hidden_def.
52652         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
52653         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
52654         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
52655         alias.
52656         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
52657         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
52658         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
52659         of adding _internal alias.
52661 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52663         [BZ #14117]
52664         * sysdeps/i386/bits/link.h: Removed.
52665         * sysdeps/i386/bits/linkmap.h: Likewise.
52666         * sysdeps/x86_64/bits/link.h: Renamed to ...
52667         * sysdeps/x86/bits/link.h: This.
52668         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
52669         * sysdeps/x86/bits/linkmap.h: This.
52671         * sysdeps/i386/bits/endian.h: Removed.
52672         * sysdeps/x86_64/bits/endian.h: Renamed to ...
52673         * sysdeps/x86/bits/endian.h: This.
52675         * sysdeps/i386/bits/byteswap.h: Removed.
52676         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52677         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
52678         * sysdeps/x86/bits/byteswap.h: This.
52679         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
52680         * sysdeps/x86/bits/byteswap-16.h: This.
52681         * sysdeps/i386/Implies: Add x86.
52682         * sysdeps/x86_64/Implies: Likewise.
52684 2012-05-30  David S. Miller  <davem@davemloft.net>
52686         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
52687         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
52688         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
52689         (FP_TRAPPING_EXCEPTIONS): Define.
52690         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
52691         (FP_TRAPPING_EXCEPTIONS): Define.
52692         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
52693         subnormals only when inexact has been signalled or underflow
52694         exceptions are enabled.
52695         (_FP_PACK_CANONICAL): Likewise.
52697 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52699         [BZ #14183]
52700         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
52701         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
52703 2012-05-30  Richard Henderson  <rth@twiddle.net>
52705         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
52706         with #ifndef NOT_IN_libc.
52708         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
52709         marked to avoid plt entry.
52711 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52713         [BZ #14112]
52714         * Makeconfig (default-abi): New macro.
52715         (abi-includes): Likewise.
52716         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
52717         $(abi-$(default-abi)-lib-soname) for soname if defined.
52718         ($(common-objpfx)gnu/lib-names.stmp): Generate from
52719         abi-variants.
52720         * Makefile (installed-stubs): Likewise.
52721         * include/stubs-biarch.h: Removed.
52722         * scripts/lib-names.awk: Only handle one library at a time.
52723         * scripts/soversions.awk: Remove WORDSIZE support.
52724         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
52725         entries.
52726         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
52727         Removed.
52728         (syscall-list-default-condition): Likewise.
52729         (syscall-list-default-condition): Likewise.
52730         (syscall-list-includes): Likewise.
52731         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
52732         syscall-list-* with abi-*.  Handle undefined abi-variants.
52733         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
52734         * sysdeps/unix/sysv/linux/i386/Implies: New file.
52735         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
52736         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
52737         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
52738         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
52739         Removed.
52740         (syscall-list-32-options): Likewise.
52741         (syscall-list-32-condition): Likewise.
52742         (syscall-list-64-options): Likewise.
52743         (syscall-list-64-condition): Likewise.
52744         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
52745         macro.
52746         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
52747         Renamed to ...
52748         (abi-*): This.
52749         (abi-64-ld-soname): New macro.
52750         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
52751         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
52752         Renamed to ...
52753         (abi-*): This.
52754         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
52755         * sysdeps/x86_64/x32/shlib-versions: Likewise.
52757 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
52759         * sysdeps/unix/sysv/linux/kernel-features.h
52760         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
52761         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
52762         include <kernel-features.h>.
52763         [!__NR_ftruncate64]: Remove conditional code.
52764         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52765         [__NR_ftruncate64]: Make code unconditional.
52766         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52767         * sysdeps/unix/sysv/linux/truncate64.c: Do not
52768         include <kernel-features.h>.
52769         [!__NR_ftruncate64]: Remove conditional code.
52770         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52771         [__NR_ftruncate64]: Make code unconditional.
52772         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
52774         include <kernel-features.h>.
52775         [!__NR_ftruncate64]: Remove conditional code.
52776         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52777         [__NR_ftruncate64]: Make code unconditional.
52778         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
52780         include <kernel-features.h>.
52781         [!__NR_ftruncate64]: Remove conditional code.
52782         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52783         [__NR_ftruncate64]: Make code unconditional.
52784         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52786         * configure.in (libc_cv_fpie): Weaken to a compile test using
52787         LIBC_TRY_CC_OPTION.
52788         * configure: Regenerated.
52790 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
52793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
52794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
52795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52796         Refreshed.
52797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
52798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
52799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
52800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
52801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
52802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52803         Refreshed.
52805 2012-05-27  David S. Miller  <davem@davemloft.net>
52807         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
52808         (___Q_zero): New.
52809         (__Q_simulate_exceptions): Return void.  Change to simulate
52810         exceptions by writing into the %fsr.
52811         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
52812         (__Qp_handle_exceptions): Likewise.
52813         (numbers): Delete.
52814         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
52815         __Qp_handle_exceptions.
52816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
52817         __Qp_handle_exceptions.
52818         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
52819         as unused and give dummy FP_RND_NEAREST initializer.
52820         (FP_INHIBIT_RESULTS): Define.
52821         (___Q_simulate_exceptions): Update declaration.
52822         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
52823         formatting.
52824         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
52825         as unused and give dummy FP_RND_NEAREST initializer.
52826         (__Qp_handle_exceptions): Update declaration.
52827         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
52828         formatting.
52830 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
52832         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
52833         the temporary FPU control word.
52834         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
52835         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
52836         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
52837         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
52838         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
52839         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
52840         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
52841         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
52842         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
52843         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
52844         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52846 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52848         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
52849         fields.
52851 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
52853         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
52854         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
52855         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
52856         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
52857         Likewise.
52858         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
52859         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
52860         Likewise.
52862 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
52864         * po/h.po: Update from translation team.
52866 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
52868         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
52870         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
52871         handling of denormals.
52872         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52873         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
52874         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
52875         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
52876         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52877         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
52878         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
52879         Likewise.
52881 2012-05-26  Marek Polacek  <polacek@redhat.com>
52883         [BZ #14152]
52884         * math/libm-test.inc (fma_test): Don't always expect underflow
52885         exception.
52887 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52889         [BZ #12416]
52890         * elf/tst-execstack.c: Include stackinfo.h.
52891         (do_test): Adjust test case to ensure that pthread_getattr_np
52892         behaviour remains the same after marking stack executable.
52894 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
52896         * sysdeps/unix/sysv/linux/kernel-features.h
52897         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
52898         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
52899         kernel-features.h.
52900         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
52901         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
52902         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
52903         kernel-features.h.
52904         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
52905         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
52907 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
52909         * configure.in: Define the default includes to being none.
52910         * configure: Regenerated.
52912 2012-05-25  Roland McGrath  <roland@hack.frob.com>
52914         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
52915         * sysdeps/x86_64/setjmp.S: Likewise.
52916         * sysdeps/i386/bsd-setjmp.S: Likewise.
52917         * sysdeps/i386/bsd-_setjmp.S: Likewise.
52918         * sysdeps/i386/setjmp.S: Likewise.
52919         * sysdeps/i386/__longjmp.S: Likewise.
52920         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
52921         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
52923         * include/stap-probe.h: New file.
52924         * configure.in: Handle --enable-systemtap.
52925         * configure: Regenerated.
52926         * config.h.in (USE_STAP_PROBE): New #undef.
52927         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
52928         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
52929         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
52931 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
52933         [BZ #13717]
52934         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
52935         to 2.4.0 where earlier.
52936         * sysdeps/unix/sysv/linux/configure: Regenerated.
52937         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
52938         <kernel-features.h>.
52939         [__ASSUME_32BITUIDS]: Make code unconditional.
52940         [!__ASSUME_32BITUIDS]: Remove conditional code.
52941         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
52942         <kernel-features.h>.
52943         [__ASSUME_32BITUIDS]: Make code unconditional.
52944         [!__ASSUME_32BITUIDS]: Remove conditional code.
52945         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
52946         [__ASSUME_32BITUIDS]: Make code unconditional.
52947         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
52948         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
52949         <kernel-features.h>.
52950         [__ASSUME_32BITUIDS]: Make code unconditional.
52951         [!__ASSUME_32BITUIDS]: Remove conditional code.
52952         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
52953         <kernel-features.h>.
52954         [__ASSUME_32BITUIDS]: Make code unconditional.
52955         [!__ASSUME_32BITUIDS]: Remove conditional code.
52956         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
52957         <kernel-features.h>.
52958         [__ASSUME_32BITUIDS]: Make code unconditional.
52959         [!__ASSUME_32BITUIDS]: Remove conditional code.
52960         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
52961         <kernel-features.h>.
52962         [__ASSUME_32BITUIDS]: Make code unconditional.
52963         [!__ASSUME_32BITUIDS]: Remove conditional code.
52964         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52965         <kernel-features.h>.
52966         [__ASSUME_32BITUIDS]: Make code unconditional.
52967         [!__ASSUME_32BITUIDS]: Remove conditional code.
52968         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52969         <kernel-features.h>.
52970         [__ASSUME_32BITUIDS]: Make code unconditional.
52971         [!__ASSUME_32BITUIDS]: Remove conditional code.
52972         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
52973         <kernel-features.h>.
52974         [__ASSUME_32BITUIDS]: Make code unconditional.
52975         [!__ASSUME_32BITUIDS]: Remove conditional code.
52976         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
52977         <kernel-features.h>.
52978         [__ASSUME_32BITUIDS]: Make code unconditional.
52979         [!__ASSUME_32BITUIDS]: Remove conditional code.
52980         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52981         <kernel-features.h>.
52982         [__ASSUME_32BITUIDS]: Make code unconditional.
52983         [!__ASSUME_32BITUIDS]: Remove conditional code.
52984         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
52985         <kernel-features.h>.
52986         [__ASSUME_32BITUIDS]: Make code unconditional.
52987         [!__ASSUME_32BITUIDS]: Remove conditional code.
52988         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
52989         <kernel-features.h>.
52990         [__NR_setresgid] (__setresgid): Do not declare.
52991         [__ASSUME_32BITUIDS]: Make code unconditional.
52992         [!__ASSUME_32BITUIDS]: Remove conditional code.
52993         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
52994         <kernel-features.h>.
52995         [__NR_setresuid] (__setresuid): Do not declare.
52996         [__ASSUME_32BITUIDS]: Make code unconditional.
52997         [!__ASSUME_32BITUIDS]: Remove conditional code.
52998         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
52999         <kernel-features.h>.
53000         [__ASSUME_32BITUIDS]: Make code unconditional.
53001         [!__ASSUME_32BITUIDS]: Remove conditional code.
53002         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
53003         <kernel-features.h>.
53004         [__ASSUME_32BITUIDS]: Make code unconditional.
53005         [!__ASSUME_32BITUIDS]: Remove conditional code.
53006         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
53007         <kernel-features.h>.
53008         [__ASSUME_32BITUIDS]: Make code unconditional.
53009         [!__ASSUME_32BITUIDS]: Remove conditional code.
53010         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
53011         <kernel-features.h>.
53012         [__ASSUME_32BITUIDS]: Make code unconditional.
53013         [!__ASSUME_32BITUIDS]: Remove conditional code.
53014         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
53015         <kernel-features.h>.
53016         [__ASSUME_32BITUIDS]: Make code unconditional.
53017         [!__ASSUME_32BITUIDS]: Remove conditional code.
53018         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
53019         <kernel-features.h>.
53020         [__ASSUME_32BITUIDS]: Make code unconditional.
53021         [!__ASSUME_32BITUIDS]: Remove conditional code.
53022         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
53023         <kernel-features.h>.
53024         [__ASSUME_32BITUIDS]: Make code unconditional.
53025         [!__ASSUME_32BITUIDS]: Remove conditional code.
53026         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
53027         <kernel-features.h>.
53028         [__ASSUME_32BITUIDS]: Make code unconditional.
53029         [!__ASSUME_32BITUIDS]: Remove conditional code.
53030         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
53031         <kernel-features.h>.
53032         [__ASSUME_32BITUIDS]: Make code unconditional.
53033         [!__ASSUME_32BITUIDS]: Remove conditional code.
53034         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
53035         <kernel-features.h>.
53036         [__ASSUME_32BITUIDS]: Make code unconditional.
53037         [!__ASSUME_32BITUIDS]: Remove conditional code.
53038         * sysdeps/unix/sysv/linux/kernel-features.h
53039         (__ASSUME_SETRESUID_SYSCALL): Remove.
53040         (__ASSUME_SETRESGID_SYSCALL): Likewise.
53041         (__ASSUME_32BITUIDS): Likewise.
53042         (__ASSUME_LDT_WORKS): Likewise.
53043         (__ASSUME_O_DIRECTORY): Likewise.
53044         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
53045         architecture but not kernel version.
53046         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
53047         (__ASSUME_MMAP2_SYSCALL): Likewise.
53048         (__ASSUME_STAT64_SYSCALL): Likewise.
53049         (__ASSUME_IPC64): Likewise.
53050         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
53051         <kernel-features.h>.
53052         [__ASSUME_32BITUIDS]: Make code unconditional.
53053         [!__ASSUME_32BITUIDS]: Remove conditional code.
53054         * sysdeps/unix/sysv/linux/opendir.c: Do not include
53055         <kernel-features.h>.
53056         [__ASSUME_O_DIRECTORY]: Make code unconditional.
53057         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
53058         132096]: Remove conditional code.
53059         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
53060         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53061         <kernel-features.h>.
53062         [__ASSUME_32BITUIDS]: Make code unconditional.
53063         [!__ASSUME_32BITUIDS]: Remove conditional code.
53064         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53065         <kernel-features.h>.
53066         [__ASSUME_32BITUIDS]: Make code unconditional.
53067         [!__ASSUME_32BITUIDS]: Remove conditional code.
53068         * sysdeps/unix/sysv/linux/setegid.c: Do not include
53069         <kernel-features.h>.
53070         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
53071         unconditional.
53072         (__setresgid): Do not declare.
53073         [__ASSUME_32BITUIDS]: Make code unconditional.
53074         [!__ASSUME_32BITUIDS]: Remove conditional code.
53075         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
53076         <kernel-features.h>.
53077         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
53078         unconditional.
53079         (__setresuid): Do not declare.
53080         [__ASSUME_32BITUIDS]: Make code unconditional.
53081         [!__ASSUME_32BITUIDS]: Remove conditional code.
53082         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53083         <kernel-features.h>.
53084         [__ASSUME_32BITUIDS]: Make code unconditional.
53085         [!__ASSUME_32BITUIDS]: Remove conditional code.
53086         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
53087         <kernel-features.h>.
53088         [__ASSUME_32BITUIDS]: Make code unconditional.
53089         [!__ASSUME_32BITUIDS]: Remove conditional code.
53091 2012-05-25  Richard Henderson  <rth@twiddle.net>
53093         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
53094         dl_hwcap to ifunc resolver.
53095         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
53096         elf_ifunc_invoke.
53097         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
53098         dl_hwcap to ifunc resolver.
53099         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
53101 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53103         [BZ #14153]
53104         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
53105         for |x| <= 2**-26, not 2**-57.
53106         * math/libm-test.inc (acos_test): Do not allow spurious underflow
53107         exception.
53109 2012-05-24  Jeff Law  <law@redhat.com>
53111         * stdio-common/Makefile (tests): Add bug25.
53112         * stdio-common/bug25.c: New test.
53114 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
53116         [BZ #13576]
53117         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
53118         multiple of MALLOC_ALIGNMENT in size.
53119         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
53121 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53123         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
53124         Require >= 256.
53125         (FILENAME_MAX): Use macro-int-constant.
53126         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
53127         (_IOFBF): Use macro-int-constant.
53128         (_IOLBF): Likewise.
53129         (_IONBF): Likewise.
53130         (SEEK_CUR): Likewise.
53131         (SEEK_END): Likewise.
53132         (SEEK_SET): Likewise.
53133         (TMP_MAX): Likewise.
53134         (EOF): Use macro-int-constant.  Require < 0.
53135         (NULL): Use macro-constant.  Require == 0.
53136         (stdin): Require type to be FILE *.
53137         (stdout): Likewise.
53138         (stderr): Likewise.
53139         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
53140         macro-int-constant.
53141         (EXIT_SUCCESS): Likewise.
53142         (NULL): Use macro-constant.  Require == 0.
53143         (RAND_MAX): Use macro-int-constant.
53144         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
53145         [C99-based standards] (strtof): Require function.
53146         [C99-based standards] (strtold): Likewise.
53147         [C99-based standards] (strtoll): Likewise.
53148         [C99-based standards] (strtoull): Likewise.
53149         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
53150         [ISO || ISO99 || ISO11] (limits.h): Likewise.
53151         [ISO || ISO99 || ISO11] (math.h): Likewise.
53152         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
53153         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
53154         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53156 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
53158         [BZ #14132]
53159         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
53160         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
53161         * intl/dgettext.c (DCGETTEXT): Likewise.
53162         * intl/gettext.c (DCGETTEXT): Likewise.
53163         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
53164         * posix/regex_internal.h (gettext): Likewise.
53165         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
53166         Remove declaration.
53167         * include/argz.h (__argz_count_internal)
53168         (__argz_stringify_internal): Remove declaration.
53169         (__argz_count, __argz_stringify): Declare hidden proto.
53170         * intl/dcgettext.c: Remove use of INTDEF.
53171         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
53172         * string/argz-stringify.c: Likewise.
53173         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
53174         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
53175         Declare hidden proto.
53176         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
53177         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
53178         Declare hidden proto.
53179         * include/stdio.h (__asprintf_internal): Don't declare.
53180         (__asprintf): Don't define as macro.  Declare hidden proto.
53181         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
53182         (__fsetlocking): Declare hidden proto.
53183         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
53184         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
53185         hidden proto.
53186         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
53187         (_IO_setlinebuf): Remove use of INTUSE.
53188         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
53189         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
53190         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
53191         Remove declaration.
53192         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
53193         (_IO_do_flush): Remove use of INTUSE.
53194         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
53195         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
53196         (_IO_adjust_column, _IO_least_wmarker)
53197         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
53198         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
53199         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
53200         (_IO_default_doallocate, _IO_wdefault_doallocate)
53201         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
53202         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
53203         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
53204         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
53205         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
53206         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
53207         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
53208         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
53209         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
53210         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
53211         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
53212         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
53213         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
53214         proto.
53215         (_IO_flush_all_internal, _IO_adjust_column_internal)
53216         (_IO_default_uflow_internal, _IO_default_finish_internal)
53217         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
53218         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
53219         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
53220         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
53221         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
53222         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
53223         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
53224         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
53225         (_IO_file_close_internal, _IO_file_close_it_internal)
53226         (_IO_file_underflow_internal, _IO_file_overflow_internal)
53227         (_IO_file_init_internal, _IO_file_attach_internal)
53228         (_IO_file_fopen_internal, _IO_file_read_internal)
53229         (_IO_file_sync_internal, _IO_file_seek_internal)
53230         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
53231         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
53232         (_IO_str_underflow_internal, _IO_str_overflow_internal)
53233         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
53234         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
53235         (_IO_list_all_internal, _IO_link_in_internal)
53236         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
53237         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
53238         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
53239         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
53240         (_IO_do_write_internal, _IO_padn_internal)
53241         (_IO_getline_info_internal, _IO_getline_internal)
53242         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
53243         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
53244         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
53245         (_IO_vfscanf_internal, _IO_vfprintf_internal)
53246         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
53247         (_IO_init_internal, _IO_un_link_internal): Don't declare.
53248         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
53249         with libc_hidden_ver, remove use of INTUSE.
53250         * libio/genops.c: Likewise.
53251         * libio/freopen.c: Likewise.
53252         * libio/freopen64.c: Likewise.
53253         * libio/iofclose.c: Likewise.
53254         * libio/iofdopen.c: Likewise.
53255         * libio/iofflush.c: Likewise.
53256         * libio/iofflush_u.c: Likewise.
53257         * libio/iofgets.c: Likewise.
53258         * libio/iofgets_u.c: Likewise.
53259         * libio/iofopen.c: Likewise.
53260         * libio/iofopncook.c: Likewise.
53261         * libio/iofread.c: Likewise.
53262         * libio/iofread_u.c: Likewise.
53263         * libio/ioftell.c: Likewise.
53264         * libio/iofwrite.c: Likewise.
53265         * libio/iogetline.c: Likewise.
53266         * libio/iogets.c: Likewise.
53267         * libio/iogetwline.c: Likewise.
53268         * libio/iopadn.c: Likewise.
53269         * libio/iopopen.c: Likewise.
53270         * libio/ioseekoff.c: Likewise.
53271         * libio/ioseekpos.c: Likewise.
53272         * libio/iosetbuffer.c: Likewise.
53273         * libio/iosetvbuf.c: Likewise.
53274         * libio/ioungetc.c: Likewise.
53275         * libio/ioungetwc.c: Likewise.
53276         * libio/iovdprintf.c: Likewise.
53277         * libio/iovsprintf.c: Likewise.
53278         * libio/iovsscanf.c: Likewise.
53279         * libio/memstream.c: Likewise.
53280         * libio/obprintf.c: Likewise.
53281         * libio/oldfileops.c: Likewise.
53282         * libio/oldiofclose.c: Likewise.
53283         * libio/oldiofdopen.c: Likewise.
53284         * libio/oldiofopen.c: Likewise.
53285         * libio/oldiopopen.c: Likewise.
53286         * libio/oldstdfiles.c: Likewise.
53287         * libio/putc.c: Likewise.
53288         * libio/setbuf.c: Likewise.
53289         * libio/setlinebuf.c: Likewise.
53290         * libio/stdfiles.c: Likewise.
53291         * libio/strops.c: Likewise.
53292         * libio/vasprintf.c: Likewise.
53293         * libio/vscanf.c: Likewise.
53294         * libio/vsnprintf.c: Likewise.
53295         * libio/vswprintf.c: Likewise.
53296         * libio/wfiledoalloc.c: Likewise.
53297         * libio/wfileops.c: Likewise.
53298         * libio/wgenops.c: Likewise.
53299         * libio/wmemstream.c: Likewise.
53300         * libio/wstrops.c: Likewise.
53301         * libio/__fpurge.c: Likewise.
53302         * libio/__fsetlocking.c: Likewise.
53303         * assert/assert.c: Likewise.
53304         * debug/fgets_chk.c: Likewise.
53305         * debug/fgets_u_chk.c: Likewise.
53306         * debug/fread_chk.c: Likewise.
53307         * debug/fread_u_chk.c: Likewise.
53308         * debug/gets_chk.c: Likewise.
53309         * debug/obprintf_chk.c: Likewise.
53310         * debug/vasprintf_chk.c: Likewise.
53311         * debug/vdprintf_chk.c: Likewise.
53312         * debug/vsnprintf_chk.c: Likewise.
53313         * debug/vsprintf_chk.c: Likewise.
53314         * malloc/mtrace.c: Likewise.
53315         * misc/error.c: Likewise.
53316         * misc/syslog.c: Likewise.
53317         * stdio-common/asprintf.c: Likewise.
53318         * stdio-common/fxprintf.c: Likewise.
53319         * stdio-common/getw.c: Likewise.
53320         * stdio-common/isoc99_fscanf.c: Likewise.
53321         * stdio-common/isoc99_scanf.c: Likewise.
53322         * stdio-common/isoc99_vfscanf.c: Likewise.
53323         * stdio-common/isoc99_vscanf.c: Likewise.
53324         * stdio-common/isoc99_vsscanf.c: Likewise.
53325         * stdio-common/printf-prs.c: Likewise.
53326         * stdio-common/printf_fp.c: Likewise.
53327         * stdio-common/printf_fphex.c: Likewise.
53328         * stdio-common/printf_size.c: Likewise.
53329         * stdio-common/putw.c: Likewise.
53330         * stdio-common/scanf.c: Likewise.
53331         * stdio-common/sprintf.c: Likewise.
53332         * stdio-common/tmpfile.c: Likewise.
53333         * stdio-common/vfprintf.c: Likewise.
53334         * stdio-common/vfscanf.c: Likewise.
53335         * stdlib/strfmon_l.c: Likewise.
53336         * sunrpc/openchild.c: Likewise.
53337         * sunrpc/xdr_stdio.c: Likewise.
53338         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
53339         * sysdeps/mach/hurd/tmpfile.c: Likewise.
53341 2012-05-24  Roland McGrath  <roland@hack.frob.com>
53343         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
53345         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
53346         in the third column, to generate for the shared library an IFUNC
53347         that uses _dl_vdso_vsym.
53348         * Makerules (COMPILE.c, compile-stdin.c): New variables.
53349         * Makeconfig (object-suffixes-noshared): New variable.
53351         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
53352         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
53353         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
53354         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
53356         [BZ #14132]
53357         * include/sys/time.h (__gettimeofday): Remove macro.
53358         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
53359         * time/gettimeofday.c (__gettimeofday): Remove #undef.
53360         Remove INTDEF.
53361         (__gettimeofday): Add libc_hidden_def.
53362         (gettimeofday): Add libc_hidden_weak.
53363         * sysdeps/mach/gettimeofday.c: Likewise.
53364         * sysdeps/posix/gettimeofday.c: Likewise.
53365         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
53366         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
53367         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
53368         (__gettimeofday_internal): Remove strong_alias.
53369         (__gettimeofday): Add libc_hidden_def.
53370         (gettimeofday): Add libc_hidden_weak.
53371         * sysdeps/unix/syscalls.list (gettimeofday):
53372         Remove __gettimeofday_internal alias.
53374 2012-05-24  Daniel Jacobowitz  <drow@false.org>
53375             H.J. Lu  <hongjiu.lu@intel.com>
53377         [BZ #12495]
53378         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
53379         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
53380         (largebin_index_32_big): New.
53381         (largebin_index): Use it for 16-byte alignment.
53382         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
53383         correction with front_misalign.
53385 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
53387         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
53388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
53389         Likewise.
53390         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
53391         Likewise.
53392         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53393         Likewise.
53394         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
53395         Likewise.
53396         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
53397         Likewise.
53398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
53399         Likewise.
53400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
53401         Likewise.
53402         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
53403         Likewise.
53404         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
53405         Likewise.
53406         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
53407         Likewise.
53408         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
53409         Likewise.
53410         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
53411         Likewise.
53413         * scripts/data/c++-types-x32-linux-gnu.data: New file.
53414         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
53416 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53418         [BZ #10846]
53419         [BZ #14036]
53420         * math/libm-test.inc (exp_test): Add test from bug 14036.
53421         (pow_test): Add test from bug 10846.
53423         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
53424         and other flags.
53425         (special_function): Do not include flags in test name.
53426         (parse_args): Likewise.
53427         * sysdeps/i386/fpu/libm-test-ulps: Update.
53428         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53429         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53430         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53433         * math/gen-libm-test.pl (%beautify): Add entries for underflow
53434         exceptions.
53435         * math/libm-test.inc ("Philosophy"): Update comment about
53436         exception testing.
53437         (UNDERFLOW_EXCEPTION): New macro.
53438         (UNDERFLOW_EXCEPTION_OK): Likewise.
53439         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
53440         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
53441         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
53442         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
53443         (INVALID_EXCEPTION_OK): Update value.
53444         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53445         (OVERFLOW_EXCEPTION_OK): Likewise.
53446         (IGNORE_ZERO_INF_SIGN): Likewise.
53447         (test_exceptions): Handle underflow exceptions.
53448         (acos_test): Update for underflow exception expectations.
53449         (cexp_test): Likewise.
53450         (clog_test): Likewise.
53451         (clog10_test): Likewise.
53452         (csqrt_test): Likewise.
53453         (ctan_test): Likewise.
53454         (ctanh_test): Likewise.
53455         (exp_test): Likewise.
53456         (exp10_test): Likewise.
53457         (exp2_test): Likewise.
53458         (expm1_test): Likewise.
53459         (fma_test): Likewise.
53460         (j0_test): Likewise.
53461         (jn_test): Likewise.
53462         (nexttoward_test): Likewise.
53463         (pow_test): Likewise.
53464         (scalbn_test): Likewise.
53465         (scalbln_test): Likewise.
53466         (tan_test): Likewise.
53467         (y1_test): Likewise.
53468         * sysdeps/i386/fpu/libm-test-ulps: Update.
53469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53471 2012-05-23  David S. Miller  <davem@davemloft.net>
53473         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
53474         (__libc_sigaction): Remove unused local variables.
53476 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
53478         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
53480 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
53482         mktime: avoid signed integer overflow
53483         * time/mktime.c (__mktime_internal): Do not mishandle the case
53484         where diff == INT_MIN.
53486         mktime: simplify computation of average
53487         * time/mktime.c (ranged_convert): Use new time_t_avg function
53488         instead of rolling our own (probably-slower) code.
53490         mktime: do not assume signed right shift propagates sign bit
53491         * time/mktime.c (isdst_differ): New static function.
53492         (__mktime_internal): No need to normalize tm_isdst now.
53493         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
53494         tm_isdst values.
53496         mktime: merge another wrapv change from gnulib
53497         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
53498         from some compilers.
53500         mktime: remove incorrect attempt at unusual arithmetics
53501         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
53502         The code didn't really work on such machines anyway.
53503         (TYPE_MINIMUM): Assume two's complement.
53504         (twos_complement_arithmetic): Verify that long_int and time_t
53505         are two's complement (or unsigned, in the latter case).
53507         mktime: check signed shifts on long_int and time_t, too
53508         * time/mktime.c (SHR): Check that shifts work as desired
53509         on the types long_int and time_t too, as SHR is used on
53510         such types.
53512         mktime: do not assume 'long' is wide enough
53513         * time/mktime.c (verify): Move decl up.
53514         (long_int): New type.
53515         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
53516         to remove assumption in the code that 'long' is wide enough to
53517         store year values.  This assumption is not true on x32 and on
53518         some non-glibc platforms.
53520         mktime: merge wrapv change from gnulib
53521         * time/mktime.c (WRAPV): New macro.
53522         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
53523         (guess_time_tm, __mktime_internal): Do not assume that signed
53524         integer overflow wraps around; modern compilers generate code
53525         where this assumption is no longer valid.
53527 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
53529         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
53530         Replace "jmp L(pseudo_end)" with "ret".
53531         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
53532         Likewise.
53534 2012-05-23  Andreas Jaeger  <aj@suse.de>
53536         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
53537         * sysdeps/unix/sysv/linux/poll.c: Remove file.
53539 2012-05-23  Andreas Jaeger  <aj@suse.de>
53540             Maximilian Attems  <max@stro.at>
53542         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
53543         New macros.
53545 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
53547         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
53548         code so that pseudo_end is just ret and the stack pointer is
53549         correct also for static library in error case.
53551 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
53553         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
53554         move to syscalls.list.
53555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
53556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
53557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
53558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
53560         * manual/install.texi (Running make install): Do not mention Linux
53561         kernel version for which pt_chown is not needed.
53562         (Linux): Do not mention problems with nscd with 2.0 kernels.
53563         * INSTALL: Regenerated.
53565 2012-05-23  Andreas Jaeger  <aj@suse.de>
53567         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
53568         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
53569         macro.
53570         * sysdeps/unix/sysv/linux/s390/bits/mman.h
53571         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53572         * sysdeps/unix/sysv/linux/sh/bits/mman.h
53573         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53574         * sysdeps/unix/sysv/linux/i386/bits/mman.h
53575         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53576         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
53577         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53578         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
53579         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53580         * sysdeps/unix/sysv/linux/bits/in.h
53581         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
53583 2012-05-22  Roland McGrath  <roland@hack.frob.com>
53585         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
53586         (PREPARE_VERSION): Just use assert instead, it will be elided
53587         under [NDEBUG] anyway.
53589 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53591         * sysdeps/unix/sysv/linux/Makefile: Include
53592         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
53593         (sysdep_routines): Remove sysctl.
53594         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
53595         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
53596         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
53597         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
53598         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
53600 2012-05-22  Andreas Jaeger  <aj@suse.de>
53602         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
53603         that pseudo_end is just ret and the stack pointer is correct also
53604         for static library in error case.
53606 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
53608         [BZ #14122]
53609         * nss/nsswitch.c (defconfig_entries): New variable.
53610         (__nss_database_lookup): Don't leak defconfig entries.
53611         (nss_parse_service_list): Don't leak on error paths.
53612         (free_database_entries): New function.
53613         (free_defconfig): New function.
53614         (free_mem): Move common code to free_database_entries.
53616 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53618         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
53619         Add arch_prctl.
53620         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
53622         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
53623         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
53624         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
53625         New macro.
53626         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
53627         (INTERNAL_SYSCALL_TYPES): Likewise.
53628         (LOAD_ARGS_TYPES_[1-6]): Likewise.
53629         (LOAD_REGS_TYPES_[1-6]): Likewise.
53630         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
53631         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
53633 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53635         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
53636         copysignl for GLIBC_2_0.
53637         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
53638         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
53639         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
53640         logbl for GLIBC_2_0.
53641         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
53642         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
53644 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53646         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
53647         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
53649         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
53650         Use "neg %eax".
53652         * time/mktime.c: Update copyright years.
53654 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
53656         mktime: merge comment-quoting-style change from gnulib
53657         * time/mktime.c: Quote 'like this' in comments.
53658         The GNU coding standards suggest that we no longer quote `like this',
53659         as "`" and "'" are typically rendered asymmetrically nowadays.
53660         The typical gnulib style is to quote 'like this' when quoting
53661         code, and "like this" when quoting English.
53663         * time/mktime.c (compile-command): Add "-I.".
53665         mktime: merge mktime-internal.h change from gnulib
53666         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
53668         mktime: merge time_r change from gnulib
53669         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
53671         mktime: merge DEBUG change from gnulib
53672         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
53673         case system <time.h> has a #define.
53675         mktime: merge <sys/types.h> change from gnulib
53676         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
53677         since <time.t> is now guaranteed to define time_t.
53679         mktime: merge HAVE_CONFIG_H change from gnulib
53680         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
53682 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53684         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
53685         Use "neg %eax".
53687         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
53688         __rlim_t cast.
53689         (struct rusage): Use anonymous union to pad each field to
53690         __syscall_slong_t.
53692 2012-05-21  David S. Miller  <davem@davemloft.net>
53694         * Makefules (o-iterator): Remove .s cases.
53695         (compile-command.s): Delete.
53696         (COMPILE.s): Delete.
53697         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
53699 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
53701         * configure.in (libc_cv_predef_stack_protector): Only consider
53702         "foobar" and "__stack_chk_fail" lines in libc_undefs.
53703         * configure: Regenerated.
53705 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
53707         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
53708         New macro.  Use R*LP on int and pointer.
53709         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
53710         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
53711         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
53712         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
53714         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
53715         [__WORDSIZE_TIME64_COMPAT32] instead of
53716         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
53717         (struct utmp): Likewise.
53718         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
53719         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
53720         Renamed to ...
53721         (__WORDSIZE_TIME64_COMPAT32): This.
53722         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
53723         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
53724         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
53725         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
53726         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
53727         (__WORDSIZE_TIME64_COMPAT32): New macro.
53729 2012-05-21  Andreas Jaeger  <aj@suse.de>
53731         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
53732         only if [SHARED]. Add prototype for __wcschr_ia32.
53734 2012-05-21  Roland McGrath  <roland@hack.frob.com>
53736         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
53737         of %rbp unmolested in the jmp_buf while mangling the low bits.
53738         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
53739         unmolested high bits of %rbp while demangling the low bits.
53740         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
53742 2012-05-21  Andreas Jaeger  <aj@suse.de>
53744         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
53745         * sunrpc/svc_simple.c: Use it for registerrpc.
53746         * sunrpc/xcrypt.c: Use it for passwd2des.
53748         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
53750 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
53752         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
53753         Don't define if [__SYSCALL_WORDSIZE != 32].
53754         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
53755         New macro.
53757 2012-05-21  Bruno Haible  <bruno@clisp.org>
53758             Andreas Jaeger  <aj@suse.de>
53760         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
53761         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
53762         inptr and inend for must_buffer_ch.
53763         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
53764         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
53765         * stdio-common/Makefile (tests): Remove bug15.
53766         (bug15-ENV): Remove macro.
53767         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
53768         anymore.
53770 2012-05-19  Andreas Jaeger  <aj@suse.de>
53771             Roland McGrath  <roland@hack.frob.com>
53773         * manual/contrib.texi: Completely rewritten. It contains now an
53774         alphabetical list of contributors and their contributions.
53776 2012-05-21  Richard Henderson  <rth@twiddle.net>
53778         * misc/getauxval.c (__getauxval): Use unsigned long int.
53779         * misc/sys/auxv.h: Include <sys/cdefs.h>.
53780         (getauxval): Use unsigned long int.
53782 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
53784         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
53786 2012-05-21  Roland McGrath  <roland@hack.frob.com>
53788         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
53789         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
53790         __alignof__ (long double).
53792 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53796 2012-05-20  Richard Henderson  <rth@twiddle.net>
53798         * misc/getauxval.c: New file.
53799         * misc/sys/auxv.h: New file.
53800         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
53801         (routines): Add getauxval.
53802         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
53803         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
53804         * elf/dl-sysdep.c (_dl_auxv): Remove.
53805         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
53806         * elf/dl-support.c (_dl_auxv): New variable.
53807         (_dl_aux_init): Initialize it.
53808         * manual/startup.texi (Auxiliary Vector): New node.
53809         * sysdeps/generic/bits/hwcap.h: New file.
53810         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
53811         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
53812         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
53813         * sysdeps/sparc/sysdep.h: ... here.  Include it.
53814         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
53815         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
53816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53817         Update.
53818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
53819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
53820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
53821         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
53822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
53823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
53824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
53825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
53827 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53831 2012-05-19  David S. Miller  <davem@davemloft.net>
53833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53835 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
53837         [BZ #14123]
53838         * math/s_ccosh.c: Include <float.h>
53839         (__ccosh): Avoid internal overflow calculating sinh and cosh
53840         values before multiplying by sin and cos values.
53841         * math/s_ccoshf.c: Likewise.
53842         * math/s_ccoshl.c: Likewise.
53843         * math/s_csin.c: Likewise.
53844         * math/s_csinf.c: Likewise.
53845         * math/s_csinl.c: Likewise.
53846         * math/s_csinh.c: Likewise.
53847         * math/s_csinhf.c: Likewise.
53848         * math/s_csinhl.c: Likewise.
53849         * math/libm-test.inc (ccos_test): Add more tests.
53850         (ccosh_test): Likewise.
53851         (csin_test): Likewise.
53852         (csinh_test): Likewise.
53853         * sysdeps/i386/fpu/libm-test-ulps: Update.
53854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53856 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
53858         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
53859         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
53861         * sysdeps/x86_64/x32/_itoa.h: Add comment.
53863 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
53865         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
53866         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
53867         * sysdeps/powerpc/soft-fp/Versions: Likewise.
53868         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
53869         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
53870         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
53871         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
53872         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
53873         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
53874         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
53875         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
53876         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
53877         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
53878         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
53879         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
53880         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
53881         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
53882         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
53883         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
53884         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
53885         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
53886         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
53887         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
53888         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
53889         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
53890         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
53891         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
53892         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
53893         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
53894         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
53895         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
53897 2012-05-18  Andreas Jaeger  <aj@suse.de>
53899         * csu/.gitignore: Delete.
53901 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
53903         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
53904         (timex): Use __syscall_slong_t.
53906 2012-05-18  Andreas Jaeger  <aj@suse.de>
53907             Carlos O'Donell  <carlos_odonell@mentor.com>
53909         * manual/install.texi (Configuring and compiling): Update
53910         description about files modified in the source directory.
53911         * INSTALL: Regenerated.
53913 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
53915         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
53916         value.  Use "or" to set return value to -1.
53917         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
53918         negate return value.
53920 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53922         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
53923         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
53924         failure if the compiler has Graphite support disabled.
53925         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
53926         Likewise.
53927         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
53928         (CFLAGS-memmove.c): Likewise.
53929         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
53930         Likewise.
53932 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
53934         * sysdeps/x86_64/x32/_itoa.h: New file.
53936         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
53937         getdents system call only if kernel and user dirents have the
53938         same d_ino and d_off.
53940         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53941         LLONG_MAX != LONG_MAX.
53942         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53943         (_fitoa_word): Likewise.
53945         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
53946         years.
53947         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
53948         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
53949         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
53951         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
53952         include <bits/wordsize.h>.  Check __x86_64__ instead of
53953         __WORDSIZE.
53954         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
53955         if __x86_64__ is defined.  Use anonymous union on fpstate.
53957         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
53958         anonymous union.
53960 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
53962         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
53963         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
53964         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
53965         Refer to _rtld_local_ro instead of _rtld_global_ro.
53966         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
53967         Likewise.
53968         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
53969         Likewise.
53970         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
53971         Likewise.
53972         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
53973         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
53974         of _rtld_global, and rtld_progname instead of _dl_argv[0].
53976         [BZ #10882]
53977         * sysdeps/powerpc/powerpc32/dl-machine.c
53978         (__elf_machine_runtime_setup) [PROF]: Don't reference
53979         _dl_prof_resolve.
53981 2012-05-18  Andreas Jaeger  <aj@suse.de>
53983         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
53984         function only available for GCCs before 3.4 since GCC 3.4
53985         introduced a builtin.
53986         (lrint): Likewise.
53987         (llrintf): Likewise.
53988         (llrint): Likewise.
53989         (fmaxf): Likewise.
53990         (fmax): Likewise.
53991         (fminf): Likewise.
53992         (fmin): Likewise.
53993         (rint): Likewise.
53994         (rintf): Likewise.
53995         (nearbyint): Likewise.
53996         (nearbyintf): Likewise.
53997         (ceil): Likewise.
53998         (ceilf): Likewise.
53999         (floor): Likewise.
54000         (floorf): Likewise.
54002 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54004         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
54005         on both fields and cast pointer to __syscall_ulong_t.
54007         * bits/types.h (__fsword_t): New type.
54008         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
54009         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
54010         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54011         (__FSWORD_T_TYPE): Likewise.
54012         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54013         (__FSWORD_T_TYPE): Likewise.
54014         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54015         (__FSWORD_T_TYPE): Likewise.
54016         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
54017         (__FSWORD_T_TYPE): Likewise.
54018         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
54019         __SWORD_TYPE with __fsword_t.
54020         (statfs64): Likewise.
54022 2012-05-17  David S. Miller  <davem@davemloft.net>
54024         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
54026 2012-05-17  Andreas Jaeger  <aj@suse.de>
54028         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
54029         warning.
54031 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54033         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
54035 2012-05-17  Andreas Jaeger  <aj@suse.de>
54037         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
54038         when it is used.
54040 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
54042         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
54044 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54046         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
54047         * sysdeps/x86_64/tst-mallocalign1.c: New file.
54049 2012-05-17  Andreas Jaeger  <aj@suse.de>
54050             Carlos O'Donell  <carlos_odonell@mentor.com>
54052         [BZ #14059]
54053         * sysdeps/x86_64/multiarch/init-arch.h
54054         (bit_YMM_Usable): Rename to...
54055         (bit_AVX_Usable): ... this.
54056         (bit_FMA4_Usable): New macro.
54057         (bit_XMM_state): New macro.
54058         (bit_YMM_state): New macro.
54059         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
54060         [__ASSEMBLER__] (index_AVX_Usable): ... this.
54061         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
54062         (CPUID_OSXSAVE): New macro.
54063         (CPUID_AVX): New macro.
54064         (CPUID_FMA4): New macro.
54065         (index_YMM_Usable): Rename to...
54066         (index_AVX_Usable): ... this.
54067         (HAS_AVX): Use HAS_ARCH_FEATURE.
54068         (HAS_FMA4): Likewise.
54069         (HAS_YMM_USABLE): Remove.
54070         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54071         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
54072         are present.
54073         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
54074         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
54075         * sysdeps/x86_64/multiarch/Makefile: Likewise.
54076         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
54077         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
54079 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
54081         * math/libm-test.c: Support platforms without multiple rounding modes.
54082         * math/bug-nextafter.c: Support platforms without FP exceptions.
54083         * math/bug-nexttoward.c: Likewise.
54084         * math/test-fenv.c: Likewise.
54085         * math/test-misc.c: Likewise.
54086         * stdlib/bug-getcontext.c: Likewise.
54088 2012-05-17  Andreas Jaeger  <aj@suse.de>
54090         * manual/examples/search.c (critter_cmp): Change signature to
54091         avoid warnings.
54092         * manual/string.texi (Collation Functions): Likewise.
54094 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54096         * bits/types.h: Fold copyright years.
54097         * bits/typesizes.h: Likewise.
54098         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
54099         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
54100         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
54101         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
54102         * time/time.h: Likewise.
54104 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
54106         [BZ #208]
54107         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
54108         in instead of returning them.  Return void.
54109         (__libc_mallinfo): Accumulate over all arenas.
54110         (__malloc_stats): Adjust for change in int_mallinfo interface.
54112 2012-05-16  Roland McGrath  <roland@hack.frob.com>
54114         [BZ #10375]
54115         * configure.in (NM): Add AC_CHECK_TOOL for it.
54116         (libc_extra_cflags): New substituted variable.
54117         Check for -fstack-protector being used implicitly.
54118         * configure: Regenerated.
54119         * config.make.in (config-extra-cflags): New variable,
54120         gets @libc_extra_cflags@.
54121         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
54123         [BZ #10375]
54124         * configure.in: Check for _FORTIFY_SOURCE being predefined.
54125         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
54126         * configure: Regenerated.
54127         * config.make.in (CPPUNDEFS): New substituted variable.
54128         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
54129         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
54130         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
54132 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54134         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
54135         (mq_attr): Use __syscall_slong_t.
54137 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54139         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
54140         Check __x86_64__ instead of __WORDSIZE.
54141         (_STAT_VER_LINUX): Likewise.
54142         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
54143         __syscall_ulong_t and __syscall_slong_t.
54144         (stat64): Likewise.
54146 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54148         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
54150 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54152         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
54154 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54156         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
54157         __syscall_ulong_t.
54159         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
54160         include <bits/wordsize.h>.  Check __x86_64__ instead of
54161         __WORDSIZE.
54162         (greg_t): Use "__extension__ long long int" if __x86_64__ is
54163         defined.
54164         (mcontext_t): Replace "unsigned long" with "unsigned long long".
54166         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
54167         include <bits/wordsize.h>.  Check __x86_64__ instead of
54168         __WORDSIZE.
54169         (user_regs_struct): Use "__extension__ unsigned long long"
54170         instead of "unsigned long" if __x86_64__ is defined.
54171         (user): Likewise.  Pad after pointer field if __ILP32__ is
54172         defined.
54174 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
54176         * configure.in (makeinfo): Require version 4.5 or later.  Allow
54177         versions 5 to 9.
54178         * configure: Regenerated.
54179         * manual/install.texi (texinfo): Increase version requirement to
54180         4.5 or later.
54181         * INSTALL: Regenerated.
54183         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
54185 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54187         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
54189         * sysdeps/x86_64/x32/ffs.c: New file.
54191         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
54192         __syscall_ulong_t.
54193         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
54194         defined.  Use __syscall_ulong_t.
54195         (shminfo): Use __syscall_ulong_t.
54196         (shm_info): Likewise.
54198         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
54199         __syscall_ulong_t.
54201         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
54202         <bits/wordsize.h>.
54203         (msgqnum_t): Use __syscall_ulong_t.
54204         (msglen_t): Likewise.
54205         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
54206         __syscall_ulong_t.
54208         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
54209         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54211         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
54213         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
54214         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
54216         * sysvipc/sys/msg.h (msgbuf): Replace long int with
54217         __syscall_slong_t.
54219         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
54220         include <bits/wordsize.h>.  Check __x86_64__ instead of
54221         __WORDSIZE.
54223         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
54224         "unsigned long long int" if __x86_64__ is defined.
54225         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
54227         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
54228         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54229         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
54231         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
54232         <stdint.h>.
54233         (GET_PC): Cast to uintptr_t first.
54234         (GET_FRAME): Likewise.
54235         (GET_STACK): Likewise.
54237         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
54238         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
54239         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
54240         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
54241         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
54242         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
54243         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
54244         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
54245         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
54246         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
54247         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
54248         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
54249         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54250         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
54251         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
54252         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
54253         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
54254         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
54255         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
54256         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
54257         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
54258         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
54259         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
54260         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
54261         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
54262         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
54263         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
54264         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
54265         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
54267 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
54269         * Makerules (+depfiles): Also collect depfiles from .oS in
54270         $(extra-objs).
54271         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
54272         .oS, $(libnldbl-routines)).
54274         * Makerules (native-compile-mkdep-flags): Define.
54275         * sunrpc/Makefile (extra-objs): Add $(addprefix
54276         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
54277         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
54278         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
54279         calling $(make-target-directory).
54281 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54283         * bits/types.h (__snseconds_t): Removed.
54284         * time/time.h (struct timespec): Replace __snseconds_t with
54285         __syscall_slong_t.
54286         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
54287         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
54288         Likewise.
54289         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54290         (__SNSECONDS_T_TYPE): Likewise.
54291         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54292         (__SNSECONDS_T_TYPE): Likewise.
54293         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54294         (__SNSECONDS_T_TYPE): Likewise.
54296 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54298         * sysdeps/mach/hurd/bits/typesizes.h
54299         (__SYSCALL_SLONG_TYPE): New macro.
54300         (__SYSCALL_ULONG_TYPE): Likewise.
54302 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54304         * bits/types.h (__syscall_slong_t): New type.
54305         (__syscall_ulong_t): Likewise.
54307         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
54308         (__SYSCALL_ULONG_TYPE): Likewise.
54309         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54310         (__SYSCALL_SLONG_TYPE): Likewise.
54311         (__SYSCALL_ULONG_TYPE): Likewise.
54312         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54313         (__SYSCALL_SLONG_TYPE): Likewise.
54314         (__SYSCALL_ULONG_TYPE): Likewise.
54315         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54316         (__SYSCALL_SLONG_TYPE): Likewise.
54317         (__SYSCALL_ULONG_TYPE): Likewise.
54319 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54321         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
54322         Add sigaltstack-offsets.sym.
54323         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
54324         <sigaltstack-offsets.h>.
54325         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
54326         longjmp_msg pointer.
54327         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
54328         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
54329         signal stack.
54330         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
54332 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
54334         * elf/stackguard-macros.h: Remove file.
54335         * sysdeps/generic/stackguard-macros.h: New file.
54336         * sysdeps/i386/stackguard-macros.h: Likewise.
54337         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
54338         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
54339         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
54340         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
54341         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
54342         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
54343         * sysdeps/x86_64/stackguard-macros.h: Likewise.
54344         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
54345         <elf/stackguard-macros.h>.
54347         [BZ #14109]
54348         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
54349         __aligned__ in attribute.
54350         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
54351         (gregset_t): Likewise.
54353 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54355         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
54356         * sysdeps/x86_64/64/Implies-after: Here.  New file.
54357         * sysdeps/x86_64/x32/Implies-after: New file.
54359 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54361         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
54362         and access return value for _dl_profile_fixup.  Use R10_LP to
54363         load frame size.
54365 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54367         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
54369 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54371         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
54372         * sysdeps/x86_64/x32/sysdep.h: New file.
54374 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54376         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
54377         * sysdeps/x86_64/setjmp.S: Likewise.
54379 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54381         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
54382         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
54383         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
54384         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
54385         remove unused global constant.
54387 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
54389         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
54390         include of <not-cancel.h>.
54392 2012-05-15  Roland McGrath  <roland@hack.frob.com>
54394         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
54396 2012-05-15  Jeff Law  <law@redhat.com>
54397             Andreas Jaeger  <aj@suse.de>
54399         [BZ #13594]
54400         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
54401         out from...
54402         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
54403         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
54404         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
54405         code changing __hst_map_handle.map.
54407 2012-05-15  Roland McGrath  <roland@hack.frob.com>
54409         * configure.in (sysnames): Look for Implies-before and Implies-after
54410         files.
54411         * configure: Regenerated.
54413 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54415         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
54416         8-byte data alignment with LP_SIZE alignment.
54418 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54420         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
54421         into R10_LP.
54423 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54425         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
54427 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54429         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
54430         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
54431         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
54432         Likewise.
54433         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
54435 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54437         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
54438         (stackinfo_sub_sp): Likewise.
54440 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54442         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
54443         RAX_LP.
54445 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54447         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
54448         into R*_LP.
54450 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54452         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
54453         sizes into R*_LP.
54455 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54457         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
54459 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54461         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
54462         into R11_LP and load __x86_64_shared_cache_size_half into
54463         R8_LP.
54465 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54467         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
54468         R8_LP.
54470 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54472         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
54473         logb for POWER7.
54474         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
54475         logbf for POWER7.
54476         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
54477         logbl for POWER7.
54478         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
54479         powerpc32/power7/fpu/s_logb.c via #include.
54480         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
54481         powerpc32/power7/fpu/s_logbf.c via #include.
54482         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
54483         powerpc32/power7/fpu/s_logbl.c via #include.
54485 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
54487         * README.libm: Remove file.
54489 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54491         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
54492         count for x32.  Use R*_LP and omit operand-size suffix.
54494 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54496         * shlib-versions: Move x86_64-.*-linux.* entries to ...
54497         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
54498         * sysdeps/x86_64/x32/shlib-versions: New file.
54500 2012-05-14  Roland McGrath  <roland@hack.frob.com>
54502         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
54503         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
54504         Use _dl_fatal_printf instead.
54506 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
54508         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
54509         set if not set by the user.  Do not allow for being unset.
54510         * sysdeps/unix/sysv/linux/configure: Regenerated.
54512 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54514         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
54515         the `q' suffix from lea and replace .quad with ASM_ADDR.
54517 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54519         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
54520         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
54521         instead of $17.
54522         (PTR_DEMANGLE): Likewise.
54524 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54526         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
54527         (LP_OP): Likewise.
54528         (ASM_ADDR): Likewise.
54529         (RAX_LP): Likewise.
54530         (RBP_LP): Likewise.
54531         (RBX_LP): Likewise.
54532         (RCX_LP): Likewise.
54533         (RDI_LP): Likewise.
54534         (RSI_LP): Likewise.
54535         (RSP_LP): Likewise.
54536         (R8_LP): Likewise.
54537         (R9_LP): Likewise.
54538         (R10_LP): Likewise.
54539         (R10_LP): Likewise.
54540         (R11_LP): Likewise.
54541         (R12_LP): Likewise.
54542         (R13_LP): Likewise.
54543         (R14_LP): Likewise.
54544         (R15_LP): Likewise.
54546 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54548         * sysdeps/x86_64/x32/dl-machine.h: New file.
54550 2012-05-14  Andreas Jaeger  <aj@suse.de>
54552         * manual/Makefile (subdir): Remove export of subdir.
54553         (all): Remove target.
54554         (.PHONY): Remove all from list.
54555         (mkinstalldirs): Remove.
54556         (.PHONY): Remove installdirs from list.
54557         ($(inst_infodir)/libc.info): Use make-target-directory.
54558         (installdirs): Remove.
54559         (subdir_%): Remove.
54560         (glibc-targets): Remove.
54561         (lib): Remove.
54562         (stubs): Remove.
54563         ($(objpfx)stubs ../po/manual.pot): Remove.
54564         ($(objpfx)stamp%): Remove.
54565         (make-target-directory): Remove.
54566         (subdir_install): Remove.
54567         (routines): Remove.
54568         (aux): Remove.
54569         (sources): Remove.
54570         (objects): Remove.
54571         (headers): Remove.
54573         [BZ #13750]
54574         * manual/.gitignore: Remove, it's not needed anymore.
54575         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
54576         all files in it.
54577         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
54578         directory.
54579         (texis): Renamed to $(objpfx)texis.
54580         (texis-path): New, contains path to generated files.
54581         (chapters.%): Use texis-path for complete path, add extra argument
54582         libc-texinfo.sh.
54583         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
54584         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
54585         (summary,texi, stamp-summary): Use complete path of
54586         files. Generate files in build dir.
54587         (dir-add.texi): Build in build dir.
54588         (libm-err.texi,stamp-libm-err): Likewise.
54589         (version.texi, stamp-version): Likewise.
54590         (.%c.texi): Likewise.
54591         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
54592         (mostlyclean): Remove target.
54593         (realclean): Remove target.
54594         (generated): Add new variable with contents from mostlyclean and
54595         realclean, remove entries duplicated in common-mostlyclean, add
54596         stamp-libm-err and stamp-version.
54597         (generated-dirs): Add libc directory.
54598         ($(inst_infodir)/libc.info): Install files from build dir.
54600         * manual/install.texi (Configuring and compiling): Adjust since
54601         the info files are not part of the tar ball anymore.
54603 2012-05-14  Andreas Jaeger  <aj@suse.de>
54605         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
54606         variable.
54608 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
54610         [BZ #13717]
54611         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
54612         to 2.2.0 where earlier.
54613         * sysdeps/unix/sysv/linux/configure: Regenerated.
54614         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
54615         Remove conditional code.
54616         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
54617         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
54618         Remove conditional code.
54619         [!__NR_lchown]: Likewise.
54620         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
54621         [__NR_lchown]: Likewise.
54622         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
54623         comment referencing __ASSUME_LCHOWN_SYSCALL.
54624         * sysdeps/unix/sysv/linux/i386/sigaction.c
54625         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54626         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54627         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
54628         Remove conditional code.
54629         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
54630         (__protocol_available): Remove #if 0 code.
54631         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
54632         conditional code.
54633         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
54634         * sysdeps/unix/sysv/linux/kernel-features.h
54635         (__ASSUME_GETCWD_SYSCALL): Don't define.
54636         (__ASSUME_REALTIME_SIGNALS): Likewise.
54637         (__ASSUME_PREAD_SYSCALL): Likewise.
54638         (__ASSUME_PWRITE_SYSCALL): Likewise.
54639         (__ASSUME_POLL_SYSCALL): Likewise.
54640         (__ASSUME_LCHOWN_SYSCALL): Likewise.
54641         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
54642         non-SPARC.
54643         (__ASSUME_SIOCGIFNAME): Don't define.
54644         (__ASSUME_MSG_NOSIGNAL): Likewise.
54645         (__ASSUME_SENDFILE): Define unconditionally.
54646         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
54647         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
54648         conditional code.
54649         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
54650         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
54651         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
54652         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
54653         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
54654         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
54655         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
54656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
54657         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54658         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
54660         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54661         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
54663         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54664         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
54666         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54667         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
54669         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54670         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
54672         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54673         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
54675         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54676         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
54678         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54679         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54680         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
54681         Remove conditional code.
54682         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54683         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
54684         Remove conditional code.
54685         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54686         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
54687         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
54688         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
54689         Remove conditional code.
54690         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54691         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
54692         Remove conditional code.
54693         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54694         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
54695         Remove conditional code.
54696         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54697         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
54698         Remove conditional code.
54699         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54700         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
54701         Remove conditional code.
54702         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54703         * sysdeps/unix/sysv/linux/sh/pwrite64.c
54704         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54705         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54706         * sysdeps/unix/sysv/linux/sigaction.c
54707         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54708         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54709         * sysdeps/unix/sysv/linux/sigpending.c
54710         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54711         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54712         * sysdeps/unix/sysv/linux/sigprocmask.c
54713         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54714         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54715         * sysdeps/unix/sysv/linux/sigsuspend.c
54716         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54717         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54718         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
54719         (__libc_missing_rt_sigs): Remove.
54720         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
54721         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
54722         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
54723         Remove conditional code.
54724         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
54725         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
54726         return 1.
54727         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
54728         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
54729         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
54730         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
54732 2012-05-14  Andreas Jaeger  <aj@suse.de>
54734         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
54735         it's not used in glibc.
54736         (__coshm1): Likewise.
54737         (__acosh1p): Likewise.
54738         (__sgn): Likewise.
54740         * manual/string.texi (Copying and Concatenation): Add missing
54741         variable in concat example.
54742         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
54744 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54746         [BZ #14103]
54747         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
54748         __builtin_clzl with __builtin_clzll.
54750 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54752         [BZ #14104]
54753         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
54754         libc_freeres_ptr.
54756 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54758         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
54759         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
54760         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
54761         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
54763 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
54765         * NEWS: Update ia64 info.
54767 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
54769         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
54770         used as bcopy.
54772 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
54774         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
54775         * sysdeps/unix/syscalls.list (dup3): Likewise.
54776         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
54777         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
54779 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
54781         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
54782         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
54784 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
54786         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
54787         thread pointer.
54788         (TLS_IE): Use mov/add instead of movq/addq to load thread
54789         pointer.
54790         (TLS_GD_PREFIX): New.
54791         (TLS_GD): Use it.
54793 2012-05-11  David S. Miller  <davem@davemloft.net>
54795         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
54796         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
54797         (_FPU_SETCW): Likewise.
54799 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
54801         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
54802         is 32-byte aligned.
54804 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
54806         [BZ #11837]
54807         * iconvdata/gb18030.c: Update tables.
54808         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
54809         characters specially.
54810         (BODY for TO_LOOP): Add encoding of missing ranges.
54812 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
54814         [BZ #13673]
54815         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
54816         * sysdeps/mach/hurd/dup3.c: Likewise.
54817         * sysdeps/mach/hurd/readlinkat.c: Likewise.
54818         * sysdeps/powerpc/memmove.c:: Likewise.
54820 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
54822         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
54823         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
54825 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
54827         * elf/elf.h (R_X86_64_RELATIVE64): New.
54828         (R_X86_64_NUM): Updated.
54829         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
54830         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
54831         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
54832         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
54833         tst-quad1pie tst-quad2pie
54834         (modules-names): Add tst-quadmod1 tst-quadmod2.
54835         ($(objpfx)tst-quad1): New dependency.
54836         ($(objpfx)tst-quad2): Likewise.
54837         ($(objpfx)tst-quad1pie): Likewise.
54838         ($(objpfx)tst-quad2pie): Likewise.
54839         * sysdeps/x86_64/tst-quad1.c: New file.
54840         * sysdeps/x86_64/tst-quad1pie.c: New file.
54841         * sysdeps/x86_64/tst-quad2.c: Likewise.
54842         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
54843         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
54844         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
54845         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
54846         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
54848 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54850         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
54851         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
54852         * streams/stropts.h (t_scalar_t): Define type.
54854         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
54855         (_PATH_PRESERVE): Set to "/var/lib".
54856         (_PATH_RWHODIR): Set to "/var/spool/rwho".
54858         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
54859         instead of int.
54861         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
54862         if __dir_mkfile succeeded.
54864         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
54865         checking for _hurd_dtablesize.  Unlock it right after having
54866         finished _hurd_dtable allocation.
54868 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54870         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
54871         * sysdeps/mach/hurd/configure: Regenerated.
54872         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
54873         special-casing to...
54874         * sysdeps/gnu/configure.in: ... this new file.
54875         * sysdeps/unix/sysv/linux/configure: Regenerated.
54876         * sysdeps/gnu/configure: New generated file.
54878         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
54879         for Linux: use nsec instead of usec, as well as:
54880         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
54881         members of type struct timespec.
54882         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
54883         New macros.
54884         (struct stat64): Likewise.
54885         (_STATBUF_ST_NSEC): New macro.
54886         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
54888         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
54889         __strtoul_internal rather than strtoul.
54891 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54893         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
54894         and reject them.
54896 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54898         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
54899         which preserves existing values.
54900         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
54902 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54904         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
54905         TIMEOUT values.  Return EINVAL for NFDS values either negative or
54906         greater than FD_SETSIZE.
54908 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54910         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
54911         allocated, call __vm_protect to finish enabling the existing space, and
54912         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
54913         allocate the remainder.
54915 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54917         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
54918         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
54920 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54922         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
54923         sysdeps/mach/hurd/readlink.c.
54925         * posix/tst-sysconf.c (posix_options): Only use
54926         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
54927         _POSIX_SYNCHRONIZED_IO when they are defined
54928         * sysdeps/mach/hurd/bits/posix_opt.h:
54929         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
54930         (_XOPEN_REALTIME): Undefine macro.
54931         (_XOPEN_REALTIME_THREADS): Undefine macro.
54932         (_XOPEN_SHM): Undefine macro.
54933         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
54934         macro to -1.
54935         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
54936         macro to -1.
54937         (_POSIX_ASYNC_IO): Undefine macro.
54938         (_POSIX_PRIORITIZED_IO): Undefine macro.
54939         (_POSIX_SPIN_LOCKS): Define macro to -1.
54941         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
54942         SA_NODEFER, SA_RESETHAND.
54943         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
54944         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
54945         F_DUPFD_CLOEXEC.
54947 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54949         * elf/Makefile (pldd-modules): Define unconditionally.
54951 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54953         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
54955 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54957         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
54958         Return ENOENT when name is empty.
54959         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
54961 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54963         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
54965         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
54967 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54969         Fix mlock in all cases except non-readable pages.
54970         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
54971         instead of VM_PROT_ALL as parameter to __vm_wire function.
54973         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
54974         (__mkdir): When path is `/', just fail with EEXIST.
54975         * sysdeps/mach/hurd/mkdirat.c: Likewise.
54977 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54979         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
54980         <sys/uio.h> (for writev).
54981         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
54982         and <sys/param.h> (for MIN).
54984 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54986         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
54987         REQUESTED_TIME.  Properly set the remaining time and return EINTR
54988         if interrupted.
54990 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54992         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
54993         Depend on against $(link-rpcuserlibs).
54995 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54997         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
54998         (__libc_stack_end): Do not use attribute_relro.
54999         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
55000         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
55001         to libthread-provided value.
55002         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
55003         attribute_relro.
55005 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55007         [BZ #3748]
55008         * bits/libc-lock.h (__libc_once_get): New macro.
55009         * sysdeps/mach/bits/libc-lock.h: Likewise.
55010         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
55011         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
55012         instead of using implementation details.
55014         * libio/fileops.c: Unconditionally include <kernel-features.h>.
55015         * libio/freopen.c: Likewise.
55016         * libio/freopen64.c: Likewise.
55017         * misc/syslog.c: Likewise.
55018         * nscd/connections.c: Likewise.
55019         * nscd/netgroupcache.c: Likewise.
55020         * sysdeps/posix/getcwd.c: Likewise.
55022 2012-05-10  Roland McGrath  <roland@hack.frob.com>
55024         * math/w_ilogbf.c: Add #include <limits.h>.
55026 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55028         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
55029         path instead of returning without unlocking.
55031         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
55032         immediate-write ioctls.
55033         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
55035 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55037         * sysdeps/mach/hurd/i386/init-first.c (init): Use
55038         __builtin_frame_address instead of making assumptions about the
55039         location of the return address relative to DATA.  Force early load of
55040         the return address.
55041         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
55042         __builtin_frame_address.
55044         dup3 for GNU Hurd.
55045         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
55046         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
55047         implement dup3 and do some further code clean-ups.
55048         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
55049         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
55051 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55053         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
55055         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
55056         HURD_CRITICAL_END around holding _hurd_dtable_lock.
55057         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
55058         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
55059         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
55060         d->port.lock.
55062         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
55063         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
55064         when handler == SIG_ERR, not when handler != SIG_ERR.
55066 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55068         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
55069         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
55070         definitions.
55072         accept4 for GNU Hurd.
55073         * include/sys/socket.h (__libc_accept4): New prototype.
55074         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
55075         to implement __libc_accept4.
55076         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
55077         __libc_accept4.
55078         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
55080         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
55081         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
55082         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
55083         signal-defines.sym.
55085 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55087         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
55089 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55091         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
55092         assertion on O_CLOEXEC flag.
55093         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
55094         * hurd/intern-fd.c: Likewise.
55095         * hurd/port2fd.c: Likewise.
55097 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55099         [BZ #3906]
55100         * bits/in.h (IPV6_PKTINFO): Define new macro.
55101         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
55103 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55105         [BZ #13954]
55106         [BZ #13955]
55107         [BZ #13956]
55108         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
55109         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55110         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
55111         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
55112         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55113         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
55114         * math/libm-test.inc (logb_test) : Additional logb tests.
55116 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
55117             Andreas Jaeger  <aj@suse.de>
55119         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
55120         * configure: Regenerated.
55121         * config.h.in (LINK_OBSOLETE_RPC): New macro.
55122         * config.make.in (link-obsolete-rpc): New substituted variable.
55123         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
55124         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
55125         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
55126         (shared-only-routines): Don't set it under [link-obsolete-rpc],
55127         so that libc.a contains the symbols.
55128         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
55129         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
55130         * sunrpc/auth_none.c: Likewise.
55131         * sunrpc/auth_unix.c: Likewise.
55132         * sunrpc/authdes_prot.c: Likewise.
55133         * sunrpc/authuxprot.c: Likewise.
55134         * sunrpc/clnt_gen.c: Likewise.
55135         * sunrpc/clnt_perr.c: Likewise.
55136         * sunrpc/clnt_raw.c: Likewise.
55137         * sunrpc/clnt_simp.c: Likewise.
55138         * sunrpc/clnt_tcp.c: Likewise.
55139         * sunrpc/clnt_udp.c: Likewise.
55140         * sunrpc/clnt_unix.c: Likewise.
55141         * sunrpc/des_crypt.c: Likewise.
55142         * sunrpc/des_soft.c: Likewise.
55143         * sunrpc/get_myaddr.c: Likewise.
55144         * sunrpc/key_call.c: Likewise.
55145         * sunrpc/key_prot.c: Likewise.
55146         * sunrpc/netname.c: Likewise.
55147         * sunrpc/pm_getmaps.c: Likewise.
55148         * sunrpc/pm_getport.c: Likewise.
55149         * sunrpc/pmap_clnt.c: Likewise.
55150         * sunrpc/pmap_prot.c: Likewise.
55151         * sunrpc/pmap_prot2.c: Likewise.
55152         * sunrpc/pmap_rmt.c: Likewise.
55153         * sunrpc/publickey.c: Likewise.
55154         * sunrpc/rpc_cmsg.c: Likewise.
55155         * sunrpc/rpc_common.c: Likewise.
55156         * sunrpc/rpc_dtable.c: Likewise.
55157         * sunrpc/rpc_prot.c: Likewise.
55158         * sunrpc/rpc_thread.c: Likewise.
55159         * sunrpc/rtime.c: Likewise.
55160         * sunrpc/svc.c: Likewise.
55161         * sunrpc/svc_auth.c: Likewise.
55162         * sunrpc/svc_raw.c: Likewise.
55163         * sunrpc/svc_run.c: Likewise.
55164         * sunrpc/svc_tcp.c: Likewise.
55165         * sunrpc/svc_udp.c: Likewise.
55166         * sunrpc/svc_unix.c: Likewise.
55167         * sunrpc/svcauth_des.c: Likewise.
55168         * sunrpc/xcrypt.c: Likewise.
55169         * sunrpc/xdr.c: Likewise.
55170         * sunrpc/xdr_array.c: Likewise.
55171         * sunrpc/xdr_float.c: Likewise.
55172         * sunrpc/xdr_intXX_t.c: Likewise.
55173         * sunrpc/xdr_mem.c: Likewise.
55174         * sunrpc/xdr_rec.c: Likewise.
55175         * sunrpc/xdr_ref.c: Likewise.
55176         * sunrpc/xdr_sizeof.c: Likewise.
55177         * sunrpc/xdr_stdio.c: Likewise.
55179 2012-05-10  Roland McGrath  <roland@hack.frob.com>
55181         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
55182         change.  Update copyright years.
55184 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
55186         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
55188 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
55189             Joseph Myers  <joseph@codesourcery.com>
55190             Paul Pluzhnikov  <ppluzhnikov@google.com>
55192         [BZ #14012]
55193         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
55194         requiring rpcgen.
55195         [cross-compiling] (extra-libs): Likewise.
55196         [cross-compiling] (extra-libs-others): Likewise.
55197         [cross-compiling] (librpcsvc-routines): Likewise.
55198         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
55199         [cross-compiling] (omit-deps): Likewise.
55200         (sunrpc-CPPFLAGS): New variable.
55201         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
55202         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
55203         (cross-rpcgen-objs): New variable.
55204         (extra-objs): Append $(cross-rpcgen-objs).
55205         ($(cross-rpcgen-objs)): New rule.
55206         ($(objpfx)cross-rpcgen): Likewise.
55207         (rpcgen-cmd): Define to use $(built-program-file).  Expand
55208         comment.
55209         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
55210         ($(objpfx)x%.stmp): Likewise.
55211         * sunrpc/proto.h [IS_IN_build] (_): Define.
55212         [IS_IN_build] (_libc_intl_domainname): Likewise.
55214 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55216         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
55217         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
55218         and R_X86_64_TPOFF64.
55220 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
55222         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
55223         sysdeps/unix/sysv/syscalls.list.
55224         (stime): Likewise.
55225         (utime): Likewise.
55226         * sysdeps/unix/sysv/syscalls.list: Remove file.
55228 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
55230         [BZ #3440]
55231         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
55232         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
55233         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
55234         (__LC_IDENTIFICATION): Make these macros useful in #if
55235         expressions, as required by C99.
55237 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
55239         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
55240         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
55241         after this.
55243 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
55245         * stdlib/longlong.h: Updated from GCC.
55247 2012-05-09  Andreas Jaeger  <aj@suse.de>
55249         * nscd/nscd.c (run_modes): Make named enum, reorder so that
55250         default is first entry.
55251         (run_mode): Set type.
55252         (main): Remove informal message about syslog.
55253         (options): Fix typo.
55255         [BZ #14053]
55256         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
55257         to asm.
55258         (lrint): Likewise.
55259         (llrintf): Likewise.
55260         (llrint): Likewise.
55261         (rint): Likewise.
55262         (rintf): Likewise.
55263         (nearbyint): Likewise.
55264         (nearbyintf): Likewise.
55266 2012-05-09  Andreas Jaeger  <aj@suse.de>
55267             Pedro Alves  <palves@redhat.com>
55269         * nscd/nscd.c (run_mode): Use enum.
55270         (main): Cleanup coding style issue.
55272 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
55273             Andreas Jaeger  <aj@suse.de>
55275         * nscd/nscd.c (go_background): Replaced with...
55276         (run_mode): ... this.
55277         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
55278         (options): Add -F --foreground.
55279         (main): Implement it.
55280         (parse_opt): Parse it.
55282 2012-05-09  Andreas Jaeger  <aj@suse.de>
55284         [BZ #14083]
55285         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
55286         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
55287         -Wconversion warning.
55288         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
55289         Likewise.
55291 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
55293         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
55294         == 0.
55295         (LC_ALL): Use macro-int-constant.
55296         (LC_COLLATE): Likewise.
55297         (LC_CTYPE): Likewise.
55298         (LC_MESSAGES): Likewise.
55299         (LC_MONETARY): Likewise.
55300         (LC_NUMERIC): Likewise.
55301         (LC_TIME): Likewise.
55302         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
55303         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
55304         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55305         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
55306         Specify type.
55307         [C99-based standards] (float_t): Expect type.
55308         [C99-based standards] (double_t): Expect type.
55309         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
55310         type.
55311         [C99-based standards] (HUGE_VALL): Likewise.
55312         [C99-based standards] (INFINITY): Likewise.
55313         [C99-based standards] (NAN): Likewise.
55314         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
55315         [C99-based standards] (FP_NAN): Likewise.
55316         [C99-based standards] (FP_NORMAL): Likewise.
55317         [C99-based standards] (FP_SUBNORMAL): Likewise.
55318         [C99-based standards] (FP_ZERO): Likewise.
55319         [C99-based standards] (FP_FAST_FMA): Use
55320         optional-macro-int-constant.  Specify type.  Require == 1.
55321         [C99-based standards] (FP_FAST_FMAF): Likewise.
55322         [C99-based standards] (FP_FAST_FMAL): Likewise.
55323         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
55324         [C99-based standards] (FP_ILOGBNAN): Likewise.
55325         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
55326         Specify type.
55327         [C99-based standards] (MATH_ERREXCEPT): Likewise.
55328         [C99-based standards] (math_errhandling): Specify type.
55329         [ISO99 || ISO11] (signgam): Do not allow.
55330         [non-C99-based standards] (copysignf): Do not allow.
55331         [non-C99-based standards] (exp2f): Likewise.
55332         [non-C99-based standards] (log2f): Likewise.
55333         [non-C99-based standards] (modff): Allow.
55334         [non-C99-based standards] (erff): Do not allow.
55335         [non-C99-based standards] (erfcf): Likewise.
55336         [non-C99-based standards] (gammaf): Likewise.
55337         [non-C99-based standards] (hypotf): Likewise.
55338         [non-C99-based standards] (j0f): Likewise.
55339         [non-C99-based standards] (j1f): Likewise.
55340         [non-C99-based standards] (jnf): Likewise.
55341         [non-C99-based standards] (lgammaf): Likewise.
55342         [non-C99-based standards] (tgammaf): Likewise.
55343         [non-C99-based standards] (y0f): Likewise.
55344         [non-C99-based standards] (y1f): Likewise.
55345         [non-C99-based standards] (ynf): Likewise.
55346         [non-C99-based standards] (isnanf): Likewise.
55347         [non-C99-based standards] (acoshf): Likewise.
55348         [non-C99-based standards] (asinhf): Likewise.
55349         [non-C99-based standards] (atanhf): Likewise.
55350         [non-C99-based standards] (cbrtf): Likewise.
55351         [non-C99-based standards] (expm1f): Likewise.
55352         [non-C99-based standards] (ilogbf): Likewise.
55353         [non-C99-based standards] (log1pf): Likewise.
55354         [non-C99-based standards] (logbf): Likewise.
55355         [non-C99-based standards] (nextafterf): Likewise.
55356         [non-C99-based standards] (remainderf): Likewise.
55357         [non-C99-based standards] (rintf): Likewise.
55358         [non-C99-based standards] (scalbf): Likewise.
55359         [non-C99-based standards] (copysignl): Likewise.
55360         [non-C99-based standards] (exp2l): Likewise.
55361         [non-C99-based standards] (log2l): Likewise.
55362         [non-C99-based standards] (modfl): Allow.
55363         [non-C99-based standards] (erfl): Do not allow.
55364         [non-C99-based standards] (erfcl): Likewise.
55365         [non-C99-based standards] (gammal): Likewise.
55366         [non-C99-based standards] (hypotl): Likewise.
55367         [non-C99-based standards] (j0l): Likewise.
55368         [non-C99-based standards] (j1l): Likewise.
55369         [non-C99-based standards] (jnl): Likewise.
55370         [non-C99-based standards] (lgammal): Likewise.
55371         [non-C99-based standards] (tgammal): Likewise.
55372         [non-C99-based standards] (y0l): Likewise.
55373         [non-C99-based standards] (y1l): Likewise.
55374         [non-C99-based standards] (ynl): Likewise.
55375         [non-C99-based standards] (isnanl): Likewise.
55376         [non-C99-based standards] (acoshl): Likewise.
55377         [non-C99-based standards] (asinhl): Likewise.
55378         [non-C99-based standards] (atanhl): Likewise.
55379         [non-C99-based standards] (cbrtl): Likewise.
55380         [non-C99-based standards] (expm1l): Likewise.
55381         [non-C99-based standards] (ilogbl): Likewise.
55382         [non-C99-based standards] (log1pl): Likewise.
55383         [non-C99-based standards] (logbl): Likewise.
55384         [non-C99-based standards] (nextafterl): Likewise.
55385         [non-C99-based standards] (remainderl): Likewise.
55386         [non-C99-based standards] (rintl): Likewise.
55387         [non-C99-based standards] (scalbl): Likewise.
55388         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55389         [non-C99-based standards] (FP_*): Do not allow.
55390         [C99-based standards] (FP_*): Change to
55391         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
55392         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55393         allow.
55394         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
55395         (SIG_ERR): Likewise.
55396         [X/Open-based standards] (SIG_HOLD): Likewise.
55397         (SIG_IGN): Likewise.
55398         (SIGABRT): Use macro-int-constant.  Specify type.  Require
55399         positive value.
55400         (SIGFPE): Likewise.
55401         (SIGILL): Likewise.
55402         (SIGINT): Likewise.
55403         (SIGSEGV): Likewise.
55404         (SIGTER): Likewise.
55405         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
55406         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
55407         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
55408         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
55409         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
55410         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
55411         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
55412         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
55413         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
55414         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
55415         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
55416         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
55417         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
55418         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
55419         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
55420         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
55421         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
55422         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
55423         [X/Open-based standards] (SIGTRAP): Likewise.
55424         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
55425         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
55426         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
55427         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
55428         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55429         allow.
55431 2012-05-08  Ian Wienand  <ianw@vmware.com>
55433         [BZ #14080]
55434         * time/tzset.c (__tzset_parse_tz): Update default rules for
55435         daylight time changes in the Energy Policy Act of 2005.
55437 2012-05-09  Andreas Jaeger  <aj@suse.de>
55439         [BZ #13983]
55440         * elf/ldconfig.c (parse_conf): Change string to make clear that
55441         ldconfig only issued a warning if ld.so.conf does not exist.
55443 2012-05-08  David S. Miller  <davem@davemloft.net>
55445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
55446         movxtod instead of popping the value on the stack.
55448         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55450 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
55452         * config.h.in: Add HAVE_ARM_PCS_VFP.
55454 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
55456         [BZ #13979]
55457         * include/features.h: Warn if user requests __FORTIFY_SOURCE
55458         checking but the checks are disabled for any reason.
55460 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
55462         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
55463         and ELF64_R_TYPE with ELFW(R_TYPE).
55465 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
55467         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
55468         (ulimit): Likewise.
55470         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
55471         (settimeofday): Likewise.
55473 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
55475         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
55476         a struct th_u2 inside the union, and move tu_block/tu_code into
55477         a new th_u3 union of tu_block/tu_code inside of that.  Move
55478         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
55479         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
55480         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
55481         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
55482         (th_stuff): Change to th_u1.tu_stuff.
55483         (th_data): Define.
55484         (th_msg): Change to th_u1.th_u2.tu_data.
55486 2012-05-07  David S. Miller  <davem@davemloft.net>
55488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55490         [BZ #14074]
55491         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
55492         (SETUP_PIC_REG): Use it.
55493         (SETUP_PIC_REG_LEAF): Use it.
55495 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
55497         [BZ #13885]
55498         [BZ #13923]
55499         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55500         USE_AS_EXPM1L.
55501         (EXPL_FINITE): Likewise.
55502         (FLDLOG): Likewise.
55503         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
55504         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
55505         e_expl.S.
55506         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55507         USE_AS_EXPM1L.
55508         (EXPL_FINITE): Likewise.
55509         (FLDLOG): Likewise.
55510         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
55511         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
55512         e_expl.S.
55513         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
55514         test of -max_value argument for long double.
55515         * sysdeps/i386/fpu/libm-test-ulps: Update.
55516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55518 2012-05-06  David S. Miller  <davem@davemloft.net>
55520         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
55521         quad soft-float symbols whose references which are compiler
55522         generated.
55523         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
55525 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
55527         [BZ #13884]
55528         [BZ #13914]
55529         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55530         USE_AS_EXP10L.
55531         (EXPL_FINITE): Likewise.
55532         (FLDLOG): Likewise.
55533         (c0): Likewise.
55534         (c1): Likewise.
55535         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
55536         Adjust comments for base varying.
55537         (__expl_finite): Change alias to EXPL_FINITE.
55538         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
55539         e_expl.S.
55540         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
55541         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
55542         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
55543         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
55544         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55545         USE_AS_EXP10L.
55546         (EXPL_FINITE): Likewise.
55547         (FLDLOG): Likewise.
55548         (c0): Likewise.
55549         (c1): Likewise.
55550         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
55551         Adjust comments for base varying.
55552         (__expl_finite): Change alias to EXPL_FINITE.
55553         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
55554         tests for bugs.
55555         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55557         [BZ #14064]
55558         * math/libm-test.inc (check_float_internal): Correct ulp
55559         calculation for subnormal expected results.
55561 2012-05-06  Andreas Jaeger  <aj@suse.de>
55563         * Makeconfig (+math-flags): New, set to -frounding-math.
55564         (+cflags): Add +math-flags so that all of glibc gets compiled with
55565         it.
55567         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
55569 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
55571         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
55572         Disable one test.
55574         [BZ #13787]
55575         [BZ #13922]
55576         [BZ #14036]
55577         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
55578         (__ieee754_expl): Allow for and saturate large arguments.
55579         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
55580         (u_threshold): Likewise.
55581         (__exp): Call __ieee754_exp before checking for overflow and
55582         underflow.
55583         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
55584         (u_threshold): Likewise.
55585         (__expf): Call __ieee754_expf before checking for overflow and
55586         underflow.
55587         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
55588         (u_threshold): Likewise.
55589         (__expl): Call __ieee754_expl before checking for overflow and
55590         underflow.
55591         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
55592         (__ieee754_expl): Allow for and saturate large arguments.
55593         * math/libm-test.inc (exp_test): Add another test.  Do not allow
55594         missing overflow exception on overflow.
55595         (expm1_test): Do not allow missing overflow exception on overflow.
55597         * sysdeps/i386/fpu/e_expl.c: Move to ...
55598         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
55599         rather than using inline asm.
55600         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
55601         * sysdeps/x86_64/fpu/e_expl.S: Copy from
55602         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
55604         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
55605         (nice): Likewise.
55606         (poll): Likewise.
55607         (signal): Likewise.
55608         (time): Likewise.
55609         (times): Likewise.
55611 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
55613         * sysdeps/unix/syscalls.list (adjtime): Add entry from
55614         sysdeps/unix/common/syscalls.list.
55615         (fchmod): Likewise.
55616         (fchown): Likewise.
55617         (ftruncate): Likewise.
55618         (getrusage): Likewise.
55619         (gettimeofday): Likewise.
55620         (setpgid): Likewise.
55621         (setregid): Likewise.
55622         (setreuid): Likewise.
55623         (sigaction): Likewise.
55624         (truncate): Likewise.
55625         (vhangup): Likewise.
55626         * sysdeps/unix/common/syscalls.list: Remove file.
55627         * sysdeps/unix/bsd/Implies: Don't include unix/common.
55628         * sysdeps/unix/sysv/linux/Implies: Likewise.
55630 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
55632         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
55633         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
55634         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
55635         Moved to ...
55636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
55637         Here.
55638         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
55639         to ...
55640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
55641         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
55642         to ...
55643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
55644         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
55645         to ...
55646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
55647         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
55648         to ...
55649         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
55650         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
55651         to ...
55652         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
55653         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
55654         to ...
55655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
55656         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
55657         to ...
55658         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
55659         Here.
55660         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
55661         to ...
55662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
55663         Here.
55664         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
55665         to ...
55666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
55667         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
55668         Moved to ...
55669         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
55670         Here.
55671         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
55672         to ...
55673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
55675 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
55677         * sysdeps/unix/common/bits/dirent.h: Remove file.
55678         * sysdeps/unix/common/bits/fcntl.h: Likewise.
55680         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
55681         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
55682         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
55683         * sysdeps/unix/bsd/isatty.c: Likewise.
55684         * sysdeps/unix/bsd/tcdrain.c: Likewise.
55685         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
55686         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
55688 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55690         [BZ #13563]
55691         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
55692         long double comparison inaccuracies.
55693         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
55694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55696 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
55698         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
55699         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
55701 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
55703         [BZ #14049]
55704         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
55705         nonzero digits before rounding a hex value.
55706         * stdlib/tst-strtod.c (tests): Add another test.
55708 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55710         * sysdeps/s390/fpu/libm-test-ulps: Update.
55712 2012-05-03  Andreas Jaeger  <aj@suse.de>
55714         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
55715         does not get optimized out.
55716         (malloc_opt_barrier): New.
55718 2012-05-03  Andreas Jaeger  <aj@suse.de>
55719             Roland McGrath  <roland@hack.frob.com>
55721         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
55722         intermediate file deletion.
55723         (generated): Add .symlist files.
55725 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
55727         [BZ #13775]
55728         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
55729         Redirect under this condition.
55730         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
55731         [__USE_GNU] (__dprintf_chk): Not under this condition.
55732         [__USE_GNU] (__vdprintf_chk): Likewise.
55733         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
55734         under this condition.
55735         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
55736         [__USE_XOPEN2K8] (dprintf): Define under this condition.
55737         [__USE_XOPEN2K8] (vdprintf): Likewise.
55738         [__USE_GNU] (__dprintf_chk): Not under this condition.
55739         [__USE_GNU] (__vdprintf_chk): Likewise.
55740         [__USE_GNU] (dprintf): Likewise.
55741         [__USE_GNU] (vdprintf): Likewise.
55743 2012-05-03  Roland McGrath  <roland@hack.frob.com>
55745         * elf/Makefile (common-generated): Set this instead of generated for
55746         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
55747         $(all-built-dso)-derived lists.
55749 2012-05-03  Andreas Jaeger  <aj@suse.de>
55751         * sysdeps/i386/fpu/libm-test-ulps: Update.
55753         * FAQ: Removed.
55754         * FAQ.in: Likewise.
55755         * scripts/gen-FAQ.pl: Likewise.
55756         * manual/install.texi (Installation): Point to online location of
55757         FAQ.
55758         * Makefile (files-for-dist): Remove FAQ.
55759         (FAQ): Remove.
55761 2012-05-02  Allan McRae  <allan@archlinux.org>
55763         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
55764         (LDFLAGS-reldepmod5.so): Likewise.
55765         (LDFLAGS-reldep6mod1.so): Likewise.
55766         (LDFLAGS-reldep6mod4.so): Likewise.
55767         (LDFLAGS-reldep8mod3.so): Likewise.
55768         (LDFLAGS-unload4mod1.so): Likewise.
55769         (LDFLAGS-unload4mod2.so): Likewise.
55770         (LDFLAGS-tst-initorder): Likewise.
55771         (LDFLAGS-tst-initordera2.so): Likewise.
55772         (LDFLAGS-tst-initordera3.so): Likewise.
55773         (LDFLAGS-tst-initordera4.so): Likewise.
55774         (LDFLAGS-tst-initorderb2.so): Likewise.
55775         (LDFLAGS-noload): Likewise.
55776         (LDFLAGS-next): Likewise.
55777         (LDFLAGS-order2mod1.so): Likewise.
55778         (LDFLAGS-order2mod2.so): Likewise.
55779         (LDFLAGS-tst-initorder2): Likewise.
55780         (LDFLAGS-tst-initorder2a.so): Likewise.
55781         (LDFLAGS-tst-initorder2b.so): Likewise.
55782         (LDFLAGS-tst-initorder2c.so): Likewise.
55783         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
55785 2012-05-02  David S. Miller  <davem@davemloft.net>
55787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55789 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
55791         [BZ #14055]
55792         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
55794 2012-05-02  Andreas Jaeger  <aj@suse.de>
55796         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
55797         since we manipulate rounding mode.
55798         (CPPFLAGS-test-idouble.c): Likewise.
55799         (CPPFLAGS-test-ifloat.c): Likewise.
55800         (CFLAGS-test-ldouble.c): Likewise.
55801         (CFLAGS-test-double.c): Likewise.
55802         (CFLAGS-test-float.c): Likewise.
55803         (CFLAGS-test-misc.c): Likewise.
55804         (CFLAGS-test-test-fenv.c): Likewise.
55806 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55808         [BZ #2550]
55809         [BZ #2570]
55810         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
55811         comparisons to determine direction to adjust input.
55813 2012-05-01  Roland McGrath  <roland@hack.frob.com>
55815         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
55816         output to the target.
55818         * scripts/localplt.awk: New file.
55819         * elf/Makefile ($(objpfx)check-localplt): Target removed.
55820         (check-localplt-CFLAGS): Variable removed.
55821         ($(all-built-dso:=.jmprel)): New static pattern rule.
55822         (generated): Add those targets.
55823         (localplt-built-dso): New variable.
55824         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
55826         * elf/check-localplt.c: File removed.
55828         * scripts/check-execstack.awk: New file.
55829         * elf/Makefile ($(objpfx)check-execstack): Target removed.
55830         (check-execstack-CFLAGS): Variable removed.
55831         ($(objpfx)check-execstack.h): Target removed.
55832         ($(objpfx)execstack-default): New target.
55833         (generated): Add that instead of check-execstack.h.
55834         ($(all-built-dso:=.phdr)): New static pattern rule.
55835         (generated): Add those targets.
55836         * elf/check-execstack.c: File removed.
55838         * scripts/check-textrel.awk: New file.
55839         * elf/Makefile ($(objpfx)check-textrel): Target removed.
55840         (check-textrel-CFLAGS): Variable removed.
55841         (all-built-dso): Use := to define.o
55842         ($(all-built-dso:=.dyn)): New static pattern rule.
55843         (generated): Add those targets.
55844         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
55845         * config.make.in (READELF): New substituted variable.
55846         * elf/check-textrel.c: File removed.
55848 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
55850         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55851         allow.
55852         * conform/data/ctype.h-data [C99-based standards] (isblank):
55853         Expect function.
55854         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
55855         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
55856         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55857         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
55858         Specify type.  Require positive value.
55859         (EILSEQ): Likewise.
55860         (ERANGE): Likewise.
55861         [ISO || POSIX] (EILSEQ): Do not expect.
55862         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
55863         Specify type.  Require positive value.
55864         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
55865         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
55866         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
55867         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
55868         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
55869         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
55870         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
55871         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
55872         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
55873         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
55874         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
55875         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
55876         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
55877         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
55878         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
55879         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
55880         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
55881         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
55882         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
55883         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
55884         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
55885         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
55886         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
55887         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
55888         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
55889         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
55890         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
55891         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
55892         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
55893         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
55894         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
55895         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
55896         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
55897         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
55898         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
55899         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
55900         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
55901         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
55902         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
55903         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
55904         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
55905         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
55906         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
55907         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
55908         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
55909         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
55910         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
55911         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
55912         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
55913         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
55914         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
55915         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
55916         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
55917         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
55918         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
55919         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
55920         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
55921         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
55922         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
55923         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
55924         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
55925         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
55926         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
55927         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
55928         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
55929         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
55930         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
55931         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
55932         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
55933         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
55934         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
55935         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
55936         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
55937         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
55938         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
55939         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
55940         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
55941         Require >= 2.
55942         (FLT_ROUNDS): Expect as macro, not constant.
55943         (FLT_MANT_DIG): Use macro-int-constant.
55944         (DBL_MANT_DIG): Likewise.
55945         (LDBL_MANT_DIG): Likewise.
55946         (FLT_DIG): Likewise.
55947         (DBL_DIG): Likewise.
55948         (LDBL_DIG): Likewise.
55949         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
55950         (DBL_MIN_EXP): Likewise.
55951         (LDBL_MIN_EXP): Likewise.
55952         (FLT_MAX_EXP): Use macro-int-constant.
55953         (DBL_MAX_EXP): Likewise.
55954         (LDBL_MAX_EXP): Likewise.
55955         (FLT_MAX_10_EXP): Likewise.
55956         (DBL_MAX_10_EXP): Likewise.
55957         (LDBL_MAX_10_EXP): Likewise.
55958         (FLT_MAX): Use macro-constant.
55959         (DBL_MAX): Likewise.
55960         (LDBL_MAX): Likewise.
55961         (FLT_EPSILON): Use macro-constant.  Give upper bound.
55962         (DBL_EPSILON): Likewise.
55963         (LDBL_EPSILON): Likewise.
55964         (FLT_MIN): Likewise.
55965         (DBL_MIN): Likewise.
55966         (LDBL_MIN): Likewise.
55967         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
55968         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
55969         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
55970         [ISO11] (FLT_HAS_SUBNORM): Likewise.
55971         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
55972         [ISO11] (DBL_DECIMAL_DIG): Likewise.
55973         [ISO11] (FLT_DECIMAL_DIG): Likewise.
55974         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
55975         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
55976         [ISO11] (FLT_TRUE_MIN): Likewise.
55977         [ISO11] (LDBL_TRUE_MIN): Likewise.
55978         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55979         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
55980         (SCHAR_MIN): Use macro-int-constant.  Specify type.
55981         (SCHAR_MAX): Likewise.
55982         (UCHAR_MAX): Likewise.
55983         (CHAR_MIN): Likewise.
55984         (CHAR_MAX): Likewise.
55985         (MB_LEN_MAX): Use macro-int-constant.
55986         (SHRT_MIN): Use macro-int-constant.  Specify type.
55987         (SHRT_MAX): Likewise.
55988         (USHRT_MAX): Likewise.
55989         (INT_MAX): Likewise.
55990         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
55991         bound negative.
55992         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
55993         bound with "U".
55994         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
55995         bound with "L".
55996         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
55997         bound negative.  Suffix upper bound with "L".
55998         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
55999         bound with "UL".
56000         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
56001         Specify type.
56002         [C99-based standards] (LLONG_MAX): Likewise.
56003         [C99-based standards] (ULLONG_MAX): Likewise.
56004         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
56005         == 0.
56006         [ISO11] (max_align_t): Require type.
56007         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56009         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
56010         from $CFLAGS, without defining away __attribute__ calls.
56011         (checknamespace): Use $CFLAGS_namespace.
56013         * conform/conformtest.pl (@keywords): Only include C99 keywords
56014         for standards based on C99 or C11.
56016         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
56017         Disable tests.
56018         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
56019         UNIX98]: Likewise.
56021         * conform/conformtest.pl: Handle "macro-int-constant" and test for
56022         usability of symbols in #if.
56024         * conform/conformtest.pl: If macro or constant types start
56025         "promoted:", expect the symbol to be of the following type
56026         promoted by the integer promotions.
56028         * conform/conformtest.pl: Parse all "constant" and "macro" lines
56029         in one place.  Also handle "macro-constant".
56031         * conform/conformtest.pl: Only accept expected macro values with
56032         "==".  Parse all "macro" lines in one place.
56033         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
56035         * conform/conformtest.pl: Handle braced types on "constant" lines
56036         instead of handling "typed-constant".
56037         * conform/data/signal.h-data: Use "constant" instead of
56038         "typed-constant".
56040         * conform/conformtest.pl: Handle "optional-" at start of lines in
56041         one place rather than duplicating several cases.  Handle each
56042         format of "macro" line with initial "optional-".
56044         * conform/conformtest.pl: Only accept expected constant or
56045         optional-constant values with "==".  Parse all "constant" lines in
56046         one place.  Parse all "optional-constant" lines in one place.
56047         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
56048         * conform/data/fmtmsg.h-data: Likewise.
56049         * conform/data/netinet/in.h-data: Likewise.
56050         * conform/data/tar.h-data: Likewise.
56051         * conform/data/limits.h-data: Use "==" form on "constant" and
56052         "optional-constant" lines.
56054         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
56055         Use -std=c99 for XOPEN2K.
56056         (@knownproblems): Remove.
56057         (newtoken): Don't check %isknown.
56059         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
56060         Do not expect macro.
56061         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
56062         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
56063         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
56064         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
56065         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
56066         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
56067         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
56068         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
56069         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
56070         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
56071         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
56072         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
56073         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
56074         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
56075         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
56076         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
56077         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
56078         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
56079         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
56080         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
56081         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
56082         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
56083         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
56084         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
56085         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
56086         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
56087         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
56088         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
56089         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
56090         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
56091         [XPG3] (acosh): Likewise.
56092         [XPG3] (asinh): Likewise.
56093         [XPG3] (atanh): Likewise.
56094         [XPG3] (cbrt): Likewise.
56095         [XPG3] (expm1): Likewise.
56096         [XPG3] (ilogb): Likewise.
56097         [XPG3] (log1p): Likewise.
56098         [XPG3] (logb): Likewise.
56099         [XPG3] (nextafter): Likewise.
56100         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
56101         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
56102         [XPG3] (remainder): Likewise.
56103         [XPG3] (rint): Likewise.
56104         [XPG3 || XPG4 || UNIX98] (round): Likewise.
56105         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
56106         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
56107         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
56108         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
56109         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
56110         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
56111         [UNIX98 || XOPEN2K] (scalb): Expect.
56112         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
56113         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
56114         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
56115         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
56116         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
56117         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
56118         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
56119         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
56120         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
56121         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
56122         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
56123         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
56124         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
56125         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
56126         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
56127         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
56128         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
56129         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
56130         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
56131         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
56132         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
56133         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
56134         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
56135         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
56136         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
56137         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
56138         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
56139         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
56140         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
56141         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
56142         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
56143         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
56144         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
56145         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
56146         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
56147         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
56148         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
56149         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
56150         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
56151         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
56152         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
56153         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
56154         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
56155         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
56156         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
56157         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
56158         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
56159         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
56160         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
56161         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
56162         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
56163         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
56164         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
56165         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
56166         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
56167         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
56168         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
56169         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
56170         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
56171         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
56172         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
56173         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
56174         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
56175         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
56176         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
56177         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
56178         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
56179         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
56180         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
56181         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
56182         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
56183         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
56184         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
56185         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
56186         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
56187         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
56188         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
56189         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
56190         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
56191         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
56192         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
56193         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
56194         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
56195         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
56196         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
56197         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
56198         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
56199         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
56200         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
56201         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
56202         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
56203         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
56204         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
56205         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
56206         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
56207         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
56208         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
56209         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
56210         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
56211         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
56212         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
56213         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
56214         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
56215         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
56216         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
56217         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
56218         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
56219         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
56220         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
56221         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
56222         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
56223         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
56224         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
56225         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
56226         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
56227         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
56228         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
56229         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
56230         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
56231         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
56232         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
56233         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
56234         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
56235         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
56236         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
56237         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
56238         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
56239         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
56240         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
56241         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
56242         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
56243         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
56244         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
56245         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
56246         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
56247         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
56248         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
56250         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
56251         _XOPEN_SOURCE_EXTENDED for XPG4.
56253         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
56255         * Makeconfig (localtime): Remove variable.
56256         (inst_localtime-file): Likewise.
56258 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
56260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
56261         Update.
56262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56263         Update.
56264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
56265         Update.
56266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
56267         Update.
56268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
56269         Update.
56270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
56271         Update.
56272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56273         Update.
56274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
56275         Update.
56276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56277         Update.
56279 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
56281         [BZ #2550]
56282         [BZ #2570]
56283         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
56284         comparisons to determine direction to adjust input.
56285         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
56286         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
56287         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
56288         Likewise.
56289         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
56290         Likewise.
56291         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56292         Likewise.
56293         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
56294         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
56295         Likewise.
56296         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
56297         Likewise.
56298         * math/libm-test.inc (nexttoward_test): Add more tests.
56300 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
56302         [BZ #14040]
56303         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
56304         in version GLIBC_2.1, not GLIBC_2.0.
56305         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
56306         Likewise.
56308 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
56310         [BZ #13942]
56311         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
56312         (1 - x) * (1 + x).
56313         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
56314         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
56315         * math/libm-test.inc (acos_test): Add more tests.
56316         (asin_test): Likewise.
56317         * sysdeps/i386/fpu/libm-test-ulps: Update.
56318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56320         [BZ #14034]
56321         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
56322         of square root.
56323         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
56324         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
56325         * math/libm-test.inc (acos_test_tonearest): New function.
56326         (acos_test_towardzero): Likewise.
56327         (acos_test_downward): Likewise.
56328         (acos_test_upward): Likewise.
56329         (asin_test_tonearest): Likewise.
56330         (asin_test_towardzero): Likewise.
56331         (asin_test_downward): Likewise.
56332         (asin_test_upward): Likewise.
56333         (main): Call the new functions.
56334         * sysdeps/i386/fpu/libm-test-ulps: Update.
56335         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56337         [BZ #13884]
56338         [BZ #13924]
56339         * math/e_exp10.c: Include <float.h>.
56340         (__ieee754_exp10): Handle underflow here rather than multiplying
56341         large negative argument by M_LN10.
56342         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
56343         of __ieee754_expf.
56344         * math/e_exp10l.c: Include <float.h>.
56345         (__ieee754_exp10l): Handle underflow here rather than multiplying
56346         large negative argument by M_LN10l.
56347         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
56348         spurious overflow exception on underflow.
56350 2012-04-29  Marek Polacek  <polacek@redhat.com>
56352         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
56353         (__fortify_function): New macro.
56354         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
56355         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
56356         __extern_always_inline.
56357         * libio/bits/stdio2.h: Likewise.
56358         * libio/bits/stdio.h: Likewise.
56359         * string/string.h: Likewise.
56360         * string/bits/string3.h: Likewise.
56361         * include/stdio.h: Likewise.
56362         * stdlib/bits/stdlib.h: Likewise.
56363         * stdlib/stdlib.h: Likewise.
56364         * rt/bits/mqueue2.h: Likewise.
56365         * rt/mqueue.h: Likewise.
56366         * posix/bits/unistd.h: Likewise.
56367         * posix/unistd.h: Likewise.
56368         * io/bits/poll2.h: Likewise.
56369         * io/bits/fcntl2.h: Likewise.
56370         * io/fcntl.h: Likewise.
56371         * io/sys/poll.h: Likewise.
56372         * misc/bits/syslog.h: Likewise.
56373         * misc/bits/syslog-ldbl.h: Likewise.
56374         * misc/sys/syslog.h: Likewise.
56375         * socket/bits/socket2.h: Likewise.
56376         * socket/sys/socket.h: Likewise.
56377         * debug/tst-chk1.c: Likewise.
56378         * wcsmbs/bits/wchar2.h: Likewise.
56379         * wcsmbs/bits/wchar-ldbl.h: Likewise.
56380         * wcsmbs/wchar.h: Likewise.
56382 2012-04-29  Andreas Jaeger  <aj@suse.de>
56384         * Makerules (tests): Remove enable-check-abi protection.
56385         (check-abi-warn): Remove.
56386         (check-abi-%): Remove check-abi-warn usage.
56388         * configure.in: Remove check-abi configure option.
56389         * configure: Regenerated.
56390         * config.make.in (enable-check-abi): Remove.
56392 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
56394         [BZ #14033]
56395         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
56396         double functions to double *_finite functions.
56398         [BZ #13941]
56399         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
56400         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
56401         LDBL_MIN_EXP.
56402         * stdio-common/Makefile (tests): Add tst-sprintf3.
56403         * stdio-common/tst-sprintf3.c: New file.
56405         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
56406         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
56408 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
56410         * conform/conformtest.pl: Remove duplicate typed-constant
56411         handling.
56413 2012-04-28  David S. Miller  <davem@davemloft.net>
56415         * Makerules (%.abilist): Add vpath on sysdep_dirs.
56416         (check-abi-%): Remove AWK script prerequisite and explicit
56417         abilist directory.
56418         (check-abi): Rewrite to just diff the symlist with the abilist.
56419         (config-tls, config-abi-config): Delete, no longer used.
56420         (update-abi-%): Remove AWK script and explicit abilist directory.
56421         (update-abi): Rewrite to simply compare and conditionally copy the
56422         symlist and the sysdep abilist file.  Remove update-abi-config
56423         checks.
56424         * abilist/ld.abilist: Remove.
56425         * abilist/libBrokenLocale.abilist: Remove.
56426         * abilist/libanl.abilist: Remove.
56427         * abilist/libcrypt.abilist: Remove.
56428         * abilist/libdl.abilist: Remove.
56429         * abilist/librt.abilist: Remove.
56430         * abilist/libthread_db.abilist: Remove.
56431         * abilist/libutil.abilist: Remove.
56432         * scripts/extract-abilist.awk: Remove.
56433         * scripts/merge-abilist.awk: Remove.
56434         * sysdeps/generic/libcidn.abilist: New file.
56435         * sysdeps/generic/libnss_compat.abilist: New file.
56436         * sysdeps/generic/libnss_db.abilist: New file.
56437         * sysdeps/generic/libnss_dns.abilist: New file.
56438         * sysdeps/generic/libnss_files.abilist: New file.
56439         * sysdeps/generic/libnss_hesiod.abilist: New file.
56440         * sysdeps/generic/libnss_nis.abilist: New file.
56441         * sysdeps/generic/libnss_nisplus.abilist: New file.
56442         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
56443         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
56444         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
56445         file.
56446         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
56447         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
56448         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
56449         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
56450         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
56451         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
56452         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
56453         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
56454         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
56455         file.
56456         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
56457         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
56458         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
56459         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
56460         file.
56461         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
56462         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
56463         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
56464         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
56465         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
56466         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
56467         file.
56468         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
56469         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
56470         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
56471         file.
56472         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
56473         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
56474         New file.
56475         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
56476         New file.
56477         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
56478         New file.
56479         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
56480         New file.
56481         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
56482         New file.
56483         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
56484         New file.
56485         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
56486         New file.
56487         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
56488         New file.
56489         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
56490         New file.
56491         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
56492         New file.
56493         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
56494         New file.
56495         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
56496         New file.
56497         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
56498         New file.
56499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
56500         file.
56501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
56502         New file.
56503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
56504         New file.
56505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
56506         file.
56507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
56508         New file.
56509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
56510         New file.
56511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
56512         file.
56513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
56514         New file.
56515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56516         New file.
56517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
56518         New file.
56519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
56520         New file.
56521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
56522         New file.
56523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
56524         New file.
56525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
56526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
56527         file.
56528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
56529         New file.
56530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
56531         file.
56532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
56533         file.
56534         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
56535         file.
56536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
56537         file.
56538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
56539         file.
56540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56541         New file.
56542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
56543         file.
56544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
56545         file.
56546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
56547         New file.
56548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
56549         file.
56550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
56551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
56552         file.
56553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
56554         New file.
56555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
56556         file.
56557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
56558         file.
56559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
56560         file.
56561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
56562         file.
56563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
56564         file.
56565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56566         New file.
56567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
56568         file.
56569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
56570         file.
56571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
56572         New file.
56573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
56574         file.
56575         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
56576         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
56577         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
56578         file.
56579         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
56580         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
56581         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
56582         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
56583         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
56584         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
56585         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
56586         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
56587         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
56588         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
56589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
56590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
56591         file.
56592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
56593         New file.
56594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
56595         file.
56596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
56597         file.
56598         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
56599         file.
56600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
56601         file.
56602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
56603         file.
56604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
56605         New file.
56606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
56607         New file.
56608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
56609         file.
56610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
56611         New file.
56612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
56613         file.
56614         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
56615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
56616         file.
56617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
56618         New file.
56619         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
56620         file.
56621         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
56622         file.
56623         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
56624         file.
56625         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
56626         file.
56627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
56628         file.
56629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
56630         New file.
56631         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
56632         New file.
56633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
56634         file.
56635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
56636         New file.
56637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
56638         file.
56640 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
56642         * conform/conformtest.pl: Fix typo in handling typed-constant from
56643         allow-header.
56645 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
56647         * README: Cut down references to pre-2.6 Linux kernels and
56648         Linuxthreads.  Update lists of configurations in libc and ports
56649         and sort alphabetically.  Say "or newer" with Linux kernel version
56650         requirements.
56652         * config.h.in [IS_IN_build]: Allow compiling without optimization.
56654 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56656         [BZ #887]
56657         * math/libm-test.inc (logb_test_downward): New test to expose
56658         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
56659         rounding mode.
56661 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
56663         [BZ #14027]
56664         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
56665         to be done.
56666         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
56667         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
56669 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
56671         * sysdeps/unix/i386/brk.S: Remove file.
56672         * sysdeps/unix/i386/dl-brk.S: Likewise.
56673         * sysdeps/unix/i386/pipe.S: Likewise.
56674         * sysdeps/unix/i386/sigreturn.S: Likewise.
56675         * sysdeps/unix/i386/syscall.S: Likewise.
56676         * sysdeps/unix/i386/vfork.S: Likewise.
56677         * sysdeps/unix/i386/wait.S: Likewise.
56679         * sysdeps/unix/common/tcsendbrk.c: Move to ...
56680         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
56682         * configure.in (arm*-none*): Do not allow without
56683         --enable-hacker-mode.
56684         (netbsd*): Remove case setting base_os.
56685         (386bsd*): Likewise.
56686         (freebsd*): Likewise.
56687         (bsdi*): Likewise.
56688         (osf*): Likewise.
56689         (sunos*): Likewise.
56690         (ultrix*): Likewise.
56691         (newsos*): Likewise.
56692         (dynix*): Likewise.
56693         (*bsd*): Likewise.
56694         (sysv*): Likewise.
56695         (isc*): Likewise.
56696         (esix*): Likewise.
56697         (sco*): Likewise.
56698         (minix*): Likewise.
56699         (irix4*): Likewise.
56700         (irix6*): Likewise.
56701         (solaris[2-9]*): Likewise.
56702         (none): Likewise.
56703         * configure: Regenerated.
56705 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56707         [BZ #11521]
56708         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
56709         overflow or cancellation in calculating denominator.
56710         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
56711         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
56712         down expression to avoid unexpected rounding in newer GCCs.
56713         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
56715 2012-04-26  David S. Miller  <davem@davemloft.net>
56717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
56718         long-double compat symbols.
56719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
56721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
56722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
56723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
56724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
56725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
56726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
56727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
56728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
56729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
56730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
56731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56733 2012-04-25  David S. Miller  <davem@davemloft.net>
56735         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
56736         HWCAP_* values only after the memory barriers have been defined.
56737         (atomic_full_barrier): Define.
56738         (atomic_read_barrier): Define.
56739         (atomic_write_barrier): Define.
56741 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56743         * shlib-versions: Add libgcc_s version information.
56744         * sysdeps/generic/libgcc_s.h: Remove.
56745         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
56746         libgcc_s.h.
56747         * sysdeps/gnu/unwind-resume.c: Likewise.
56748         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
56750 2012-04-25  David S. Miller  <davem@davemloft.net>
56752         * sysdeps/unix/sparc/brk.S: Delete.
56753         * sysdeps/unix/sparc/dl-brk.S: Delete.
56754         * sysdeps/unix/sparc/pipe.S: Delete.
56755         * sysdeps/unix/sparc/sysdep.S: Delete.
56756         * sysdeps/unix/sparc/sysdep.h: Delete.
56757         * sysdeps/unix/sparc/vfork.S: Delete.
56758         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
56759         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
56760         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
56761         (ret_ERRVAL, r0, r1, MOVE): Define.
56762         (JUMPTARGET): Remove.
56763         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
56764         sysdeps/unix/sparc/sysdep.h
56765         (ENTRY, END): Remove.
56766         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56768 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
56770         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
56771         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
56772         -DIS_IN_build.
56774         * timezone/README: Update upstream location and email address for
56775         tzcode and tzdata.
56776         * timezone/zdump.c: Update from tzcode 2012b.
56777         * timezone/zic.c: Likewise.
56779         * configure.in (libc_cv_as_needed): Remove test.
56780         * configure: Regenerated.
56781         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
56782         conditional definition.
56783         [$(have-as-needed) != yes] (no-as-needed): Likewise.
56784         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
56785         * config.make.in (have-as-needed): Remove variable.
56787 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56788             Paul Pluzhnikov  <ppluzhnikov@google.com>
56790         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
56791         strings correctly.
56793 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
56795         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
56796         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
56797         * sysdeps/sh/strlen.S: Likewise.
56799 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
56801         * sysdeps/unix/fork.S: Remove file.
56802         * sysdeps/unix/i386/fork.S: Likewise.
56803         * sysdeps/unix/sparc/fork.S: Likewise.
56805         * sysdeps/unix/system.c: Remove file.
56806         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
56808         * sysdeps/unix/getegid.S: Remove file.
56809         * sysdeps/unix/geteuid.S: Likewise.
56811 2012-04-24  Roland McGrath  <roland@hack.frob.com>
56813         * scripts/check-localplt.awk: New file.
56814         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
56815         of diff.
56816         * scripts/data/localplt-generic.data: Add a comment.
56818         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
56819         NODE when __dir_mkfile failed.
56820         * sysdeps/mach/hurd/symlinkat.c: Likewise.
56821         Reported by Ludovic Courtès <ludo@gnu.org>.
56823 2012-04-24  Andreas Jaeger  <aj@suse.de>
56825         * Makerules (common-clean): Also remove gen-as-const-headers
56826         files.
56828 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
56830         * Makerules (native-compile): Do not change working directory for
56831         build.  Use $(OUTPUT_OPTION) in command.
56832         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
56834 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56836         [BZ #13886]
56837         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
56838         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
56839         * math/libm-test.inc (floor_test): Add more tests.
56840         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
56842 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
56844         * sysdeps/unix/getdents.c: Remove file.
56845         * sysdeps/unix/sysv/getdents.c: Likewise.
56846         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
56848         * sysdeps/unix/syscalls.list (madvise): Add syscall from
56849         sysdeps/unix/mman/syscalls.list.
56850         (mmap): Likewise.
56851         (mprotect): Likewise.
56852         (msync): Likewise.
56853         (munmap): Likewise.
56854         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
56855         * sysdeps/unix/mman/syscalls.list: Remove.
56856         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
56858         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
56859         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
56860         * configure: Regenerated.
56861         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
56862         $(libgcc_s_suffix).
56863         * config.make.in (libgcc_s_suffix): Remove variable.
56865 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
56867         * sysdeps/unix/sysv/gethostname.c: Move to ...
56868         * sysdeps/posix/gethostname.c: ... here.
56870         * sysdeps/unix/execve.S: Remove file.
56872         * sysdeps/unix/_exit.S: Remove file.
56874 2012-04-23  Andreas Jaeger  <aj@suse.de>
56876         [BZ #13739]
56877         * manual/Makefile: Remove make dist support, there's no
56878         need for a stand-alone documentation tar ball.
56879         (TEXI2DVI): Define always, it's not in Makeconfig.
56880         (dist): Removed.
56881         (tar-it): Removed.
56882         (edition): Removed.
56883         (glibc-doc-$(edition).tar): Removed
56884         (%.Z): Removed.
56885         (%.gz): Removed.
56886         (%.uu): Removed.
56887         (ETAGS): Remove, it's in Makeconfig.
56888         (move-if-change): Remove, it's in Makeconfig.
56890 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
56892         [BZ #13970]
56893         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
56894         (strtod, strtof, strtold, strtol, strtoul, strtoq)
56895         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
56896         (strtod_l, strtof_l, strtold_l): Remove __wur.
56897         It is not necessarily an error to ignore strtol's return value.
56898         One can reliably look at the stored endptr to decide whether
56899         the number had valid syntax.
56901 2012-04-21  Andreas Jaeger  <aj@suse.de>
56903         [BZ #13739]
56904         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
56906 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
56908         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
56909         * sysdeps/unix/sysv/Versions: Remove file.
56911 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
56913         [BZ #13927]
56914         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56916 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
56918         [BZ #7064]
56919         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
56920         version from __vm86.
56922 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
56924         * sysdeps/unix/common/lxstat.c: Remove file.
56925         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
56927         * sysdeps/unix/sysv/Makefile: Remove file.
56929         * sysdeps/unix/sysv/direct.h: Remove file.
56931         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
56932         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
56933         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
56934         * sysdeps/unix/sysv/bits/signum.h: Likewise.
56935         * sysdeps/unix/sysv/bits/stat.h: Likewise.
56936         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
56937         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
56939         * sysdeps/unix/sysv/setrlimit.c: Remove file.
56941         * sysdeps/unix/xmknod.c: Remove file.
56942         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
56944         * sysdeps/unix/sysv/settimeofday.c: Remove file.
56946         * sysdeps/unix/sysv/i386/time.S: Remove file.
56948         * sysdeps/unix/fxstat.c: Remove file.
56949         * sysdeps/unix/xstat.c: Likewise.
56950         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
56952         * sysdeps/unix/sysv/sigaction.c: Remove file.
56954         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
56955         (sysdep_headers): Remove variable.
56956         [termio.h not in sysdep_headers] (generated): Likewise.
56957         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
56958         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
56959         * sysdeps/unix/sysv/tcdrain.c: Likewise.
56960         * sysdeps/unix/sysv/tcflow.c: Likewise.
56961         * sysdeps/unix/sysv/tcflush.c: Likewise.
56962         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
56963         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
56964         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
56965         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
56966         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
56968         * sysdeps/unix/siglist.c: Remove file.
56970         * sysdeps/unix/getppid.S: Remove file.
56972         * sysdeps/unix/mkdir.c: Remove file.
56973         * sysdeps/unix/rmdir.c: Likewise.
56975 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
56977         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
56978         ERR_MAX value.
56979         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
56980         errlist-compat value.
56982 2012-04-18  David S. Miller  <davem@davemloft.net>
56984         * sysdeps/generic/memcopy.h (reg_char): Delete.
56985         * debug/strcat_chk.c: Use char, not reg_char.
56986         * debug/strcpy_chk.c: Likewise.
56987         * debug/strncat_chk.c: Likewise.
56988         * debug/strncpy_chk.c: Likewise.
56989         * string/memchr.c: Likewise.
56990         * string/memrchr.c: Likewise.
56991         * string/rawmemchr.c: Likewise.
56992         * string/strcat.c: Likewise.
56993         * string/strchr.c: Likewise.
56994         * string/strchrnul.c: Likewise.
56995         * string/strcmp.c: Likewise.
56996         * string/strcpy.c: Likewise.
56997         * string/strncat.c: Likewise.
56998         * string/strncmp.c: Likewise.
56999         * string/strncpy.c: Likewise.
57001 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57003         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
57004         __builtin_memcopy is called when src and dest ranges are known to not
57005         overlap.
57007 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57009         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
57010         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
57011         fwd_align_merge macro call.
57012         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
57013         bwd_align_merge macro call.
57014         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57016 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57018         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
57019         bwd_align_merge macros.
57020         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
57021         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
57022         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57024 2012-04-18  David S. Miller  <davem@davemloft.net>
57026         * sysdeps/sparc/sparc64/memcopy.h: Delete.
57028 2012-04-18  Andreas Jaeger  <aj@suse.de>
57030         [BZ# 6794]
57031         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
57032         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
57033         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57035         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
57036         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
57037         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57039         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
57040         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
57041         Adjust for changed ldbl-128 files.
57043         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
57044         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
57045         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57047 2012-04-17  David S. Miller  <davem@davemloft.net>
57049         * sysdeps/sparc/sparc32/memcopy.h: Delete.
57051 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
57053         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
57054         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
57055         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
57056         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
57057         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
57058         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
57060 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57062         [BZ #6794]
57063         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
57064         * math/libm-test.inc: Add ilogb errno and exception tests.
57065         * math/w_ilogb.c: New file: ilogb wrapper.
57066         * math/w_ilogbf.c: New file: ilogbf wrapper.
57067         * math/w_ilogbl.c: New file: ilogbl wrapper.
57068         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
57069         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
57070         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
57071         exception being thrown with 0.0 as argument.
57072         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
57073         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
57074         exception being thrown with 0.0 as argument.
57075         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
57076         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
57077         exception being thrown with 0.0 as argument.
57078         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
57079         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
57080         exception being thrown with 0.0 as argument.
57081         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
57082         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
57083         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
57084         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
57085         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
57086         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
57087         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
57088         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
57089         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
57091 2012-04-17  Petr Baudis  <pasky@ucw.cz>
57093         * include/sys/uio.h: Change __vector to __iovec to avoid clash
57094         with altivec.
57096 2012-04-16  Marek Polacek  <polacek@redhat.com>
57098         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
57100 2012-04-16  Marek Polacek  <polacek@redhat.com>
57102         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
57103         operands of fdivp instruction.
57105 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
57107         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
57108         * elf/tst-auditmod3b.c: Likewise.
57109         * elf/tst-auditmod4b.c: Likewise.
57110         * elf/tst-auditmod5b.c: Likewise.
57111         * elf/tst-auditmod6b.c: Likewise.
57112         * elf/tst-auditmod6c.c: Likewise.
57113         * elf/tst-auditmod7b.c: Likewise.
57114         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
57115         * sysdeps/x86_64/preconfigure.in: Likewise.
57116         * sysdeps/x86_64/preconfigure: Regenerated.
57118 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
57120         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
57121         __ILP32__.
57123 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
57125         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57126         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
57128 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
57130         [BZ #13973]
57131         * locale/iso-639.def: Fix gl language name. Spotted by
57132         Yaron Shahrabani.
57134 2012-04-12  Roland McGrath  <roland@hack.frob.com>
57136         [BZ #2074]
57137         * libio/libio.h (__io_write_fn): Update comment.
57139 2012-04-12  Petr Baudis  <pasky@ucw.cz>
57141         [BZ #2074]
57142         * stdio.texi (Hook Functions): The user provided writer function
57143         is not allowed to return -1.
57145 2012-04-11  David S. Miller  <davem@davemloft.net>
57147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57149 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
57151         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
57152         Add a leading slash to rtkaio.
57154 2012-04-11  Jim Meyering  <meyering@redhat.com>
57156         [BZ #11959]
57157         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
57158         It is not necessarily an error to ignore fwrite's return
57159         value.  One can reliably use ferror to test for errors after
57160         the fact.
57162 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
57164         * bits/types.h (__snseconds_t): New type.
57165         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
57167         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
57168         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57169         (__SNSECONDS_T_TYPE): Likewise.
57170         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57171         (__SNSECONDS_T_TYPE): Likewise.
57172         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57173         (__SNSECONDS_T_TYPE): Likewise.
57175 2012-04-10  Andreas Jaeger  <aj@suse.de>
57177         [BZ #2636]
57178         * manual/time.texi (Processor Time): Return type of times is
57179         elapsed real time since an arbitrary point in the past.
57180         (CPU Time): Move CLK_TCK from here...
57181         (Processor Time): ...to here.  Correct description.
57182         * manual/conf.texi (Constants for Sysconf): Correct description of
57183         _SC_CLK_TCK.
57185 2012-04-10  David S. Miller  <davem@davemloft.net>
57187         [BZ #13967]
57188         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
57189         where the is a gap between DT_REL(A) and DT_JMPREL.
57191 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
57193         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
57194         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
57195         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
57197 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57199         * elf/dl-support.c (_dl_inhibit_cache): New variable.
57200         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
57201         (dl_main): Handle --inhibit-cache.
57202         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
57203         _dl_inhibit_cache.
57204         * elf/dl-load.c (_dl_map_object): Use it.
57205         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
57207 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
57209         [BZ #13872]
57210         * sysdeps/i386/fpu/e_powl.S (p78): New object.
57211         (__ieee754_powl): Saturate large exponents rather than testing for
57212         overflow of y*log2(x).
57213         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57214         * math/libm-test.inc (pow_test): Do not permit spurious overflow
57215         exceptions.
57217         [BZ #11521]
57218         * math/s_ctan.c: Include <float.h>.
57219         (__ctan): Avoid internal overflow or cancellation in calculating
57220         denominator.
57221         * math/s_ctanf.c: Likewise.
57222         * math/s_ctanl.c: Likewise.
57223         * math/s_ctanh.c: Likewise.
57224         * math/s_ctanhf.c: Likewise.
57225         * math/s_ctanhl.c: Likewise.
57226         * math/libm-test.inc (ctan_test): Add more tests.
57227         (ctanh_test): Likewise.
57228         * sysdeps/i386/fpu/libm-test-ulps: Update.
57229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57231 2012-04-09  Andreas Jaeger  <aj@suse.de>
57233         [BZ #6894]
57234         * manual/filesys.texi (Directory Entries): Mention that d_namlen
57235         is an optional BSD extension.
57237         [BZ #10254]
57238         * manual/stdio.texi (Opening Streams): Document additional fopen
57239         parameters.
57241 2012-04-09  Roland McGrath  <roland@hack.frob.com>
57243         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
57244         %eax without telling the compiler.
57246 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
57248         [BZ # 13963]
57249         * manual/install.texi: Use sourceware.org.
57251 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
57253         [BZ #13873]
57254         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
57255         (__ieee754_pow): Generate overflow and underflow using huge*huge
57256         and tiny*tiny rather than just returning constant infinity or zero
57257         for large exponents.
57258         * math/libm-test.inc (pow_test): Require overflow exceptions for
57259         applicable cases of large exponents.
57261         [BZ #706]
57262         * sysdeps/i386/fpu/e_pow.S (p10): New object.
57263         (__ieee754_pow): Use iterative multiplication algorithm only for
57264         integer exponents with absolute value below 1024.  Check for odd
57265         integer exponents when using algorithm for real exponents.
57266         * math/libm-test.inc (pow_test): Add more tests.
57267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57269 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
57271         [BZ #13705]
57272         * math/libm-test.inc (exp_test): Do not allow overflow exception
57273         on underflow test.
57275 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
57277         [BZ #13705]
57278         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
57279         instead of __kernel_standard_f.
57281 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
57283         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
57284         * sysdeps/x86_64/memset_chk.S: Likewise.
57286 2012-04-08  Andreas Jaeger  <aj@suse.de>
57288         [BZ #10153]
57289         * manual/startup.texi (Environment Access): Describe return value
57290         for putenv and setenv.
57292         [BZ #6895]
57293         * manual/filesys.texi (Directory Entries): Add description for
57294         DT_LNK.
57296         [BZ #6890]
57297         * manual/filesys.texi (Directory Entries): Clarify that it's file
57298         system not operating system in the description of DT_UNKNOWN.
57300         [BZ #6578]
57301         * manual/syslog.texi (closelog): Fix reference, it's openlog.
57303 2012-04-08  Stephen Compall  <s11@member.fsf.org>
57305         [BZ #6649]
57306         * manual/llio.texi (Opening and Closing Files): Add cross
57307         reference to explain mode argument.
57309 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
57311         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
57312         * sysdeps/x86_64/memset_chk.S: Likewise.
57314 2012-04-07  David S. Miller  <davem@davemloft.net>
57316         * elf/elf.h (R_SPARC_WDISP10): Define.
57317         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
57318         R_SPARC_SIZE32.
57319         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
57320         R_SPARC_SIZE64 and R_SPARC_H34.
57322 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
57324         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
57325         conditions and remove no longer applicable assertion.
57327 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
57329         * bits/byteswap.h: Include <features.h>.
57330         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
57331         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
57333 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
57335         * bits/byteswap.h (__bswap_16): Removed.
57336         Include <bits/byteswap-16.h> to get __bswap_16.
57337         * sysdeps/i386/bits/byteswap.h: Likewise.
57338         * sysdeps/s390/bits/byteswap.h: Likewise.
57339         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57340         * bits/byteswap-16.h: New file.
57341         * sysdeps/i386/bits/byteswap-16.h: Likewise.
57342         * sysdeps/s390/bits/byteswap-16.h: Likewise.
57343         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
57344         * string/Makefile (headers): Add bits/byteswap-16.h.
57346 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
57348         [BZ #13895]
57349         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
57350         extra indirection.
57351         * nss/Makefile (tests-static, tests): Add tst-nss-static.
57352         * nss/tst-nss-static.c: New.
57354 2012-04-06  Robert Millan  <rmh@gnu.org>
57356         [BZ #6486]
57357         * manual/llio.texi (File Position Primitive): lseek
57358         refers to WHENCE when it really means OFFSET.
57360 2012-04-06  Andreas Jaeger  <aj@suse.de>
57362         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
57363         strncmp declarations.
57365         * abilist/libc.abilist: Add __poll and __ppoll.
57367 2012-04-05  David S. Miller  <davem@davemloft.net>
57369         * scripts/check-local-headers.sh: Accept a host triplet in the
57370         path matched by the exclude regexp.
57372         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
57373         definition.
57374         * sysdeps/powerpc/powerpc32/dl-machine.h
57375         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
57376         * sysdeps/s390/s390-32/dl-machine.h
57377         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57378         * sysdeps/sparc/sparc32/dl-machine.h
57379         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57380         * sysdeps/sparc/sparc64/dl-machine.h
57381         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57383         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
57384         lazy binding.
57385         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
57386         undefined symbol errors.
57388         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
57389         DT_NEEDED entries.
57391 2012-04-05  Michael Matz  <matz@suse.de>
57393         [BZ #13592]
57394         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
57396 2012-04-05  Andreas Jaeger  <aj@suse.de>
57398         [BZ #13908]
57399         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
57400         comment.
57402 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57404         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
57405         which ROUND is no valid rounding mode.
57407 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57409         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
57410         read again.
57411         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
57413 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57415         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
57416         an exception using FPU order intentionally.
57418 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57420         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
57421         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
57422         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
57423         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
57425 2012-04-05  Simon Josefsson  <simon@josefsson.org>
57427         [BZ #12340]
57428         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
57429         EINVAL when BUFLEN is too smal.
57431 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
57433         [BZ #13553]
57434         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
57435         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
57437 2012-04-03  Andreas Jaeger  <aj@suse.de>
57439         [BZ #13938]
57440         * manual/setjmp.texi (System V contexts): Fix sentence.
57442         [BZ #13926]
57443         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
57444         New macro for this case.
57445         [!__GNUC__] (__bswap_64): New inline function for this case.
57446         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57447         * bits/byteswap.h: Likewise.
57448         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
57449         ull, guard with __GLIBC_HAVE_LONG_LONG.
57451         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
57452         __GLIBC_HAVE_LONG_LONG.
57454         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
57455         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
57457 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57459         [BZ #13691]
57460         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
57461         inptr and inend, rather than using last_ch.
57463 2012-04-02  David S. Miller  <davem@davemloft.net>
57465         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
57466         * stdio-common/printf-parse.h (read_int): Change return type to
57467         'int', return -1 on INT_MAX overflow.
57468         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
57469         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
57470         overflows INT_MAX.  Check for overflow of in-format-string precision
57471         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
57472         SIZE_MAX not INT_MAX for integer overflow test.
57473         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
57474         skip the construct in the format string but do not record anything.
57475         * stdio-common/bug22.c: Adjust to test both width/prevision
57476         INT_MAX overflow as well as total length INT_MAX overflow.  Check
57477         explicitly for proper errno values.
57479 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
57481         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
57482         CHAR_MAX.
57483         * string/test-strcmp.c [! WIDE]: Likewise.
57484         * time/tst-mktime2.c: Likewise for INT_MAX.
57485         * string/test-string.h: #include <sys/param.h> for MIN.
57487         * csu/init-first.c (__libc_init_first): Call __ctype_init.
57488         * sysdeps/i386/init-first.c (init): Likewise.
57489         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
57490         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
57491         * sysdeps/sh/init-first.c (init): Likewise.
57493 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
57495         * po/ru.po: Update from translation team.
57496         * po/vi.po: Likewise.
57498 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57500         * resolv/nss_dns/dns-host.c: Merge copyright years.
57502 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57504         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57505         Optimize memcpy with prefetch if
57506         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
57507         src, dst pointers have unequal 16 byte alignments.
57509 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57511         [BZ #13928]
57512         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
57513         from a CNAME entry and return the minimum ttl for the query.
57514         (gaih_getanswer_slice): Likewise.
57516 2012-03-30  Jeff Law  <law@redhat.com>
57518         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
57519         due to long keys.
57520         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
57521         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
57523         * resolv/nss_dns/dns-host.c: Update copyright year.
57525 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
57527         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
57528         requests to save a system call.  Fix check that all bytes are sent.
57530         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
57531         comments for sendmmsg.
57533 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57535         [BZ #13691]
57536         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
57537         with only 1 character between 0x0041 and 0x01b0.
57538         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
57539         * wcsmbs/tst-mbsnrtowcs.c: New file.
57541 2012-03-29  David S. Miller  <davem@davemloft.net>
57543         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
57544         small copies by hand.
57546 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57548         [BZ #13761]
57549         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
57550         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
57551         group memberships.
57553 2012-03-28  David S. Miller  <davem@davemloft.net>
57555         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
57556         that branches into memcpy.
57557         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
57558         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
57559         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
57560         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
57561         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
57562         bits.
57563         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
57564         implementation too.
57565         * sysdeps/sparc/mempcpy.S: New file.
57567         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
57568         the IFUNC routine in the libc case.
57569         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57571         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
57572         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
57573         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
57574         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
57575         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
57576         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
57577         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
57578         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
57580         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
57581         loop to 256 bytes instead of 64 bytes and fix test signedness.
57583         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
57584         * sysdeps/sparc/sparc32/Makefile: rather than here...
57585         * sysdeps/sparc/sparc64/Makefile: and here.
57587 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
57589         * malloc/mallocbug.c: Avoid warnings about unused variables.
57591 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57593         [BZ #13760]
57594         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
57595         in the right place. Discard and retry query if response is
57596         larger than input buffer size.
57598 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
57600         [BZ #369]
57601         [BZ #2678]
57602         [BZ #3866]
57603         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
57604         x for large integer exponent.
57605         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
57606         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
57607         sign of result as needed afterwards.
57608         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
57609         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
57610         result for underflowing pow the same as for overflow.
57611         (__kernel_standard_l): Handle powl overflow and underflow here
57612         rather than calling __kernel_standard.
57613         * math/libm-test.inc (pow_test): Add more tests.
57615         [BZ #3868]
57616         [BZ #13879]
57617         [BZ #13910]
57618         [BZ #13911]
57619         [BZ #13912]
57620         [BZ #13913]
57621         [BZ #13915]
57622         [BZ #13916]
57623         [BZ #13917]
57624         [BZ #13918]
57625         [BZ #13919]
57626         [BZ #13920]
57627         [BZ #13921]
57628         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
57629         * sysdeps/ieee754/k_standard.c: Include <float.h>.
57630         (__kernel_standard_l): New function.
57631         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
57632         __kernel_standard.
57633         * math/w_acosl.c (__acosl): Likewise.
57634         * math/w_asinl.c (__asinl): Likewise.
57635         * math/w_atan2l.c (__atan2l): Likewise.
57636         * math/w_atanhl.c (__atanhl): Likewise.
57637         * math/w_coshl.c (__coshl): Likewise.
57638         * math/w_exp10l.c (__exp10l): Likewise.
57639         * math/w_exp2l.c (__exp2l): Likewise.
57640         * math/w_fmodl.c (__fmodl): Likewise.
57641         * math/w_hypotl.c (__hypotl): Likewise.
57642         * math/w_j0l.c (__j0l, __y0l): Likewise.
57643         * math/w_j1l.c (__j1l, __y1l): Likewise.
57644         * math/w_jnl.c (__jnl, __ynl): Likewise.
57645         * math/w_lgammal.c (__lgammal): Likewise.
57646         * math/w_log10l.c (__log10l): Likewise.
57647         * math/w_log2l.c (__log2l): Likewise.
57648         * math/w_logl.c (__logl): Likewise.
57649         * math/w_powl.c (__powl): Likewise.
57650         * math/w_remainderl.c (__remainderl): Likewise.
57651         * math/w_scalbl.c (sysv_scalbl): Likewise.
57652         * math/w_sinhl.c (__sinhl): Likewise.
57653         * math/w_sqrtl.c (__sqrtl): Likewise.
57654         * math/w_tgammal.c (__tgammal): Likewise.
57655         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
57656         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
57657         * math/libm-test.inc (acos_test): Add more tests.
57658         (acosh_test): Likewise.
57659         (asin_test): Likewise.
57660         (atanh_test): Likewise.
57661         (exp_test): Likewise.
57662         (exp10_test): Likewise.
57663         (exp2_test): Likewise.
57664         (expm1_test): Likewise.
57665         (lgamma_test): Likewise.
57666         (log_test): Likewise.
57667         (log10_test): Likewise.
57668         (log1p_test): Likewise.
57669         (log2_test): Likewise.
57670         (pow_test): Do not allow some spurious overflow exceptions.
57671         (sqrt_test): Add more tests.
57672         (tgamma_test): Likewise.
57673         (y0_test): Likewise.
57674         (y1_test): Likewise.
57675         (yn_test): Likewise.
57677 2012-03-27  Anton Blanchard  <anton@samba.org>
57679         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
57680         MAP_HUGETLB.
57681         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57682         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
57683         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57685 2012-03-27  David S. Miller  <davem@davemloft.net>
57687         * conform/Makefile: Run run-conformtest.sh using $(BASH).
57689         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
57690         have-as-vis3 check.
57692 2012-03-27  Andreas Jaeger  <aj@suse.de>
57694         * sysdeps/x86_64/elf/configure.in: Moved to ...
57695         * sysdeps/x86_64/configure.in: ... here.
57696         * sysdeps/x86_64/elf/start.S: Moved to ...
57697         * sysdeps/x86_64/start.S: ... here.
57698         * sysdeps/x86_64/elf/configure: Delete.
57700         * sysdeps/x86_64/configure.in: Merge contents from
57701         sysdeps/i386/configure.in (without i686 check).
57703         * sysdeps/i386/elf/Versions: Merge into ...
57704         * sysdeps/i386/Versions: ... this.
57705         * sysdeps/i386/elf/Versions: Delete file.
57706         * sysdeps/i386/elf/start.S: Moved to ...
57707         * sysdeps/i386/start.S: ...here.
57708         * sysdeps/i386/elf/configure.in: Merge into...
57709         * sysdeps/i386/configure.in: ...here.
57710         * sysdeps/i386/elf/configure.in: Delete file.
57711         * sysdeps/i386/elf/configure: Delete file.
57713         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
57714         * debug/backtracesyms.c: ... here.
57715         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
57716         * debug/backtracesymsfd.c: ... here.
57717         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
57718         * sysdeps/generic/ifunc-sel.h: ... here.
57720         * sysdeps/unix/i386/start.c: Delete file.
57721         * sysdeps/unix/sparc/start.c: Delete file.
57722         * sysdeps/unix/start.c: Delete file.
57724         * sysdeps/sh/elf/configure.in: Moved to ...
57725         * sysdeps/sh/configure.in: ... here.
57726         * sysdeps/sh/elf/start.S: Moved to ...
57727         * sysdeps/sh/start.S: ... here.
57728         * sysdeps/sh/elf/configure: Delete file.
57730         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
57731         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
57732         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
57733         * sysdeps/powerpc/powerpc64/entry.h: ... here.
57734         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
57735         * sysdeps/powerpc/powerpc64/start.S: here.
57736         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
57737         * sysdeps/powerpc/powerpc64/Makefile: ... this.
57738         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
57739         * sysdeps/powerpc/powerpc64/configure.in: ... this.
57740         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
57742         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
57743         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
57744         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
57745         * sysdeps/powerpc/powerpc32/start.S: ... here.
57746         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
57747         * sysdeps/powerpc/powerpc32/configure.in: ... this.
57748         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
57750         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
57751         * sysdeps/powerpc/ifunc-sel.h: ... here.
57752         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
57753         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
57755         * sysdeps/sparc/elf/configure.in: Moved to ...
57756         * sysdeps/sparc/configure.in: ... here.
57757         * sysdeps/sparc/elf/configure: Delete file.
57758         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
57759         * sysdeps/sparc/sparc32/start.S: ... here.
57760         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
57761         * sysdeps/sparc/sparc64/start.S: ... here.
57762         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
57763         * sysdeps/sparc/sparc32/Makefile: ... this.
57764         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
57765         * sysdeps/sparc/sparc64/Makefile: ... this.
57767         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
57768         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
57769         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
57770         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
57771         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
57772         * sysdeps/s390/s390-32/setjmp.S: ... here.
57773         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
57774         * sysdeps/s390/s390-32/configure.in: ... here.
57775         * sysdeps/s390/s390-32/elf/configure: Delete file.
57776         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
57777         * sysdeps/s390/s390-32/start.S: ... here.
57779         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
57780         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
57781         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
57782         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
57783         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
57784         * sysdeps/s390/s390-64/setjmp.S: ... here.
57785         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
57786         * sysdeps/s390/s390-64/configure.in: ... here
57787         * sysdeps/s390/s390-64/elf/configure: Delete file.
57788         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
57789         * sysdeps/s390/s390-64/start.S: ... here.
57790         * sysdeps/s390/s390-64/elf/configure: Delete.
57792         * configure.in: Remove support for elf directories in sysdeps.
57794         * configure: Regenerated.
57795         * sysdeps/i386/configure: Regenerated.
57796         * sysdeps/powerpc/powerpc32/configure: Regenerated.
57797         * sysdeps/powerpc/powerpc64/configure: Regenerated.
57798         * sysdeps/s390/s390-32/configure: Regenerated.
57799         * sysdeps/s390/s390-64/configure: Regenerated.
57800         * sysdeps/sh/configure: Regenerated.
57801         * sysdeps/sparc/configure: Regenerated.
57802         * sysdeps/x86_64/configure: Regenerated.
57804 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
57806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57808         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
57809         denormal result into account.
57811 2012-03-25  Roland McGrath  <roland@hack.frob.com>
57813         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
57814         Reported by Allan McRae <allan@archlinux.org>.
57816 2012-03-23  Jeff Law  <law@redhat.com>
57818         * nss/getnssent.c (__nss_getent): Fix typo.
57820 2012-03-23  David S. Miller  <davem@davemloft.net>
57822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57824 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
57826         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
57827         to pad to uint64_t for each field.
57828         (dl_tls_index): Replace unsigned long with uint64_t.
57830 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
57831         Paul Pluzhnikov  <ppluzhnikov@google.com>
57833         [BZ #6528]
57834         * grp/Makefile (otherlibs): Don't set it.
57835         * inet/Makefile (otherlibs): Likewise.
57836         * login/Makefile (otherlibs): Likewise.
57837         * nscd/Makefile (otherlibs): Likewise.
57838         * posix/Makefile (otherlibs): Likewise.
57839         * pwd/Makefile (otherlibs): Likewise.
57840         * rt/Makefile (otherlibs): Likewise.
57841         * sunrpc/Makefile (otherlibs): Likewise.
57842         * nss/Makefile (otherlibs): Likewise.
57843         Add libnss_files to routines and static-only-routines.
57844         ($(objpfx)getent): Remove rule.
57845         * resolv/Makefile: Add libnss_dns and libresolv to routines and
57846         static-only-routines.
57848 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
57850         [BZ #13892]
57851         * math/s_cexp.c: Include <float.h>.
57852         (__cexp): Handle exp result overflowing not necessarily
57853         overflowing both real and imaginary parts of result.
57854         * math/s_cexpf.c: Likewise.
57855         * math/s_cexpl.c: Likewise.
57856         * math/libm-test.inc (cexp_test): Add more tests.
57857         * sysdeps/i386/fpu/libm-test-ulps: Update.
57858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57860 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
57862         * include/link.h (ELFW): New macro.
57863         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
57864         Replace ELF64_R_TYPE with ELFW(R_TYPE).
57866 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
57868         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
57869         with uint64_t.
57871 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
57873         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
57874         declaration.
57875         (struct La_x32_retval): Likewise.
57877 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
57879         * sysdeps/x86_64/preconfigure.in: New file.
57880         * sysdeps/x86_64/preconfigure: New generated file.
57882 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
57884         [BZ #13824]
57885         * math/e_exp2l.c: Include <float.h>.
57886         (__ieee754_exp2l): Handle overflow and underflow cases
57887         separately.  Only pass fractional part of argument to
57888         __ieee754_expl.
57889         * math/libm-test.inc (exp2_test): Add more tests.
57891         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
57892         negating x to take absolute value.
57893         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
57894         Likewise.
57895         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
57896         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
57897         Likewise.
57898         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
57899         computing low part if x was negated.
57900         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
57902 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
57904         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
57905         la_x32_gnu_pltexit.
57906         (pltexit): Cast int_retval to ptrdiff_t.
57907         * elf/tst-auditmod3b.c: Likewise.
57908         * elf/tst-auditmod4b.c: Likewise.
57909         * elf/tst-auditmod5b.c: Likewise.
57910         * elf/tst-auditmod6b.c: Likewise.
57911         * elf/tst-auditmod6c.c: Likewise.
57912         * elf/tst-auditmod7b.c: Likewise.
57914         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
57915         and x32_gnu_pltexit.
57917         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
57918         __ELF_NATIVE_CLASS.
57919         (La_x32_regs): New macro.
57920         (La_x32_retval): Likewise.
57921         (la_x32_gnu_pltenter): New function prototype.
57922         (la_x32_gnu_pltexit): Likewise.
57924 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
57926         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
57927         exponent.
57929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57931         * configure.in (libc_cv_cc_nofma): Check for option to disable
57932         generation of FMA instructions.
57933         * configure: Regenerate.
57934         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
57935         * sysdeps/ieee754/dbl-64/Makefile: New file.
57936         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
57937         Remove brandred-fma4.
57938         (CFLAGS-brandred-fma4.c): Remove.
57939         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
57940         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
57941         define.
57942         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
57943         define.
57945 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
57947         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
57948         LLONG_MAX != LONG_MAX.
57949         (_itoa_word): Use _ITOA_WORD_TYPE on value.
57950         (_fitoa_word): Likewise.
57951         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
57952         LLONG_MAX != LONG_MAX.
57953         * stdio-common/_itowa.h: Include <_itoa.h>.
57954         (_itowa_word): Use _ITOA_WORD_TYPE on value.
57955         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
57956         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
57957         only if not defined.
57958         (_ITOA_WORD_TYPE): Likewise.
57959         (_itoa_word): Use _ITOA_WORD_TYPE on value.
57960         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
57962 2012-03-21  David S. Miller  <davem@davemloft.net>
57964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57966 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
57968         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
57969         of x86_64 when setting libc_cv_slibdir, libdir and
57970         libc_cv_localedir.
57971         * sysdeps/unix/sysv/linux/configure: Regenerated.
57973 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
57975         * manual/lang.texi (Old Varargs): Remove section.
57976         (How Variadic): Update menu.
57977         (va_start): Do not mention varargs.h.
57979 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
57980             Joseph Myers  <joseph@codesourcery.com>
57982         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
57983         link test.
57984         * configure: Regenerated.
57986 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
57988         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
57989         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
57990         conformtest.pl
57992 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
57994         * NOTES: Remove.
57995         * Makefile (files-for-dist): Remove NOTES.
57996         (NOTES): Remove rule.
57997         * README: Don't refer to NOTES.
57998         * manual/creature.texi: Don't include macros.texi.
57999         * manual/intro.texi (creature.texi): Remove comment referring to
58000         NOTES.
58002         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
58003         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
58004         * configure: Regenerated.
58005         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
58006         LIBC_TRY_CC_OPTION.
58007         (libc_cv_as_i686): Likewise.
58008         (libc_cv_cc_avx): Likewise.
58009         (libc_cv_cc_sse2avx): Likewise.
58010         (libc_cv_cc_fma4): Likewise.
58011         (libc_cv_cc_novzeroupper): Likewise.
58012         * sysdeps/i386/configure: Regenerated.
58014         [BZ #13883]
58015         * sysdeps/i386/fpu/s_cexp.S: Remove.
58016         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58017         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58018         * math/libm-test.inc (cexp_test): Add more tests.
58019         * sysdeps/i386/fpu/libm-test-ulps: Update.
58020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58022 2012-03-21  Allan McRae  <allan@archlinux.org>
58024         * timezone/Makefile: Do not install iso3166.tab and zone.tab
58026 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
58028         [BZ #13871]
58029         * math/w_exp2.c: Do not include <float.h>.
58030         (o_threshold, u_threshold): Remove.
58031         (__exp2): Calculate result before checking finiteness and calling
58032         __kernel_standard.
58033         * math/w_exp2f.c: Likewise.
58034         * math/w_exp2l.c: Likewise.
58035         * math/libm-test.inc (exp2_test): Require overflow exception for
58036         1e6 input.
58038         [BZ #3866]
58039         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
58040         range of signed 64-bit integers before using fistpll.  Remove
58041         checks for whether integers fit in mantissa bits.
58042         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
58043         the range of signed 32-bit integers before using fistpl.  Remove
58044         checks for whether integers fit in mantissa bits.
58045         * sysdeps/i386/fpu/e_powl.S (p64): New object.
58046         (__ieee754_powl): Test for y outside the range of signed 64-bit
58047         integers before using fistpll.  Reduce 64-bit values to 63-bit
58048         ones as needed.
58049         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
58050         divide-by-zero is raised for zero to large negative powers.
58051         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
58052         (__ieee754_powl): Test for y outside the range of signed 64-bit
58053         integers before using fistpll.  Reduce 64-bit values to 63-bit
58054         ones as needed.
58055         * math/libm-test.inc (pow_test): Add more tests.
58057 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58059         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
58060         <stdio-common/_itoa.h>.
58061         * debug/segfault.c: Likewise.
58062         * elf/dl-cache.c: Likewise.
58063         * elf/dl-minimal.c: Likewise.
58064         * elf/dl-misc.c: Likewise.
58065         * elf/dl-sysdep.c: Likewise.
58066         * elf/dl-version.c: Likewise.
58067         * elf/rtld.c: Likewise.
58068         * hurd/hurdsock.c: Likewise.
58069         * hurd/lookup-retry.c: Likewise.
58070         * malloc/malloc.c: Likewise.
58071         * malloc/mtrace.c: Likewise.
58072         * nscd/nscd_getgr_r.c: Likewise.
58073         * nscd/nscd_getpw_r.c: Likewise.
58074         * nscd/nscd_getserv_r.c: Likewise.
58075         * posix/getopt_init.c: Likewise.
58076         * posix/wordexp.c: Likewise.
58077         * stdio-common/_itoa.c: Likewise.
58078         * stdio-common/printf_fphex.c: Likewise.
58079         * stdio-common/vfprintf.c: Likewise.
58080         * string/_strerror.c: Likewise.
58081         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
58082         * sysdeps/i386/i686/hp-timing.h: Likewise.
58083         * sysdeps/mach/_strerror.c: Likewise.
58084         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
58085         * sysdeps/mach/hurd/sethostid.c: Likewise.
58086         * sysdeps/mach/hurd/xmknodat.c: Likewise.
58087         * sysdeps/mach/xpg-strerror.c: Likewise.
58088         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58089         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
58090         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
58091         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
58092         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
58093         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
58094         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
58095         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
58096         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
58097         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
58098         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
58099         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
58100         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
58101         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
58102         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
58103         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
58104         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
58105         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
58106         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
58107         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
58108         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
58110         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
58112         * stdio-common/_itoa.h: Moved to ...
58113         * sysdeps/generic/_itoa.h: Here.
58115         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
58117         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
58118         instead of "_itoa.h" and "_itowa.h".
58119         * stdio-common/vfprintf.: Likewise.
58121 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58123         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
58124         <bits/wordsize.h>.
58125         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
58126         (__signbit): Likwise.
58127         (llrintf): Likwise.
58128         (llrint): Likwise.
58130 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58132         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
58133         __WORDSIZE != 64.
58135 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
58137         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
58138         OVERFLOW_EXCEPTION_OK.
58139         * math/libm-test.inc ("Philosophy"): Update comment about
58140         exception testing.
58141         (OVERFLOW_EXCEPTION): Define.
58142         (OVERFLOW_EXCEPTION_OK): Likewise.
58143         (INVALID_EXCEPTION_OK): Renumber.
58144         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58145         (IGNORE_ZERO_INF_SIGN): Likewise.
58146         (test_exceptions): Handle FE_OVERFLOW.
58147         (exp10_test): Expect overflow exceptions.
58148         (exp2_test): Likewise.
58149         (expm1_test): Likewise.
58150         (nextafter_test): Likewise.
58151         (pow_test): Likewise.
58152         (scalbn_test): Likewise.
58153         (scalbln_test): Likewise.
58155 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58157         * sysdeps/x86_64/bits/atomic.h
58158         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
58159         64bit integer.
58160         (atomic_exchange_acq): Likewise.
58161         (__arch_exchange_and_add_body): Likewise.
58162         (__arch_add_body): Likewise.
58163         (atomic_add_negative): Likewise.
58164         (atomic_add_zero): Likewise.
58166 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58168         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
58169         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
58171 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58173         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
58174         Check __x86_64__ instead of __WORDSIZE.
58176 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58178         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
58180 2012-03-19  David S. Miller  <davem@davemloft.net>
58182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58184         * sysdeps/sparc/fpu/fenv_private.h: New file.
58185         * sysdeps/sparc/fpu/math_private.h: Use it.
58186         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
58187         Remove.
58188         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
58189         (libc_feholdexcept_setroundl): Remove.
58190         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
58191         Remove.
58192         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
58193         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
58195 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58197         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
58198         int64_t instead of long int.
58199         (INSERT_WORDS64): Likwise.
58201 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58203         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
58204         _Unwind_GetCFA return to _Unwind_Ptr first.
58206 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
58208         [BZ #13629]
58209         * math/s_clog.c: Include <float.h>.
58210         (__clog): Scale large or subnormal inputs.
58211         * math/s_clogf.c: Likewise.
58212         * math/s_clogl.c: Likewise.
58213         * math/s_clog10.c: Include <float.h>.
58214         (M_LOG10_2): Define.
58215         (__clog10): Scale large or subnormal inputs.
58216         * math/s_clog10f.c: Likewise.
58217         * math/s_clog10l.c: Likewise.
58218         * math/libm-test.inc (clog_test): Add more tests.
58219         (clog10_test): Likewise.
58220         * sysdeps/i386/fpu/libm-test-ulps: Update.
58221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58223         [BZ #11451]
58224         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
58225         x and y.
58226         * math/libm-test.inc (atan2_test): Add another test.
58228         * Makerules (common-objdir-compile): Remove.
58229         * sysdeps/unix/Makefile (config-generated): Do not add
58230         $(unix-generated) to variable.
58231         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
58232         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
58233         Remove rule.
58234         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
58235         Likewise.
58236         [generic bits/local_lim.h] (before-compile): Do not append to
58237         variable.
58238         [generic bits/local_lim.h] (common-generated): Likewise.
58239         [generic sys/param.h] (before-compile): Do not append to variable.
58240         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
58241         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
58242         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
58243         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
58244         include.
58245         [generic sys/param.h] (sys/param.h-includes): Remove variable.
58246         [generic sys/param.h] (sys/param.h-includes): Remove rule.
58247         [generic sys/param.h] ($(addprefix
58248         $(common-objpfx),$(sys/param.h-includes))): Likewise.
58249         [generic sys/param.h] (common-generated): Do not append to
58250         variable.
58251         [generic sys/param.h] (sysdep_headers): Likewise.
58252         [generic bits/errno.h] (before-compile): Do not append to
58253         variable.
58254         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
58255         rule.
58256         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
58257         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
58258         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
58259         [generic bits/errno.h] (common-generated): Do not append to
58260         variable.
58261         [generic bits/ioctls.h] (before-compile): Do not append to
58262         variable.
58263         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
58264         rule.
58265         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
58266         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
58267         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
58268         rule.
58269         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
58270         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
58271         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
58272         [generic bits/ioctls.h] (common-generated): Do not append to
58273         variable.
58274         [generic sys/syscall.h] (syscall.h): Remove variable.
58275         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
58276         rule.
58277         [generic sys/syscall.h] (before-compile): Do not append to
58278         variable.
58279         [generic sys/syscall.h] (common-generated): Likewise.
58280         * sysdeps/unix/errnos-tmpl.c: Remove file.
58281         * sysdeps/unix/errnos.awk: Likewise.
58282         * sysdeps/unix/ioctls-tmpl.c: Likewise.
58283         * sysdeps/unix/ioctls.awk: Likewise.
58284         * sysdeps/unix/mk-local_lim.c: Likewise.
58285         * sysdeps/unix/snarf-ioctls: Likewise.
58287 2012-03-19  Richard Henderson  <rth@twiddle.net>
58289         * sysdeps/i386/fpu/fenv_private.h: New file.
58290         * sysdeps/i386/fpu/math_private.h: Use it.
58291         (math_opt_barrier, math_force_eval): Remove.
58292         (libc_feholdexcept_setround_53bit): Remove.
58293         (libc_feupdateenv_53bit): Remove.
58294         * sysdeps/x86_64/fpu/math_private.h: Likewise.
58295         (math_opt_barrier, math_force_eval): Remove.
58296         (libc_feholdexcept): Remove.
58297         (libc_feholdexcept_setround): Remove.
58298         (libc_fetestexcept, libc_fesetenv): Remove.
58299         (libc_feupdateenv_test): Remove.
58300         (libc_feupdateenv, libc_feholdsetround): Remove.
58301         (libc_feresetround): Remove.
58303         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
58304         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
58306         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
58307         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
58308         (libc_feupdateenv_testl): New.
58309         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
58310         (libc_feupdateenv_testf): New.
58311         (libc_feupdateenv): Use libc_feupdateenv_test.
58312         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
58313         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
58315         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
58316         (libc_feholdsetroundf, libc_feholdsetroundl): New.
58317         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
58318         (libc_feresetround_noex): New.
58319         (libc_feresetround_noexf): New.
58320         (libc_feresetround_noexl): New.
58321         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
58322         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
58323         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
58324         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
58325         SET_RESTORE_ROUND.
58326         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58327         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
58328         (__cos): Likewise.
58329         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
58330         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
58331         SET_RESTORE_ROUND_NOEX.
58332         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
58333         SET_RESTORE_ROUND_NOEXF.
58334         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
58335         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
58336         (libc_feholdsetroundf): New.
58337         (libc_feresetround, libc_feresetroundf): New.
58339         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
58340         (libc_feholdexcept_setround_53bit): Convert from macro to function.
58341         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
58343         * sysdeps/generic/math_private.h: Include <fenv.h>.
58344         (default_libc_feholdexcept): New.
58345         (default_libc_feholdexcept_setround): New.
58346         (default_libc_fesetenv, default_libc_feupdateenv): New.
58347         (libc_feholdexcept): Only define if undefined.
58348         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
58349         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
58350         (libc_feholdexcept_setroundl): Likewise.
58351         (libc_feholdexcept_setround_53bit): Likewise.
58352         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
58353         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
58354         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
58355         (libc_feupdateenv_53bit): Likewise.
58356         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
58357         (libc_feholdexcept): Convert from macro to inline function.
58358         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
58359         (libc_fesetenv, libc_feupdateenv): Likewise.
58361         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
58362         not previously defined.
58363         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
58364         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
58365         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
58366         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
58367         * sysdeps/ieee754/flt-32/math_private.h: New file.
58368         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
58369         math_private.h below SET_FLOAT_WORD.
58370         (__isnan, __isinf_ns, __finite): Remove.
58371         (__isnanf, __isinf_nsf, __finitef): Remove.
58373 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
58375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58377 2012-03-17  David S. Miller  <davem@davemloft.net>
58379         [BZ #6471]
58380         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
58381         for 2.16.
58383 2012-03-16  David S. Miller  <davem@davemloft.net>
58385         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
58386         warnings.
58388         [BZ #6471]
58389         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
58390         properly.
58391         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
58392         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
58393         sysdep_routines when subdir is sysvipc.
58394         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
58395         __getshmlba helper.
58397         * sysdeps/sparc/fpu/libm-test/ulps: Update.
58399 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58401         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
58402         [__LP64__].
58404 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58406         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
58407         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
58408         (__lround): Renamed to ...
58409         (__llround): This.  Replace long int with long long int.
58410         Define lround functions as aliases of llround functions.
58411         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
58413 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58415         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
58416         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
58417         adresses to uintptr_t.  Replace "long int" and "unsigned long
58418         int" with "greg_t" on va_arg.
58420 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58422         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
58423         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
58425         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
58426         Move e_machine check before EI_CLASS check.  Handle x32
58427         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
58428         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
58429         SKIP_EM_IA_64 and include
58430         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
58432         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
58433         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
58434         (add_system_dir): New macro.
58436         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
58437         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
58439 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
58441         [BZ #2551]
58442         [BZ #2552]
58443         [BZ #2553]
58444         [BZ #2554]
58445         [BZ #2562]
58446         [BZ #2563]
58447         [BZ #2565]
58448         [BZ #2566]
58449         [BZ #2576]
58450         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
58451         (y0): Likewise.
58452         * math/w_j0f.c (j0f): Likewise.
58453         (y0f): Likewise.
58454         * math/w_j0l.c (__j0l): Likewise.
58455         (__y0l): Likewise.
58456         * math/w_j1.c (j1): Likewise.
58457         (y1): Likewise.
58458         * math/w_j1f.c (j1f): Likewise.
58459         (y1f): Likewise.
58460         * math/w_j1l.c (__j1l): Likewise.
58461         (__y1l): Likewise.
58462         * math/w_jn.c (jn): Likewise.
58463         (yn): Likewise.
58464         * math/w_jnf.c (jnf): Likewise.
58465         (ynf): Likewise.
58466         * math/w_jnl.c (__jnl): Likewise.
58467         (__ynl): Likewise.
58468         * math/libm-test.inc (j0_test): Add more tests.
58469         (j1_test): Likewise.
58470         (jn_test): Likewise.  Add trailing semicolon to existing test.
58471         (y0_test): Likewise.
58472         (y1_test): Likewise.
58473         * sysdeps/i386/fpu/libm-test-ulps: Update.
58474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58476         [BZ #13851]
58477         [BZ #13854]
58478         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
58479         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
58480         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
58481         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
58482         (__tanl): Set errno for infinite argument.
58483         * sysdeps/i386/fpu/mptan.c: Remove.
58484         * sysdeps/i386/fpu/s_tan.S: Likewise.
58485         * sysdeps/i386/fpu/s_tanl.S: Likewise.
58486         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
58487         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
58488         * math/libm-test.inc (tan_test): Add more tests and enable more
58489         tests for double and long double.
58490         * sysdeps/i386/fpu/libm-test-ulps: Update.
58491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58493 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
58495         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
58496         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
58498 2012-03-16  Roland McGrath  <roland@hack.frob.com>
58500         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
58501         * configure.in: Use it for both main tree and add-ons.
58502         * configure: Regenerated.
58504 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58506         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
58508 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
58510         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
58511         in comment.
58513         [BZ #13851]
58514         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
58515         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
58516         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
58517         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
58518         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
58519         infinite argument.
58520         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
58521         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
58522         != 0 for prec == 2.
58523         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
58524         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
58525         * sysdeps/i386/fpu/s_cosl.S: Likewise.
58526         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
58527         * sysdeps/i386/fpu/s_sinl.S: Likewise.
58528         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
58529         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
58530         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
58531         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
58532         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
58533         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
58534         * math/libm-test.inc (cos_test): Add more tests and enable more
58535         tests for long double.
58536         (sin_test): Likewise.
58537         (sincos_test): Likewise.
58538         * sysdeps/i386/fpu/libm-test-ulps: Update.
58539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58541 2012-03-16  David S. Miller  <davem@davemloft.net>
58543         * sysdeps/sparc/fpu/math_private.h: New file.
58545 2012-03-15  David S. Miller  <davem@davemloft.net>
58547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
58548         file.
58549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
58550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
58551         file.
58552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
58553         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
58554         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
58555         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
58556         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
58557         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
58558         sysdep routines.
58559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
58561         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
58562         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
58564         * sysdeps/sparc/sparc-ifunc.h: New file.
58565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
58566         sparc-ifunc.h
58567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
58568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
58569         Likewise.
58570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
58571         Likewise.
58572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
58573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
58574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
58576         Likewise.
58577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
58578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
58579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
58580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
58581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
58582         Likewise.
58583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
58584         Likewise.
58585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
58586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
58587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
58588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
58589         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
58590         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
58591         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
58592         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
58593         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
58594         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
58595         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
58596         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
58597         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
58598         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
58599         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
58600         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
58601         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
58602         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
58603         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
58604         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
58605         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
58606         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
58607         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
58608         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
58610 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
58612         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
58613         scaling.
58614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58616 2012-03-15  Andreas Jaeger  <aj@suse.de>
58618         [BZ #13852]
58619         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
58620         ieee754/flt-32 implementation for sin, cos and sincos.
58621         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
58622         * sysdeps/i386/fpu/s_cosf.S: Likewise.
58623         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
58624         * sysdeps/i386/fpu/s_sinf.S: Likewise.
58625         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
58626         ieee754/flt-32 implementation for tan.
58628         * math/libm-test.inc (cos_test): Enable some large input tests for
58629         float as well
58630         (sin_test): Likewise.
58631         (sincos_test): Likewise.
58632         (tan_test): Add tests for large input.
58634         * sysdeps/i386/fpu/libm-test-ulps: Update.
58636 2012-03-15  Andreas Jaeger  <aj@suse.de>
58638         [BZ #13658]
58639         * math/libm-test.inc (cos_test): Add more test cases.
58640         (sin_test): Likewise.
58641         (sincos_test): Likewise.
58643 2012-03-15  Andreas Jaeger  <aj@suse.de>
58645         [BZ #13837]
58646         * math/libm-test.inc (cos_test): Add a test case for large input
58647         value.
58648         (sin_test): Likewise.
58649         (sincos_test): Likewise.
58651 2012-03-15  Andreas Jaeger  <aj@suse.de>
58652             Joseph Myers  <joseph@codesourcery.com>
58654         [BZ #13658]
58655         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
58656         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
58657         * sysdeps/i386/fpu/branred.c: Likewise.
58658         * sysdeps/i386/fpu/dosincos.c: Likewise.
58659         * sysdeps/i386/fpu/mpa.c: Likewise.
58660         * sysdeps/i386/fpu/s_cos.S: Likewise.
58661         * sysdeps/i386/fpu/s_sin.S: Likewise.
58662         * sysdeps/i386/fpu/s_sincos.S: Likewise.
58663         * sysdeps/i386/fpu/sincos32.c: Likewise.
58665         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
58666         Define.
58667         (libc_feupdateenv_53bit): Define.
58668         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
58669         Define.
58670         (libc_feupdateenv_53bit): Define.
58672         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
58673         53 bit (without extend i386 double precision).
58675         * math/libm-test.inc (sincos_test): Add tests for large input.
58676         (sin): Likewise.
58677         (cos): Likewise.
58679         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
58681 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
58683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58685 2012-03-15  David S. Miller  <davem@davemloft.net>
58687         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
58688         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
58689         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
58690         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
58691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
58692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
58693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
58694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
58695         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
58696         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
58697         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
58698         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
58699         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
58700         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
58701         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
58702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
58703         file.
58704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
58705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
58706         file.
58707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
58708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
58709         file.
58710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
58711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
58712         file.
58713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
58714         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
58715         fmin/fmax sysdep routines.
58716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
58718 2012-03-14  David S. Miller  <davem@davemloft.net>
58720         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
58721         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
58722         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
58723         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
58724         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
58725         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
58726         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
58727         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
58728         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
58729         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
58730         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
58731         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
58732         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
58733         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
58734         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
58735         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
58736         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
58737         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
58738         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
58739         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
58740         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
58741         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
58742         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
58743         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
58744         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
58745         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
58746         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
58747         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
58748         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
58749         routines.
58750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
58751         file.
58752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
58753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
58754         file.
58755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
58756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
58757         file.
58758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
58759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
58760         file.
58761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
58762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
58763         file.
58764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
58765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
58766         file.
58767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
58768         file.
58769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
58770         file.
58771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
58772         file.
58773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
58774         New file.
58775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
58776         file.
58777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
58778         file.
58779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
58780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
58781         file.
58782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
58783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
58784         file.
58785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
58786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
58787         file.
58788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
58789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
58790         VIS3 routines.
58792         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
58793         New file.
58795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58797         * sysdeps/sparc/configure.in: New file.
58798         * sysdeps/sparc/configure: Generate.
58799         * configure.in (libc_cv_sparc_as_vis3): Substitute.
58800         * configure: Regenerate.
58801         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
58802         * config.make.in (have-as-vis3): New.
58803         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
58804         available use -Av9d instead of -Av9a.
58805         * sysdeps/sparc/sparc64/Makefile: Likewise.
58806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
58807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
58808         New file.
58809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
58810         file.
58811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
58812         New file.
58813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
58814         file.
58815         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
58816         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
58817         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
58818         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
58819         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
58821         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
58822         fzeros/fnegs to load 0x80000000 into a float register instead of
58823         using the stack.
58824         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
58826 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
58828         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58829         bits/syscall.h.
58830         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
58831         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
58832         ($(inst_includedir)/bits/syscall.h): Remove rule.
58833         ($(objpfx)bits/syscall.d): Include instead of
58834         $(objpfx)syscall-list.d.
58835         (generated): Change syscall-list.h and syscall-list.d to
58836         bits/syscall.h and bits/syscall.d.
58838 2012-03-14  Roland McGrath  <roland@hack.frob.com>
58840         [BZ #13846]
58841         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
58843 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
58845         [BZ #13841]
58846         * math/s_csqrt.c: Include <float.h>.
58847         (__csqrt): Scale large or subnormal inputs.
58848         * math/s_csqrtf.c: Likewise.
58849         * math/s_csqrtl.c: Likewise.
58850         * math/libm-test.inc (csqrt_test): Add more tests.
58851         * sysdeps/i386/fpu/libm-test-ulps: Update.
58852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58854         [BZ #13840]
58855         * math/libm-test.inc (hypot_test): Add more tests.
58857 2012-03-13  David S. Miller  <davem@davemloft.net>
58859         [BZ #13840]
58860         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
58861         double-precision for the calculation instead of scaling.
58863 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
58865         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
58866         manipulate bits before adding and subtracting TWO52[sx].
58867         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
58868         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
58869         Likewise.
58870         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
58872 2012-03-13  David S. Miller  <davem@davemloft.net>
58874         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
58875         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
58876         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
58877         rtld-global-offsets.h
58878         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58880         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
58881         large parameters.
58883         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
58885         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
58886         'err' in the ifdef scope in which it is actually used.
58888         * nss/nss_db/db-init.c: Include string.h
58890 2012-03-12  David S. Miller  <davem@davemloft.net>
58892         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58893         masking out of the most significant byte of random value used.
58894         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58895         Fix coding style in previous change.
58897         * sysdeps/unix/sysv/linux/kernel-features.h
58898         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
58899         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
58900         expression.
58901         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
58902         later.
58904 2012-03-11  David S. Miller  <davem@davemloft.net>
58906         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58907         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
58908         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
58909         for 'resultvar' otherwise things get truncated on 64-bit.
58911         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58912         Fix masking out of the most significant byte of random value used.
58914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58916 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
58918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58920 2012-03-09  David S. Miller  <davem@davemloft.net>
58922         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
58923         variables with appropriate CPP guards.
58924         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
58925         from the frame pointer, not the stack pointer.  Correct layout
58926         comments.  Fix test on resulting framesize and the management of
58927         the outregs buffer for pltexit.  Preserve floating point return
58928         values across _dl_call_pltexit call.
58929         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
58930         framesize and the management of the outregs buffer for pltexit.
58931         Preserve floating point return values across _dl_call_pltexit
58932         call.
58933         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
58934         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
58935         (la_sparc64_gnu_pltexit): New functions.
58936         (print_exit): Fix format string for return register value.
58938 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
58940         * sunrpc/Makefile (others): Add rpcgen.
58941         ($(objpfx)rpcgen): Remove special build rule and dependency on
58942         libc.
58943         * sunrpc/rpcgen.c: New file.
58945 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
58947         [BZ #13673]
58948         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
58949         * stdio-common/bug-vfprintf-nargs.c: Likewise.
58950         * sysdeps/i386/crti.S: Likewise.
58951         * sysdeps/i386/crtn.S: Likewise.
58952         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
58953         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
58954         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
58955         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
58956         * sysdeps/sh/crti.S: Likewise.
58957         * sysdeps/sh/crtn.S: Likewise.
58958         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
58960         [BZ #13673]
58961         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
58962         with URL.
58963         * locale/programs/locfile-kw.gperf: Likewise.
58964         * locale/programs/charmap-kw.h: Regenerated.
58965         * locale/programs/locfile-kw.h: Likewise.
58967         [BZ #13673]
58968         * intl/plural.y: Replace FSF snail mail address with URL.
58969         * intl/plural.c: Regenerated.
58971 2012-03-09  Richard Henderson  <rth@twiddle.net>
58973         * include/math_private.h: Remove file.
58974         * math/math_private.h: Move file ...
58975         * sysdeps/generic/math_private.h: ... here.
58977         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
58978         * sysdeps/powerpc/fpu/math_private.h: Likewise.
58979         * sysdeps/x86_64/fpu/math_private.h: Likewise.
58981         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
58982         and <math_private.h>.
58983         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
58984         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
58985         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
58986         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
58987         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
58988         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
58989         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58990         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58991         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58992         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58993         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58994         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58995         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58996         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58997         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58998         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58999         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59000         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59001         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59002         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59003         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59004         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59005         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59006         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59007         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
59008         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59009         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59010         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59011         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59012         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59013         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59014         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59015         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
59016         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59017         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59018         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59019         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59020         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59021         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59022         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59023         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
59024         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59025         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
59026         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
59027         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
59028         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59029         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
59030         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
59031         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59032         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59033         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
59034         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
59035         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
59036         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59037         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
59038         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59039         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59040         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
59041         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
59042         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
59043         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59044         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
59045         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59046         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59047         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
59048         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59049         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59050         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59051         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
59052         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
59053         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
59054         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59055         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
59056         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59057         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
59058         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
59059         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
59060         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59061         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
59062         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
59063         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
59064         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
59065         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
59066         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59067         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59068         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
59069         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
59070         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
59071         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59072         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59073         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59074         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59075         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59076         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59077         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59078         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59079         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59080         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59081         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59082         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59083         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59084         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59085         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59086         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59087         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59088         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59089         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59090         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59091         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59092         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59093         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59094         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59095         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59096         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59097         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
59098         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59099         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59100         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
59101         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59102         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59103         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59104         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
59105         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59106         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
59107         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59108         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
59109         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59110         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
59111         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
59112         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
59113         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
59114         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59115         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59116         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
59117         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
59118         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59119         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59120         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
59121         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
59122         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59123         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59124         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59125         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59126         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
59127         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
59128         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
59129         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
59130         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
59131         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
59132         * sysdeps/ieee754/k_standard.c: Likewise.
59133         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59134         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59135         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59136         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59137         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59138         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59139         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59140         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59141         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59142         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59143         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59144         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59145         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59146         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59147         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59148         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59149         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
59150         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59151         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59152         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
59153         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
59154         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
59155         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59156         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
59157         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
59158         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
59159         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
59160         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
59161         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
59162         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59163         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
59164         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
59165         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
59166         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
59167         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
59168         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
59169         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
59170         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
59171         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
59172         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
59173         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
59174         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
59175         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59176         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
59177         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
59178         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
59179         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
59180         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
59181         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
59182         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59183         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59184         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
59185         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
59186         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
59187         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59188         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59189         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
59190         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
59191         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
59192         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
59193         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59194         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
59195         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
59196         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59197         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59198         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59199         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59200         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59201         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59202         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59203         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59204         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59205         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59206         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59207         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59208         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59209         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
59210         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59211         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59212         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
59213         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
59214         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
59215         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
59216         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
59217         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
59218         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
59219         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
59220         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
59221         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
59222         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
59223         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
59224         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
59225         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
59226         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
59227         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
59228         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
59229         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
59230         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
59231         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
59232         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
59233         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
59234         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
59235         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59236         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
59237         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
59238         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59239         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59240         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
59241         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
59242         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
59243         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
59244         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
59245         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59246         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59247         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59248         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59249         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59250         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59251         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59252         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59253         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59254         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59255         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59256         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59257         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59258         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
59259         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59260         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
59261         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
59262         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59263         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59264         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59265         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59266         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
59267         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
59268         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
59269         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
59270         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
59271         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59272         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
59273         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
59274         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59275         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
59276         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
59277         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59278         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59279         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59280         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
59281         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
59282         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
59283         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59284         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59285         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59286         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59287         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
59288         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
59289         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
59290         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
59291         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
59292         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
59293         * sysdeps/ieee754/s_lib_version.c: Likewise.
59294         * sysdeps/ieee754/s_matherr.c: Likewise.
59295         * sysdeps/ieee754/s_signgam.c: Likewise.
59296         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59297         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59298         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
59299         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
59300         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
59301         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
59302         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
59303         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
59304         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
59305         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
59306         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
59307         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
59308         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
59309         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59310         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
59311         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
59312         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59313         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
59314         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59315         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59316         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59318 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
59320         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
59321         * sunrpc/rpc_main.c: Likewise.
59322         * sunrpc/rpc_svcout.c: Likewise.
59324 2012-03-09  David S. Miller  <davem@davemloft.net>
59326         * include/math_private.h: New file.
59328 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
59330         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
59331         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
59332         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
59333         from <bits/socket_type.h>.
59334         (enum __socket_type): Don't define here.
59335         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
59336         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59337         bits/socket_type.h.
59339         [BZ #13566]
59340         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
59341         checking __USE_GNU.
59343         * Makerules ($(inst_includedir)/%.h): New rule.
59344         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
59345         (install-others): Remove variable setting.
59346         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
59348 2012-03-08  Richard Henderson  <rth@twiddle.net>
59350         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
59351         from macro to inline function; merge with the
59352         !__LIBC_INTERNAL_MATH_INLINES version.
59353         (__ieee754_sqrtf): Likewise.
59355         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
59356         to inline function.
59357         (__rintf, __floor, __floorf): Likewise.
59359         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
59360         macro to inline function.
59361         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
59363         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
59364         not <math/math_private.h>.
59366 2012-03-08  David S. Miller  <davem@davemloft.net>
59368         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
59369         copyright year.
59370         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
59372 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
59374         * resolv/gai_misc.c (handle_requests): Fix struct timespec
59375         normalization.
59376         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
59377         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
59379 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
59381         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
59382         be defined individually, they must be defined as a block.  Define
59383         S for printing a string instead of hidint the different by using a
59384         macro for adding the 'l'.
59385         * stdio-common/tst-fphex-wide.c: Adjust.
59387 2012-03-07  Marek Polacek  <polacek@redhat.com>
59389         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
59391 2012-03-08  Marek Polacek  <polacek@redhat.com>
59393         [BZ #13806]
59394         * stdio-common/Makefile (tests): Add tst-fphex-wide.
59395         * stdio-common/tst-fphex.c: Define a few macros to make the
59396         test reusable.  Use them.
59397         * stdio-common/tst-fphex-wide.c: New file.
59399 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
59401         [BZ #6911]
59402         * manual/macros.texi (gnusystems): New macro.
59403         (nongnusystems): Likewise.
59404         (gnulinuxhurdsystems): Likewise.
59405         (gnuhurdsystems): Likewise..
59406         (gnulinuxsystems): Likewise.
59407         * manual/charset.texi: Use new macros or @theglibc{} to refer to
59408         variants of the GNU system, not "GNU system".
59409         * manual/conf.texi: Likewise.
59410         * manual/errno.texi: Likewise.  Update example of errno macro
59411         expansion.
59412         * manual/filesys.texi: Likewise.
59413         (getumask): Document as specific to GNU/Hurd.
59414         * manual/install.texi: Likewise.  Reword some references to
59415         GNU/Linux.
59416         * manual/intro.texi: Likewise.
59417         * manual/io.texi: Likewise.
59418         (File Name Portability): Detail which constraints are inapplicable
59419         to all GNU systems and which are only inapplicable to GNU/Hurd.
59420         * manual/job.texi: Likewise.
59421         * manual/llio.texi: Likewise.
59422         (O_NOCTTY): Document as present on GNU/Linux.
59423         * manual/maint.texi: Likewise.
59424         * manual/memory.texi: Likewise.
59425         * manual/pattern.texi: Likewise.
59426         * manual/pipe.texi: Likewise.
59427         * manual/process.texi: Likewise.
59428         * manual/resource.texi: Likewise.
59429         (RUSAGE_CHILDREN): Remove statement about specifying a particular
59430         child on GNU/Hurd.
59431         * manual/setjmp.texi: Likewise.
59432         * manual/signal.texi: Likewise.
59433         * manual/startup.texi: Likewise.
59434         * manual/stdio.texi: Likewise.
59435         * manual/terminal.texi: Likewise.
59436         (ONLCR): Document as POSIX.
59437         (OXTABS): Document availability on GNU/Linux as XTABS.
59438         (ONOEOT): Document availability separately from other bits.
59439         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
59440         * manual/time.texi: Likewise.
59441         * manual/users.texi: Likewise.
59442         * INSTALL: Regenerated.
59443         * sysdeps/gnu/errlist.c: Regenerated.
59445         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
59446         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
59447         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
59448         puts.
59449         * configure: Regenerated.
59451 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
59453         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
59454         default includes instead of AC_HEADER_CHECK.
59455         * sysdeps/i386/configure: Regenerated.
59457         [BZ #10716]
59458         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
59459         * math/s_cacoshf.c (__cacoshf): Likewise.
59460         * math/s_cacoshl.c (__cacoshl): Likewise.
59461         * math/s_casinh.c (__casinh): Set signs of result from argument.
59462         * math/s_casinhf.c (__casinhf): Likewise.
59463         * math/s_casinhl.c (__casinhl): Likewise.
59464         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
59465         (casinh_test): Add more tests.
59466         * sysdeps/i386/fpu/libm-test-ulps: Update.
59467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59469 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
59471         * po/zh_TW.po: Update from translation team.
59473         * login/Makefile (distribute): Remove variable.
59474         * catgets/Makefile: Likewise.
59475         * mach/Makefile: Likewise.
59476         * malloc/Makefile: Likewise.
59477         * misc/Makefile: Likewise.
59478         * iconv/Makefile: Likewise.
59479         * nscd/Makefile: Likewise.
59480         * hurd/Makefile: Likewise.
59481         * manual/Makefile: Likewise.
59482         * locale/Makefile: Likewise.
59483         * intl/Makefile: Likewise.
59484         * conform/Makefile: Likewise.
59485         * nss/Makefile: Likewise.
59486         * time/Makefile: Likewise.
59487         * soft-fp/Makefile: Likewise.
59488         * dirent/Makefile: Likewise.
59489         * gmon/Makefile: Likewise.
59490         * po/Makefile: Likewise.
59491         * rt/Makefile: Likewise.
59492         * socket/Makefile: Likewise.
59493         * math/Makefile: Likewise.
59494         * signal/Makefile: Likewise.
59495         * debug/Makefile: Likewise.
59496         * elf/Makefile: Likewise.
59497         * timezone/Makefile: Likewise.
59498         * stdlib/Makefile: Likewise.
59499         * iconvdata/Makefile: Likewise.
59500         * sunrpc/Makefile: Likewise.
59501         * io/Makefile: Likewise.
59502         * argp/Makefile: Likewise.
59503         * inet/Makefile: Likewise.
59504         * hesiod/Makefile: Likewise.
59505         * grp/Makefile: Likewise.
59506         * csu/Makefile: Likewise.
59507         * wctype/Makefile: Likewise.
59508         * crypt/Makefile: Likewise.
59509         * libio/Makefile: Likewise.
59510         * string/Makefile: Likewise.
59511         * nis/Makefile: Likewise.
59512         * resolv/Makefile: Likewise.
59513         * stdio-common/Makefile: Likewise.
59514         * wcsmbs/Makefile: Likewise.
59515         * dlfcn/Makefile: Likewise.
59516         * posix/Makefile: Likewise.
59518         [BZ #6959]
59519         * timezone/Makefile: Don't install timezone files, just the programs
59520         and scripts.
59522 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
59524         * nss/databases.def: Add missing gshadow entry.
59526         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
59528 2012-03-06  Marek Polacek  <polacek@redhat.com>
59530         [BZ #13726]
59531         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
59532         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
59533         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
59534         * stdio-common/tst-long-dbl-fphex.c: New file.
59536 2012-03-06  David S. Miller  <davem@davemloft.net>
59538         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59539         (set_obp_int): New function.
59540         (get_obp_int): New function.
59541         (__get_clockfreq_via_dev_openprom): Likewise.
59542         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
59543         Avoid unused variable warnings on 'val' and use builtin_expect.
59544         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
59545         __builtin_expect.
59546         (INLINE_CLONE_SYSCALL): Likewise.
59548 2012-03-05  David S. Miller  <davem@davemloft.net>
59550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59552 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
59554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59556         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
59557         only for |x| >= 40.
59558         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59560 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
59562         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
59563         Replace gettimeofday with __vdso_gettimeofday.
59565         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59566         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
59567         __vdso_clock_gettime and __vdso_getcpu.
59569         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
59570         time with __vdso_time.
59572 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
59574         * manual/lang.texi (size_t): Note types to which size_t may be
59575         equivalent with the GNU C Library, but do not describe when
59576         differences between them are significant.
59578 2012-03-05  Andreas Jaeger  <aj@suse.de>
59580         * sysdeps/i386/fpu/libm-test-ulps: Update.
59582 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
59584         [BZ #3976]
59585         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
59586         (__ieee754_pow): Save and restore rounding mode and use
59587         round-to-nearest for main computations.
59588         * math/libm-test.inc (pow_test_tonearest): New function.
59589         (pow_test_towardzero): Likewise.
59590         (pow_test_downward): Likewise.
59591         (pow_test_upward): Likewise.
59592         (main): Call the new functions.
59593         * sysdeps/i386/fpu/libm-test-ulps: Update.
59594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59596         [BZ #3976]
59597         * math/libm-test.inc (cosh_test_tonearest): New function.
59598         (cosh_test_towardzero): Likewise.
59599         (cosh_test_downward): Likewise.
59600         (cosh_test_upward): Likewise.
59601         (sinh_test_tonearest): Likewise.
59602         (sinh_test_towardzero): Likewise.
59603         (sinh_test_downward): Likewise.
59604         (sinh_test_upward): Likewise.
59605         (main): Call the new functions.
59606         * sysdeps/i386/fpu/libm-test-ulps: Update.
59607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59609 2012-03-05  Tom de Vries  <tom@codesourcery.com>
59611         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
59612         default stack guard is set in last bytes.
59613         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
59615 2012-03-05  Kees Cook  <keescook@chromium.org>
59617         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
59619         [BZ #13656]
59620         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
59621         possibly allocate from heap instead of stack.
59622         * stdio-common/bug-vfprintf-nargs.c: New file.
59623         * stdio-common/Makefile (tests): Add nargs overflow test.
59625 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
59627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59629 2012-03-03  Marek Polacek  <polacek@redhat.com>
59631         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
59632         * math/math_private.h: Likewise.
59633         * stdlib/tst-strtod.c: Likewise.
59634         * sysdeps/i386/i486/bits/atomic.h: Likewise.
59635         * sysdeps/x86_64/bits/atomic.h: Likewise.
59637 2012-03-02  David S. Miller  <davem@davemloft.net>
59639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
59640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
59641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
59642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
59643         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
59644         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
59645         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
59646         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
59648 2012-03-02  Roland McGrath  <roland@hack.frob.com>
59650         [BZ #13792]
59651         * manual/examples/README: New file, says the example source files
59652         can be used under GPL>=2.
59653         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
59654         line containing just "*/".
59655         * manual/examples/add.c: Add copyright header (GPL>=2).
59656         * manual/examples/argp-ex1.c: Likewise.
59657         * manual/examples/argp-ex2.c: Likewise.
59658         * manual/examples/argp-ex3.c: Likewise.
59659         * manual/examples/argp-ex4.c: Likewise.
59660         * manual/examples/atexit.c: Likewise.
59661         * manual/examples/db.c: Likewise.
59662         * manual/examples/dir.c: Likewise.
59663         * manual/examples/dir2.c: Likewise.
59664         * manual/examples/execinfo.c: Likewise.
59665         * manual/examples/filecli.c: Likewise.
59666         * manual/examples/filesrv.c: Likewise.
59667         * manual/examples/fmtmsgexpl.c: Likewise.
59668         * manual/examples/genpass.c: Likewise.
59669         * manual/examples/inetcli.c: Likewise.
59670         * manual/examples/inetsrv.c: Likewise.
59671         * manual/examples/isockad.c: Likewise.
59672         * manual/examples/longopt.c: Likewise.
59673         * manual/examples/memopen.c: Likewise.
59674         * manual/examples/memstrm.c: Likewise.
59675         * manual/examples/mkfsock.c: Likewise.
59676         * manual/examples/mkisock.c: Likewise.
59677         * manual/examples/mygetpass.c: Likewise.
59678         * manual/examples/pipe.c: Likewise.
59679         * manual/examples/popen.c: Likewise.
59680         * manual/examples/rprintf.c: Likewise.
59681         * manual/examples/search.c: Likewise.
59682         * manual/examples/select.c: Likewise.
59683         * manual/examples/setjmp.c: Likewise.
59684         * manual/examples/sigh1.c: Likewise.
59685         * manual/examples/sigusr.c: Likewise.
59686         * manual/examples/stpcpy.c: Likewise.
59687         * manual/examples/strdupa.c: Likewise.
59688         * manual/examples/strftim.c: Likewise.
59689         * manual/examples/strncat.c: Likewise.
59690         * manual/examples/subopt.c: Likewise.
59691         * manual/examples/swapcontext.c: Likewise.
59692         * manual/examples/termios.c: Likewise.
59693         * manual/examples/testopt.c: Likewise.
59694         * manual/examples/testpass.c: Likewise.
59695         * manual/examples/timeval_subtract.c: Likewise.
59697         [BZ #13792]
59698         * manual/time.texi (Elapsed Time): Move timeval_subtract example
59699         function to ...
59700         * manual/timeval_subtract.c.texi: ... here, new file.
59702 2012-03-02  David S. Miller  <davem@davemloft.net>
59704         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
59706 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
59708         [BZ #3976]
59709         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
59710         (__sin): Save and restore rounding mode and use round-to-nearest
59711         for all computations.
59712         (__cos): Save and restore rounding mode and use round-to-nearest
59713         for all computations.
59714         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
59715         <fenv.h>.
59716         (tan): Save and restore rounding mode and use round-to-nearest for
59717         all computations.
59718         * math/libm-test.inc (cos_test_tonearest): New function.
59719         (cos_test_towardzero): Likewise.
59720         (cos_test_downward): Likewise.
59721         (cos_test_upward): Likewise.
59722         (sin_test_tonearest): Likewise.
59723         (sin_test_towardzero): Likewise.
59724         (sin_test_downward): Likewise.
59725         (sin_test_upward): Likewise.
59726         (tan_test_tonearest): Likewise.
59727         (tan_test_towardzero): Likewise.
59728         (tan_test_downward): Likewise.
59729         (tan_test_upward): Likewise.
59730         (main): Call the new functions.
59731         * sysdeps/i386/fpu/libm-test-ulps: Update.
59732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59734         [BZ #10135]
59735         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
59736         small n, then large n, before computing and testing k+n.
59737         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
59738         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
59739         Likewise.
59740         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
59741         Likewise.
59742         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
59743         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
59744         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
59745         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
59746         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
59747         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
59748         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
59749         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
59750         * math/libm-test.inc (scalbn_test): Add more tests.
59751         (scalbln_test): Likewise.
59753         * manual/filesys.texi (mode_t): Describe constraints on size and
59754         signedness, not exact equivalence to a particular type.
59755         (ino_t): Likewise.
59756         (ino64_t): Likewise.
59757         (dev_t): Likewise.
59758         (nlink_t): Likewise.
59759         (blkcnt_t): Likewise.
59760         (blkcnt64_t): Likewise.
59761         * manual/llio.texi (off_t): Likewise.
59763         [BZ #3976]
59764         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
59765         (__ieee754_exp): Save and restore rounding mode and use
59766         round-to-nearest for all computations.
59767         * math/libm-test.inc (exp_test_tonearest): New function.
59768         (exp_test_towardzero): Likewise.
59769         (exp_test_downward): Likewise.
59770         (exp_test_upward): Likewise.
59771         (main): Call the new functions.
59772         * sysdeps/i386/fpu/libm-test-ulps: Update.
59773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59775 2012-03-01  Chris Demetriou  <cgd@google.com>
59777         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
59778         have predictable order.
59780 2012-03-01  David S. Miller  <davem@davemloft.net>
59782         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
59784         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
59785         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
59786         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
59787         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
59789         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
59790         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
59791         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
59792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
59793         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
59794         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
59795         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
59796         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
59797         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
59799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59801         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
59802         * sysdeps/sparc/fpu/libm-test-ulps: to here.
59803         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
59805         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
59806         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59807         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
59808         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
59809         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
59810         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
59811         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
59812         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59813         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
59814         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
59815         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
59816         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
59817         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59818         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
59819         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
59820         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59821         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
59822         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
59823         * sysdeps/sparc/elf/configure: Regenerated.
59825 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
59827         * configure.in (AS, LD): Require binutils 2.20 or later.
59828         * configure: Regenerated.
59829         * manual/install.texi (Tools for Compilation): Give binutils 2.20
59830         as required minimum version.
59831         * INSTALL: Regenerated.
59833         [BZ #2541]
59834         [BZ #4108]
59835         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
59836         before squaring exponent.
59837         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
59838         bottom long double and 27 bits of top long double before squaring
59839         exponent.
59840         * math/libm-test.inc (erfc_test): Add more tests.
59841         * sysdeps/i386/fpu/libm-test-ulps: Update.
59842         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59845 2012-03-01  Kai Tietz  <ktietz@redhat.com>
59847         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
59848         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
59849         containing bit-fields.
59850         * soft-fp/extended.h (_FP_UNION_E): Likewise.
59851         * soft-fp/single.h (_FP_UNION_S): Likewise.
59852         * soft-fp/double.h (_FP_UNION_D): Likewise.
59854 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
59856         [BZ #13786]
59857         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
59858         not include ../strcmp.S.
59859         [USE_AS_STRNCASECMP_L]: Likewise.
59860         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
59861         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
59862         * sysdeps/i386/i686/multiarch/strncase_l-c.c
59863         (__strncasecmp_l_ia32): Define as alias to
59864         __strncasecmp_l_nonascii.
59866         [BZ #5794]
59867         * math/libm-test.inc (expm1_test): Add test for bug 5794.
59868         * sysdeps/i386/fpu/libm-test-ulps: Update.
59869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59871         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
59872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59874 2012-02-29  Jeff Law  <law@redhat.com>
59876         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
59877         out of bounds read.
59879 2012-02-29  Marek Polacek  <polacek@redhat.com>
59881         [BZ #13706]
59882         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
59883         * elf/Makefile: Add rules to run tst-unused-dep.out.
59885 2012-02-28  David S. Miller  <davem@davemloft.net>
59887         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
59888         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
59889         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
59890         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
59891         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
59892         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
59894 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
59896         * math/libm-test.inc (llround_test): Move one test from
59897         lround_test.  Use TEST_f_L in moved test.
59898         (lround_test): Move misplaced test to llround_test.  Add testcase
59899         from bug 2561.
59901 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
59903         * sysdeps/x86_64/fpu/e_expf.S: New file.
59904         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
59906 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
59908         [BZ #13637]
59909         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
59910         of remain_len that may cause incomplete multi-byte character and
59911         false match.
59912         * posix/bug-regex33.c: New file.
59913         * posix/Makefile (tests): Add bug-regex33.
59915 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
59917         * manual/macros.texi: New file.
59918         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
59919         * manual/libc.texinfo: Include macros.texi.
59920         * manual/creatute.texi: Likewise.
59921         * manual/install.texi: Likewise.
59922         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
59923         @glibcadj{} in references to the GNU C Library.
59924         * manual/charset.texi: Likewise.
59925         * manual/conf.texi: Likewise.
59926         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
59927         when not using those macros.
59928         * manual/creature.texi: Likewise.
59929         * manual/crypt.texi: Likewise.
59930         * manual/errno.texi: Likewise.
59931         * manual/filesys.texi: Likewise.
59932         * manual/header.texi: Likewise.
59933         * manual/install.texi: Likewise.
59934         * manual/intro.texi: Likewise.
59935         * manual/io.texi: Likewise.
59936         * manual/job.texi: Likewise.
59937         * manual/lang.texi: Likewise.
59938         * manual/libc.texiinfo: Likewise.
59939         * manual/llio.texi: Likewise.
59940         * manual/locale.texi: Likewise.
59941         * manual/maint.texi: Likewise.
59942         * manual/math.texi: Likewise.
59943         * manual/memory.texi: Likewise.
59944         * manual/message.texi: Likewise.
59945         * manual/nss.texi: Likewise.
59946         * manual/pattern.texi: Likewise.
59947         * manual/process.texi: Likewise.
59948         * manual/resource.texi: Likewise.
59949         * manual/search.texi: Likewise.
59950         * manual/setjmp.texi: Likewise.
59951         * manual/signal.texi: Likewise.
59952         * manual/socket.texi: Likewise.
59953         * manual/startup.texi: Likewise.
59954         * manual/stdio.texi: Likewise.
59955         * manual/string.texi: Likewise.
59956         * manual/sysinfo.texi: Likewise.
59957         * manual/syslog.texi: Likewise.
59958         * manual/terminal.texi: Likewise.
59959         * manual/time.texi: Likewise.
59960         * manual/users.texi: Likewise.
59961         * INSTALL: Regenerated.
59962         * NOTES: Regenerated.
59963         * sysdeps/gnu/errlist.c: Regenerated.
59965 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
59967         * include/dirent.h: Include <dirstream.h> before
59968         <dirent/dirent.h>.
59970 2012-02-28  David S. Miller  <davem@davemloft.net>
59972         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
59973         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
59974         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
59975         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
59977 2012-02-27  David S. Miller  <davem@davemloft.net>
59979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
59980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
59981         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
59982         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
59984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
59985         frame pointer instead of stack pointer relative arg slot.
59986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
59987         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
59988         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
59990 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
59992         [BZ #3992]
59993         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
59995 2012-02-27  David S. Miller  <davem@davemloft.net>
59997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
59998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
59999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
60001         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
60002         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
60003         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
60004         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
60006 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
60008         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
60009         later.  Allow versions 5-9.
60010         * configure: Regenerated.
60011         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
60012         required minimum version and 4.6 as recommended version.  Do not
60013         mention bugs in GCC 2.7 and 2.8.
60014         * INSTALL: Regenerated.
60016 2012-02-27  David S. Miller  <davem@davemloft.net>
60018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
60019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
60020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
60021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
60022         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
60023         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
60024         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
60025         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
60027         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
60028         manipulate bits before adding and subtracting TWO112[sx].
60029         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
60031 2012-02-27  Roland McGrath  <roland@hack.frob.com>
60033         [BZ #13775]
60034         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
60035         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
60036         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
60037         being in POSIX, because they are in 1003.1-2008.
60039         * rt/tst-aio.c: Include <fcntl.h>.
60040         * rt/tst-aio7.c: Likewise.
60041         * rt/tst-aio64.c: Likewise.
60043         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
60045 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
60047         * manual/install.texi (--with-headers): Describe headers as
60048         interface headers, not private headers.
60049         (Specific advice for GNU/Linux systems): Describe use of headers
60050         from "make headers_install", not private headers from older
60051         kernels.
60052         * INSTALL: Regenerated.
60053         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
60054         Change to 2.6.19.
60055         * sysdeps/unix/sysv/linux/configure: Regenerated.
60057         * manual/llio.texi (fclean): Remove documentation.
60059         * manual/Makefile (libc-texi-generated): New variable.  Include
60060         version.texi.
60061         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
60062         $(libc-texi-generated), not duplicated list of files.
60063         (version.texi, stamp-version): New rules.
60064         (realclean): Remove $(libc-texi-generated), not individual files
60065         from that list.  Do not remove dir-add.texinfo.
60066         * manual/libc.texinfo: Comment out uses of edition numbers and
60067         references to printed manual.  Remove last-updated dates.
60068         (EDITION): Comment out.
60069         (ISBN): Likewise.
60070         (VERSION, UPDATED): Remove.
60071         (version.texi): Include.
60073 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
60075         * sysdeps/posix/spawni.c: Include <signal.h>.
60076         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
60077         * sysdeps/pthread/aio_fsync.c: Likewise.
60079 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
60081         * conform/Makefile (tests): Run only when not cross-compiling and
60082         when fast-check is not defined.
60084         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
60085         * conform/data/limits.h-data: Fixes for POSIX2008.
60086         * conform/run-conformtest.sh: Run all tests.
60087         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
60088         headers.
60089         * include/bits/dlfcn.h: Likewise.
60090         * include/langinfo.h: Likewise.
60091         * include/monetary.h: Likewise.
60092         * include/sys/poll.h: Likewise.
60094         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
60095         for __USE_GNU.
60096         * posix/spawn.h: Define __need_sigset_t.
60097         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
60098         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
60099         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
60100         to get sigevent_t only.
60101         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
60102         only for __USE_GNU.
60103         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60104         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60105         process_vm_writev only for __USE_GNU.
60106         * termios/termios.h: Declare tcgetsid also for POSIX2008.
60108         * conform/Makefile: For now ignore errors from run-conformtest.
60109         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
60110         POSIX to avoid namespace pollution.  Don't prepend headers.
60111         * conform/data/aio.h-data: Fixes for POSIX testing.
60112         * conform/data/fcntl.h-data: Likewise.
60113         * conform/data/glob.h-data: Likewise.
60114         * conform/data/grp.h-data: Likewise.
60115         * conform/data/pthread.h-data: Likewise.
60116         * conform/data/pwd.h-data: Likewise.
60117         * conform/data/signal.h-data: Likewise.
60118         * conform/data/spawn.h-data: Likewise.
60119         * conform/data/stdio.h-data: Likewise.
60120         * conform/data/stdlib.h-data: Likewise.
60121         * conform/data/stropts.h-data: Likewise.
60122         * conform/data/sys/mman.h-data: Likewise.
60123         * conform/data/sys/stat.h-data: Likewise.
60124         * conform/data/sys/types.h-data: Likewise.
60125         * conform/data/sys/wait.h-data: Likewise.
60126         * conform/data/time.h-data: Likewise.
60127         * conform/data/unistd.h-data: Likewise.
60128         * conform/data/utime.h-data: Likewise.
60130         * io/sys/stat.h: fchmod was always in POSIX.
60131         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
60132         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
60133         * rt/aio.h: Define __need_timespec before including <time.h>.
60134         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
60135         struct.  Add forward declaration of pthread_attr_t and use it in
60136         sigevent.
60137         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60138         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60139         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
60140         always remove CLK_TCK definition.
60142 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
60144         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
60146 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
60148         * conform/run-conformtest.sh: New file.
60149         * conform/Makefile: Run run-conformtest for tests.
60150         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
60151         support.
60153         * conform/data/uchar.h-data: New file.
60154         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
60155         * conform/data/arpa/inet.h-data: Likewise.
60156         * conform/data/assert.h-data: Likewise.
60157         * conform/data/complex.h-data: Likewise.
60158         * conform/data/cpio.h-data: Likewise.
60159         * conform/data/ctype.h-data: Likewise.
60160         * conform/data/dirent.h-data: Likewise.
60161         * conform/data/dlfcn.h-data: Likewise.
60162         * conform/data/errno.h-data: Likewise.
60163         * conform/data/fcntl.h-data: Likewise.
60164         * conform/data/float.h-data: Likewise.
60165         * conform/data/fmtmsg.h-data: Likewise.
60166         * conform/data/fnmatch.h-data: Likewise.
60167         * conform/data/ftw.h-data: Likewise.
60168         * conform/data/glob.h-data: Likewise.
60169         * conform/data/grp.h-data: Likewise.
60170         * conform/data/iconv.h-data: Likewise.
60171         * conform/data/inttypes.h-data: Likewise.
60172         * conform/data/langinfo.h-data: Likewise.
60173         * conform/data/libgen.h-data: Likewise.
60174         * conform/data/limits.h-data: Likewise.
60175         * conform/data/locale.h-data: Likewise.
60176         * conform/data/math.h-data: Likewise.
60177         * conform/data/monetary.h-data: Likewise.
60178         * conform/data/mqueue.h-data: Likewise.
60179         * conform/data/ndbm.h-data: Likewise.
60180         * conform/data/net/if.h-data: Likewise.
60181         * conform/data/netdb.h-data: Likewise.
60182         * conform/data/netinet/in.h-data: Likewise.
60183         * conform/data/nl_types.h-data: Likewise.
60184         * conform/data/poll.h-data: Likewise.
60185         * conform/data/pthread.h-data: Likewise.
60186         * conform/data/pwd.h-data: Likewise.
60187         * conform/data/regex.h-data: Likewise.
60188         * conform/data/sched.h-data: Likewise.
60189         * conform/data/search.h-data: Likewise.
60190         * conform/data/semaphore.h-data: Likewise.
60191         * conform/data/setjmp.h-data: Likewise.
60192         * conform/data/signal.h-data: Likewise.
60193         * conform/data/spawn.h-data: Likewise.
60194         * conform/data/stdarg.h-data: Likewise.
60195         * conform/data/stdio.h-data: Likewise.
60196         * conform/data/stdlib.h-data: Likewise.
60197         * conform/data/string.h-data: Likewise.
60198         * conform/data/strings.h-data: Likewise.
60199         * conform/data/stropts.h-data: Likewise.
60200         * conform/data/sys/ipc.h-data: Likewise.
60201         * conform/data/sys/mman.h-data: Likewise.
60202         * conform/data/sys/msg.h-data: Likewise.
60203         * conform/data/sys/resource.h-data: Likewise.
60204         * conform/data/sys/select.h-data: Likewise.
60205         * conform/data/sys/sem.h-data: Likewise.
60206         * conform/data/sys/shm.h-data: Likewise.
60207         * conform/data/sys/socket.h-data: Likewise.
60208         * conform/data/sys/stat.h-data: Likewise.
60209         * conform/data/sys/statvfs.h-data: Likewise.
60210         * conform/data/sys/time.h-data: Likewise.
60211         * conform/data/sys/timeb.h-data: Likewise.
60212         * conform/data/sys/times.h-data: Likewise.
60213         * conform/data/sys/types.h-data: Likewise.
60214         * conform/data/sys/uio.h-data: Likewise.
60215         * conform/data/sys/un.h-data: Likewise.
60216         * conform/data/sys/utsname.h-data: Likewise.
60217         * conform/data/sys/wait.h-data: Likewise.
60218         * conform/data/syslog.h-data: Likewise.
60219         * conform/data/tar.h-data: Likewise.
60220         * conform/data/termios.h-data: Likewise.
60221         * conform/data/utime.h-data: Likewise.
60222         * conform/data/utmpx.h-data: Likewise.
60223         * conform/data/varargs.h-data: Likewise.
60224         * conform/data/wchar.h-data: Likewise.
60225         * conform/data/wctype.h-data: Likewise.
60226         * conform/data/wordexp.h-data: Likewise.
60228         * include/stropts.h: New file.
60229         * include/uchar.h: New file.
60230         * include/aio.h: Changes to allow conformtest.pl to use the headers.
60231         * include/assert.h: Likewise.
60232         * include/ctype.h: Likewise.
60233         * include/dirent.h: Likewise.
60234         * include/dlfcn.h: Likewise.
60235         * include/fcntl.h: Likewise.
60236         * include/fnmatch.h: Likewise.
60237         * include/glob.h: Likewise.
60238         * include/grp.h: Likewise.
60239         * include/libio.h: Likewise.
60240         * include/locale.h: Likewise.
60241         * include/math.h: Likewise.
60242         * include/net/if.h: Likewise.
60243         * include/netdb.h: Likewise.
60244         * include/netinet/in.h: Likewise.
60245         * include/pthread.h: Likewise.
60246         * include/pwd.h: Likewise.
60247         * include/regex.h: Likewise.
60248         * include/sched.h: Likewise.
60249         * include/search.h: Likewise.
60250         * include/setjmp.h: Likewise.
60251         * include/signal.h: Likewise.
60252         * include/stdio.h: Likewise.
60253         * include/stdlib.h: Likewise.
60254         * include/string.h: Likewise.
60255         * include/sys/cdefs.h: Likewise.
60256         * include/sys/mman.h: Likewise.
60257         * include/sys/msg.h: Likewise.
60258         * include/sys/resource.h: Likewise.
60259         * include/sys/select.h: Likewise.
60260         * include/sys/socket.h: Likewise.
60261         * include/sys/stat.h: Likewise.
60262         * include/sys/statvfs.h: Likewise.
60263         * include/sys/time.h: Likewise.
60264         * include/sys/times.h: Likewise.
60265         * include/sys/uio.h: Likewise.
60266         * include/sys/utsname.h: Likewise.
60267         * include/sys/wait.h: Likewise.
60268         * include/termios.h: Likewise.
60269         * include/time.h: Likewise.
60270         * include/ulimit.h: Likewise.
60271         * include/unistd.h: Likewise.
60272         * include/utime.h: Likewise.
60273         * include/wchar.h: Likewise.
60274         * include/wctype.h: Likewise.
60275         * include/wordexp.h: Likewise.
60277         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
60279         * time/time.h: TIME_UTC must be a macro.
60280         Make timespec_get available for ISO C11 only as well.
60282 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
60284         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
60285         Reported by Peng Haitao <penght@cn.fujitsu.com>.
60287 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60289         * configure.in: Use -o not -a in test for unsupported multi-arch.
60291 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60293         * manual/texinfo.tex: Update to version 2012-01-19.16.
60295 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60297         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
60299 2012-02-24  Roland McGrath  <roland@hack.frob.com>
60301         [BZ #13738]
60302         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
60303         * manual/fdl-1.3.texi: New file.
60304         * manual/fdl-1.1.texi: File removed.
60306         [BZ #13738]
60307         * manual/libc.texinfo (FDL_VERSION): New @set.
60308         Use it for mention of FDL in cover text.
60309         (Documentation License): Use it in @include file name.
60311 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60312             Roland McGrath  <roland@hack.frob.com>
60314         [BZ #5461]
60315         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
60316         (not LONG_LONG_MAX and LONG_LONG_MIN.
60317         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
60318         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
60319         name.
60320         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
60322 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60324         [BZ #2547]
60325         [BZ #11365]
60326         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
60327         manipulate bits before adding and subtracting TWO23[sx].
60328         * math/libm-test.inc (nearbyint_test): Add more tests.
60330 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60332         [BZ #2548]
60333         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
60334         bits before adding and subtracting TWO23[sx].
60335         * math/libm-test.inc (rint_test): Add more tests.
60336         (rint_test_tonearest): Likewise.
60337         (rint_test_towardzero): Likewise.
60338         (rint_test_downward): Likewise.
60339         (rint_test_upward: Likewise.
60341 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60343         [BZ #10110]
60344         * include/stdc-predef.h: New file.  Extracted from features.h.
60345         * include/features.h: Include stdc-predef.h.
60346         * Makefile (headers): Add stdc-predef.h.
60347         * CONFORMANCE (Compiler limitations): Update.
60349 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60351         * manual/libc.texinfo (VERSION, UPDATED): Revert.
60353 2012-02-21  David S. Miller  <davem@davemloft.net>
60355         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
60356         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
60358 2012-02-20  David S. Miller  <davem@davemloft.net>
60360         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
60361         using a normal save/restore sequence, rather than allocating a
60362         dummy stack frame just to store a frame pointer and restore.
60363         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60365 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60367         * manual/install.texi: Fix stray word in line-wrapped comment.
60369 2012-02-20  David S. Miller  <davem@davemloft.net>
60371         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
60372         both binutils and gcc support GOTDATA.
60374         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
60375         "rd %pc" in the PIC register setup sequences.
60377         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
60378         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
60379         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
60380         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
60381         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
60382         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
60383         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60384         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60385         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
60386         (SYSCALL_ERROR_HANDLER): Likewise.
60387         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
60388         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60389         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
60390         (SYSCALL_ERROR_HANDLER): Likewise.
60392         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
60393         (HAVE_GCC_GOTDATA): New.
60394         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
60395         relocation support in both binutils and gcc.
60396         * sysdeps/sparc/elf/configure: Regenerate.
60398         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
60399         * sysdeps/sparc/sparc32/elf/configure: Delete.
60400         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
60401         * sysdeps/sparc/sparc64/elf/configure: Delete.
60402         * sysdeps/sparc/elf/configure.in: New file.
60403         * sysdeps/sparc/elf/configure: Generate.
60405         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
60406         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
60407         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60408         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
60409         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
60411 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60413         * manual/install.texi: Do not mention specific glibc version
60414         numbers.
60415         * manual/libc.texinfo (VERSION, UPDATED): Update.
60416         (@copying): Use @copyright{} and range of years.
60418 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60420         [BZ #13695]
60421         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
60422         [crti.S not in sysdirs] (generated): Do not append.
60423         [crti.S not in sysdirs] (omit-deps): Likewise.
60424         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
60425         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
60426         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
60427         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
60428         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
60429         Likewise.
60430         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
60431         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
60432         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
60433         * csu/defs.awk: Remove file.
60434         * sysdeps/generic/initfini.c: Likewise.
60435         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
60436         variable.
60437         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
60438         Likewise.
60440 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60442         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
60443         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
60444         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
60445         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
60446         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
60447         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
60448         <bits/epoll.h>.
60449         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
60450         (__EPOLL_PACKED): Define to empty if not defined by
60451         <bits/epoll.h>.
60452         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
60453         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60454         bits/epoll.h.
60456 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60458         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
60459         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
60460         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
60461         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
60462         <bits/timerfd.h>.
60463         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
60464         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60465         bits/timerfd.h.
60467 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60469         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
60470         in C locale.
60471         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60472         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60473         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
60474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60476 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
60478         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60479         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
60481 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
60483         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
60484         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
60485         defined.
60486         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
60487         Likewise.
60488         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
60489         entry for 2.16.
60491 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
60493         * math/w_acos.c: Use non-signaling floating-point comparisons.
60494         * math/w_acosf.c: Likewise.
60495         * math/w_acosh.c: Likewise.
60496         * math/w_acoshf.c: Likewise.
60497         * math/w_acoshl.c: Likewise.
60498         * math/w_acosl.c: Likewise.
60499         * math/w_asin.c: Likewise.
60500         * math/w_asinf.c: Likewise.
60501         * math/w_asinl.c: Likewise.
60502         * math/w_atanh.c: Likewise.
60503         * math/w_atanhf.c: Likewise.
60504         * math/w_atanhl.c: Likewise.
60505         * math/w_exp2.c: Likewise.
60506         * math/w_exp2f.c: Likewise.
60507         * math/w_exp2l.c: Likewise.
60508         * math/w_j0.c: Likewise.
60509         * math/w_j0f.c: Likewise.
60510         * math/w_j0l.c: Likewise.
60511         * math/w_j1.c: Likewise.
60512         * math/w_j1f.c: Likewise.
60513         * math/w_j1l.c: Likewise.
60514         * math/w_jn.c: Likewise.
60515         * math/w_jnf.c: Likewise.
60516         * math/w_log.c: Likewise.
60517         * math/w_log10.c: Likewise.
60518         * math/w_log10f.c: Likewise.
60519         * math/w_log10l.c: Likewise.
60520         * math/w_log2.c: Likewise.
60521         * math/w_log2f.c: Likewise.
60522         * math/w_log2l.c: Likewise.
60523         * math/w_logf.c: Likewise.
60524         * math/w_logl.c: Likewise.
60525         * math/w_sqrt.c: Likewise.
60526         * math/w_sqrtf.c: Likewise.
60527         * math/w_sqrtl.c: Likewise.
60528         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60529         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
60530         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60531         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
60532         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
60534 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
60536         [BZ #9739]
60537         * manual/string.texi (strnlen): Use correct parameter name in
60538         equivalent expression.
60540 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
60542         [BZ #11174]
60543         * manual/users.texi (seteuid): Consistently use neweuid for
60544         argument name.
60546 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
60548         [BZ #13704]
60549         * manual/nss.texi (Services in the NSS configuration): Correct
60550         list of services in example configuration file.
60552 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
60554         [BZ #11322]
60555         * manual/arith.texi: Remove statements about negative zero
60556         behaving identically to zero.
60558 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
60560         [BZ #5993]
60561         * manual/install.texi: Do not document upgrading from libc5.
60563 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
60565         [BZ #4596]
60566         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
60568 2012-02-18  David S. Miller  <davem@davemloft.net>
60570         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
60571         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
60572         %o7 across the call.
60573         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
60574         instead.
60575         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
60576         SETUP_PIC_REG_LEAF.
60577         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60578         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
60579         * sysdeps/sparc/crtn.S: Likewise.
60581 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
60583         * aout/Makefile: Remove.
60585 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
60587         [BZ #13058]
60588         * manual/examples/argp-ex1.c (main): Format definition in GNU
60589         style.
60590         * manual/examples/argp-ex2.c (main): Likewise.
60591         * manual/examples/argp-ex3.c (main): Likewise.
60592         * manual/examples/argp-ex4.c (main): Likewise.
60593         * manual/examples/longopt.c (main): Use new-style prototype
60594         definition.
60595         * manual/examples/strncat.c (main): Specify return type and use
60596         (void) for arguments.
60597         * manual/examples/subopt.c (main): Use char **argv argument.
60599 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60601         [BZ #5077]
60602         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
60603         rounding modes.
60605 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
60607         [BZ #6907]
60608         * manual/string.texi (strchr): Change when strchrnul is
60609         recommended.
60611 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
60613         [BZ #174]
60614         * manual/locale.texi (setlocale): Document LOCPATH.
60616 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60618         [BZ #10210]
60619         * manual/process.texi (execle): Move @dots{} before last argument.
60621 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
60623         [BZ #12047]
60624         * manual/charset.texi (Generic Charset Conversion): Fix typo
60625         (LC_TYPE -> LC_CTYPE).
60627 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
60629         [BZ #5805]
60630         * manual/arith.texi (scalbn): Use @var{} on parameter names.
60631         (scalbnf): Likewise.
60632         (scalbnl): Likewise.
60633         (scalbln): Likewise.
60634         (scalblnf): Likewise.
60635         (scalblnl): Likewise.
60636         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
60637         (vwarnx): Likewise.
60638         (verr): Likewise.
60639         (verrx): Likewise.
60640         * manual/filesys.texi (telldir): Use braces around return type.
60641         * manual/llio.texi (mmap): Add space after comma.
60642         (mmap64): Likewise.
60643         * manual/math.texi (jn): Use @var{} on parameter names.
60644         (jnf): Likewise.
60645         (jnl): Likewise.
60646         (yn): Likewise.
60647         (ynf): Likewise.
60648         (ynl): Likewise.
60649         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
60650         line.
60651         * manual/resource.texi (ulimit): Use @dots{} instead of literal
60652         "...".
60653         (sched_get_priority_min): Remove semicolon on @deftypefun line.
60654         (sched_get_priority_max): Likewise.
60655         * manual/signal.texi (sigvec): Add space after comma.
60656         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
60657         names.
60658         (if_indextoname): Likewise.
60659         (if_freenameindex): Likewise.
60660         (sendto): Use ',' instead of '.' in prototype.
60661         * manual/startup.texi (syscall): Use @dots{} instead of literal
60662         "...".
60663         * manual/stdio.texi (__fpending): Separate initial words of
60664         paragraph from @deftypefun line.
60665         * manual/syslog.texi (syslog): Use @dots{} instead of literal
60666         "...".
60667         (vsyslog): Use @var{} on parameter names.
60668         * manual/terminal.texi (stty): Use @var{} on parameter names.
60669         * manual/users.texi (getutmp): Use @var{} on parameter names.
60670         (getutmpx): Likewise.
60672 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60674         [BZ #6884]
60675         * manual/stdio.texi (fopen): Fix typos in description of
60676         ",ccs=STRING".
60678 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
60680         [BZ #4026]
60681         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
60682         get clock_id definition.
60684 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
60686         [BZ #4822]
60687         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
60688         (madvise): Cast every argument to void on its own.
60690 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60692         [BZ #9902]
60693         * manual/startup.texi (Exit Status): Fix typo.
60695 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60697         [BZ #10140]
60698         * manual/examples/argp-ex1.c: Include <stdlib.h>.
60699         * manual/examples/argp-ex2.c: Likewise.
60700         * manual/examples/argp-ex3.c: Likewise.
60702 2012-02-16  Richard Henderson  <rth@redhat.com>
60704         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
60705         * sysdeps/s390/s390-32/initfini.c: Remove.
60706         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
60707         * sysdeps/s390/s390-64/initfini.c: Remove.
60709 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60711         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
60712         compiler output for sysdeps/generic/initfini.c.
60713         * sysdeps/sh/elf/initfini.c: Remove file.
60715 2012-02-16  David S. Miller  <davem@davemloft.net>
60717         [BZ #11494]
60718         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
60720         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
60721         * sysdeps/sparc/crti.S: New file.
60722         * sysdeps/sparc/crtn.S: New file.
60723         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
60724         * sysdeps/sparc/sparc64/Makefile: Likewise.
60726 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
60728         [BZ #3335]
60729         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
60731 2012-02-15  Roland McGrath  <roland@hack.frob.com>
60733         [BZ #4822]
60734         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
60736         * mach/devstream.c (cookie_io_functions_t): Macro removed.
60737         (write, read, close): Likewise.
60738         Patch by Aurelien Jarno <aurelien@aurel32.net>.
60740 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
60742         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
60743         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
60744         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
60745         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
60746         <bits/signalfd.h>.
60747         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
60748         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60749         bits/signalfd.h.
60751 2012-02-14  Marek Polacek  <polacek@redhat.com>
60753         * sysdeps/x86_64/crti.S: New file.
60754         * sysdeps/x86_64/crtn.S: New file.
60755         * sysdeps/x86_64/elf/initfini.c: Remove file.
60757 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
60759         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
60760         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
60761         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
60762         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
60763         <bits/inotify.h>.
60764         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
60765         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60766         bits/inotify.h.
60768 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
60770         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
60771         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
60772         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
60773         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
60774         <bits/eventfd.h>.
60775         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
60776         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60777         bits/eventfd.h.
60779 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
60781         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
60782         __feraiseexcept instead of feraiseexcept.
60784         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
60785         nanosleep invocations.
60786         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
60787         strings, and add error checking for a nanosleep invocations.
60789 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
60791         Replace FSF snail mail address with URLs, as per GNU coding standards.
60792         Most of the snail mail addresses were wrong anyway, and omitting
60793         them makes the source code easier to maintain.  Almost all of the
60794         changes are to license notices and to locale LC_IDENTIFICATION
60795         addresses, except for this one:
60796         * manual/libc.texinfo: In "Published by", give the FSF's URL,
60797         not its snail mail address.
60799 2012-02-09  Richard Henderson  <rth@twiddle.net>
60801         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
60802         of kernel-features.h.
60804         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
60806 2012-02-08  Marek Polacek  <polacek@redhat.com>
60808         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
60809         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
60810         * sysdeps/gnu/_G_config.h: Likewise.
60811         * sysdeps/generic/_G_config.h: Likewise.
60813 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
60815         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
60816         tests.
60817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60819         * sysdeps/powerpc/powerpc32/crti.S: New file.
60820         * sysdeps/powerpc/powerpc32/crtn.S: New file.
60821         * sysdeps/powerpc/powerpc64/crti.S: New file.
60822         * sysdeps/powerpc/powerpc64/crtn.S: New file.
60824         * Makeconfig (have-initfini): Don't set.
60825         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
60826         * configure.in (nopic_initfini): Don't substitute.
60827         * config.h.in (HAVE_INITFINI): Don't #undef.
60828         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
60829         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
60831 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
60833         Support crti.S and crtn.S provided directly by architectures.
60834         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
60835         [crti.S in sysdirs] (omit-deps): Likewise.
60836         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
60837         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
60838         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
60839         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
60840         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
60841         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
60842         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
60843         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
60844         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
60845         compiler output for sysdeps/generic/initfini.c.
60846         * sysdeps/i386/elf/Makefile: Remove file.
60847         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
60849 2012-02-07  Marek Polacek  <polacek@redhat.com>
60851         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
60852         * sysdeps/gnu/_G_config.h: Likewise.
60853         * sysdeps/mach/hurd/_G_config.h: Likewise.
60855 2012-02-07  Marek Polacek  <polacek@redhat.com>
60857         * math/Makefile (tests): Add tst-CMPLX2.
60858         * math/tst-CMPLX2.c: New file.
60860 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
60862         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60864         * math/libm-test.inc (jn_test): Add missing L suffix.
60866 2012-02-06  Marek Polacek  <polacek@redhat.com>
60868         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
60869         * sysdeps/i386/fpu/e_powf.S: Likewise.
60870         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60871         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
60872         * sysdeps/i386/fpu/e_acosh.S: Likewise.
60873         * sysdeps/i386/fpu/e_pow.S: Likewise.
60874         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
60875         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60876         * sysdeps/i386/fpu/s_expm1.S: Likewise.
60877         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
60878         * sysdeps/i386/fpu/e_log2.S: Likewise.
60879         * sysdeps/i386/fpu/e_log2l.S: Likewise.
60880         * sysdeps/i386/fpu/e_scalb.S: Likewise.
60881         * sysdeps/i386/fpu/e_powl.S: Likewise.
60882         * sysdeps/i386/fpu/s_log1p.S: Likewise.
60883         * sysdeps/i386/fpu/e_log10f.S: Likewise.
60884         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
60885         * sysdeps/i386/fpu/e_logl.S: Likewise.
60886         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
60887         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
60888         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
60889         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
60890         * sysdeps/i386/fpu/e_log2f.S: Likewise.
60891         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60892         * sysdeps/i386/fpu/e_log.S: Likewise.
60893         * sysdeps/i386/fpu/s_cexp.S: Likewise.
60894         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60895         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
60896         * sysdeps/i386/fpu/e_logf.S: Likewise.
60897         * sysdeps/i386/fpu/e_log10l.S: Likewise.
60898         * sysdeps/i386/fpu/e_atanh.S: Likewise.
60899         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
60900         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
60901         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
60902         * sysdeps/i386/fpu/e_log10.S: Likewise.
60903         * sysdeps/i386/fpu/s_frexp.S: Likewise.
60904         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60905         * sysdeps/i386/fpu/s_asinh.S: Likewise.
60906         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
60907         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60908         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
60909         * sysdeps/i386/asm-syntax.h: Likewise.
60910         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60911         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60912         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60913         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
60914         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
60915         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60916         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
60917         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
60918         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60919         * sysdeps/powerpc/sysdep.h: Likewise.
60920         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
60921         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60923 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
60925         [BZ #411]
60926         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
60928 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
60930         * sysdeps/i386/sysdep.h: Include <features.h>.
60931         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
60932         version.
60934 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
60936         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
60937         Define.
60938         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
60939         LOAD_PIC_REG_STR.
60941 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
60943         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
60944         (SETUP_PIC_REG): Use GET_PC_THUNK.
60945         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
60946         macro.
60948 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
60950         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
60951         for non-PIC compilation.
60952         (SETUP_PIC_REG): Add .p2align directive.
60953         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
60954         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
60955         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60956         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60957         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
60958         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60959         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
60960         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60961         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60962         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60963         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60964         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60965         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60966         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60967         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60968         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
60969         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
60970         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60971         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60972         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60973         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60974         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
60975         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60976         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60977         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
60978         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
60979         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60980         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
60981         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60982         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60983         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60984         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60985         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60986         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60987         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60988         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60989         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60990         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60991         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60992         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60993         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60995 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
60997         * math/tst-CMPLX.c: Include <stdio.h>.
60999 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
61001         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
61002         float.
61003         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
61004         * sysdeps/sparc/bits/mathdef.h: Likewise.
61006 2012-01-31  Marek Polacek  <polacek@redhat.com>
61008         * libio/libio.h: Don't define _PARAMS.
61009         * locale/programs/config.h: Don't define PARAMS.
61010         * stdlib/strtol_l.c: Likewise.
61011         (__strtol_l): Remove PARAMS from the prototype.
61013 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
61015         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
61016         names.  Just use the correct names.  Remove unnecessary wrapper
61017         functions.
61018         * malloc/arena.c: Likewise.
61019         * malloc/hooks.c: Likewise.
61021         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
61022         ARENA_TEST says not to.  Simplify test for creation of a new arena.
61023         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
61025 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
61027         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
61028         into tail calls.
61029         (update_get_addr): New function.
61030         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
61031         GET_ADDR_MODULE parameter.
61033 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
61035         * crypt/cert.c: Remove __STDC__ conditionals.
61036         * crypt/crypt-entry.c: Likewise.
61037         * crypt/crypt_util.c: Likewise.
61038         * libio/filedoalloc.c: Likewise.
61039         * libio/fileops.c: Likewise.
61040         * libio/genops.c: Likewise.
61041         * libio/iofclose.c: Likewise.
61042         * libio/iofdopen.c: Likewise.
61043         * libio/iofopen.c: Likewise.
61044         * libio/iofopen64.c: Likewise.
61045         * libio/iogetdelim.c: Likewise.
61046         * libio/iopopen.c: Likewise.
61047         * libio/obprintf.c: Likewise.
61048         * libio/oldfileops.c: Likewise.
61049         * libio/oldiofclose.c: Likewise.
61050         * libio/oldiofdopen.c: Likewise.
61051         * libio/oldiofopen.c: Likewise.
61052         * libio/oldiopopen.c: Likewise.
61053         * libio/wfiledoalloc.c: Likewise.
61054         * libio/wgenops.c: Likewise.
61055         * locale/programs/xmalloc.c: Likewise.
61056         * misc/syslog.c: Likewise.
61057         * stdio-common/xbug.c: Likewise.
61058         * string/memchr.c: Likewise.
61059         * string/memcmp.c: Likewise.
61060         * string/memrchr.c: Likewise.
61061         * string/rawmemchr.c: Likewise.
61062         * sysdeps/posix/getcwd.c: Likewise.
61063         * time/strftime_l.c: Likewise.
61065 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
61067         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
61068         * config.make.in (config-cflags-sse2avx): Define.
61069         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
61070         Fix typo.
61072 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
61074         * scripts/config.guess: Update from upstream config git repository.
61075         * scripts/config.sub: Likewise.
61077 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
61079         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
61080         (EM_NUM): Update.
61081         (R_TILEPRO_*, R_TILEGX_*): New macros.
61083         * scripts/firstversions.awk: Fix bug in version range handling.
61085         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
61087         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
61089         * include/sys/epoll.h: New file.
61090         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
61091         libc_hidden_def.
61093 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
61095         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
61096         Avoid unnecessary __WORDSIZE == 64 test.
61097         (fmaxf): Use VEX format if possible.
61098         (fmax): Likewise.
61099         (fminf): Likewise.
61100         (fmin): Likewise.
61102         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
61103         * math/math_private.h: Remove libc_fegetround* and
61104         libc_fesetround*.
61105         * sysdeps/i386/configure.in: Check for -msse2avx.
61106         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
61107         also if SSE2AVX is defined.
61108         Remove libc_fegetround* and libc_fesetround*.
61109         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
61110         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
61111         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
61112         of HAS_YMM_USABLE.
61113         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
61114         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
61115         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
61116         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
61117         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
61119         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
61121 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61123         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
61124         size is not set.
61125         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61127 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
61129         [BZ #13618]
61130         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
61131         relocation.
61132         * Makeconfig (libm): Define.
61133         * elf/Makefile: Add rules to build and run tst-relsort1.
61134         * elf/tst-relsort1.c: New file.
61135         * elf/tst-relsort1mod1.c: New file.
61136         * elf/tst-relsort1mod2.c: New file.
61138 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
61140         * math/s_ldexp.c: Remove __STDC__ conditionals.
61141         * math/s_ldexpf.c: Likewise.
61142         * math/s_ldexpl.c: Likewise.
61143         * math/s_nextafter.c: Likewise.
61144         * math/s_nexttowardf.c: Likewise.
61145         * math/s_significand.c: Likewise.
61146         * math/s_significandf.c: Likewise.
61147         * math/s_significandl.c: Likewise.
61148         * math/w_jnl.c: Likewise.
61149         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
61150         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
61151         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
61152         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
61153         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
61154         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61155         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
61156         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61157         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61158         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61159         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61160         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61161         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61162         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
61163         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61164         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61165         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61166         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61167         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61168         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61169         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61170         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61171         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61172         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61173         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61174         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61175         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61176         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61177         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
61178         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61179         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61180         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
61181         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61182         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
61183         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
61184         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61185         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
61186         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
61187         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
61188         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
61189         * sysdeps/ieee754/k_standard.c: Likewise.
61190         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61191         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61192         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
61193         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
61194         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
61195         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
61196         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61197         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
61198         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
61199         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
61200         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
61201         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
61202         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
61203         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
61204         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
61205         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
61206         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
61207         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61208         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61209         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
61210         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61211         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61212         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
61213         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
61214         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61215         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61216         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61217         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61218         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61219         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
61220         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
61221         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
61222         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
61223         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
61224         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
61225         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
61226         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
61227         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
61228         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
61229         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
61230         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
61231         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
61232         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
61233         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
61234         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
61235         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
61236         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
61237         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61238         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
61239         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
61240         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
61241         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61242         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61243         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
61244         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
61245         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
61246         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
61247         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61248         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61249         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61250         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61251         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
61252         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
61253         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61254         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61255         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61256         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61257         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
61258         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
61259         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61260         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61261         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61262         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61263         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
61264         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
61265         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61266         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
61267         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
61268         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
61269         * sysdeps/ieee754/s_matherr.c: Likewise.
61270         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
61271         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
61272         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61273         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61275 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
61277         * crypt/md5.h: Remove __STDC__ conditionals.
61278         * libio/libioP.h: Likewise.
61279         * locale/programs/config.h: Likewise.
61280         * sysdeps/generic/sysdep.h: Likewise.
61281         * sysdeps/i386/asm-syntax.h: Likewise.
61282         * sysdeps/s390/asm-syntax.h: Likewise.
61283         * sysdeps/unix/sysdep.h: Likewise.
61284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
61285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61287 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
61289         * libio/libio.h: Remove __STDC__ conditionals.
61290         * malloc/obstack.h: Likewise.
61291         * math/complex.h: Likewise.
61292         * math/math.h: Likewise.
61293         * sysdeps/generic/_G_config.h: Likewise.
61294         * sysdeps/gnu/_G_config.h: Likewise.
61295         * sysdeps/mach/hurd/_G_config.h: Likewise.
61296         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61297         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
61298         * sysdeps/sparc/bits/mathdef.h: Likewise.
61300 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
61302         [BZ #13583]
61303         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
61304         Clean up HAS_* macros.
61305         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
61306         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
61307         possible.
61308         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
61309         HAS_AVX.
61310         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
61311         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
61312         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
61313         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
61314         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
61316 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
61318         * elf/tst-unique3.cc (gets): Remove declaration.
61319         * elf/tst-unique3lib.cc (gets): Likewise.
61320         * elf/tst-unique3lib2.cc (gets): Likewise.
61321         * elf/tst-unique4.cc (gets): Likewise.
61323 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
61325         * include/stdio.h: Add C++ protection.  Add gets declarations and
61326         definitions.
61327         * debug/tst-chk1.c: Don't declare gets here.
61328         * stdio-common/tst-gets.c: Likewise.
61330 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
61332         * posix/glob: Remove directory.
61334 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
61336         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
61338 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
61340         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
61341         of the non-standard EPFNOSUPPORT.
61343 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61345         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
61346         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
61347         ANYWHERE set to 1 only on KERN_NO_SPACE error.
61349 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
61351         * wcsmbs/uchar.h: Test __STDC_VERSION__.
61353 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
61355         * nscd/aicache.c (addhstaiX): Do not cache negative results of
61356         transient errors.
61357         * nscd/grpcache.c (cache_addgr): Likewise.
61358         * nscd/hstcache.c (cache_addhst): Likewise.
61359         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61360         * nscd/pwdcache.c (cache_addpw): Likewise.
61361         * nscd/servicescache.c (cache_addserv): Likewise.
61363 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
61365         * malloc/malloc.c: Various cleanups.
61366         * malloc/hooks.c: Likewise.
61368         * stdlib/Makefile (tests): Add bug-fmtmsg1.
61369         * stdlib/bug-fmtmsg1.c: New file.
61371         * stdlib/fmtmsg.c (init): Add missing unlock.
61372         Patch by Peng Haitao <penght@cn.fujitsu.com>.
61374 2012-01-12  Marek Polacek  <polacek@redhat.com>
61376         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
61377         and _GNU_SOURCE.
61379 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
61381         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
61382         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
61383         macro to ensure uniqueness of label name.
61384         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
61385         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
61387 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
61389         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
61391         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
61392         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
61393         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61394         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
61396 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
61398         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
61400         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
61401         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
61402         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
61404         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
61406         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
61407         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
61408         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61409         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
61411         * math/bits/math-finite.h: Add ldexp support.
61413 2012-01-10  Marek Polacek  <polacek@redhat.com>
61415         * locale/programs/localedef.h (show_archive_content): Add noreturn
61416         attribute.
61418 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
61420         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
61422 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61424         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
61426         * io/Makefile (headers): Add bits/poll2.h.
61428 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
61430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
61431         typo #include statement.
61433 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61435         * include/sys/cdefs.h: Define __attribute_alloc_size.
61436         * catgets/gencat.c: Add alloc_size attribute and apply consistently
61437         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
61438         * elf/pldd.c: Likewise.
61439         * iconv/iconv_charmap.c: Likewise.
61440         * iconv/iconvconfig.c: Likewise.
61441         * iconv/strtab.c: Likewise.
61442         * locale/programs/locale.c: Likewise.
61443         * locale/programs/localedef.h: Likewise.
61444         * locale/programs/simple-hash.c: Likewise.
61445         * nscd/nscd.h: Likewise.
61446         * nss/makedb.c: Likewise.
61447         * sysdeps/generic/ldconfig.h: Likewise.
61448         * locale/programs/localedef.c: Remove xmalloc prototype.
61449         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
61451 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61453         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
61454         appropriate.
61456 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61458         * math/Makefile (tests): Add tst-CMPLX.
61459         * math/tst-CMPLX.c: New file.
61461         * math/complex.h (CMPLXL): Fix typo.
61463         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
61464         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
61465         GLIBC_2.16.
61466         * debug/tst-chk1.c: Add poll and ppoll tests.
61467         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
61468         * include/sys/poll.h: Add hidden proto for ppoll.
61469         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
61470         * sysdeps/mach/hurd/ppoll.c: Likewise.
61471         * io/ppoll.c: Likewise.
61472         * debug/poll_chk.c: New file.
61473         * debug/ppoll_chk.c: New file.
61474         * include/bits/poll2.h: New file.
61475         * io/bits/poll2.h: New file.
61477         [BZ #1350]
61478         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
61480         * configure.in: static is always set to yes.  Remove.
61481         * config.make.in: Don't set build-static.
61482         * Makeconfig: Remove use of build-static.
61483         * dlfcn/Makefile: Likewise.
61484         * elf/Makefile: Likewise.
61485         * math/Makefile: Likewise.
61486         * misc/Makefile: Likewise.
61487         * nptl/Makefile: Likewise.
61488         * sysdeps/mach/hurd/Makefile: Likewise.
61490         * configure.in: PWD_P is not used anymore.
61491         * config.make.in: Remove PWD_P entry.
61493         * configure.in: Remove last remnants of RANLIB.
61494         No need to check for signed size_t anymore.
61495         Don't set libc_commonpagesize and libc_relro_required here for Alpha
61496         and IA-64.
61497         Remove __builtin_expect test because we require at least gcc 3.4.
61498         * aclocal.m4: Likewise.
61500         * wcsmbs/mbrtoc16.c: Implement using towc function.
61501         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
61502         * wcsmbs/wcsmbsload.c: Likewise.
61503         * iconv/gconv_simple.c: Likewise.
61504         * iconv/gconv_int.h: Likewise.
61505         * iconv/gconv_builtin.h: Likewise.
61506         * iconv/iconv_prog.c: Remove CHAR16 handling.
61508         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
61510         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
61512         * configure.in: Remove --with-elf and --enable-bounded options.
61513         Dont set base_machine for ia64.  More non-ELF conditions removed.
61514         Remove testing and setting of leading underscore information.
61515         * config.make.in (build-bounded): Set to no.
61516         * config.h.in: Remove NO_UNDERSCORES entry.
61517         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
61518         them.
61519         * csu/start.c: Remove !NO_UNDERSCORE code.
61520         * locale/localeinfo.h: Likewise.
61521         * sysdeps/generic/machine-gmon.h: Likewise.
61522         * sysdeps/generic/sysdep.h: Likewise.
61523         * sysdeps/i386/sysdep.h: Likewise.
61524         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
61525         * sysdeps/mach/sysdep.h: Likewise.
61526         * sysdeps/s390/s390-32/sysdep.h: Likewise.
61527         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61528         * sysdeps/sh/sysdep.h: Likewise.
61529         * sysdeps/sparc/sparc32/alloca.S: Likewise.
61530         * sysdeps/unix/i386/sysdep.S: Likewise.
61531         * sysdeps/unix/sparc/start.c: Likewise.
61532         * sysdeps/unix/sparc/sysdep.S: Likewise.
61533         * sysdeps/unix/sparc/sysdep.h: Likewise.
61534         * sysdeps/unix/start.c: Likewise.
61535         * sysdeps/unix/x86_64/sysdep.S: Likewise.
61536         * sysdeps/x86_64/sysdep.h: Likewise.
61538 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
61540         [BZ #13553]
61541         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
61542         for non-gcc.
61543         * argp/argp-fmtstream.h: Use const instead __const.
61544         * argp/argp.h: Likewise.
61545         * assert/assert.h: Likewise.
61546         * bits/fenv.h: Likewise.
61547         * bits/sched.h: Likewise.
61548         * bits/sigset.h: Likewise.
61549         * bits/sigthread.h: Likewise.
61550         * catgets/nl_types.h: Likewise.
61551         * conform/data/pthread.h-data: Likewise.
61552         * crypt/crypt-private.h: Likewise.
61553         * crypt/crypt.h: Likewise.
61554         * crypt/crypt_util.c: Likewise.
61555         * ctype/ctype.h: Likewise.
61556         * debug/execinfo.h: Likewise.
61557         * debug/mbsnrtowcs_chk.c: Likewise.
61558         * debug/mbsrtowcs_chk.c: Likewise.
61559         * debug/wcsnrtombs_chk.c: Likewise.
61560         * debug/wcsrtombs_chk.c: Likewise.
61561         * debug/wcstombs_chk.c: Likewise.
61562         * dirent/dirent.h: Likewise.
61563         * dlfcn/dlfcn.h: Likewise.
61564         * elf/neededtest4.c: Likewise.
61565         * grp/grp.h: Likewise.
61566         * gshadow/gshadow.h: Likewise.
61567         * iconv/gconv.h: Likewise.
61568         * iconv/gconv_int.h: Likewise.
61569         * iconv/gconv_simple.c: Likewise.
61570         * iconv/iconv.h: Likewise.
61571         * iconv/loop.c: Likewise.
61572         * iconv/skeleton.c: Likewise.
61573         * include/aio.h: Likewise.
61574         * include/aliases.h: Likewise.
61575         * include/argz.h: Likewise.
61576         * include/arpa/inet.h: Likewise.
61577         * include/assert.h: Likewise.
61578         * include/dirent.h: Likewise.
61579         * include/dlfcn.h: Likewise.
61580         * include/execinfo.h: Likewise.
61581         * include/fcntl.h: Likewise.
61582         * include/fenv.h: Likewise.
61583         * include/glob.h: Likewise.
61584         * include/grp.h: Likewise.
61585         * include/libintl.h: Likewise.
61586         * include/mntent.h: Likewise.
61587         * include/netdb.h: Likewise.
61588         * include/pwd.h: Likewise.
61589         * include/rpc/netdb.h: Likewise.
61590         * include/sched.h: Likewise.
61591         * include/search.h: Likewise.
61592         * include/shadow.h: Likewise.
61593         * include/signal.h: Likewise.
61594         * include/stdio.h: Likewise.
61595         * include/stdlib.h: Likewise.
61596         * include/string.h: Likewise.
61597         * include/sys/socket.h: Likewise.
61598         * include/sys/stat.h: Likewise.
61599         * include/sys/statfs.h: Likewise.
61600         * include/sys/statvfs.h: Likewise.
61601         * include/sys/syslog.h: Likewise.
61602         * include/sys/time.h: Likewise.
61603         * include/sys/uio.h: Likewise.
61604         * include/time.h: Likewise.
61605         * include/unistd.h: Likewise.
61606         * include/utmp.h: Likewise.
61607         * include/wchar.h: Likewise.
61608         * include/wctype.h: Likewise.
61609         * inet/aliases.h: Likewise.
61610         * inet/arpa/inet.h: Likewise.
61611         * inet/netinet/ether.h: Likewise.
61612         * inet/netinet/in.h: Likewise.
61613         * intl/libintl.h: Likewise.
61614         * io/bits/fcntl2.h: Likewise.
61615         * io/fcntl.h: Likewise.
61616         * io/ftw.h: Likewise.
61617         * io/sys/poll.h: Likewise.
61618         * io/sys/stat.h: Likewise.
61619         * io/sys/statfs.h: Likewise.
61620         * io/sys/statvfs.h: Likewise.
61621         * io/utime.h: Likewise.
61622         * libio/bits/stdio.h: Likewise.
61623         * libio/bits/stdio2.h: Likewise.
61624         * libio/libio.h: Likewise.
61625         * libio/libioP.h: Likewise.
61626         * libio/stdio.h: Likewise.
61627         * locale/lc-ctype.c: Likewise.
61628         * locale/locale.h: Likewise.
61629         * login/utmp.h: Likewise.
61630         * malloc/arena.c: Likewise.
61631         * malloc/malloc.c: Likewise.
61632         * malloc/malloc.h: Likewise.
61633         * malloc/mcheck.c: Likewise.
61634         * malloc/mtrace.c: Likewise.
61635         * math/bits/mathcalls.h: Likewise.
61636         * math/fenv.h: Likewise.
61637         * math/math_private.h: Likewise.
61638         * misc/bits/error.h: Likewise.
61639         * misc/bits/syslog.h: Likewise.
61640         * misc/err.h: Likewise.
61641         * misc/error.h: Likewise.
61642         * misc/fstab.h: Likewise.
61643         * misc/mntent.h: Likewise.
61644         * misc/regexp.h: Likewise.
61645         * misc/search.h: Likewise.
61646         * misc/sgtty.h: Likewise.
61647         * misc/sys/mman.h: Likewise.
61648         * misc/sys/syslog.h: Likewise.
61649         * misc/sys/uio.h: Likewise.
61650         * misc/sys/xattr.h: Likewise.
61651         * misc/ttyent.h: Likewise.
61652         * nis/rpcsvc/ypclnt.h: Likewise.
61653         * nss/nss.h: Likewise.
61654         * posix/bits/unistd.h: Likewise.
61655         * posix/fnmatch.h: Likewise.
61656         * posix/glob.h: Likewise.
61657         * posix/sched.h: Likewise.
61658         * posix/spawn.h: Likewise.
61659         * posix/sys/wait.h: Likewise.
61660         * posix/unistd.h: Likewise.
61661         * posix/wordexp.h: Likewise.
61662         * pwd/pwd.h: Likewise.
61663         * resolv/netdb.h: Likewise.
61664         * resource/sys/resource.h: Likewise.
61665         * rt/aio.h: Likewise.
61666         * rt/bits/mqueue2.h: Likewise.
61667         * rt/mqueue.h: Likewise.
61668         * shadow/shadow.h: Likewise.
61669         * signal/signal.h: Likewise.
61670         * socket/send.c: Likewise.
61671         * socket/sendto.c: Likewise.
61672         * socket/sys/socket.h: Likewise.
61673         * stdio-common/printf.h: Likewise.
61674         * stdlib/bits/stdlib.h: Likewise.
61675         * stdlib/fmtmsg.h: Likewise.
61676         * stdlib/monetary.h: Likewise.
61677         * stdlib/stdlib.h: Likewise.
61678         * stdlib/ucontext.h: Likewise.
61679         * streams/stropts.h: Likewise.
61680         * string/argz.h: Likewise.
61681         * string/bits/string2.h: Likewise.
61682         * string/string.h: Likewise.
61683         * string/strings.h: Likewise.
61684         * sunrpc/rpc/auth.h: Likewise.
61685         * sunrpc/rpc/auth_des.h: Likewise.
61686         * sunrpc/rpc/clnt.h: Likewise.
61687         * sunrpc/rpc/netdb.h: Likewise.
61688         * sunrpc/rpc/pmap_clnt.h: Likewise.
61689         * sunrpc/rpc/xdr.h: Likewise.
61690         * sysdeps/generic/inttypes.h: Likewise.
61691         * sysdeps/generic/net/if.h: Likewise.
61692         * sysdeps/generic/sys/swap.h: Likewise.
61693         * sysdeps/gnu/net/if.h: Likewise.
61694         * sysdeps/gnu/utmpx.h: Likewise.
61695         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
61696         * sysdeps/i386/i486/bits/string.h: Likewise.
61697         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
61698         * sysdeps/s390/bits/string.h: Likewise.
61699         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
61700         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
61701         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
61702         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
61703         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
61704         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
61705         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
61706         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
61707         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
61708         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
61709         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
61710         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
61711         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
61712         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
61713         * sysdeps/unix/sysv/linux/readv.c: Likewise.
61714         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
61715         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
61716         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61717         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
61718         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
61719         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
61720         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
61721         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
61722         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
61723         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
61724         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
61725         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
61726         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
61727         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
61728         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
61729         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
61730         * sysvipc/sys/ipc.h: Likewise.
61731         * sysvipc/sys/msg.h: Likewise.
61732         * sysvipc/sys/sem.h: Likewise.
61733         * sysvipc/sys/shm.h: Likewise.
61734         * termios/termios.h: Likewise.
61735         * time/sys/time.h: Likewise.
61736         * time/time.h: Likewise.
61737         * wcsmbs/bits/wchar2.h: Likewise.
61738         * wcsmbs/uchar.h: Likewise.
61739         * wcsmbs/wchar.h: Likewise.
61740         * wctype/wctype.h: Likewise.
61742         [BZ #13551]
61743         * Makeconfig: Remove all but ELF support including AIX support.
61744         * Makerules: Likewise.
61745         * config.h.in: Likewise.
61746         * config.make.in: Likewise.
61747         * configure: Likewise.
61748         * configure.in: Likewise.
61749         * csu/Makefile: Likewise.
61750         * csu/version.c: Likewise.
61751         * debug/Makefile: Likewise.
61752         * dlfcn/Makefile: Likewise.
61753         * elf/Makefile: Likewise.
61754         * extra-lib.mk: Likewise.
61755         * iconv/Makefile: Likewise.
61756         * include/libc-symbols.h: Likewise.
61757         * include/shlib-compat.h: Likewise.
61758         * resolv/Makefile: Likewise.
61759         * resolv/res_libc.c: Likewise.
61760         * rt/Makefile: Likewise.
61761         * sysdeps/i386/asm-syntax.h: Likewise.
61762         * sysdeps/i386/sysdep.h: Likewise.
61763         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
61764         * sysdeps/mach/sysdep.h: Likewise.
61765         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
61766         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
61767         * sysdeps/s390/asm-syntax.h: Likewise.
61768         * sysdeps/s390/s390-32/sysdep.h: Likewise.
61769         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61770         * sysdeps/sh/sysdep.h: Likewise.
61771         * sysdeps/unix/sparc/sysdep.h: Likewise.
61772         * sysdeps/wordsize-32/divdi3.c: Likewise.
61773         * sysdeps/x86_64/sysdep.h: Likewise.
61775         * argp/Versions: Remove _argp_unlock_xxx.
61777         [BZ #13559]
61778         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
61779         * abilist/libBrokenLocale.abilist: Likewise.
61780         * abilist/libanl.abilist: Likewise.
61781         * abilist/libc.abilist: Likewise.
61782         * abilist/libcrypt.abilist: Likewise.
61783         * abilist/libdl.abilist: Likewise.
61784         * abilist/libm.abilist: Likewise.
61785         * abilist/libnsl.abilist: Likewise.
61786         * abilist/libpthread.abilist: Likewise.
61787         * abilist/libresolv.abilist: Likewise.
61788         * abilist/librt.abilist: Likewise.
61789         * abilist/libthread_db.abilist: Likewise.
61790         * abilist/libutil.abilist: Likewise.
61791         * abilist/libnss_db.abilist: New file.
61793         * scripts/abilist.awk: Add support for indirect functions.
61795         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
61797         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
61799         * shlib-versions: Remove entries for ports architectures.
61801         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
61802         files in ports.
61803         * elf/stackguard-macros.h: Remove support for IA-64.
61804         * elf/tst-auditmod1.c: Likewise.
61805         * sysdeps/generic/ldsodefs.h: Likewise.
61807         * sysdeps/unix/sysv/linux/configure.in: Ports should define
61808         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
61809         configure files.
61811         [BZ #13552]
61812         * configure.in: Remove --enable-omitfp support.
61813         * FAQ.in: Adjust.
61814         * config.make.in: Likewise.
61815         * Makeconfig: Likewise.
61816         * manual/install.texi: Likewise.
61818         In case anyone cares, the IA-64 architecture could move to ports.
61819         * sysdeps/ia64/*: Removed.
61820         * sysdeps/unix/sysv/linux/ia64/*: Removed.
61821         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
61823         [BZ #13555]
61824         * configure.in: Remove entries for unsupported architectures.
61826         [BZ #13533]
61827         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
61828         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
61829         routines.
61830         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
61831         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
61832         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
61833         fall back to using wcrtomb.
61834         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
61835         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
61836         renaming.
61837         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
61838         * wcsmbs/tst-c16c32-1.c: New file.
61840         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
61841         local variable.
61843         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
61845         * elf/tst-unique3.cc: Add explicit declaration of gets.
61846         * elf/tst-unique3lib.cc: Likewise.
61847         * elf/tst-unique3lib2.cc: Likewise.
61848         * elf/tst-unique4.cc: Likewise.
61850         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
61852 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
61854         [BZ #13566]
61855         * assert/assert.h (static_assert): Don't define for C++.
61856         * libio/stdio.h (gets): Do declare for C++ <= C++11.
61857         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
61859 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
61861         * iconv/loop.c (single loop): Fix assertion in storing of
61862         remaining bytes.
61864         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
61866 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
61868         * posix/getconf.c: Update copyright year.
61869         * nss/getent.c: Likewise.
61870         * nss/makedb.c: Likewise.
61871         * iconv/iconvconfig.c: Likewise.
61872         * iconv/iconv_prog.c: Likewise.
61873         * elf/ldconfig.c: Likewise.
61874         * elf/pldd.c: Likewise.
61875         * elf/sotruss.ksh: Likewise.
61876         * catgets/gencat.c: Likewise.
61877         * csu/version.c: Likewise.
61878         * elf/ldd.bash.in: Likewise.
61879         * elf/sprof.c (print_version): Likewise.
61880         * locale/programs/locale.c: Likewise.
61881         * locale/programs/localedef.c: Likewise.
61882         * login/programs/pt_chown.c: Likewise.
61883         * nscd/nscd.c (print_version): Likewise.
61884         * debug/xtrace.sh: Likewise.
61885         * malloc/memusage.sh: Likewise.
61886         * malloc/mtrace.pl: Likewise.
61887         * debug/catchsegv.sh: Likewise.
61889 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
61891         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
61892         pure attribute.
61894 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
61896         [BZ #13533]
61897         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
61898         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
61899         transformations.
61900         * iconv/gconv_int.h: Likewise.
61901         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
61902         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
61903         from libc for GLIBC_2.16.
61904         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
61905         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
61906         * wcsmbs/uchar.h: Really define mbstate_t.
61907         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
61908         * wcsmbs/c16rtomb.c: New file.
61909         * wcsmbs/mbrtoc16.c: New file.
61910         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
61911         for C/POSIX locale.
61912         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
61913         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
61915         * wcsmbs/wchar.h: Add missing __restrict.
61917 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
61919         [BZ #13532]
61920         * time/Makefile (routines): Add timespec_get.
61921         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
61922         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
61923         timespec for ISO C11.
61924         * time/timespec_get.c: New file.
61925         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
61926         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
61928         [BZ #13531]
61929         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
61930         * stdlib/stdlib.h: Declare aligned_alloc.
61931         * Versions.def: Add GLIBC_2.16 for libc.
61932         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
61934         [BZ 13527]
61935         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
61936         ISO C11.
61938         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
61939         code.
61941         [BZ #13528]
61942         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
61944         [BZ #13529]
61945         * assert/assert.h (static_assert): Define.
61947         * version.h: Update for 2.16 development version.
61949         [BZ #13526]
61950         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
61951         _ISOC11_SOURCE.
61953         * version.h (RELEASE): Bump for 2.15 release.
61954         * include/features.h (__GLIBC_MINOR__): Bump to 15.
61956         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
61957         Patch by Marek Polacek <mpolacek@redhat.com>.
61959         * bits/byteswap.h: Protect long long constants with __extension__.
61960         * sysdeps/i386/bits/byteswap.h: Likewise.
61961         * sysdeps/ia64/bits/byteswap.h: Likewise.
61962         * sysdeps/s390/bits/byteswap.h: Likewise.
61963         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61965 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61967         [BZ #13540]
61968         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
61969         destination buffer.
61970         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
61972 2011-12-23  Marek Polacek  <polacek@redhat.com>
61974         * elf/dl-addr.c (determine_info): Add inline keyword.
61975         * elf/tst-auditmod4b.c (check_avx): Likewise.
61976         * elf/tst-auditmod6b.c (check_avx): Likewise.
61977         * elf/tst-auditmod6c.c (check_avx): Likewise.
61978         * elf/tst-auditmod7b.c (check_avx): Likewise.
61980 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
61982         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
61983         !__SSE_MATH__.
61985 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61987         [BZ #13540]
61988         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
61989         processing for last bytes.
61991 2011-08-06  Bruno Haible  <bruno@clisp.org>
61993         [BZ #13061]
61994         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
61995         U+0385, not to U+1FEE.
61997         [BZ #13062]
61998         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
61999         entry for U+00A5 U+0301.
62001 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
62003         [BZ #13166]
62004         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
62005         buffer for the output is too small.
62007         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
62008         optimization.
62010         [BZ #13185]
62011         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
62012         SSE flags if possible.
62014 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62016         [BZ #13540]
62017         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
62018         processing for last bytes.
62020 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
62022         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
62023         (syscall-list-default-options, syscall-list-default-condition)
62024         (syscall-list-includes): Define.
62025         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
62026         list of ABIs and options and #if conditions for each ABI.  Do not
62027         handle common syscalls between ABIs specially.
62028         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
62029         Remove.
62030         (syscall-list-variants, syscall-list-32bit-options)
62031         (syscall-list-32bit-condition, syscall-list-64bit-options)
62032         (syscall-list-64bit-condition): Define.
62033         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
62034         (syscall-list-variants, syscall-list-32bit-options)
62035         (syscall-list-32bit-condition, syscall-list-64bit-options)
62036         (syscall-list-64bit-condition): Define.
62037         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
62038         Remove.
62039         (syscall-list-variants, syscall-list-32bit-options)
62040         (syscall-list-32bit-condition, syscall-list-64bit-options)
62041         (syscall-list-64bit-condition): Define.
62042         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
62043         Remove.
62044         (syscall-list-variants, syscall-list-32bit-options)
62045         (syscall-list-32bit-condition, syscall-list-64bit-options)
62046         (syscall-list-64bit-condition): Define.
62048 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
62050         * locale/iso-639.def: Add brx entry.
62052         [BZ #13328]
62053         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
62054         Proposed by Mariusz_Cukr <marcukr@op.pl>.
62056         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
62057         __feraiseexcept_renamed.
62059 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
62061         [BZ #13538]
62062         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
62063         EPOLLET with unsigned values.
62064         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62065         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
62067         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
62068         to large cancellation.
62069         * math/s_cacoshf.c: Likewise.
62070         * math/s_cacoshl.c: Likewise.
62072 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
62074         [BZ #13305]
62075         [BZ #12786]
62076         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
62077         * math/s_cacoshf.c: Likewise.
62078         * math/s_cacoshl.c: Likewise.
62080 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
62082         [BZ #13439]
62083         * iconv/gconv.h: Define __GCONV_SWAP.
62084         * iconvdata/unicode.c: The swap bit must be stored in __flags.
62085         * iconvdata/utf-16.c: Likewise.
62086         * iconvdata/utf-32.c: Likewise.
62088 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
62090         [BZ #13524]
62091         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
62092         numerator after shifting it by one limb.
62094 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
62096         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
62097         under [__USE_EXTERN_INLINES].
62099 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
62101         [BZ #13446]
62102         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
62104 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62106         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
62107         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
62108         optimized code.
62109         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
62110         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
62111         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
62112         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
62113         for strncasecmp/strncasecmp_l compilation.
62114         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
62115         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
62117 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
62119         [BZ #13484]
62120         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
62121         of __asm__.
62123 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
62125         [BZ #13506]
62126         * time/tzfile.c (__tzfile_read): Check values from file header.
62128 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62130         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
62131         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
62132         * powerpc/powerpc32/dl-start.S: Likewise.
62133         * powerpc/powerpc32/elf/start.S: Likewise.
62134         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
62135         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
62136         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
62137         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
62138         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
62139         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
62140         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
62141         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
62142         * powerpc/powerpc32/fpu/s_round.S: Likewise.
62143         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
62144         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
62145         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
62146         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
62147         * powerpc/powerpc32/memset.S: Likewise.
62148         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
62149         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62150         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62151         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62152         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62153         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62154         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62155         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62156         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
62157         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
62158         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
62159         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
62160         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
62162 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62164         * math/libm-test.inc: Added more nearbyint tests.
62165         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
62166         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
62167         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
62168         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
62170 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
62172         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
62173         FD_CLOEXEC.
62175 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62177         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
62178         Add wcscpy-ssse3 wcscpy-c.
62179         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
62180         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
62181         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
62182         * sysdeps/x86_64/wcschr.S: New file.
62183         * sysdeps/x86_64/wcsrchr.S: New file.
62184         * string/test-strcmp.c: Remove checking of wcscmp function for
62185         wrong alignments.
62186         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
62187         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
62188         wcsrchr-sse2 wcsrchr-c.
62189         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
62190         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
62191         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
62192         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
62193         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
62194         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
62195         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
62196         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
62197         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
62198         * wcsmbc/wcschr.c (WCSCHR): New macro.
62200 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62202         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
62203         * wcsmbs/test-wcsrchr.c: New file.
62204         * string/test-strrchr.c: Add wcsrchr support.
62205         (WIDE): New macro.
62206         * wcsmbs/test-wcscpy.c: New file.
62207         * string/test-strcpy.c: Add wcscpy support.
62208         (WIDE): New macro.
62210 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
62212         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
62213         the inner loop.
62215 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
62217         [BZ #13472]
62218         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
62220 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
62222         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
62223         Minor optimizations.
62225         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
62226         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
62227         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
62229 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
62231         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
62232         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
62233         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
62234         for gcc to avoid warnings.
62235         * inet/Makefile (tests): Add tst-checks.
62236         * inet/tst-checks.c: New file.
62238         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
62239         warning.
62241         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
62242         __wmemcmp_sse2.
62244         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
62245         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
62247         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
62249 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
62251         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
62252         problem.
62254         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
62256 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
62258         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
62259         conditional on GCC version.
62260         (__arch_compare_and_exchange_val_8_acq)
62261         (__arch_compare_and_exchange_val_16_acq)
62262         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
62263         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
62264         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
62266 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
62268         * sysdeps/sh/backtrace.c: New file.
62270 2011-12-02  Andreas Schwab  <schwab@redhat.com>
62272         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
62273         parenthesis.
62275 2011-12-01  Andreas Schwab  <schwab@redhat.com>
62277         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
62278         falling back to utime.
62280 2011-11-30  Andreas Schwab  <schwab@redhat.com>
62282         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
62283         expectations for float.
62285 2011-11-29  Andreas Schwab  <schwab@redhat.com>
62287         * locale/weight.h (findidx): Add parameter len.
62288         * locale/weightwc.h (findidx): Likewise.
62289         * posix/fnmatch_loop.c (FCT): Adjust caller.
62290         * posix/regcomp.c (build_equiv_class): Likewise.
62291         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
62292         * posix/regexec.c (check_node_accept_bytes): Likewise.
62293         * string/strcoll_l.c (STRCOLL): Likewise.
62294         * string/strxfrm_l.c (STRXFRM): Likewise.
62296 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
62298         * Makefile.in: Remove CVSOPT handling.
62299         * configure.in: Remove use of AC_REVISION.
62300         * iconvdata/Makefile (distribute): No need to filter out CVS.
62301         * scripts/list-sources.sh: Remove CVS, subversion and monotone
62302         handling.
62304 2011-11-16  Andreas Schwab  <schwab@redhat.com>
62306         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
62307         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
62308         [USE_AS_STRNCASECMP_L]: Likewise.
62309         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
62310         NO_TLS_DIRECT_SEG_REFS.
62311         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
62312         Fix argument offsets for non-PIC.
62313         [USE_AS_STRNCASECMP_L]: Likewise.
62314         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
62315         NO_TLS_DIRECT_SEG_REFS.
62317 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
62319         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
62320         O_CLOEXEC.
62321         * locale/loadlocale.c (_nl_load_locale): Likewise.
62323 2011-11-15  Andreas Schwab  <schwab@redhat.com>
62325         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
62326         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
62327         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
62328         (SYSCALL_GETTIME): Set errno on error.
62330         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
62331         count references to noai6ai_cached.
62333 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
62335         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
62337         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
62338         FD_CLOEXEC for /proc/self/maps.
62340         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
62341         FD_CLOEXEC for /proc/meminfo.
62343         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
62344         gai.conf.
62346         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
62347         FD_CLOEXEC for given file.
62349         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
62351         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
62352         FD_CLOEXEC for /etc/hosts.
62353         (_gethtent): Likewise.
62355         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
62357         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
62358         cancellation and set FD_CLOEXEC for /etc/netgroup.
62360         * nss/nss_files/files-key.c (search): Don't allow cancellation when
62361         reading /etc/publickey.
62363         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
62364         allow cancellation when reading /etc/group.
62366         * nss/nss_files/files-alias.c (internal_setent): Don't allow
62367         cancellation.
62368         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
62370         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
62371         when using data file.
62373         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
62375         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
62376         (write_nis_obj): Use "c" and "e" in fopen.
62378         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
62380         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
62382         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
62384         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
62386         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
62387         locale.alias.
62389         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
62391         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
62393         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
62395         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
62396         file parsing and set FD_CLOEXEC.
62398 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
62400         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
62402 2011-11-14  Andreas Schwab  <schwab@redhat.com>
62404         * malloc/arena.c (arena_get2): Don't call reused_arena when
62405         _int_new_arena failed.
62407 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
62409         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
62410         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
62411         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
62412         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62413         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62414         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
62415         to compile strcasecmp and strncasecmp.
62416         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
62417         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
62419         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
62421 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
62423         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
62424         locale-defines.sym to gen-as-const-headers.
62425         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
62426         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
62427         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
62428         to compile strcasecmp and strncasecmp.
62429         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
62430         strcasecmp_l and strncasecmp_l.
62431         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
62432         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
62433         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
62434         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
62435         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
62436         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
62437         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
62438         * sysdeps/i386/i686/multiarch/strncase.S: New file.
62439         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
62440         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
62441         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
62443 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
62445         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
62446         result of SYSDEP_GETTIME_CPU to retval.
62447         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
62448         parameter list to macro.  Remove trailing semicolon.  Adjust users.
62450         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
62451         variable.
62453         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
62454         mantissa words.
62455         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
62457         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
62458         from unused variable.
62460         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
62461         DWARF definitions.
62462         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
62463         for assembling.
62465         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
62466         over namespaces.
62468         * sunrpc/rpc_prot.c (rejected): Fix case value.
62470         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
62471         unsigned long long int to avoid warnings in shift.
62473         * posix/regex_internal.c (re_string_reconstruct): Actually use result
62474         of use of trans.
62475         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
62476         variable tmp.
62478         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
62479         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
62480         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
62482         * nis/nis_table.c (nis_list): Use variable of correct type for
62483         result of __follow_path call.
62485 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62487         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
62488         of math functions ceil, trunc, floor, round, and sqrt, when
62489         avaliable on the platform.
62490         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
62491         name clash.
62492         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
62493         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
62494         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
62496 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
62498         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
62499         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
62501 2011-11-11  Roland McGrath  <roland@hack.frob.com>
62503         * include/unistd.h: Fix __readlink return type.
62504         Reported by Chris Metcalf <cmetcalf@tilera.com>.
62506 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
62508         * stdlib/ucontext.h: Undo last change for makecontext.
62510 2011-11-11  Andreas Schwab  <schwab@redhat.com>
62512         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
62514         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
62515         * setjmp/setjmp.h: Mark functions as non-leaf.
62516         * setjmp/bits/setjmp2.h: Likewise.
62517         * stdlib/ucontext.h: Likewise.
62519 2011-11-10  Andreas Schwab  <schwab@redhat.com>
62521         * malloc/arena.c (_int_new_arena): Don't increment narenas.
62522         (reused_arena): Don't check arena limit.
62523         (arena_get2): Atomically check arena limit.
62525 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
62527         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
62528         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
62530         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
62531         instructions.
62533 2011-11-07  Andreas Schwab  <schwab@redhat.com>
62535         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
62536         handler when locking.
62538         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
62539         Fix size of allocated buffer.
62541 2011-11-04  Andreas Schwab  <schwab@redhat.com>
62543         [BZ #10103]
62544         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
62545         declarations for long double functions.
62546         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
62548         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
62550 2011-11-03  Andreas Schwab  <schwab@redhat.com>
62552         * nscd/nscd.c (main): Don't start AVC thread until credentials are
62553         installed.
62555         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
62556         is disabled.
62558 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62560         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
62562 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62564         * include/alloca.h (stackinfo_alloca_round): Define.
62565         (extend_alloca): Use it.
62566         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
62567         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
62568         here.
62570         * scripts/check-local-headers.sh: Ignore libaudit.h.
62572         * nscd/Makefile (extra-objs): Make recursively expanded.
62574 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
62576         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
62577         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
62579         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
62580         * posix/tst-rfc3484-2.c: Likewise.
62581         * posix/tst-rfc3484-3.c: Likewise.
62583         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
62584         process_vm_writev.
62585         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
62586         process_vm_writev.
62587         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
62588         process_vm_writev from libc using GLIBC_2.15 version.
62590         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
62592 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
62594         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
62595         stack usage.
62597 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
62599         [BZ #13367]
62600         * nss/getent.c (initgroups_keys): Show error message in case no group
62601         names are given.
62603         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
62604         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
62605         __bump_nl_timestamp.
62606         * nscd/connections (nscd_init): When host database is served open
62607         netlink socket and request notification about configuration changes.
62608         (main_loop_poll): Track netlink file descriptor and bump timestamp
62609         in case data becomes available.
62610         (main_loop_epoll): Likewise.
62611         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
62612         (database_pers_head): Add extra_data fileds.
62613         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
62614         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
62615         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
62616         Adjust caller.
62617         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
62618         in6ai data, call __free_in6ai.
62619         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
62620         Add -DHAVE_NETLINK.
62621         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
62622         interface information.  Reuse previous data if netlink timestamp
62623         is not changed.
62624         (__bump_nl_timestamp): New function.
62625         (__free_in6ai): New function.
62627 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
62629         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
62630         close_not_cancel_no_status here.
62631         (__check_pf): Reorganize code a bit to not call close twice if OOM.
62633 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
62635         [BZ #13276]
62636         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
62637         return value.
62639         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
62640         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
62641         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
62643 2011-07-03  Andreas Jaeger  <aj@suse.de>
62645         [BZ #10709]
62646         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
62647         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
62648         * math/libm-test.inc (sin_test): Add test case.
62650 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
62652         [BZ #13337]
62653         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
62654         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
62656         * elf/chroot_canon.c (chroot_canon): Cleanups.
62658         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
62660         [BZ #13335]
62661         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
62662         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
62664         * string/test-strchr.c: Make usable for strchrnul testing.
62665         * string/test-strchrnul.c: New file.
62666         * string/Makefile (strop-tests): Add strchrnul.
62668         * po/it.po: Update from translation team.
62669         * po/es.po: Likewise.
62671 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
62673         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
62674         the three constants needed as parameters.  Drop the others.
62675         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
62676         __m128i_strloadu_tolower.
62677         Create and initialize variable zero and use it in all the places
62678         where _mm_setzero_si128 was used.
62680         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
62681         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
62682         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
62683         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
62684         anymore.
62685         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
62686         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
62687         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
62688         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
62689         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
62690         __mpranred, __mptan.
62691         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
62692         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
62693         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
62694         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
62695         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
62696         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
62697         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
62698         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
62699         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
62701 2011-10-28  Andreas Schwab  <schwab@redhat.com>
62703         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
62704         redefine if SHARED.
62705         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
62707         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
62708         wide char related routines to wcsmbs subdir.
62710 2011-10-27  Andreas Schwab  <schwab@redhat.com>
62712         [BZ #13344]
62713         * misc/sys/cdefs.h (__THROWNL): Define.
62714         * posix/unistd.h: Use __THREADNL instead of __THREAD
62715         for memory synchronization functions.
62717 2011-10-26  Roland McGrath  <roland@hack.frob.com>
62719         [BZ #13349]
62720         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
62721         doesn't exist.
62722         * manual/stdio.texi (Obstack Streams): Node removed.
62724 2011-10-26  Andreas Schwab  <schwab@redhat.com>
62726         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
62727         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62728         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62730         * math/math_private.h (math_force_eval): Allow non-addressable
62731         arguments.
62732         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
62734 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
62736         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
62737         file is not needed.
62739         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
62740         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
62741         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
62742         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
62743         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
62744         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
62745         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
62746         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
62747         Add AVX variants.
62748         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
62749         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
62750         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
62751         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
62752         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
62753         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
62754         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
62755         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
62756         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
62757         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
62758         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
62759         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
62760         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
62761         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
62762         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
62763         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
62764         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
62765         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
62766         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
62768         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
62769         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
62771         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
62772         place.  Use VEX encoding when compiling for AVX.
62774 2011-10-25  Andreas Schwab  <schwab@redhat.com>
62776         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
62777         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
62779         * string/test-strchr.c (do_test): Don't generate NUL bytes.
62781 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
62783         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
62784         useless if() expression.
62785         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62786         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62787         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62788         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62789         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62790         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62791         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
62792         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62793         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62794         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62795         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
62796         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
62797         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
62798         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
62799         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
62800         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62801         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62802         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62803         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
62805         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
62807 2011-10-25  Andreas Schwab  <schwab@redhat.com>
62809         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
62810         condition.
62811         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62813 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
62815         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
62816         .text section.  Avoid duplicate constants.
62817         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62818         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62819         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62820         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62821         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62822         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62823         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62824         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62825         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62826         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
62827         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62828         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62829         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
62830         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
62831         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
62832         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
62833         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
62834         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62835         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62836         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62837         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62838         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62839         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62840         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
62841         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
62842         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
62843         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
62844         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
62845         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
62846         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
62847         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
62848         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
62849         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62850         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
62851         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
62852         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
62853         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
62854         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
62855         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
62856         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
62857         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
62858         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
62859         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
62860         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
62861         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
62863 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
62865         * sysdeps/x86_64/dla.h: Move to ...
62866         * sysdeps/x86_64/fpu/dla.h: ...here.
62867         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
62868         situations.  Use __builtin_fma only for gcc 4.6 and up.
62870         * config.make.in: Add have-mfma4 entry.
62871         * configure.in: Substitute libc_cv_cc_fma4.
62872         * math/Makefile (dbl-only-routines): Add sincostab.
62873         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
62874         Use __sincostab not sincos.
62875         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
62876         name is a macro.
62877         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62878         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62879         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62880         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
62881         using __copysign.
62882         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
62883         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
62884         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
62885         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
62886         and __inv.
62887         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
62888         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
62889         __copysign.
62890         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
62891         define aliases when function name is a macro.
62892         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
62893         sysdeps/ieee754/dbl-64/sincos.tbl.
62894         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
62895         fma4-enabled routines.
62896         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
62897         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
62898         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
62899         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
62900         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
62901         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
62902         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
62903         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
62904         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
62905         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
62906         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
62907         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
62908         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
62909         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
62910         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
62911         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
62912         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
62913         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
62914         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
62915         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
62916         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
62917         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
62918         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
62919         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
62920         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
62921         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
62922         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
62923         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
62924         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
62925         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
62927         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
62928         rename.
62929         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62930         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62931         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62932         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62933         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62934         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62935         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62936         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62938 2011-10-24  Andreas Schwab  <schwab@redhat.com>
62940         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
62942 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
62944         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
62946         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
62947         prediction.
62948         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
62950         * string/strnlen.c: Don't define STRNLEN, reverse logic.
62951         Remove unused variable magic_bits.
62952         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
62954         * string/strnlen.c: Define and use STRNLEN macro.
62955         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
62956         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
62957         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
62958         * wcsmbs/wcslen.c: Define and use WCSLEN.
62959         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
62960         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
62961         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
62962         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
62963         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
62964         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
62965         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
62967 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62969         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62970         strnlen-sse2-no-bsf.
62971         Rename strlen-no-bsf to strlen-sse2-no-bsf.
62972         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
62973         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
62974         Add strnlen support.
62975         (USE_AS_STRNLEN): New macro.
62976         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
62977         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
62978         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
62979         * sysdeps/x86_64/wcslen.S: New file.
62981 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
62983         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
62984         XMM-moves are used for copying on small sizes.
62986 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62988         * wcsmbs/Makefile (strop-tests): Add wcschr.
62989         * wcsmbs/test-wcschr.c: New file.
62990         * string/test-strchr.c: Update.
62991         Add wcschr support.
62992         (WIDE): New macro.
62994 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62996         * wcsmbs/Makefile (strop-tests): Add wcslen.
62997         * wcsmbs/test-wcslen.c: New file.
62998         * string/test-strlen.c: Update.
62999         Add wcslen support.
63000         (WIDE): New macro.
63002 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63004         * po/it.po: Update from translation team.
63006 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63008         * sysdeps/x86_64/wcscmp.S: Update.
63009         Fix wrong comparison semantics.
63010         wcscmp shall use signed comparison not unsigned.
63011         Don't use substraction to avoid overflow bug.
63012         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
63013         * wcsmbc/wcscmp.c: Likewise.
63014         * string/test-strcmp.c: Likewise.
63015         Add new tests to check cases with negative values.
63017 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63019         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
63020         * sysdeps/x86_64/dla.h: ...here.  New file.
63021         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
63022         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63023         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63024         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63025         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63026         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63027         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63028         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63029         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63031 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
63033         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
63034         __ynl_finite aliases.
63036 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
63038         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63040         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
63041         define DLA_FMA.
63042         [DLA_FMA] (EMULV): Use DLA_FMA.
63043         [DLA_FMA] (MUL12): Use EMULV.
63044         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
63045         that are not needed.
63046         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63047         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63048         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63049         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63050         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63051         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63052         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63054 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
63056         * math/s_nan.c: Undef __nan.
63057         * math/s_nanf.c: Undef __nanf.
63058         * math/s_nanl.c: Undef __nanl.
63059         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
63060         "math_private.h".
63062 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
63064         * math/s_catan.c: Add branch predictions.
63065         * math/s_catanf.c: Likewise.
63066         * math/s_catanh.c: Likewise.
63067         * math/s_catanhf.c: Likewise.
63068         * math/s_catanhl.c: Likewise.
63069         * math/s_catanl.c: Likewise.
63070         * math/s_cexp.c: Likewise.
63071         * math/s_cexpf.c: Likewise.
63072         * math/s_cexpl.c: Likewise.
63073         * math/s_clog.c: Likewise.
63074         * math/s_clog10.c: Likewise.
63075         * math/s_clog10f.c: Likewise.
63076         * math/s_clog10l.c: Likewise.
63077         * math/s_clogf.c: Likewise.
63078         * math/s_clogl.c: Likewise.
63079         * math/s_csqrt.c: Likewise.
63080         * math/s_csqrtf.c: Likewise.
63081         * math/s_csqrtl.c: Likewise.
63082         * math/s_ctanf.c: Likewise.
63083         * math/s_ctanh.c: Likewise.
63084         * math/s_ctanhf.c: Likewise.
63085         * math/s_ctanhl.c: Likewise.
63086         * math/s_ctanl.c: Likewise.
63088         * math/math_private.h: Define __nan, __nanf, __nanl.
63089         * math/s_cacosh.c: Include <math_private.h>.
63090         * math/s_cacoshl.c: Likewise.
63091         * math/s_casinh.c: Likewise.
63092         * math/s_casinhf.c: Likewise.
63093         * math/s_casinhl.c: Likewise.
63094         * math/s_ccos.c: Rely entire on ccosh.
63095         * math/s_ccosf.c: Rely entire on ccoshf.
63096         * math/s_ccosl.c: Rely entirely on ccoshl.
63097         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
63098         Remove tests for FE_INVALID.
63099         * math/s_ccoshf.c: Likewise.
63100         * math/s_ccoshl.c: Likewise.
63101         * math/s_csin.c: Likewise.
63102         * math/s_csinf.c: Likewise.
63103         * math/s_csinh.c Likewise.
63104         * math/s_csinhf.c: Likewise.
63105         * math/s_csinhl.c: Likewise.
63106         * math/s_csinl.c: Likewise.
63107         * math/s_ctan.c: Likewise.
63108         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
63109         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
63110         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
63112 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
63114         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
63115         compilation problems.
63117         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
63118         __builtin_expect.
63120 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
63122         * sysdeps/i386/configure.in: Test for -mfma4 option.
63123         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
63124         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
63125         COMMON_CPUID_INDEX_80000001.
63126         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
63127         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
63128         use it if FMA3 is not supported.
63129         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
63131         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
63132         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63134 2011-10-20  Andreas Schwab  <schwab@redhat.com>
63136         [BZ #12892]
63137         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
63138         it would create a cycle with a link time dependency.
63140 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
63142         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
63143         instruction.
63144         * string/Makefile (strop-tests): Add rawmemchr.
63145         * string/test-rawmemchr.c: New file.
63147         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
63148         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
63149         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
63150         when compiling str{,n}casecmp and when AVX is available.  Hook up
63151         new optimized code in initializers.
63153 2011-10-19  Andreas Schwab  <schwab@redhat.com>
63155         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
63156         __feraiseexcept instead of feraiseexcept.
63158 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
63160         * math/math_private.h: Define defaults for libc_fetestexcept and
63161         libc_feupdateenv.
63162         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
63163         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
63164         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
63165         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
63166         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63167         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
63168         libc_fetestexcept and libc_feupdateenv.
63170         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
63171         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
63172         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
63173         * sysdeps/x86_64/fpu/math_private.h: Define special version of
63174         libc_feholdexcept_setround.
63176         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
63177         Add s_nearbyint-c and s_nearbyintf-c.
63178         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
63179         nearbyintf inlines.
63180         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
63181         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
63182         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
63183         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
63185         * math/math_private.h: Define defaults for libc_fegetround,
63186         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
63187         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
63188         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
63189         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
63190         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
63191         standard functions.
63192         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
63193         Remove comments and hacks for old compiler versions.
63194         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
63195         libc_fegetround, libc_fesetround, libc_feholdexcept, and
63196         libc_feholdexceptl.
63198 2011-10-18  Andreas Schwab  <schwab@redhat.com>
63200         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
63201         (__feraiseexcept_renamed): Add __NTH.
63202         (feraiseexcept): Add __NTH.  Rename local variables to fix
63203         namespace violations.
63205 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
63207         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
63209         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
63211         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
63212         recently added interfaces.
63213         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
63215         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
63216         about macro parameter expansion.
63218         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
63219         __NO_MATH_INLINES is defined.  Cleanups.
63221         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
63222         and __floorf is target has SSE4.1.
63223         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
63224         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
63225         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
63226         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
63228         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
63229         name.
63230         (floorf): Likewise.
63232         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
63234 2011-10-17  Andreas Schwab  <schwab@redhat.com>
63236         * misc/sys/cdefs.h: Fix last change.
63238         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
63239         database lookup.
63241 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
63243         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
63245         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
63246         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63247         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63248         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63249         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63250         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63251         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63252         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63253         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63254         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
63255         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
63256         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
63257         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
63258         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
63259         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
63260         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
63261         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
63262         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
63263         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
63264         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
63265         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
63266         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
63268         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
63269         ceil, ceilf, floor, floorf.
63271         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
63272         Perform IRELATIVE relocations last.
63274         * elf/do-rel.h: Add another parameter nrelative, replacing the
63275         local variable with the same name.  Change name of the function
63276         to end in Rel or Rela (uppercase).
63277         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
63278         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
63279         elf_dynamic_do_##reloc function.
63281 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
63283         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
63284         is sufficient, at least on modern CPUs.
63286         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
63288         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
63289         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
63291         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
63292         __expl_finite.
63293         * math/bits/math-finite.h: Add entries for exp.
63294         * math/e_expl.c: Add __*_finite alias.
63295         * sysdeps/i386/fpu/e_exp.S: Likewise.
63296         * sysdeps/i386/fpu/e_expf.S: Likewise.
63297         * sysdeps/i386/fpu/e_expl.c: Likewise.
63298         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63299         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
63300         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63301         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63302         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
63303         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63304         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63306         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
63307         is sufficient, at least on modern CPUs.
63309         * ctype/ctype-info.c (__ctype_init): Define.
63310         * include/ctype.h (__ctype_init): Declare.
63311         (__ctype_b_loc): The variable is always initialized.
63312         (__ctype_toupper_loc): Likewise.
63313         (__ctype_tolower_loc): Likewise.
63314         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
63315         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
63317 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
63319         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
63321         * configure.in: Also look in $cxxmachine/include for C++ system
63322         headers.
63324 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63326         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
63327         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
63328         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
63329         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
63330         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
63331         (USE_AS_WMEMCMP): New macro.
63332         Fixing indents.
63333         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
63334         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
63335         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
63336         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
63337         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63338         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
63339         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
63340         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
63341         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
63342         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
63343         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
63344         (USE_AS_WMEMCMP): New macro.
63345         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
63346         * sysdeps/string/test-memcmp.c: Update.
63347         Fix simple_wmemcmp.
63348         Add new tests.
63349         * wcsmbs/wmemcmp.c: Update.
63350         (WMEMCMP): New macro.
63351         Fix overflow bug.
63353 2011-10-12  Andreas Jaeger  <aj@suse.de>
63355         [BZ #13268]
63356         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
63358 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
63360         * libio/iofwide.c (do_length): Avoid warning.
63362         * ctype/ctype.h (__isctype_f): Add missing __THROW.
63364 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
63366         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
63368         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
63369         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
63370         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
63371         * sysdeps/i386/i686/fpu/e_log.S: New file.
63372         * sysdeps/i386/i686/fpu/e_logf.S: New file.
63373         * sysdeps/i386/i686/fpu/e_logl.S: New file.
63375         * ctype/ctype.h: Add support for inlined isXXX functions when
63376         compiling C++ code.
63378 2011-10-14  Andreas Schwab  <schwab@redhat.com>
63380         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63382         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
63384 2011-10-13  Roland McGrath  <roland@hack.frob.com>
63386         [BZ #13291]
63387         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
63389 2011-10-13  Andreas Schwab  <schwab@redhat.com>
63391         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
63392         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
63393         feraiseexcept.
63395         * sysdeps/x86_64/memrchr.S: Check for zero size.
63397         * string/stratcliff.c: Add memrchr tests.
63399 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63401         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63402         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
63403         rawmemchr-sse2 rawmemchr-sse2-bsf.
63404         * sysdeps/i386/i686/multiarch/memchr.S: New file.
63405         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
63406         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
63407         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
63408         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
63409         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
63410         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
63411         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
63412         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
63413         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
63414         * string/memrchr.c (MEMRCHR): New macro.
63416 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
63418         Add integration with gcc's -ffinite-math-only and optimize wrapper
63419         functions in libm.
63420         * Versions.def: Define GLIBC_2.15 version for libm.
63421         * math/Makefile (headers): Add bits/math-finite.h.
63422         * math/bits/math-finite.h: New file.
63423         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
63424         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
63425         * math/e_acoshl.c: Add __*_finite alias.
63426         * math/e_acosl.c: Likewise.
63427         * math/e_asinl.c: Likewise.
63428         * math/e_atan2l.c: Likewise.
63429         * math/e_atanhl.c: Likewise.
63430         * math/e_coshl.c: Likewise.
63431         * math/e_exp10.c: Likewise.
63432         * math/e_exp10f.c: Likewise.
63433         * math/e_exp10l.c: Likewise.
63434         * math/e_exp2l.c: Likewise.
63435         * math/e_fmodl.c: Likewise.
63436         * math/e_gammal_r.c: Likewise.
63437         * math/e_hypotl.c: Likewise.
63438         * math/e_j0l.c: Likewise.
63439         * math/e_j1l.c: Likewise.
63440         * math/e_jnl.c: Likewise.
63441         * math/e_lgammal_r.c: Likewise.
63442         * math/e_log10l.c: Likewise.
63443         * math/e_log2l.c: Likewise.
63444         * math/e_logl.c: Likewise.
63445         * math/e_powl.c: Likewise.
63446         * math/e_sinhl.c: Likewise.
63447         * math/e_sqrtl.c: Likewise.
63448         * math/e_scalb.c: Completely rewritten and optimized.
63449         * math/e_scalbf.c: Likewise.
63450         * math/e_scalbl.c: Likewise.
63451         * math/w_acos.c: Likewise.
63452         * math/w_acosf.c: Likewise.
63453         * math/w_acosl.c: Likewise.
63454         * math/w_acosh.c: Likewise.
63455         * math/w_acoshf.c: Likewise.
63456         * math/w_acoshl.c: Likewise.
63457         * math/w_asin.c: Likewise.
63458         * math/w_asinf.c: Likewise.
63459         * math/w_asinl.c: Likewise.
63460         * math/w_atan2.c: Likewise.
63461         * math/w_atan2f.c: Likewise.
63462         * math/w_atan2l.c: Likewise.
63463         * math/w_atanh.c: Likewise.
63464         * math/w_atanhf.c: Likewise.
63465         * math/w_atanhl.c: Likewise.
63466         * math/w_exp10.c: Likewise.
63467         * math/w_exp10f.c: Likewise.
63468         * math/w_exp10l.c: Likewise.
63469         * math/w_fmod.c: Likewise.
63470         * math/w_fmodf.c: Likewise.
63471         * math/w_fmodl.c: Likewise.
63472         * math/w_j0.c: Likewise.
63473         * math/w_j0f.c: Likewise.
63474         * math/w_j0l.c: Likewise.
63475         * math/w_j1.c: Likewise.
63476         * math/w_j1f.c: Likewise.
63477         * math/w_j1l.c: Likewise.
63478         * math/w_jn.c: Likewise.
63479         * math/w_jnf.c: Likewise.
63480         * math/w_log.c: Likewise.
63481         * math/w_logf.c: Likewise.
63482         * math/w_logl.c: Likewise.
63483         * math/w_log10.c: Likewise.
63484         * math/w_log10f.c: Likewise.
63485         * math/w_log10l.c: Likewise.
63486         * math/w_log2.c: Likewise.
63487         * math/w_log2f.c: Likewise.
63488         * math/w_log2l.c: Likewise.
63489         * math/w_pow.c: Likewise.
63490         * math/w_powf.c: Likewise.
63491         * math/w_powl.c: Likewise.
63492         * math/w_remainder.c: Likewise.
63493         * math/w_remainderf.c: Likewise.
63494         * math/w_remainderl.c: Likewise.
63495         * math/w_scalb.c: Likewise.
63496         * math/w_scalbf.c: Likewise.
63497         * math/w_scalbl.c: Likewise.
63498         * math/w_sqrt.c: Likewise.
63499         * math/w_sqrtf.c: Likewise.
63500         * math/w_sqrtl.c: Likewise.
63501         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
63502         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
63503         used.
63504         * math/math_private.h: Declare __kernel_standard_f.
63505         * math/w_cosh.c: Remove cruft and optimize a bit.
63506         * math/w_coshf.c: Likewise.
63507         * math/w_coshl.c: Likewise.
63508         * math/w_exp2.c: Likewise.
63509         * math/w_exp2f.c: Likewise.
63510         * math/w_exp2l.c: Likewise.
63511         * math/w_hypot.c: Likewise.
63512         * math/w_hypotf.c: Likewise.
63513         * math/w_hypotl.c: Likewise.
63514         * math/w_lgamma.c: Likewise.
63515         * math/w_lgamma_r.c: Likewise.
63516         * math/w_lgammaf.c: Likewise.
63517         * math/w_lgammaf_r.c: Likewise.
63518         * math/w_lgammal.c: Likewise.
63519         * math/w_lgammal_r.c: Likewise.
63520         * math/w_sinh.c: Likewise.
63521         * math/w_sinhf.c: Likewise.
63522         * math/w_sinhl.c: Likewise.
63523         * math/w_tgamma.c: Likewise.
63524         * math/w_tgammaf.c: Likewise.
63525         * math/w_tgammal.c: Likewise.
63526         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63527         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63528         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
63529         Minor optimizations.  Pretty printing.  Remove cruft.
63530         * sysdeps/i386/fpu/e_acosf.S: Likewise.
63531         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63532         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63533         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63534         * sysdeps/i386/fpu/e_acosl.c: Likewise.
63535         * sysdeps/i386/fpu/e_asin.S: Likewise.
63536         * sysdeps/i386/fpu/e_asinf.S: Likewise.
63537         * sysdeps/i386/fpu/e_atan2.S: Likewise.
63538         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
63539         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
63540         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63541         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63542         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63543         * sysdeps/i386/fpu/e_exp10.S: Likewise.
63544         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
63545         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
63546         * sysdeps/i386/fpu/e_exp2.S: Likewise.
63547         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
63548         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
63549         * sysdeps/i386/fpu/e_fmod.S: Likewise.
63550         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
63551         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
63552         * sysdeps/i386/fpu/e_hypot.S: Likewise.
63553         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
63554         * sysdeps/i386/fpu/e_log.S: Likewise.
63555         * sysdeps/i386/fpu/e_log10.S: Likewise.
63556         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63557         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63558         * sysdeps/i386/fpu/e_log2.S: Likewise.
63559         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63560         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63561         * sysdeps/i386/fpu/e_logf.S: Likewise.
63562         * sysdeps/i386/fpu/e_logl.S: Likewise.
63563         * sysdeps/i386/fpu/e_pow.S: Likewise.
63564         * sysdeps/i386/fpu/e_powf.S: Likewise.
63565         * sysdeps/i386/fpu/e_powl.S: Likewise.
63566         * sysdeps/i386/fpu/e_remainder.S: Likewise.
63567         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
63568         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
63569         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63570         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63571         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63572         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
63573         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
63574         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
63575         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63576         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63577         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63578         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63579         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
63580         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63581         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
63582         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63583         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63584         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63585         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63586         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63587         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63588         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63589         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63590         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63591         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63592         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63593         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63594         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63595         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63596         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63597         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63598         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63599         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63600         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63601         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
63602         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63603         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
63604         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63605         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63606         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63607         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63608         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63609         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63610         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63611         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63612         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63613         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63614         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63615         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63616         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63617         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63618         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63619         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63620         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63621         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63622         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63623         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63624         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
63625         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63626         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
63627         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
63628         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63629         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
63630         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
63631         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63632         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
63633         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
63634         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
63635         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
63636         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
63637         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63638         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63639         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
63640         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
63641         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
63642         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
63643         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
63644         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
63645         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
63646         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
63647         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
63648         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
63649         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
63650         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63651         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
63652         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
63653         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63654         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
63655         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63656         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
63657         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
63658         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63659         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63660         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
63661         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63662         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
63663         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
63664         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
63665         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63666         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63667         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63668         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
63669         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
63670         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
63671         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
63672         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
63673         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
63674         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
63675         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
63676         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
63677         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
63678         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
63679         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63680         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63681         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63682         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63683         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
63684         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63685         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
63686         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
63687         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
63688         (__isnanf): Likewise.
63689         (__isinf_ns): Likewise.
63690         (__isinf_nsf): Likewise.
63691         (__finite): Likewise.
63692         (__finitef): Likewise.
63693         (__ieee754_sqrt): Define as macro.
63694         (__ieee754_sqrtf): Define as macro.
63695         (__ieee754_sqrtl): Define as macro.
63696         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
63697         inlined copy.
63698         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
63699         __FINITE_MATH_ONLY__ consistent.
63700         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
63702 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
63704         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
63705         of rawmemchr.
63707         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
63709 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
63711         * po/ja.po: Update from translation team.
63713 2011-10-08  Roland McGrath  <roland@hack.frob.com>
63715         * locale/programs/locarchive.c (prepare_address_space): New function.
63716         (create_archive, enlarge_archive, open_archive): Use it.
63718         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
63719         inside [SHARED], where it is used.
63721         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
63723         * nss/getent.c (netgroup_keys): Remove unused variable.
63724         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63726 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
63728         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
63729         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
63730         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
63731         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
63732         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
63733         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
63734         * math/Makefile (libm-calls): Add s_isinf_ns.
63735         * math/divtc3.c: Use __isinf_nsl instead of isinf.
63736         * math/multc3.c: Likewise.
63737         * math/s_casin.c: Likewise.
63738         * math/s_casinf.c: Likewise.
63739         * math/s_casinl.c: Likewise.
63740         * math/s_ccos.c: Likewise.
63741         * math/s_ccosf.c: Likewise.
63742         * math/s_ccosl.c: Likewise.
63743         * math/s_ctan.c: Likewise.
63744         * math/s_ctanf.c: Likewise.
63745         * math/s_ctanh.c: Likewise.
63746         * math/s_ctanhf.c: Likewise.
63747         * math/s_ctanhl.c: Likewise.
63748         * math/s_ctanl.c: Likewise.
63749         * math/w_fmod.c: Likewise.
63750         * math/w_fmodf.c: Likewise.
63751         * math/w_fmodl.c: Likewise.
63752         * math/w_remainder.c: Likewise.
63753         * math/w_remainderf.c: Likewise.
63754         * math/w_remainderl.c: Likewise.
63755         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
63756         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
63757         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
63758         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
63759         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
63760         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
63761         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
63762         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
63764         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
63765         of the number.
63766         * stdio-common/printf_fphex.c: Likewise.
63767         * stdio-common/printf_size.c: Likewise.
63769         * math/e_exp10.c: Include math_private.h using <...> not "...".
63770         * math/e_exp10f.c: Likewise.
63771         * math/e_exp10l.c: Likewise.
63772         * math/e_exp2l.c: Likewise.
63773         * math/e_j0l.c: Likewise.
63774         * math/e_j1l.c: Likewise.
63775         * math/e_jnl.c: Likewise.
63776         * math/e_lgammal_r.c: Likewise.
63777         * math/e_rem_pio2l.c: Likewise.
63778         * math/e_scalb.c: Likewise.
63779         * math/e_scalbf.c: Likewise.
63780         * math/e_scalbl.c: Likewise.
63781         * math/k_cosl.c: Likewise.
63782         * math/k_sinl.c: Likewise.
63783         * math/k_tanl.c: Likewise.
63784         * math/s_cacoshf.c: Likewise.
63785         * math/s_catan.c: Likewise.
63786         * math/s_catanf.c: Likewise.
63787         * math/s_catanh.c: Likewise.
63788         * math/s_catanhf.c: Likewise.
63789         * math/s_catanhl.c: Likewise.
63790         * math/s_catanl.c: Likewise.
63791         * math/s_ccosh.c: Likewise.
63792         * math/s_ccoshf.c: Likewise.
63793         * math/s_ccoshl.c: Likewise.
63794         * math/s_cexp.c: Likewise.
63795         * math/s_cexpf.c: Likewise.
63796         * math/s_cexpl.c: Likewise.
63797         * math/s_clog.c: Likewise.
63798         * math/s_clog10.c: Likewise.
63799         * math/s_clog10f.c: Likewise.
63800         * math/s_clog10l.c: Likewise.
63801         * math/s_clogf.c: Likewise.
63802         * math/s_clogl.c: Likewise.
63803         * math/s_csin.c: Likewise.
63804         * math/s_csinf.c: Likewise.
63805         * math/s_csinh.c: Likewise.
63806         * math/s_csinhf.c: Likewise.
63807         * math/s_csinhl.c: Likewise.
63808         * math/s_csinl.c: Likewise.
63809         * math/s_csqrt.c: Likewise.
63810         * math/s_csqrtf.c: Likewise.
63811         * math/s_csqrtl.c: Likewise.
63812         * math/s_ctan.c: Likewise.
63813         * math/s_ctanf.c: Likewise.
63814         * math/s_ctanh.c: Likewise.
63815         * math/s_ctanhf.c: Likewise.
63816         * math/s_ctanhl.c: Likewise.
63817         * math/s_ctanl.c: Likewise.
63818         * math/s_ldexp.c: Likewise.
63819         * math/s_ldexpf.c: Likewise.
63820         * math/s_ldexpl.c: Likewise.
63821         * math/s_significand.c: Likewise.
63822         * math/s_significandf.c: Likewise.
63823         * math/s_significandl.c: Likewise.
63824         * math/w_acos.c: Likewise.
63825         * math/w_acosf.c: Likewise.
63826         * math/w_acosh.c: Likewise.
63827         * math/w_acoshf.c: Likewise.
63828         * math/w_acoshl.c: Likewise.
63829         * math/w_acosl.c: Likewise.
63830         * math/w_asin.c: Likewise.
63831         * math/w_asinf.c: Likewise.
63832         * math/w_asinl.c: Likewise.
63833         * math/w_atan2.c: Likewise.
63834         * math/w_atan2f.c: Likewise.
63835         * math/w_atan2l.c: Likewise.
63836         * math/w_atanh.c: Likewise.
63837         * math/w_atanhf.c: Likewise.
63838         * math/w_atanhl.c: Likewise.
63839         * math/w_cosh.c: Likewise.
63840         * math/w_coshf.c: Likewise.
63841         * math/w_coshl.c: Likewise.
63842         * math/w_dremf.c: Likewise.
63843         * math/w_exp10.c: Likewise.
63844         * math/w_exp10f.c: Likewise.
63845         * math/w_exp10l.c: Likewise.
63846         * math/w_exp2.c: Likewise.
63847         * math/w_exp2f.c: Likewise.
63848         * math/w_fmod.c: Likewise.
63849         * math/w_fmodf.c: Likewise.
63850         * math/w_fmodl.c: Likewise.
63851         * math/w_hypot.c: Likewise.
63852         * math/w_hypotf.c: Likewise.
63853         * math/w_hypotl.c: Likewise.
63854         * math/w_j0.c: Likewise.
63855         * math/w_j0f.c: Likewise.
63856         * math/w_j0l.c: Likewise.
63857         * math/w_j1.c: Likewise.
63858         * math/w_j1f.c: Likewise.
63859         * math/w_j1l.c: Likewise.
63860         * math/w_jn.c: Likewise.
63861         * math/w_jnf.c: Likewise.
63862         * math/w_jnl.c: Likewise.
63863         * math/w_lgamma.c: Likewise.
63864         * math/w_lgamma_r.c: Likewise.
63865         * math/w_lgammaf.c: Likewise.
63866         * math/w_lgammaf_r.c: Likewise.
63867         * math/w_lgammal.c: Likewise.
63868         * math/w_lgammal_r.c: Likewise.
63869         * math/w_log.c: Likewise.
63870         * math/w_log10.c: Likewise.
63871         * math/w_log10f.c: Likewise.
63872         * math/w_log10l.c: Likewise.
63873         * math/w_log2.c: Likewise.
63874         * math/w_log2f.c: Likewise.
63875         * math/w_log2l.c: Likewise.
63876         * math/w_logf.c: Likewise.
63877         * math/w_logl.c: Likewise.
63878         * math/w_pow.c: Likewise.
63879         * math/w_powf.c: Likewise.
63880         * math/w_powl.c: Likewise.
63881         * math/w_remainder.c: Likewise.
63882         * math/w_remainderf.c: Likewise.
63883         * math/w_remainderl.c: Likewise.
63884         * math/w_scalb.c: Likewise.
63885         * math/w_scalbf.c: Likewise.
63886         * math/w_scalbl.c: Likewise.
63887         * math/w_sinh.c: Likewise.
63888         * math/w_sinhf.c: Likewise.
63889         * math/w_sinhl.c: Likewise.
63890         * math/w_sqrt.c: Likewise.
63891         * math/w_sqrtf.c: Likewise.
63892         * math/w_sqrtl.c: Likewise.
63893         * math/w_tgamma.c: Likewise.
63894         * math/w_tgammaf.c: Likewise.
63895         * math/w_tgammal.c: Likewise.
63897         * po/ja.po: Update from translation team.
63899 2011-09-29  Andreas Jaeger  <aj@suse.de>
63901         [BZ #13179]
63902         * sunrpc/netname.c (netname2host): Fix logic.
63904         [BZ #6779]
63905         [BZ #6783]
63906         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
63907         correctly.
63908         * math/w_remainder.c (__remainder): Likewise.
63909         * math/w_remainderf.c (__remainderf): Likewise.
63910         * math/libm-test.inc (remainder_test): Add test cases.
63912 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63914         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
63915         sdiv_qrnnd.
63917 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
63919         * string/test-memcmp.c: Avoid unncessary #defines.
63920         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
63922 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63924         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
63925         Use new sse2 version for core i3 - i7 as it's faster
63926         than sse42 version.
63927         (bit_Prefer_PMINUB_for_stringop): New.
63928         * sysdeps/x86_64/rawmemchr.S: Update.
63929         Replace with faster SSE2 version.
63930         * sysdeps/x86_64/memrchr.S: New file.
63931         * sysdeps/x86_64/memchr.S: Update.
63932         Replace with faster SSE2 version.
63934 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
63936         * elf/dl-load.c (lose): Add cast to avoid warning.
63938 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
63940         * po/ca.po: Update from translation team.
63942         * inet/getnetgrent_r.c: Hook up nscd.
63943         * nscd/Makefile (routines): Add nscd_netgroup.
63944         (nscd-modules): Add netgroupcache.
63945         (CFLAGS-netgroupcache.c): Define.
63946         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
63947         (cache_search): Add const to second parameter.
63948         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
63949         INNETGR.
63950         (dbs): Add netgrdb entry.
63951         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
63952         (verify_persistent_db): Handle netgrdb.
63953         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
63954         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
63955         GETFDNETGR.
63956         (netgroup_response_header): Define.
63957         (innetgroup_response_header): Define.
63958         (datahead): Add netgroup_response_header and innetgroup_response_header
63959         elements.
63960         * nscd/nscd.conf: Add entries for netgroup cache.
63961         * nscd/nscd.h (dbtype): Add netgrdb.
63962         (_PATH_NSCD_NETGROUP_DB): Define.
63963         (netgroup_iov_disabled): Declare.
63964         (xmalloc, xcalloc, xrealloc): Move declarations here.
63965         (cache_search): Adjust prototype.
63966         Add netgroup-related prototypes.
63967         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
63968         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
63969         (__nscd_innetgr): Declare.
63970         * nscd/selinux.c (perms): Use access_vector_t as element type and
63971         add netgroup-related initializers.
63972         * nscd/netgroupcache.c: New file.
63973         * nscd/nscd_netgroup.c: New file.
63974         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
63975         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
63976         For four parameters use innetgr.
63977         * nss/nss_files/files-init.c: Add definition and callback for netgr.
63978         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
63979         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
63980         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
63982         * nscd/connections.c (register_traced_file): Don't register file
63983         for disabled databases.
63985 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
63987         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
63989         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
63990         from tree and freeing node.
63992 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
63994         * nss/nsswitch.c (__nss_database_lookup): Handle
63995         nss_parse_service_list out of memory case.
63997 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
63999         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
64000         out of memory case.
64002 2011-10-04  Andreas Schwab  <schwab@redhat.com>
64004         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
64005         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
64006         pass it down.
64007         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
64008         elf_machine_rela, elf_machine_lazy_rel.
64009         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
64010         (ELF_DYNAMIC_DO_REL): Likewise.
64011         (ELF_DYNAMIC_DO_RELA): Likewise.
64012         (ELF_DYNAMIC_RELOCATE): Likewise.
64013         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
64014         to ELF_DYNAMIC_DO_REL.
64015         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
64016         (dl_main): In trace mode always set __RTLD_NOIFUNC.
64017         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
64018         elf_machine_rela.
64019         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
64020         skip_ifunc, don't call ifunc function if non-zero.
64021         (elf_machine_rela): Likewise.
64022         (elf_machine_lazy_rel): Likewise.
64023         (elf_machine_lazy_rela): Likewise.
64024         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
64025         (elf_machine_lazy_rel): Likewise.
64026         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
64027         Likewise.
64028         (elf_machine_lazy_rel): Likewise.
64029         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64030         Likewise.
64031         (elf_machine_lazy_rel): Likewise.
64032         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
64033         (elf_machine_lazy_rel): Likewise.
64034         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
64035         (elf_machine_lazy_rel): Likewise.
64036         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
64037         (elf_machine_lazy_rel): Likewise.
64038         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
64039         (elf_machine_lazy_rel): Likewise.
64040         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
64041         (elf_machine_lazy_rel): Likewise.
64042         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
64043         (elf_machine_lazy_rel): Likewise.
64045 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
64047         * nss/nss_files/files-init.c (_nss_files_init): Use static
64048         initialization for all the *_traced_file variables.
64050 2011-09-28  Andreas Schwab  <schwab@redhat.com>
64052         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64054 2011-09-27  Roland McGrath  <roland@hack.frob.com>
64056         [BZ #13226]
64057         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
64059 2011-09-27  Andreas Schwab  <schwab@redhat.com>
64061         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
64062         Reread the line before reparsing it.
64064 2011-09-26  Andreas Schwab  <schwab@redhat.com>
64066         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
64068 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
64069             Maxim Kuvyrkov  <maxim@codesourcery.com>
64070             Joseph Myers  <joseph@codesourcery.com>
64072         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
64073         if needed for __stack_chk_guard.
64075 2011-09-19  Roland McGrath  <roland@hack.frob.com>
64077         * sysdeps/posix/spawni.c (script_execute): Always define it.
64078         It will be optimized away if unused.
64079         (maybe_script_execute): New function.
64080         (__spawni): Call it.
64082         * Makerules: Don't include tls.make.
64083         (config-tls): Always set to thread.
64084         * tls.make.c: File removed.
64086 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
64088         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
64089         * config.make.in (CPPFLAGS-config): New substituted variable.
64091 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
64093         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
64095         [BZ #13192]
64096         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
64097         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
64099 2011-09-15  Roland McGrath  <roland@hack.frob.com>
64101         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
64102         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
64103         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64104         (CALL_FAIL): Likewise.
64105         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
64106         (CALL_FAIL): Macro removed.
64107         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
64109 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
64111         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
64112         for __FINITE_MATH_ONLY__ == 1.
64114 2011-09-15  Andreas Schwab  <schwab@redhat.com>
64116         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
64117         __ieee754_sqrt instead of sqrt.
64118         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
64119         __ieee754_sqrtf instead of sqrtf.
64120         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
64121         __floorf instead of floorf.
64122         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
64123         __floorf, __truncf instead of floorf, truncf.
64125 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
64127         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
64129         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
64130         __extern_always_inline.
64131         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
64132         32-bit.
64134 2011-09-14  Andreas Schwab  <schwab@redhat.com>
64136         * elf/rtld.c (dl_main): Also relocate in dependency order when
64137         doing symbol dependency testing.
64139 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
64141         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64142         Always define `refsym'.
64144 2011-09-13  Andreas Schwab  <schwab@redhat.com>
64146         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
64147         (__FD_ELT): Renamed from __FDELT.
64148         * misc/bits/select2.h (__FD_ELT): Likewise.
64149         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
64150         __FD_MASK instead of __FDELT, __FDMASK.
64151         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
64152         Likewise.
64153         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
64154         Likewise.
64156         * elf/Makefile (gen-ldd): Fix pattern.
64158         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
64159         (init_tls): Likewise.
64161 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
64163         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
64165 2011-09-12  Andreas Schwab  <schwab@redhat.com>
64167         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
64168         `struct cmsghdr *' instead of `void *'.
64169         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
64170         Likewise.
64172 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
64174         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
64175         if non-absolute.
64176         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
64177         ldd_rewrite_script.
64179 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
64181         * configure.in: Remove --with-tls option.
64182         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
64183         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
64184         out in case it is missing.
64185         * sysdeps/ia64/elf/configure.in: Likewise.
64186         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
64187         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
64188         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
64189         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
64190         * sysdeps/sh/elf/configure.in: Likewise.
64191         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
64192         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
64193         * sysdeps/x86_64/elf/configure.in: Likewise.
64194         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
64195         * sysdeps/mach/hurd/tls.h: Likewise.
64197         [BZ #13067]
64198         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
64200         [BZ #13090]
64201         * configure.in: Fix use of AC_INIT.
64203         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
64205 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
64207         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
64208         __set_errno.
64209         * malloc/hooks.c: Likewise.
64211         [BZ #11929]
64212         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
64213         variables statically.
64214         (narenas): Initialize.
64215         (list_lock): Initialize.
64216         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
64217         initializtion of main_arena and list_lock.  Small cleanups.
64218         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
64219         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
64220         Add initializers to main_arena and mp_.
64221         (malloc_state): Remove pagesize member.  Change all users to use
64222         GLRO(dl_pagesize).
64224         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
64225         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
64226         is always initialized.
64228         * malloc/malloc.c: Removed unused configurations and dead code.
64229         * malloc/arena.c: Likewise.
64230         * malloc/hooks.c: Likewise.
64231         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
64233         * include/tls.h: Removed.  USE___THREAD must always be defined.
64234         * bits/libc-tsd.h: Don't handle !USE___THREAD.
64235         * elf/dl-libc.c: Likewise.
64236         * elf/dl-tsd.c: Likewise.
64237         * include/errno.h: Likewise.
64238         * include/netdb.h: Likewise.
64239         * include/resolv.h: Likewise.
64240         * inet/herrno-loc.c: Likewise.
64241         * inet/herrno.c: Likewise.
64242         * malloc/arena.c: Likewise.
64243         * malloc/hooks.c: Likewise.
64244         * malloc/malloc.c: Likewise.
64245         * resolv/res-state.c: Likewise.
64246         * resolv/res_libc.c: Likewise.
64247         * sysdeps/i386/dl-machine.h: Likewise.
64248         * sysdeps/ia64/dl-machine.h: Likewise.
64249         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
64250         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
64251         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
64252         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
64253         * sysdeps/sh/dl-machine.h: Likewise.
64254         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64255         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64256         * sysdeps/unix/i386/sysdep.S: Likewise.
64257         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
64258         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
64259         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
64260         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
64261         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
64262         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
64263         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
64264         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64265         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64266         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
64267         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64268         * sysdeps/x86_64/dl-machine.h: Likewise.
64269         * tls.make.c: Likewise.
64271         * configure.in: Remove --with-__thread option.  Make tests for
64272         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
64273         tls_model attribute fail if no support is available.  Remove
64274         USE_IN_LIBIO.
64275         * Makeconfig: Adjust for dropped configure option.  All features are
64276         now mandatory.
64277         * Makerules: Likewise.
64278         * Versions.def: Likewise.
64279         * argp/argp-fmtstream.c: Likewise.
64280         * argp/argp-fmtstream.h: Likewise.
64281         * argp/argp-help.c: Likewise.
64282         * assert/assert.c: Likewise.
64283         * config.h.in: Likewise.
64284         * config.make.in: Likewise.
64285         * configure: Likewise.
64286         * configure.in: Likewise.
64287         * csu/Versions: Likewise.
64288         * csu/init.c: Likewise.
64289         * elf/tst-audit2.c: Likewise.
64290         * elf/tst-tls10.c: Likewise.
64291         * elf/tst-tls10.h: Likewise.
64292         * elf/tst-tls11.c: Likewise.
64293         * elf/tst-tls12.c: Likewise.
64294         * elf/tst-tls14.c: Likewise.
64295         * elf/tst-tlsmod11.c: Likewise.
64296         * elf/tst-tlsmod12.c: Likewise.
64297         * elf/tst-tlsmod13.c: Likewise.
64298         * elf/tst-tlsmod13a.c: Likewise.
64299         * elf/tst-tlsmod14a.c: Likewise.
64300         * elf/tst-tlsmod15b.c: Likewise.
64301         * elf/tst-tlsmod16a.c: Likewise.
64302         * elf/tst-tlsmod16b.c: Likewise.
64303         * elf/tst-tlsmod7.c: Likewise.
64304         * elf/tst-tlsmod8.c: Likewise.
64305         * elf/tst-tlsmod9.c: Likewise.
64306         * gmon/gmon.c: Likewise.
64307         * grp/fgetgrent_r.c: Likewise.
64308         * grp/putgrent.c: Likewise.
64309         * hurd/fopenport.c: Likewise.
64310         * include/libc-symbols.h: Likewise.
64311         * include/tls.h: Likewise.
64312         * intl/gettextP.h: Likewise.
64313         * intl/loadinfo.h: Likewise.
64314         * locale/global-locale.c: Likewise.
64315         * locale/localeinfo.h: Likewise.
64316         * mach/devstream.c: Likewise.
64317         * malloc/arena.c: Likewise.
64318         * malloc/set-freeres.c: Likewise.
64319         * misc/err.c: Likewise.
64320         * misc/getttyent.c: Likewise.
64321         * misc/mntent_r.c: Likewise.
64322         * posix/getopt.c: Likewise.
64323         * posix/wordexp.c: Likewise.
64324         * pwd/fgetpwent_r.c: Likewise.
64325         * resolv/Versions: Likewise.
64326         * resolv/res_hconf.c: Likewise.
64327         * shadow/fgetspent_r.c: Likewise.
64328         * shadow/putspent.c: Likewise.
64329         * stdio-common/printf_fphex.c: Likewise.
64330         * stdio-common/tmpfile.c: Likewise.
64331         * stdlib/abort.c: Likewise.
64332         * stdlib/fmtmsg.c: Likewise.
64333         * sunrpc/auth_unix.c: Likewise.
64334         * sunrpc/clnt_perr.c: Likewise.
64335         * sunrpc/clnt_tcp.c: Likewise.
64336         * sunrpc/clnt_udp.c: Likewise.
64337         * sunrpc/clnt_unix.c: Likewise.
64338         * sunrpc/openchild.c: Likewise.
64339         * sunrpc/svc_simple.c: Likewise.
64340         * sunrpc/svc_tcp.c: Likewise.
64341         * sunrpc/svc_udp.c: Likewise.
64342         * sunrpc/svc_unix.c: Likewise.
64343         * sunrpc/xdr.c: Likewise.
64344         * sunrpc/xdr_array.c: Likewise.
64345         * sunrpc/xdr_rec.c: Likewise.
64346         * sunrpc/xdr_ref.c: Likewise.
64347         * sunrpc/xdr_stdio.c: Likewise.
64349 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64351         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64353 2011-07-03  Andreas Jaeger  <aj@suse.de>
64355         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
64356         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
64357         regenerate with gen-libm-tests.pl.
64359 2010-05-12  Petr Baudis  <pasky@suse.cz>
64361         [BZ #11589]
64362         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
64363         around j0() zero points by switching to j1().
64364         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64365         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64366         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64367         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64369 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64371         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
64372         instead of 0.
64373         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
64374         instead of 0.
64375         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64376         Patch in part by Pavel Roskin <proski@gnu.org>.
64378         [BZ #13138]
64379         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
64380         realloc.
64381         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
64382         Free memory block if necessary.
64384         [BZ #12847]
64385         * libio/genops.c (INTDEF): For string streams the _lock pointer can
64386         be NULL.  Don't lock in this case.
64388 2011-09-09  Roland McGrath  <roland@hack.frob.com>
64390         * elf/elf.h (ELFOSABI_GNU): New macro.
64391         (ELFOSABI_LINUX): Define to that.
64393 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
64395         * string/strncat.c (strncat): Undef the symbol in case it has been
64396         defined in bits/string.h.
64398 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64400         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
64402         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
64403         link map.
64405 2011-08-17  Andreas Jaeger  <aj@suse.de>
64407         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
64409 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
64410             Ian Lance Taylor  <iant@google.com>
64412         * math/libm-test.inc (lround_test): New testcase.
64413         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
64415 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
64417         * Makefile: Remove support for automatic cvs check-ins.
64418         * Makerules: Likewise.
64419         * config.make.in: Likewise.
64420         * configure.in: Likewise.
64421         * intl/Makefile: Likewise.
64422         * locale/Makefile: Likewise.
64423         * po/Makefile: Likewise.
64424         * posix/Makefile: Likewise.
64425         * sysdeps/gnu/Makefile: Likewise.
64426         * sysdeps/mach/hurd/Makefile: Likewise.
64427         * sysdeps/sparc/sparc32/Makefile: Likewise.
64429         [BZ #13118]
64430         * posix/Makefile (bug-regex32-ENV): Define.
64431         Patch by John Stanley <jpsinthemix@verizon.net>.
64433         * misc/Makefile (headers): Add bits/select2.h.
64434         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
64435         * misc/bits/select2.h: New file.
64436         * include/bits/select2.h: New file.
64437         * debug/Makefile (routines): Add fdelt_chk.
64438         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
64439         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
64440         FD_ISSET.
64441         * debug/fdelt_chk.c: New file.
64443         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
64444         * wcsmbs/test-wmemcmp.c: Likewise.
64445         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
64446         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
64448 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64450         * string/Makefile (strop-tests): Add memcmp.
64451         * string/test-wmemcmp.c: New file.
64452         * string/test-memcmp.c: Add wmemcmp support.
64454 2011-09-08  Roland McGrath  <roland@hack.frob.com>
64456         [BZ #13153]
64457         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
64458         2011-07-19 change.
64460         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
64461         garbage value in a __mach_port_mod_refs call in the cases of the
64462         task-self and thread-self ports.
64464 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64466         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
64468 2011-09-08  Andreas Schwab  <schwab@redhat.com>
64470         * elf/dl-load.c (lose): Check for non-null L.
64472 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
64474         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
64476         * elf/dl-libc.c (dlerror_run): Pass back error code from
64477         dl_catch_error.
64479         [BZ #13123]
64480         * elf/dl-load.c (lose): Free l_origin if it is valid.
64482         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
64483         names.
64484         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
64485         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
64486         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
64487         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
64488         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
64489         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
64491 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64493         * sysdeps/powerpc/fpu/e_hypot.c: New file.
64494         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
64495         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
64496         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
64497         * sysdeps/powerpc/fpu/k_cosf.c: New file.
64498         * sysdeps/powerpc/fpu/k_sinf.c: New file.
64499         * sysdeps/powerpc/fpu/s_cosf.c: New file.
64500         * sysdeps/powerpc/fpu/s_sinf.c: New file.
64501         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
64502         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
64504 2011-08-15  Alan Modra  <amodra@gmail.com>
64506         [BZ #13092]
64507         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
64508         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
64509         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
64510         ppc_mcount to static-only-routines.
64511         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
64512         __mcount_internal.
64513         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
64514         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
64516 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
64518         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
64519         for finite and infinity parameters.
64521 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
64523         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
64524         and add nop instructions for throughput optimization.
64525         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64527 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
64529         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
64530         aligned copy for power7 with vector-scalar instructions.
64531         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
64533 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
64535         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
64536         AVX check.
64538 2011-09-07  Andreas Schwab  <schwab@redhat.com>
64540         [BZ #13144]
64541         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
64542         last change.
64544 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
64546         * sysdeps/unix/sysv/linux/x86_64/init-first.c
64547         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
64548         syscall wrapper around clock_gettime in __vdso_clock_gettime.
64549         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
64550         clock_gettime.
64552 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
64554         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
64555         Forgot to demangle the pointer.
64557         * sysdeps/i386/sysdep.h: Define atom_text_section.
64558         * sysdeps/x86_64/sysdep.h: Likewise.
64559         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
64560         section with atom_text_section.
64561         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
64562         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
64563         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
64564         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
64565         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
64567         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
64568         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
64569         already be defined.  Change to take two parameters and don't assign
64570         result to variable.  Adjust all users.
64571         Define INTERNAL_GETTIME if not already defined.
64572         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
64573         call.
64574         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
64575         HAVE_CLOCK_GETTIME_VSYSCALL.
64576         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
64578         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
64579         gettimeofday vsyscall, just use time.
64581 2011-09-06  Andreas Schwab  <schwab@redhat.com>
64583         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
64584         <errno.h>.
64586 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
64588         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
64589         syscall on x86-64.
64590         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
64591         syscall.
64592         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
64593         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
64594         syscall if possible.
64596 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
64598         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
64599         e_ident.  Don't pass to find_mapsXX.
64600         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
64602 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64604         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64605         strchr-sse2-no-bsf strrchr-sse2-no-bsf
64606         * sysdeps/x86_64/multiarch/strchr.S: Update.
64607         Check bit_slow_BSF bit.
64608         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64609         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
64610         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
64612 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
64614         [BZ #13134]
64615         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
64616         before glibc 2.15.
64617         (tryshell): Define.
64618         (__spawni): Change last parameter to be flag.  Test
64619         SPAWN_XFLAGS_USE_PATH flag to use path or not.
64620         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
64621         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
64622         * posix/spawni.c: Likewise.
64623         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
64624         * posix/spawnp.c: Likewise.  Change normal version to use
64625         SPAWN_XFLAGS_USE_PATH.
64626         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
64627         SPAWN_XFLAGS_TRY_SHELL.
64629         [BZ #13150]
64630         * posix/glob.h: Remove gcc 1.x support.
64632         [BZ #13068]
64633         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
64635 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64637         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64638         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
64639         strrchr-sse2-bsf
64640         * sysdeps/i386/i686/multiarch/strchr.S: New file.
64641         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
64642         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
64643         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
64644         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
64645         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
64647 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64649         * sysdeps/x86_64/wcscmp.S: New file.
64651         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
64652         wcscmp-c wcscmp-sse2
64653         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
64654         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
64655         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
64656         * wcsmbs/wcscmp.c: Allow renaming.
64658 2011-09-05  David S. Miller  <davem@davemloft.net>
64660         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
64661         stack slot, rather than the struct return pointer slot.
64662         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
64663         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
64664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
64665         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
64667 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
64669         * po/ja.po: Update from translation team.
64671         [BZ #13144]
64672         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
64673         kernel in 64-bit binaries.
64675 2011-09-01  David S. Miller  <davem@davemloft.net>
64677         * elf/elf.h (HWCAP_SPARC_*): Move to..
64678         * sysdeps/sparc/sysdep.h: this new file and add new values.
64679         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
64680         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
64681         _DL_HWCAP_COUNT to 24.
64682         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
64683         entries.
64684         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
64685         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
64686         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
64687         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
64688         instead of magic constants.
64689         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64691 2011-08-31  David S. Miller  <davem@davemloft.net>
64693         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
64694         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
64695         Reimplement to do errno handling inline.
64696         (SYSCALL_ERROR_HANDLER): New macro.
64697         (__SYSCALL_STRING): Do not do errno handling in asm.
64698         (__CLONE_SYSCALL_STRING): Delete.
64699         (__INTERNAL_SYSCALL_STRING): Delete.
64700         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
64701         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
64702         (PSEUDO): Reimplement to do errno handling inline.
64703         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
64704         (SYSCALL_ERROR_HANDLER): New macro.
64705         (__SYSCALL_STRING): Do not do errno handling in asm.
64706         (__CLONE_SYSCALL_STRING): Delete.
64707         (__INTERNAL_SYSCALL_STRING): Delete.
64708         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
64709         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
64710         i386.
64711         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
64712         (inline_syscall*): Add 'err' argument.
64713         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
64714         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
64715         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
64716         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
64718         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
64719         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64721 2011-08-30  Andreas Schwab  <schwab@redhat.com>
64723         * elf/rtld.c (dl_main): Relocate objects in dependency order.
64725 2011-08-29  Jiri Olsa <jolsa@redhat.com>
64727         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
64728         directive.
64730 2011-08-24  David S. Miller  <davem@davemloft.net>
64732         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
64734 2011-08-24  Andreas Schwab  <schwab@redhat.com>
64736         * elf/Makefile: Add rules to build and run unload8 test.
64737         * elf/unload8.c: New file.
64738         * elf/unload8mod1.c: New file.
64739         * elf/unload8mod1x.c: New file.
64740         * elf/unload8mod2.c: New file.
64741         * elf/unload8mod3.c: New file.
64743         * elf/dl-close.c (_dl_close_worker): Reset private search list if
64744         it wasn't used.
64746 2011-08-23  David S. Miller  <davem@davemloft.net>
64748         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
64749         subtract stack bias.
64750         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
64751         %sp not %fp in calculations.
64752         (_JMPBUF_UNWINDS_ADJ): Likewise.
64754         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
64755         (aio_suspend): Call it to force an exception region around the
64756         AIO_MISC_WAIT() invocation.
64758 2011-08-23  Andreas Schwab  <schwab@redhat.com>
64760         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
64761         backslash.
64763 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
64765         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
64766         protection macro.
64767         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
64768         and <dl-machine.h>.
64769         (Elf64_FuncDesc): Remove.
64771 2011-08-22  David S. Miller  <davem@davemloft.net>
64773         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
64774         sigaltstack check, add missing cfi directives.
64775         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
64776         missing cfi directives, and sigaltstack handling.
64778 2011-08-16  Andreas Schwab  <schwab@redhat.com>
64780         [BZ #11724]
64781         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
64782         object is seen twice.
64783         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64785         * elf/Makefile (distribute): Add tst-initorder2.c.
64786         (tests): Add tst-initorder2.
64787         (modules-names): Add tst-initorder2a tst-initorder2b
64788         tst-initorder2c tst-initorder2d.  Add rules to build them.
64789         ($(objpfx)tst-initorder2.out): New rule.
64790         * elf/tst-initorder2.c: New file.
64791         * elf/tst-initorder2.exp: New file.
64793 2011-08-22  Andreas Schwab  <schwab@redhat.com>
64795         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
64797         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
64798         dependencies back to end of function.
64800         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64801         $(elfobjdir)/ld.so.
64803 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
64805         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
64806         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
64807         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
64808         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
64809         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
64810         of __vdso_gettimeofday.
64811         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
64812         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
64813         attribute_hidden.
64814         (_libc_vdso_platform_setup): Remove initialization of
64815         __vdso_gettimeofday and __vdso_time.
64817 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
64819         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
64820         and fgetc_unlocked.
64821         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
64822         getc_unlocked.
64824         * elf/dl-open.c (add_to_global): Report additions to the global scope
64825         for LD_DEBUG=scopes.
64826         (dl_open_worker): Also print scope of newly loaded dependencies.
64827         (_dl_show_scope): Indicate if there is no scope.
64829         [BZ #13114]
64830         * stdio-common/Makefile (tests): Add bug24.
64831         * stdio-common/bug24.c: New file.
64833 2011-08-19  Andreas Jaeger  <aj@suse.de>
64835         [BZ #13114]
64836         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
64837         non-existant file when using close-on-exec mode.
64839 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
64841         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
64842         the very first instruction.
64844         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
64845         the CFI state in the end.
64846         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
64847         inclusion of dl-trampoline.h.
64848         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
64850 2011-08-19  Andreas Schwab  <schwab@redhat.com>
64852         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
64853         expectations for long double.
64855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
64856         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
64858 2011-08-14  David S. Miller  <davem@davemloft.net>
64860         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
64861         artificual limit depends upon the system page size.
64863 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
64865         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
64866         * resolv/Makefile: Define CFLAGS-libresolv.
64868 2011-08-17  Andreas Schwab  <schwab@redhat.com>
64870         * nss/makedb.c (compute_tables): Make variables used in nested
64871         function static.
64873 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
64875         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
64876         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
64877         if buffer was too small.
64879         * elf/pldd.c (main): Attach to all threads in the process.
64880         Rewrite /proc handling to use *at functions.
64882 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
64884         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
64885         specifies first scope to show.
64886         (dl_open_worker): Update callers.  Move printing scope of new
64887         object to before the relocation.
64888         * elf/rtld.c (dl_main): Update _dl_show_scope call.
64889         * sysdeps/generic/ldsodefs.h: Update declaration.
64891         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
64892         string for the scope number.
64894 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
64896         * nscd/servicescache.c (cache_addserv): Make sure written is always
64897         initialized.
64899 2011-08-14  Roland McGrath  <roland@hack.frob.com>
64901         * sysdeps/i386/i486/bits/atomic.h
64902         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
64903         statement expression, so as to suppress "set but not used" warning.
64904         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
64906         * string/strncat.c (STRNCAT): Use prototype definition.
64908         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
64909         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
64910         -Iprograms here.
64911         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
64912         (localedef-modules): Add localedef.
64913         (locale-modules): Add locale.
64915         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
64916         * elf/rtld.c (dl_main): Invert order of assignment in last change,
64917         to avoid a warning.
64919 2011-08-14  David S. Miller  <davem@davemloft.net>
64921         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
64922         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
64924 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
64926         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
64927         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
64928         * elf/rtld.c (dl_main): Set l_name of vDSO.
64929         Call _dl_show_scope when DL_DEBUG_SCOPES.
64930         (process_dl_debug): Recognize scopes flag and also set it for all.
64931         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
64932         Declare _dl_show_scope.
64934         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
64935         (do_dlopen): Pass caller_dlopen to dl_open.
64936         (__libc_dlopen_mode): Initialize caller_dlopen.
64938         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
64939         of libc.  Make tolower call locale-independent.  Optimize a bit by
64940         using isdigit instead of isalnum.
64941         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
64943 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
64945         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
64946         was a dependency or dynamically loaded.
64948 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
64950         * intl/l10nflist.c: Allow architecture-specific pop function.
64951         * sysdeps/x86_64/l10nflist.c: New file.
64953         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
64954         classification.
64956 2011-08-10  Andreas Schwab  <schwab@redhat.com>
64958         * include/dirent.h: Add libc_hidden_proto for scandirat and
64959         scandirat64.  Don't declare __scandirat64.
64960         * dirent/scandirat.c: Add libc_hidden_def.
64961         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
64962         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
64964 2011-08-10  David S. Miller  <davem@davemloft.net>
64966         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
64967         enum.
64968         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64969         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64970         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64972 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
64974         * Versions.def [libc]: Add GLIBC_2.15.
64975         * dirent/Makefile (routines): Add scandirat and scandirat64.
64976         * dirent/Versions [libc]: Export scandirat and scandirat64 for
64977         GLIBC_2.15.
64978         * dirent/dirent.h: Declare scandirat and scandirat64.
64979         * dirent/scandirat.c: New file.
64980         * dirent/scandirat64.c: New file.
64981         * sysdeps/wordsize-64/scandirat.c: New file.
64982         * sysdeps/wordsize-64/scandirat64.c: New file.
64983         * dirent/opendir.c: Define opendirat.
64984         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
64985         using scandirat.
64986         * dirent/scandir64.c: Adjust for scandir.c change.
64987         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
64988         __scandirat64, and __scandir_cancel_handler.
64989         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
64990         additional parameter and use openat instead of open (outside of ld.so).
64991         Add new __opendir as wrapper around __opendirat.
64992         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
64993         here without requiring old scandirat implementation.
64995 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
64997         * dirent/scandir.c (cancel_handler): Renamed to
64998         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
64999         defined.  Adjust users.
65000         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
65001         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
65003 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
65005         * string/test-string.h (IMPL): Use __STRING to expand name and then
65006         stringify it.
65008         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
65009         of cleanups.
65011 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65013         * string/Makefile: Update.
65014         (strop-tests): Append strncat.
65015         * string/test-wcscmp.c: New file.
65016         New comprehensive test for wcscmp.
65017         * string/test-strcmp.c: Update.
65018         (WIDE): New define.
65020 2011-07-22  Andreas Schwab  <schwab@redhat.com>
65022         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
65023         line.
65025 2011-07-26  Andreas Schwab  <schwab@redhat.com>
65027         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
65028         encoding to ACE if AI_IDN.
65030 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
65032         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
65033         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
65035 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65037         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
65038         Fix overflow bug in strncat.
65039         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
65041         * string/test-strncat.c: Update.
65042         Add new tests for checking overflow bugs.
65044 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65046         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65047         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
65048         * sysdeps/i386/i686/multiarch/strcat.S: New file.
65049         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
65050         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
65051         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
65052         * sysdeps/i386/i686/multiarch/strncat.S: New file.
65053         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
65054         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
65056         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
65057         (USE_AS_STRCAT): Define.
65058         Add strcat and strncat support.
65059         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
65061 2011-07-25  Andreas Schwab  <schwab@redhat.com>
65063         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
65064         __n bigger than INT_MAX+1.
65065         (__strncmp_g): Likewise.
65067 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
65069         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
65070         * libio/stido.h: Likewise.
65072         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
65073         (AF_NFC): Define.
65074         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
65075         (AF_NFC): Define.
65077         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
65078         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
65079         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
65080         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
65081         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
65083         [BZ #13021]
65084         * scripts/test-installation.pl: Don't expect libnss_test1 to be
65085         installed.
65087         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
65088         typo.
65089         (_dl_x86_64_save_sse): Likewise.
65091 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
65093         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
65094         OSXSAVE.
65095         (_dl_x86_64_save_sse): Likewise.
65097         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
65099         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
65101 2011-07-21  Andreas Schwab  <schwab@redhat.com>
65103         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
65104         change.
65105         (_dl_x86_64_save_sse): Use correct AVX check.
65107 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65109         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
65110         bug in strncpy/strncat.
65111         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
65113 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
65115         * string/tester.c (test_strcat): Add tests for different alignments
65116         of source and destination.
65117         (test_strncat): Likewise.
65119 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
65121         [BZ #12852]
65122         * posix/glob.c (glob): Check passed in values before using them in
65123         expressions to avoid some overflows.
65124         (glob_in_dir): Likewise.
65126         [BZ #13007]
65127         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
65128         check for AVX enablement so that we don't crash with old kernels and
65129         new hardware.
65130         * elf/tst-audit4.c: Add same checks here.
65131         * elf/tst-audit6.c: Likewise.
65133         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
65135 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
65137         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
65139 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
65141         * po/cs.po: Update from translation team.
65142         * po/bg.po: Likewise.
65144 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
65146         * misc/sys/cdefs.h: Add support for const attribute.
65147         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
65148         to gnu_dev_{major,minor,makedev} functions.
65150 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
65152         * intl/dcigettext.c (get_output_charset): Add missing bracket.
65154 2011-07-20  Andreas Schwab  <schwab@redhat.com>
65156         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
65157         strlen results.
65159 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65161         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
65162         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
65163         register in order to avoid conflicts with the soft frame pointer
65164         being held in r11 when necessary.
65165         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
65166         (INTERNAL_VSYSCALL_NCS): Likewise.
65168 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
65170         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
65171         * elf/dl-fini.c (_dl_fini): Adjust caller.
65172         * elf/dl-close.c (_dl_close_worker): Likewise.
65173         * sysdeps/generic/ldsodefs.h: Adjust declaration.
65175 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
65177         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
65178         "aux_cache->nlibs < 0".
65180         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
65181         in the reload-count case.
65183 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65185         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65186         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
65187         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
65188         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
65189         * sysdeps/x86_64/multiarch/strcat.S: New file.
65190         * sysdeps/x86_64/multiarch/strncat.S: New file.
65191         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
65192         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
65193         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
65194         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
65195         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
65196         (USE_AS_STRCAT): Define.
65197         Add strcat and strncat support.
65198         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
65199         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
65200         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
65201         * string/strncat.c: Update.
65202         (USE_AS_STRNCAT): Define.
65203         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65204         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
65205         and i7.
65206         * sysdeps/x86_64/multiarch/init-arch.h
65207         (bit_Prefer_PMINUB_for_stringop): New.
65208         (index_Prefer_PMINUB_for_stringop): Likewise.
65209         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
65210         bit_Prefer_PMINUB_for_stringop.
65212 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
65214         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
65215         buffer64.
65216         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
65217         of casting of buffer.
65218         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
65219         buffer32 and buffer64.
65220         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
65221         writes instead of casting of buffer.
65222         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
65223         buffer32.
65224         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
65225         casting of buffer.
65227 2011-07-19  Andreas Schwab  <schwab@redhat.com>
65229         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
65231 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
65233         * nscd/nscd.c (termination_handler): Don't do anything for a database
65234         if it has not yet been initialized.
65236 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
65238         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
65240 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
65242         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
65244 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
65246         * po/nl.po: Update from translation team.
65247         * po/sv.po: Likewise.
65249 2011-07-16  Roland McGrath  <roland@hack.frob.com>
65251         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
65252         now disallowed by GCC.
65254         * configure.in (use-default-link): Default to yes if a test -shared
65255         link meets our qualifications.
65256         * configure: Regenerated.
65258         * config.make.in (output-format): New variable.
65259         * configure.in: Check for ld --print-output-format support.
65260         * configure: Regenerated.
65261         * Makerules ($(common-objpfx)format.lds)
65262         [$(output-format) != unknown]: Just use $(output-format),
65263         instead of the linker-script munging.
65265 2011-07-14  Roland McGrath  <roland@hack.frob.com>
65267         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
65268         of $(common-objpfx)shlib.lds.
65269         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
65271         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
65272         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
65274         * configure.in (-z relro check): Adjust test code to add a large
65275         writable data section after it.
65276         * configure: Regenerated.
65278 2011-07-11  Roland McGrath  <roland@hack.frob.com>
65280         * configure.in (-z relro check): Fix test code to make the variable
65281         truly const.
65282         * configure: Regenerated.
65284 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
65286         * nscd/nscd.h (struct traced_file): Define.
65287         (struct database_dyn): Remove inotify_descr, reset_res, and filename
65288         elements.  Add traced_files.
65289         (inotify_fd): Declare.
65290         (register_traced_file): Declare.
65291         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
65292         (inotify_fd): Export.
65293         (resolv_conf_descr): Remove.
65294         (nscd_init): Move inotify descriptor creation to main.
65295         Don't register files for notification here.
65296         (register_traced_file): New function.
65297         (invalidate_cache): Don't use reset_res to determine whether to call
65298         res_init, go through the list of registered files.
65299         (main_loop_poll): The inotify descriptors are now stored in the
65300         structures for the traced files.
65301         (main_loop_epoll): Likewise
65302         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
65303         to __nss_disable_nscd.
65304         * nscd/cache.c (prune_cache): There is no single inotify descriptor
65305         for a database anymore.  Check the records for all the registered
65306         files instead.
65307         * nss/Makefile (libnss_files-routines): Add files-init.
65308         (libnss_db-routines): Add db-init.
65309         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
65310         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
65311         * nss/nss_db/db-init.c: New file.
65312         * nss/nss_files/files-init.c: New file.
65313         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
65314         __nss_lookup_function.
65315         (__nss_lookup_function): Call nss_load_library.
65316         (nss_load_all_libraries): New function.
65317         (__nss_disable_nscd): Take parameter with callback function for files
65318         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
65319         used for the cached services.
65320         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
65321         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
65322         options for features to all the files in nscd.
65324         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
65326 2011-07-10  Roland McGrath  <roland@hack.frob.com>
65328         * csu/elf-init.c (__libc_csu_init): Comment typo.
65330 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
65332         * po/pl.po: Update from translation team.
65333         * po/ja.po: Likewise.
65334         * po/ru.po: Likewise.
65335         * po/ko.po: Likewise.
65336         * po/fr.po: Likewise.
65338 2011-07-09  Roland McGrath  <roland@hack.frob.com>
65340         * configure.in (.ctors/.dtors header and trailer check):
65341         Use an empirical test on a built program.
65342         * configure: Regenerated.
65344         * configure.in (-z relro check): Use an empirical test on a built DSO.
65345         Detect, but do not require, on ia64.
65346         * configure: Regenerated.
65348         * configure.in (READELF): Find it with AC_CHECK_TOOL.
65349         Update tests that use readelf to use $READELF instead.
65350         * configure: Regenerated.
65352 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
65354         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
65355         if the result is not used.
65357 2011-07-05  Andreas Jaeger  <aj@suse.de>
65359         [BZ#9696]
65360         * stdlib/tst-strtod.c: Add testcase.
65362 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
65364         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
65365         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
65366         The latter has a higher limit.  Take additional parameter to pass to
65367         the new function.
65368         (__pathconf): Pass file to __statfs_link_max.
65369         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
65370         __statfs_link_max.
65371         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
65372         __statfs_link_max.
65374         [BZ #12868]
65375         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
65376         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65377         Handle Lustre.
65378         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
65379         (__statfs_filesize_max): Likewise.
65380         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
65382 2011-07-05  Andreas Jaeger  <aj@suse.de>
65384         * resolv/res_comp.c (dn_skipname): Remove unused variable.
65386 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
65388         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
65389         `status' variable.
65390         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
65391         Likewise.
65393 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
65395         * Makefile (strop-tests): Add strncat.
65396         * string/test-strncat.c: New file.
65398 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
65400         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
65402 2011-06-21  Andreas Jaeger  <aj@suse.de>
65404         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
65405         Copy rule from iconvdata/Makefile.
65407 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
65409         [BZ #12922]
65410         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
65411         but no long options are defined, just return 'W'.
65413 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
65415         [BZ #9696]
65416         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
65418 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
65420         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
65421         netgroups to read.
65422         (innetgr): Likewise.
65424 2011-07-05  Roland McGrath  <roland@hack.frob.com>
65426         * config.make.in (install_root): Default to $(DESTDIR).
65428 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
65430         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
65432 2011-07-02  Roland McGrath  <roland@hack.frob.com>
65434         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
65436         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
65437         containing directory rather than embedding absolute directory names.
65439         * scripts/check-local-headers.sh: Rewritten using awk.
65440         Match by word, not by line.  Print error messages for matches.
65441         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
65443         * Makerules [shlib-lds-flags empty]:
65444         ($(common-objpfx)libc_pic.opts): New target.
65445         ($(common-objpfx)libc_pic.os.clean): New target.
65446         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
65448         * config.make.in (OBJCOPY): New variable.
65449         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
65450         * configure: Regenerated.
65452         * config.make.in (use-default-link): New variable.
65453         * configure.in (use_default_link): Grok --with-default-link to set it.
65454         * configure: Regenerated.
65455         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
65456         (shlib-lds, shlib-lds-flags): Define to empty.
65458         * Makerules (shlib-lds): New variable.
65459         (shlib-lds-flags): New variable.
65460         (build-shlib, build-moduile, build-module-asneeded): Use it.
65461         ($(common-objpfx)libc.so): Use $(shlib-lds).
65462         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
65463         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
65465         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
65466         DT_FLAGS/DT_FLAGS_1 with zero flags.
65468         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
65469         linker script munging.
65471 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
65473         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
65474         as 128-bit value.
65475         * crypt/sha512.c (sha512_process_block): Perform total addition using
65476         128-bit if possible.
65477         (__sha512_finish_ctx): Likewise.
65478         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
65479         as 64-bit value.
65480         * crypt/sha256.c (SWAP64): Define.
65481         (sha256_process_block): Perform total addition using 64-bit if
65482         possible.
65483         (__sha256_finish_ctx): Likewise.
65485 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
65487         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
65488         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65489         * nscd/hstcache.c (cache_addhst): Likewise.
65490         * nscd/grpcache.c (cache_addgr): Likewise.
65491         * nscd/aicache.c (addhstaiX): Likewise
65492         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
65494 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
65496         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
65497         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65498         * nscd/hstcache.c (cache_addhst): Likewise.
65499         * nscd/grpcache.c (cache_addgr): Likewise.
65500         * nscd/aicache.c (addhstaiX): Likewise
65502 2011-07-01  Andreas Schwab  <schwab@redhat.com>
65504         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
65505         domain only when needed.
65507 2011-06-30  Andreas Schwab  <schwab@redhat.com>
65509         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
65510         is always restored.
65512 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
65514         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
65515         are re-adding the entry.
65516         * nscd/servicescache.c (cache_addserv): Likewise.
65518 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
65520         * sysdeps/generic/dl-irel.h: fix protection against multiple
65521         inclusions.
65522         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
65524 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
65526         [BZ #12935]
65527         * malloc/memusage.sh: Fix quoting in message.
65528         * debug/xtrace.sh: Likewise.
65530         * configure.in: Remove support for --experimental-malloc option, make
65531         it the default.
65532         * config.make.in: Likewise.
65533         * malloc/Makefile: Likewise.
65535 2011-06-27  Andreas Schwab  <schwab@redhat.com>
65537         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
65538         two-byte characters.
65540 2011-06-27  Roland McGrath  <roland@hack.frob.com>
65542         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
65543         AC_CACHE_CHECK invocation.
65544         * configure: Regenerated.
65546         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
65548 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
65550         [BZ #12350]
65551         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
65552         bit from old_res_options.
65554         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
65556         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
65557         value type for setfct.
65559 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
65561         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
65562         __gettimeofday instead of gettimeofday.
65564 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
65566         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
65568 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
65570         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
65572         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
65573         info.
65575 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
65577         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65578         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
65579         strcpy-sse2-unaligned strncpy-sse2-unaligned
65580         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
65581         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
65582         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
65583         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
65584         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
65585         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
65586         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
65587         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
65588         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
65589         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
65590         (STRCPY): Support SSE2 and SSSE3 versions.
65592 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
65594         [BZ #12874]
65595         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
65596         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
65597         kernels which artificially limit size of requests.
65599 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
65601         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65602         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
65603         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
65604         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
65605         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
65606         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
65607         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
65608         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
65609         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
65610         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
65611         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
65612         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
65613         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
65614         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
65615         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
65616         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65617         Enable unaligned load optimization for Intel Core i3, i5 and i7
65618         processors.
65619         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
65620         Define.
65621         (index_Fast_Unaligned_Load): Define.
65622         (HAS_FAST_UNALIGNED_LOAD): Define.
65624 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
65626         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
65628 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
65630         [BZ #12907]
65631         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
65632         until it is clear that the information is realy needed.
65633         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
65635 2011-06-22  Andreas Schwab  <schwab@redhat.com>
65637         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
65639 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
65641         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
65642         /sys/devices/system/cpu/online if it is usable.
65644         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
65645         reading the information from the /proc filesystem to once a second.
65647 2011-06-21  Andreas Jaeger  <aj@suse.de>
65649         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
65650         NULL after inclusion of kernel headers.
65652 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
65654         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
65655         calls to internal_setent.
65657         [BZ #12885]
65658         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
65659         addresses using gethostbyname4_r ignore IPv4 addresses.
65661         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
65662         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
65664         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
65666 2011-06-20  David S. Miller  <davem@davemloft.net>
65668         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
65669         inclusions.
65670         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
65672         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
65673         (elf_irel): Use it.
65674         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
65675         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
65676         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
65677         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
65678         * sysdeps/x86_64/dl-irel.h: Likewise.
65680         * elf/dl-runtime.c: Use elf_ifunc_invoke.
65681         * elf/dl-sym.c: Likewise.
65683 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
65685         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
65686         need to dereference resplen2.
65688 2011-06-14  Andreas Schwab  <schwab@redhat.com>
65690         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
65692 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
65694         * Makeconfig: Define vardbdir and inst_vardbdir.
65695         * nss/Makefile: Add rules to install db-Makefile.
65697         * nss/nss_db/db-XXX.c: Cleanup.
65699         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
65700         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
65701         GLIBC_PRIVATE.
65702         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
65703         * nss/makedb.c: Implement -g option to specify that value strings
65704         are generated and should not be added to table iterated over for
65705         get*ent calls.
65706         * nss/nss_db/db-initgroups.c: New file.
65708         * nss/getent.c: Add support for initgroups lookups through getgrouplist
65709         interface.
65711         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
65712         (internal_getgrouplist): Adjust to name change.
65713         Update use_initgroups_entry if this is not the first call.
65714         * nss/databases.def: Add initgroups entry.
65716         * nss/makedb.c (compute_tables): Check result of multiple hash table
65717         sizes to minimize maximum chain length.
65719 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
65721         * Versions.def: Add entry for libnss_db.
65722         * shlib-versions: Likewise.
65723         * nss/Makefile: Add rules to build libnss_db.
65724         * nss/Versions: Add libnss_db information.  Organize libnss_files
65725         entries better.
65726         * nss/db-Makefile: Add gshadow support.  Change rules for the new
65727         makedb progra.  Some minor improvements to generate smaller files.
65728         * nss/nss_db/nss_db.h: Move NSS database header data structures to
65729         here from...
65730         * nss/makedb.c: ...here.
65731         Improve database format to be smaller and require less memory at
65732         runtime.
65733         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
65734         db anymore.
65735         * nss/nss_db/db-netgrp.c: Likewise.
65736         * nss/nss_db/db-open.c: Likewise.
65737         * nss/nss_files/flies-XXX.x: Adjust comments.
65738         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
65739         * nss/nss_files/files-grp.c: Likewise.
65740         * nss/nss_files/files-hosts.c: Likewise.
65741         * nss/nss_files/files-network.c: Likewise.
65742         * nss/nss_files/files-proto.c: Likewise.
65743         * nss/nss_files/files-pwd.c: Likewise.
65744         * nss/nss_files/files-rpc.c: Likewise.
65745         * nss/nss_files/files-service.c: Likewise.
65746         * nss/nss_files/files-sgrp.c: Likewise.
65747         * nss/nss_files/files-spwd.c: Likewise.
65748         * nss/nss_db/db-alias.c: Removed.
65749         * nss/nss_db/dummy-db.h: Removed.
65751 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
65753         * nss/makedb.c: Rewritten to not use database library.
65754         * nss/Makefile: Update to build new makedb program.
65756 2011-06-14  Andreas Jaeger  <aj@suse.de>
65758         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
65759         memset declaration.
65761 2011-06-10  Andreas Schwab  <schwab@redhat.com>
65763         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
65764         tmpbuf.
65766 2011-06-10  Roland McGrath  <roland@hack.frob.com>
65768         * Makerules (shlib.lds): Fail if the linker script comes out empty.
65769         * elf/Makefile ($(objpfx)ld.so): Likewise.
65771         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
65772         Don't list ld.so twice in dependencies.
65774         * posix/bug-regex31.c: Include <stdlib.h>.
65776         * nscd/hstcache.c (cache_addhst): Remove unused variable.
65778         * nis/nss_compat/compat-spwd.c
65779         (getspent_next_nss_netgr): Remove unused variable.
65780         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
65782         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
65783         nonmembers" output to use the right array.
65785         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
65787         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
65789         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
65790         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
65791         * catgets/gencat.c (read_input_file): Likewise.
65792         * locale/programs/locarchive.c (enlarge_archive): Likewise.
65794         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
65795         variable definition inside #if's controlling its use.
65797         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
65799         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
65801         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
65803         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
65804         unreachable code.
65806         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
65808         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
65809         * configure: Regenerated.
65811         * Makerules: Revert last change.
65812         * elf/Makefile: Likewise.
65814 2011-06-09  Roland McGrath  <roland@hack.frob.com>
65816         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
65817         * elf/Makefile ($(objpfx)librtld.os): Likewise.
65818         (reloc-link): Likewise.
65820 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
65822         * elf/Makefile: Add rules to build pldd.
65823         * elf/pldd.c: New file.
65824         * elf/pldd-xx.c: New file.
65826 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
65828         * version.h: Update for 2.15 development version.
65830 2011-06-07  David S. Miller  <davem@davemloft.net>
65832         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
65833         ifuncs.
65834         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
65835         elf_machine_lazy_rel): Likewise.
65836         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
65837         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
65838         elf_machine_lazy_rel): Likewise.
65839         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
65840         dl_hwcap via passed in argument.
65841         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
65842         Likewise.
65844 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65846         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
65848 2011-06-06  Roland McGrath  <roland@hack.frob.com>
65850         [BZ #12849]
65851         * manual/fdl-1.1.texi: New file, verbatim from:
65852         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
65853         * manual/lgpl-2.1.texi: New file, verbatim from:
65854         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
65855         * manual/Makefile (licenses): New variable, list those new file names.
65856         (texis): Use it.
65857         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
65859         * manual/fdl.texi: File removed.
65860         * manual/lesser.texi: File removed.
65861         * manual/libc.texinfo (Copying, Documentation License):
65862         Use new @include file names, put @appendix directive before @include.
65864 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
65866         [BZ #12841]
65867         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
65868         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
65869         (mq_open): Add __NTH.
65871 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
65873         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65874         Assume Intel Core i3/i5/i7 processor if AVX is available.
65876 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
65878         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
65879         typo.
65881 2011-05-31  Andreas Schwab  <schwab@redhat.com>
65883         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
65884         memory.  Use alloca_account.  Fix memory leak when retrying.
65886 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
65888         * version.h (RELEASE): Bump for 2.14 release.
65889         * include/features.h (__GLIBC_MINOR__): Bump to 14.
65891         * config.make.in (RANLIB): Remove entry.
65893 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
65895         * po/Makefile (po-sed-cmd): Add ksh to extensions.
65896         (libc.pot): Work around missing support for .ksh extension in xgettext.
65898         [BZ #12684]
65899         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
65900         if both request failed.
65901         (send_dg): In case of server errors clear resplen or *resplen2.
65903         [BZ #12454]
65904         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
65905         when there are multiple maps.
65906         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
65907         (_dl_fini): Remove test here.
65909         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
65911 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
65913         [BZ #12350]
65914         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
65915         bit from old_res_options.
65916         (gaih_inet): Likewise.
65918         [BZ #11099]
65919         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
65920         as signed.
65922         * resolv/res_init.c (res_setoptions): Make the code more compact.
65924         [BZ #11558]
65925         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
65926         set RES_USEVC.
65928         [BZ #11634]
65929         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
65931         * malloc/malloc.h: Mark malloc hook variables as deprecated.
65933         [BZ #11781]
65934         * malloc/malloc.h: Declare malloc hook variables as volatile.
65936         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
65937         in last patch.
65939         [BZ #11799]
65940         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
65941         raise in the comment.
65942         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
65943         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
65944         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
65946 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
65948         [BZ #12811]
65949         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
65950         grow the buffers more if it already has to be sufficient.
65951         (build_wcs_upper_buffer): Likewise.
65952         * posix/regexec.c (check_matching): Likewise.
65953         (clean_state_log_if_needed): Likewise.
65954         (extend_buffers): Don't enlarge buffers beyond size of the input
65955         buffer.
65956         Patches mostly by Emil Wojak <emil@wojak.eu>.
65957         * posix/bug-regex32.c: New file.
65958         * posix/Makefile (tests): Add bug-regex32.
65960         * locale/findlocale.c (_nl_find_locale): Return right away if
65961         _nl_explode_name failed.
65962         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
65964         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
65966         * debug/xtrace.sh: Unify messages.
65967         * malloc/memusage.sh: Likewise.
65969         [BZ #12813]
65970         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
65971         time symbol from vDSO.  Substitute with vsyscall if not available.
65972         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
65973         __vdso_time.
65975         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
65976         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
65977         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
65978         Add sendmmsg and internal_sendmmsg.
65979         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
65980         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
65981         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
65983         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
65984         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
65985         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
65987 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
65989         [BZ #12813]
65990         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
65991         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
65992         available.
65993         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
65994         __vdso_getcpu.
65996         [BZ #12814]
65997         * iconvdata/Makefile (tests): Add bug-iconv9.
65998         * iconvdata/bug-iconv9.c: New file.
66000 2011-05-27  Andreas Schwab  <schwab@redhat.com>
66002         [BZ #12814]
66003         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
66005 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
66007         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
66008         (struct user_regs_struct): Change intcs field back to cs.
66010 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
66012         * po/ja.po: Update from translation team.
66014 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
66016         [BZ #12795]
66017         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
66018         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
66020 2011-05-20  Andreas Schwab  <schwab@redhat.com>
66022         * stdlib/longlong.h: Update from GCC.
66024 2011-05-23  Andreas Schwab  <schwab@redhat.com>
66026         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
66027         parameter name.
66028         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
66029         Add parameter name.
66030         (__sysconf): Pass it down.
66032 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
66034         [BZ #12671]
66035         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
66036         some situations.
66037         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
66038         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
66039         add in in __libc_use_alloca calls.  Adjust callers.
66040         (glob): Use malloc in some situations.
66042         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
66043         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
66044         pltexit.
66046 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
66048         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
66049         and CLOCK_BOOTTIME_ALARM.
66051         [BZ #12782]
66052         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
66053         is returned.
66055         * string/_strerror.c (__strerror_r): Print negative errors as signed
66056         numbers.
66058         [BZ #12777]
66059         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
66060         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
66061         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
66063         * configure.in: Fix typo in redirection and correct removal of test
66064         files in two cases.
66066         [BZ #12788]
66067         * locale/setlocale.c (new_composite_name): Fix test to check for
66068         identical name of all categories.
66070         [BZ #12792]
66071         * libio/filedoalloc.c (local_isatty): New function.
66072         (_IO_file_doallocate): Use local_isatty.
66073         * stdio-common/perror.c (perror): In case a new stream is used
66074         forward the stream error.
66075         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
66076         error flag.
66078 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
66080         [BZ #11869]
66081         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
66082         alloca.
66083         * include/alloca.h (extend_alloca_account): Define.
66085         [BZ #11857]
66086         * posix/regex.h: Fix comments with documentation of user-accessible
66087         fields after compilation and describe correct free'ing of pattern
66088         after re_compile_pattern.
66089         Patch by Reuben Thomas <rrt@sc3d.org>.
66091 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
66093         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
66094         and -mno-altivec to prevent the compiler from using Altivec and/or
66095         VSX instructions when the corresponding registers are not available.
66097 2011-05-19  Andreas Schwab  <schwab@redhat.com>
66099         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
66101 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
66103         * libio/freopen.c (freopen): Use __dup2, not dup2.
66104         * libio/freopen64.c (freopen64): Likewise.
66106 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66108         [BZ #12775]
66109         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
66110         * math/Makefile (tests): Add test-powl.
66111         (CFLAGS-test-powl.c): Define.
66112         * math/test-powl.c: New file.
66114 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66116         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
66118 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
66120         [BZ #11837]
66121         * iconvdata/gb18030.c: Update to GB18020-2005.
66123 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
66125         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
66126         RE_SYNTAX_POSIX_AWK): Update to match recent development.
66127         Patch by Aharon Robbins <arnold@skeeve.com>.
66129         [BZ #11892]
66130         * stdlib/putenv.c (putenv): Don't always create copy of the variable
66131         on the stack.
66133         [BZ #11895]
66134         * misc/pselect.c (__pselect): Handle timeout value errors hidden
66135         through underflows.
66137         [BZ #12766]
66138         * misc/error.c (error_at_line): Ensure file_name and old_file_name
66139         point to strings before performing equality test for error_one_per_line
66140         mode.
66142         [BZ #11697]
66143         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
66145         [BZ #11820]
66146         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
66147         (struct user_fpregs_struct): Avoid __uint*_t types.
66149         [BZ #6420]
66150         * malloc/mtrace.c (tr_where): Add additional parameter to point to
66151         symbol info.  Use it instead of calling _dl_addr locally.
66152         (lock_and_info): New function.
66153         (tr_freehook): Call lock_and_info and pass symbol info as additional
66154         parameter to tr_where.
66155         (tr_mallochook): Likewise.
66156         (tr_reallochook): Likewise.
66157         (tr_memalignhook): Likewise.
66159         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
66160         used and couldn't be at all thread-safe.
66162 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
66164         * libio/freopen.c (freopen): Don't close old file descriptor
66165         before the new one is opened.  Instead dup the new file descriptor
66166         to the old one after the new stream is created.
66167         * libio/freopen64.c (freopen64): Likewise.
66168         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
66169         * libio/fileops.c (_IO_new_file_close_it): Handle new
66170         _IO_FLAGS2_NOCLOSE flag.
66171         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
66172         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
66173         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
66174         _IO_FLAGS2_NOCLOSE flag.
66175         * include/unistd.h: Add hidden_proto for dup3.
66176         Define __have_dup3.
66177         * io/dup3.c: Define hidden symbol.
66178         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
66180         [BZ #7101]
66181         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
66182         when an incomplete long option is used.
66183         * posix/tst-getopt_long1.c: New file.
66184         * posix/Makefile (tests): Add tst-getopt_long1.
66186         [BZ #10138]
66187         * scripts/config.guess: Update from autoconf-2.68.
66188         * scripts/config.sub: Likewise.
66190         [BZ #10157]
66191         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
66192         tests into ...
66193         (has_cpuclock): ...this.  New function.
66194         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
66195         macro here based on has_cpuclock code.
66197         [BZ #10149]
66198         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66199         First byte (not low byte) is now always NUL.
66200         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
66202         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66203         Use non-cancelable interfaces.
66205         [BZ #9809]
66206         * locale/iso-639.def: Add entry for Sorani.
66208         [BZ #11901]
66209         * include/stdlib.h: Move include protection to the right place.
66210         Define abort_msg_s.  Declare __abort_msg with it.
66211         * stdlib/abort.c (__abort_msg): Adjust type.
66212         * assert/assert.c (__assert_fail_base): New function.  Majority
66213         of code from __assert_fail.  Allocate memory for __abort_msg with
66214         mmap.
66215         (__assert_fail): Now call __assert_fail_base.
66216         * assert/assert-perr.c: Remove bulk of implementation.  Use
66217         __assert_fail_base.
66218         * include/assert.hL Declare __assert_fail_base.
66219         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
66220         mmap.
66221         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
66223 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
66225         [BZ #11952]
66226         [BZ #12453]
66227         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
66228         until all modules are registered in the DTV.
66229         * elf/Makefile: Add rules to build and run tst-tls19.
66230         * elf/tst-tls19.c: New file.
66231         * elf/tst-tls19mod1.c: New file.
66232         * elf/tst-tls19mod2.c: New file.
66233         * elf/tst-tls19mod3.c: New file.
66234         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
66236         [BZ #12083]
66237         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
66238         correctly.
66240         [BZ #12601]
66241         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
66242         two-byte sequence errors.
66243         * iconvdata/Makefile (tests): Add bug-iconv8.
66244         * iconvdata/bug-iconv8.c: New file.
66246         [BZ #12626]
66247         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
66248         buf2 definition.
66250         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
66252         [BZ #12432]
66253         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
66254         (dummy_getcfa): New function.
66255         (init): Get _Unwind_GetCFA address, use dummy if not found.
66256         (backtrace_helper): In recursion check, also check whether CFA changes.
66257         (__backtrace): Completely initialize arg.
66259         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
66260         storing incomplete byte sequence in state object.  Avoid testing for
66261         guaranteed too small input if we know there is enough data available.
66263 2011-05-11  Andreas Schwab  <schwab@redhat.com>
66265         * Makeconfig (+link-pie): Indent.
66266         * Rules (binaries-pie): Define if $(have-fpie) and
66267         $(build-shared).
66268         (binaries-shared): Also filter out $(binaries-pie).
66269         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
66270         * nscd/Makefile (others-pie): Add nscd.
66271         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
66272         ($(objpfx)nscd): Remove command override.
66273         * login/Makefile (others-pie): Add pt_chown.
66274         ($(objpfx)pt_chown): Remove command override.
66275         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
66276         remove command overrides.
66278 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
66280         * libio/tst_putwc.c: Fix error messages.
66282         [BZ #12724]
66283         * libio/fileops.c (_IO_new_file_close_it): Always flush when
66284         currently writing and seek to current position when not.
66285         * libio/Makefile (tests): Add bug-fclose1.
66286         * libio/bug-fclose1.c: New file.
66288 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
66290         [BZ #12511]
66291         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
66292         don't set DF_1_NODELETE here.
66293         (do_lookup_x): When entering new entry test for copy relocation
66294         and if necessary set DF_1_NODELETE flag.
66295         * elf/tst-unique4.cc: New file.
66296         * elf/tst-unique4.h: New file.
66297         * elf/tst-unique4lib.cc: New file.
66298         * elf/Makefile: Add rules to build and run tst-unique4.
66299         Patch by Piotr Bury <pbury@goahead.com>.
66301 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
66303         [BZ #12052]
66304         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
66306         [BZ #12625]
66307         * misc/mntent_r.c (addmntent): Flush the stream after the output
66309         [BZ #12393]
66310         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
66311         (is_trusted_path_normalize): Skip initial colon.  Append slash
66312         to empty buffer.  Duplicate is_trusted_path code but allow
66313         constructed patch to be prefix.
66314         (is_dst): Allow $ORIGIN followed by /.
66315         (_dl_dst_substitute): Correct clearing of check_for_trusted.
66316         Correct testing of result of is_trusted_path_normalize
66317         (decompose_rpath): Fix warning.
66319 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
66321         [BZ #11257]
66322         * grp/initgroups.c (internal_getgrouplist): When we found the service
66323         list through the initgroups entry in nsswitch.conf do not always
66324         continue on a successful lookup.  Don't always use the
66325         __nss_group_database value if it is set.
66326         * nss/nsswitch.conf (initgroups): Change action for successful db
66327         lookup to continue for compatibility.
66329 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
66331         [BZ #11532]
66332         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
66333         and CP774 modules.
66334         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
66335         and CP774 modules.
66336         * iconvdata/tst-tables.sh: Likewise.
66337         * iconvdata/cp770.c: New file.
66338         * iconvdata/cp771.c: New file.
66339         * iconvdata/cp772.c: New file.
66340         * iconvdata/cp773.c: New file.
66341         * iconvdata/cp774.c: New file.
66342         * iconvdata/testdata/CP770: New file.
66343         * iconvdata/testdata/CP770..UTF8: New file.
66344         * iconvdata/testdata/CP771: New file.
66345         * iconvdata/testdata/CP771..UTF8: New file.
66346         * iconvdata/testdata/CP772: New file.
66347         * iconvdata/testdata/CP772..UTF8: New file.
66348         * iconvdata/testdata/CP773: New file.
66349         * iconvdata/testdata/CP773..UTF8: New file.
66350         * iconvdata/testdata/CP774: New file.
66351         * iconvdata/testdata/CP774..UTF8: New file.
66353         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
66354         END CHARMAP line.
66355         * iconvdata/gen-8bit-gap.sh: Likewise.
66356         * iconvdata/gen-8bit.sh: Likewise.
66358         * locale/iso-639.def: Add ary entry.
66360         [BZ #11258]
66361         * locale/C-translit.h.in: Add U20A1 transliteration.
66363         [BZ #12178]
66364         * locale/iso-639.def: Add wae entry.
66365         Patch by Kevin Bortis <bortis@translate-wae.ch>.
66367         [BZ #12545]
66368         * locale/programs/localedef.c (construct_output_path): Use ssize_t
66369         for n.
66371         [BZ #12711]
66372         * locale/C-translit.h.in: Add entry for U20B9.
66373         Patch by pravin.d.s@gmail.com.
66375 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
66377         [BZ #12713]
66378         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
66379         ENAMETOOLONG use generic getcwd.
66380         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
66381         in rtld.  Use *stat64.
66382         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
66383         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
66384         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
66385         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
66386         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
66387         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
66388         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
66389         __fstatat64 macros.
66390         * include/dirent.h: Add libc_hidden_proto for rewinddir.
66391         * dirent/rewinddir.c: Add libc_hidden_def.
66392         * sysdeps/mach/hurd/rewinddir.c: Likewise.
66393         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
66395         * include/dirent.h (__alloc_dir): Add flags parameter.
66396         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
66397         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
66398         __alloc_dir.
66399         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
66400         from fdopendir if O_CLOEXEC is already set.
66402 2011-03-15  Alan Modra  <amodra@gmail.com>
66404         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
66405         l_tls_firstbyte_offset non-zero.  Save padding offset in
66406         l_tls_firstbyte_offset for later use.
66407         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
66408         freeing static tls block.
66410 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
66412         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
66413         where #ifdef was intended.  The intent is to prevent ARG_MAX from
66414         being defined by the kernel headers.
66416 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
66418         [BZ #12734]
66419         * resolv/resolv.h: Define RES_NOTLDQUERY.
66420         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
66421         no-tld-query and set RES_NOTLDQUERY.
66422         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
66423         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
66424         modern BIND to search name as TLD unless forbidden.
66426 2011-05-07  Petr Baudis  <pasky@suse.cz>
66427             Ulrich Drepper  <drepper@gmail.com>
66429         [BZ #12393]
66430         * elf/dl-load.c (fillin_rpath): Move trusted path check...
66431         (is_trusted_path): ...to here.
66432         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
66433         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
66434         using is_trusted_path_normalize() in setuid scripts.
66436 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66438         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
66439         __BEGIN/__END_DECLS.
66441 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
66443         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
66444         NSS_STATUS_NOTFOUND if no record was found.
66446 2011-05-05  Andreas Schwab  <schwab@redhat.com>
66448         * sunrpc/Makefile (headers): Add rpc/netdb.h.
66449         (headers-not-in-tirpc): Remove rpc/netdb.h
66450         * resolv/netdb.h: Revert last change.
66452 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66454         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
66455         circular dependency between libgcc.a and libc.a.
66457 2011-05-05  Andreas Schwab  <schwab@redhat.com>
66459         * resolv/netdb.h: Don't include <rpc/netdb.h>.
66460         * nis/Makefile: Don't install rpcsvc/*.
66461         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
66462         instead of <rpc/types.h>.
66463         (MAXHOSTNAMELEN): Define.
66465 2011-05-03  Andreas Schwab  <schwab@redhat.com>
66467         * elf/ldconfig.c (add_dir): Don't crash on empty path.
66469 2011-04-28  Maciej Babinski  <mbabinski@google.com>
66471         [BZ #12714]
66472         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
66473         gethostbyname4_r when IPv6 results are possible.
66475 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
66477         [BZ #12723]
66478         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
66479         _PC_PIPE_BUF handling.
66481 2011-04-30  Bruno Haible  <bruno@clisp.org>
66483         [BZ #12717]
66484         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
66485         * resolv/netdb.h (getnameinfo): Change type of flags parameter
66486         to 'int'.
66487         * inet/getnameinfo.c (getnameinfo): Likewise.
66489 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
66491         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
66492         to groups setting in database lookup.
66493         * nss/nsswitch.conf: Add initgroups entry.
66495 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
66497         [BZ #12685]
66498         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
66499         mode string.
66500         Patch by Eric Blake <eblake@redhat.com>.
66502 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
66504         * sunrpc/Makefile (need-export-routines): Add svc_run.
66505         (routines): Remove svc_run.
66506         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
66507         * sunrpc/clnt_perr.c (clnt_perrno): Export.
66508         * sunrpc/svc_run.c (svc_run): Likewise.
66509         * sunrpc/svc_udp.c (svcudp_create): Likewise.
66511 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
66513         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
66514         problem in reallocation in last patch.
66516 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
66518         * sunrpc/Makefile: Move inclusion of Rules.
66520 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
66522         * nss/nss_files/files-initgroups.c: New file.
66523         * nss/Makefile (libnss_files-routines): Add files-initgroups.
66524         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
66525         _nss_files_initgroups_dyn.
66527 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
66529         * elf/elf.h (R_ARM_IRELATIVE): Define.
66531 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
66533         * po/ru.po: Update from translation team.
66535 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
66537         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
66538         dependencies.
66540 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
66542         [BZ #12653]
66543         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
66544         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
66545         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
66546         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
66547         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
66549 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
66551         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
66552         differing bytes.
66553         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
66554         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
66555         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66557 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
66559         [BZ #12420]
66560         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
66561         storing it.
66562         * stdlib/bug-getcontext.c: New file.
66563         * stdlib/Makefile: Add rules to build and run bug-getcontext.
66565 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66567         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
66568         instructions into .machine "z9-109".
66569         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
66570         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
66572 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66574         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
66575         between environment variables and auxiliary vector.
66577 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
66579         * Makefile: Add rules to build linkobj/libc.so.
66580         * include/libc-symbols.h: Define libc_hidden_nolink.
66581         * include/rpc/auth.h: Mark functions which are to be hidden.
66582         * include/rpc/auth_des.h: Likewise.
66583         * include/rpc/auth_unix.h: Likewise.
66584         * include/rpc/clnt.h: Likewise.
66585         * include/rpc/des_crypt.h: Likewise.
66586         * include/rpc/key_prot.h: Likewise.
66587         * include/rpc/pmap_clnt.h: Likewise.
66588         * include/rpc/pmap_prot.h: Likewise.
66589         * include/rpc/pmap_rmt.h: Likewise.
66590         * include/rpc/rpc_msg.h: Likewise.
66591         * include/rpc/svc.h: Likewise.
66592         * include/rpc/svc_auth.h: Likewise.
66593         * include/rpc/xdr.h: Likewise.
66594         * nis/Makefile: Link all DSOs against linkobj/libc.so.
66595         * nss/Makefile: Likewise.
66596         * sunrpc/Makefile: Don't install headers.  Build library with normal
66597         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
66598         * sunrpc/auth_des.c: Hide exported symbols by default, export some
66599         for the compat linking library.  Remove use of INTDEF/INTUSE.
66600         * sunrpc/auth_none.c: Likewise.
66601         * sunrpc/auth_unix.c: Likewise.
66602         * sunrpc/authdes_prot.c: Likewise.
66603         * sunrpc/authuxprot.c: Likewise.
66604         * sunrpc/clnt_gen.c: Likewise.
66605         * sunrpc/clnt_perr.c: Likewise.
66606         * sunrpc/clnt_raw.c: Likewise.
66607         * sunrpc/clnt_simp.c: Likewise.
66608         * sunrpc/clnt_tcp.c: Likewise.
66609         * sunrpc/clnt_udp.c: Likewise.
66610         * sunrpc/clnt_unix.c: Likewise.
66611         * sunrpc/des_crypt.c: Likewise.
66612         * sunrpc/des_soft.c: Likewise.
66613         * sunrpc/get_myaddr.c: Likewise.
66614         * sunrpc/key_call.c: Likewise.
66615         * sunrpc/key_prot.c: Likewise.
66616         * sunrpc/netname.c: Likewise.
66617         * sunrpc/pm_getmaps.c: Likewise.
66618         * sunrpc/pm_getport.c: Likewise.
66619         * sunrpc/pmap_clnt.c: Likewise.
66620         * sunrpc/pmap_prot.c: Likewise.
66621         * sunrpc/pmap_prot2.c: Likewise.
66622         * sunrpc/pmap_rmt.c: Likewise.
66623         * sunrpc/publickey.c: Likewise.
66624         * sunrpc/rpc_cmsg.c: Likewise.
66625         * sunrpc/rpc_common.c: Likewise.
66626         * sunrpc/rpc_dtable.c: Likewise.
66627         * sunrpc/rpc_prot.c: Likewise.
66628         * sunrpc/rpc_thread.c: Likewise.
66629         * sunrpc/rtime.c: Likewise.
66630         * sunrpc/svc.c: Likewise.
66631         * sunrpc/svc_auth.c: Likewise.
66632         * sunrpc/svc_authux.c: Likewise.
66633         * sunrpc/svc_raw.c: Likewise.
66634         * sunrpc/svc_run.c: Likewise.
66635         * sunrpc/svc_simple.c: Likewise.
66636         * sunrpc/svc_tcp.c: Likewise.
66637         * sunrpc/svc_udp.c: Likewise.
66638         * sunrpc/svc_unix.c: Likewise.
66639         * sunrpc/svcauth_des.c: Likewise.
66640         * sunrpc/xcrypt.c: Likewise.
66641         * sunrpc/xdr.c: Likewise.
66642         * sunrpc/xdr_array.c: Likewise.
66643         * sunrpc/xdr_float.c: Likewise.
66644         * sunrpc/xdr_intXX_t.c: Likewise.
66645         * sunrpc/xdr_mem.c: Likewise.
66646         * sunrpc/xdr_rec.c: Likewise.
66647         * sunrpc/xdr_ref.c: Likewise.
66648         * sunrpc/xdr_sizeof.c: Likewise.
66649         * sunrpc/xdr_stdio.c: Likewise.
66651 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
66653         [BZ #12650]
66654         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
66655         * sysdeps/ia64/dl-tls.h: Likewise.
66656         * sysdeps/powerpc/dl-tls.h: Likewise.
66657         * sysdeps/s390/dl-tls.h: Likewise.
66658         * sysdeps/sh/dl-tls.h: Likewise.
66659         * sysdeps/sparc/dl-tls.h: Likewise.
66660         * sysdeps/x86_64/dl-tls.h: Likewise.
66661         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
66663 2011-03-14  Andreas Schwab  <schwab@redhat.com>
66665         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
66666         rpath element also skip the following colon.
66667         (expand_dynamic_string_token): Add is_path parameter and pass
66668         down to DL_DST_REQUIRED and _dl_dst_substitute.
66669         (decompose_rpath): Call expand_dynamic_string_token with
66670         non-zero is_path.  Ignore empty rpaths.
66671         (_dl_map_object_from_fd): Call expand_dynamic_string_token
66672         with zero is_path.
66674 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
66676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
66677         Make cancelable.
66679 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
66681         [BZ #12655]
66682         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
66683         Patch by Filipe David Manana <fdmanana@apache.org>.
66685 2011-04-07  Andreas Schwab  <schwab@redhat.com>
66687         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
66688         Maintain aligned stack.
66689         (CHECK_RSP): Remove unused macro.
66691 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
66693         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
66694         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
66696 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
66698         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
66700         * include/features.h: Mention __USE_XOPEN2K8 in comment.
66702 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
66704         [BZ #12518]
66705         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
66706         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
66707         * sysdeps/x86_64/memmove.c: New file.
66708         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
66709         (memcpy): Renamed to ...
66710         (__new_memcpy): This.
66711         (memcpy): Provide GLIBC_2_14 memcpy.
66712         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
66713         (memcpy): Provide GLIBC_2_2_5 memcpy.
66715 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
66717         [BZ #12631]
66718         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
66720 2011-03-30  Andreas Schwab  <schwab@redhat.com>
66722         * misc/syncfs.c: New file.
66723         * misc/Makefile (routines): Add syncfs.
66724         * posix/unistd.h: Declare syncfs.
66725         * sysdeps/unix/syscalls.list: Add syncfs.
66727 2011-04-01  Andreas Schwab  <schwab@redhat.com>
66729         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
66730         open_by_handle_at.
66731         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
66732         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
66733         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66734         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66735         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66736         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
66737         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66739 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
66741         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
66742         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
66743         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
66744         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66745         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66746         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66747         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66749         * io/Makefile: Compile fallocate.c, fallocate64.c, and
66750         sync_file_range.c with -fexceptions.
66751         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
66752         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
66753         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
66754         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
66755         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
66756         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
66757         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
66758         sync_file_range as cancellation point
66759         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
66760         now a wrapper around __call_sync_file_range with cancellation handling.
66761         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
66762         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
66763         function name to __call_sync_file_range.
66764         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
66765         Add call_sync_file_range.
66767 2011-04-01  Andreas Schwab  <schwab@redhat.com>
66769         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66770         bits/timex.h.
66772 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
66774         * iconv/iconv.h: Fix typo in comment.
66775         * io/fcntl.h: Likewise.
66776         * libio/stdio.h: Likewise.
66777         * posix/spawn.h: Likewise.
66778         * posix/unistd.h: Likewise.
66779         * stdlib/stdlib.h: Likewise.
66780         * time/time.h: Likewise.
66781         * wcsmbs/wchar.h: Likewise.
66783         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
66784         open_by_handle): Add.
66785         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
66786         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
66787         Augment a few comments.
66788         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
66789         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66790         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66791         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66792         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66793         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
66794         open_by_handle.
66796         * io/fcntl.h (AT_EMPTY_PATH): Define.
66798 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
66800         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
66801         * sysdeps/unix/sysv/linux/bits/time.h: New file.
66802         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
66803         to...
66804         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
66805         * Versions.def: Add GLIBC_2.14.
66806         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
66807         Export.
66809 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
66811         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
66812         round counter.
66813         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
66815 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66817         [BZ #12597]
66818         * string/test-strncmp.c (do_page_test): New function.
66819         (check2): Likewise.
66820         (test_main): Call check2.
66821         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
66823 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
66825         [BZ #12587]
66826         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
66827         Handle cache information in CPU leaf 4.
66828         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
66830 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
66832         [BZ #12583]
66833         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
66834         character representation.
66835         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
66837 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
66839         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
66840         END(__isnan) to END(__isnanf) to match function entry point/label
66841         EALIGN(__isnanf,...).
66843 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
66845         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
66847 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
66849         [BZ #12510]
66850         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
66851         copy from the symbol referenced in the relocation to initialize the
66852         used variable.
66853         Patch by Piotr Bury <pbury@goahead.com>.
66854         * elf/Makefile: Add rules to build and tst-unique3.
66855         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
66856         * elf/tst-unique3.cc: New file.
66857         * elf/tst-unique3.h: New file.
66858         * elf/tst-unique3lib.cc: New file.
66859         * elf/tst-unique3lib2.cc: New file.
66861         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
66863 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
66865         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
66866         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
66867         to _start.
66869 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
66871         * elf/dl-load.c (_dl_map_object): If we are looking for the first
66872         to-be-loaded object along a path to loader is ld.so.
66874 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
66875             Ulrich Drepper  <drepper@gmail.com>
66877         * sysdeps/x86_64/memset.S: After aligning destination, code
66878         branches to different locations depending on the value of
66879         misalignment, when multiarch is enabled. Fix this.
66881 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
66883         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
66884         Set _x86_64_preferred_memory_instruction for AMD processsors.
66885         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66886         Set bit_Prefer_SSE_for_memop for AMD processors.
66888 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
66890         * libio/fmemopen.c (fmemopen): Optimize a bit.
66892 2011-03-03  Andreas Schwab  <schwab@redhat.com>
66894         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
66896 2011-03-03  Roland McGrath  <roland@redhat.com>
66898         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
66900 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
66902         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
66903         __bzero_ultra1 instead of __memset_ultra1.
66905 2011-02-23  Andreas Schwab  <schwab@redhat.com>
66906             Ulrich Drepper  <drepper@gmail.com>
66908         [BZ #12509]
66909         * include/link.h (struct link_map): Add l_orig_initfini.
66910         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
66911         returning unsuccessfully.
66912         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
66913         close of a file loaded at startup, restore the original l_initfini
66914         list.
66915         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
66916         list, store the pointer.
66917         * elf/Makefile ($(objpfx)noload-mem): New rule.
66918         (noload-ENV): Define.
66919         (tests): Add $(objpfx)noload-mem.
66920         * elf/noload.c: Include <memcheck.h>.
66921         (main): Call mtrace.  Close all opened handles.
66923 2011-02-17  Andreas Schwab  <schwab@redhat.com>
66925         [BZ #12454]
66926         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
66927         dependencies are missing.
66929 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66931         Fix __if_freereq crash: Unlike the generic version which uses free,
66932         Hurd needs munmap.
66933         * sysdeps/mach/hurd/ifreq.h: New file.
66935 2011-01-27  Petr Baudis  <pasky@suse.cz>
66936             Ulrich Drepper  <drepper@gmail.com>
66938         [BZ 12445]#
66939         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
66940         to extend_alloca().
66941         * stdio-common/bug23.c: New file.
66942         * stdio-common/Makefile (tests): Add bug23.
66944 2010-09-28  Andreas Schwab  <schwab@redhat.com>
66945             Ulrich Drepper  <drepper@gmail.com>
66947         [BZ #12489]
66948         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
66949         before performing relro protection.  At old place add assertion
66950         to make sure nothing changed.
66952 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
66953             Glauber de Oliveira Costa  <glommer@gmail.com>
66955         * elf/elf.h: Add new ARM TLS relocs.
66957 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
66959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
66960         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
66961         cast from r3.
66962         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
66963         'tests' variable.
66964         * sysdeps/wordsize-64/tst-writev.c: New file.
66966 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
66968         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
66969         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
66970         insns in _dl_start to prevent a TOC reference before relocs are
66971         resolved.
66973 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
66975         [BZ #12469]
66976         * Makeconfig: Remove RANLIB definition.
66977         * Makerules: Don't use RANLIB.
66978         * aclocal.m4: Remove ranlib test.
66979         * configure.in: No need to check for ranlib.
66980         * elf/rtld-Rules: Don't use RANLIB.
66982 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66984         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
66985         protection macro.
66986         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
66987         inclusion protection macro.
66989         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
66990         SIGRTMIN and SIGRTMAX and print information in that case only when
66991         SIGRTMIN is defined.
66993 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
66995         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
66996         arginfo fn returning -1.
66998         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
66999         and thousands string is zero terminated.
67001 2011-02-03  Andreas Schwab  <schwab@redhat.com>
67003         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
67004         sysdeps/unix/sysv/linux/bits/socket.h.
67006 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67008         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
67009         (__CPU_COUNT): Remove old macros.
67010         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
67011         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
67012         (__CPU_ALLOC, __CPU_FREE): Add macros.
67013         (__sched_cpualloc, __sched_cpufree): Add declarations.
67015 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
67017         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
67018         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
67019         * nscd/aicache.c (addhstaiX): Return timeout of added value.
67020         (readdhstai): Return value of addhstaiX call.
67021         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
67022         (addgrbyX): Return value returned by cache_addgr.
67023         (readdgrbyname): Return value returned by addgrbyX.
67024         (readdgrbygid): Likewise.
67025         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
67026         (addpwbyX): Return value returned by cache_addpw.
67027         (readdpwbyname): Return value returned by addhstbyX.
67028         (readdpwbyuid): Likewise.
67029         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
67030         (addservbyX): Return value returned by cache_addserv.
67031         (readdservbyname): Return value returned by addservbyX:
67032         (readdservbyport): Likewise.
67033         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
67034         (addhstbyX): Return value returned by cache_addhst.
67035         (readdhstbyname): Return value returned by addhstbyX.
67036         (readdhstbyaddr): Likewise.
67037         (readdhstbynamev6): Likewise.
67038         (readdhstbyaddrv6): Likewise.
67039         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
67040         (readdinitgroups): Return value returned by addinitgroupsX.
67041         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
67042         (prune_cache): Keep track of timeout value of re-added entries.
67043         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
67044         * nscd/nscd.h: Adjust prototypes of readd* functions.
67046 2011-02-04  Roland McGrath  <roland@redhat.com>
67048         * nis/nis_server.c (nis_servstate): Use the right name for 0.
67049         (nis_stats): Likewise.
67050         * nis/nis_modify.c (nis_modify): Likewise.
67051         * nis/nis_remove.c (nis_remove): Likewise.
67052         * nis/nis_add.c (nis_add): Likewise.
67054         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
67056         * posix/fnmatch_loop.c: Add some consts.
67058         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
67060 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
67062         [BZ #12460]
67063         * config.make.in (config-cflags-novzeroupper): Define.
67064         * configure.in: Substitute libc_cv_cc_novzeroupper.
67065         * elf/Makefile (AVX-CFLAGS): Define.
67066         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
67067         (CFLAGS-tst-auditmod4a.c): Likewise.
67068         (CFLAGS-tst-auditmod4b.c): Likewise.
67069         (CFLAGS-tst-auditmod6b.c): Likewise.
67070         (CFLAGS-tst-auditmod6c.c): Likewise.
67071         (CFLAGS-tst-auditmod7b.c): Likewise.
67072         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
67074 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
67076         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
67077         function to the callback.
67078         Patch partly by Jiri Olsa <jolsa@redhat.com>.
67080 2011-02-02  Andreas Schwab  <schwab@redhat.com>
67082         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
67083         of errno.
67085 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
67087         [BZ #11724]
67088         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
67089         of constructors.
67090         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
67091         of destructors.
67092         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
67094         [BZ #11724]
67095         * elf/Makefile: Add rules to build and run new test.
67096         * elf/tst-initorder.c: New file.
67097         * elf/tst-initorder.exp: New file.
67098         * elf/tst-initordera1.c: New file.
67099         * elf/tst-initordera2.c: New file.
67100         * elf/tst-initordera3.c: New file.
67101         * elf/tst-initordera4.c: New file.
67102         * elf/tst-initorderb1.c: New file.
67103         * elf/tst-initorderb2.c: New file.
67104         * elf/tst-order-a1.c: New file.
67105         * elf/tst-order-a2.c: New file.
67106         * elf/tst-order-a3.c: New file.
67107         * elf/tst-order-a4.c: New file.
67108         * elf/tst-order-b1.c: New file.
67109         * elf/tst-order-b2.c: New file.
67110         * elf/tst-order-main.c: New file.
67111         New test case by George Gensure <werkt0@gmail.com>.
67113 2010-10-01  Andreas Schwab  <schwab@redhat.com>
67115         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
67116         decoding ACE if AI_CANONIDN.
67118 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
67120         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
67122 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
67124         * version.h (RELEASE): Bump for 2.13 release.
67125         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
67127         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
67129         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
67130         MADV_NOHUGEPAGE.
67131         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
67132         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
67133         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67134         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67135         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67136         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
67138         * posix/getconf.c: Update copyright year.
67139         * catgets/gencat.c: Likewise.
67140         * csu/version.c: Likewise.
67141         * debug/catchsegv.sh: Likewise.
67142         * debug/xtrace.sh: Likewise.
67143         * elf/ldconfig.c: Likewise.
67144         * elf/ldd.bash.in: Likewise.
67145         * elf/sprof.c (print_version): Likewise.
67146         * iconv/iconv_prog.c: Likewise.
67147         * iconv/iconvconfig.c: Likewise.
67148         * locale/programs/locale.c: Likewise.
67149         * locale/programs/localedef.c: Likewise.
67150         * malloc/memusage.sh: Likewise.
67151         * malloc/mtrace.pl: Likewise.
67152         * nscd/nscd.c (print_version): Likewise.
67153         * nss/getent.c: Likewise.
67155         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
67156         PF_CAIF, and PF_ALG.
67157         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67159 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
67161         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
67162         (modules-names): Use them.
67163         (ifunc-test-modules, ifunc-pie-tests): Define.
67164         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
67165         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
67166         (test-extras): Likewise.
67167         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
67168         $(compile-command.c).
67169         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
67170         (all-built-dso): Define.
67171         (check-textrel.out, check-execstack.out): Depend on it.
67173         * configure.in: Don't override --enable-multi-arch.
67175 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
67177         [BZ #6812]
67178         * nscd/hstcache.c (tryagain): Define.
67179         (cache_addhst): Return tryagain not notfound for temporary errors.
67180         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
67181         failed.
67183 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
67185         [BZ #10563]
67186         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
67187         to make the syscall.
67188         * sysdeps/unix/sysv/linux/setgroups.c: New file.
67190         [BZ #12378]
67191         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
67192         and fall back to matching as normal character if the string ends before
67193         the matching ']' is found.  This is what POSIX requires.
67194         * posix/testfnm.c: Adjust test result.
67195         * posix/globtest.sh: Adjust test result.  Add new test.
67196         * posix/tst-fnmatch.input: Likewise.
67197         * posix/tst-fnmatch2.c: Add new test.
67199 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
67201         * elf/Makefile (check-execstack): Revert last change.  Depend on
67202         check-execstack.h.
67203         (check-execstack.h): New target.
67204         (generated): Add check-execstack.h.
67205         * elf/check-execstack.c: Include "check-execstack.h".
67206         (main): Revert last change.
67207         (handle_file): Return zero if GNU_STACK is absent and
67208         DEFAULT_STACK_PERMS doesn't include PF_X.
67210 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
67212         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
67213         in child fails because the descriptor is already closed.
67214         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
67215         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
67216         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
67218         [BZ #12397]
67219         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
67220         syscall.
67222         [BZ #10484]
67223         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
67224         temporary buffer used to handle multi lookups locally.
67225         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
67227 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
67229         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
67230         loader is ld.so.
67232 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
67234         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
67235         alignment for SSE2.
67237 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
67239         [BZ #12394]
67240         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
67241         characters.  When rounding increased number of integer digits recompute
67242         number of groups.
67243         * stdio-common/tst-grouping.c: New file.
67244         * stdio-common/Makefile: Add rules to build and run tst-grouping.
67246 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
67248         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
67249         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
67251         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
67252         void.
67253         * bits/select.h: Likewise.
67255 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
67257         * po/ja.po: Update from translation team.
67259 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
67261         [BZ #11155]
67262         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
67263         implementation just like for lxstat, fxstatat, et al.
67265 2010-12-27  Jim Meyering  <meyering@redhat.com>
67267         [BZ #12348]
67268         * posix/regexec.c (build_trtable): Return failure indication upon
67269         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
67271 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
67273         [BZ #12201]
67274         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
67275         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
67276         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
67277         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
67279         [BZ #12207]
67280         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
67282         [BZ #12204]
67283         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
67284         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
67286 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
67288         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
67289         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
67290         script has SORT_BY_INIT_PRIORITY.
67291         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
67292         NO_CTORS_DTORS_SECTIONS is defined.
67293         * elf/soinit.c: Likewise.
67294         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
67295         NO_CTORS_DTORS_SECTIONS is defined.
67296         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
67297         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
67298         * sysdeps/sh/init-first.c: Likewise.
67299         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
67301 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
67303         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
67304         always use the slow path.
67306 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
67308         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
67309         similar rule which adds the sysdep directories to the header search in
67310         order to pick up the correct platform stackinfo.h.
67311         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
67312         perform test if it is, otherwise return successfully without testing.
67313         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
67314         DEFAULT_STACK_PERMS define in stackinfo.h.
67315         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
67316         defined in stackinfo.h.
67317         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
67318         DEFAULT_STACK_PERMS defined in stackinfo.h.
67319         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
67320         * sysdeps/ia64/stackinfo.h: Likewise.
67321         * sysdeps/s390/stackinfo.h: Likewise.
67322         * sysdeps/sh/stackinfo.h: Likewise.
67323         * sysdeps/sparc/stackinfo.h: Likewise.
67324         * sysdeps/x86_64/stackinfo.h: Likewise.
67325         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
67326         PF_X for powerpc64.  Retain PF_X for powerpc32.
67328 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
67330         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
67331         accurately.
67332         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
67333         GETDENTS_64BIT_ALIGNED.
67335 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
67337         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
67339 2010-12-10  Andreas Schwab  <schwab@redhat.com>
67341         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
67342         _GNU_SOURCE.
67344         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
67345         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
67346         Remove __restrict.
67347         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
67348         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
67350 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
67352         [BZ #11655]
67353         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
67354         are initialized.
67356 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
67358         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
67360 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
67362         * po/it.po: Update from translation team.
67364 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
67366         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
67367         unused codes.
67369 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
67371         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
67373 2010-11-24  Andreas Schwab  <schwab@redhat.com>
67375         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
67376         specially.
67377         (gaih_getanswer_slice): Likewise.
67379 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
67381         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
67383 2010-05-31  Petr Baudis  <pasky@suse.cz>
67385         [BZ #11149]
67386         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
67387         silently even in the chroot mode.
67389 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
67391         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
67392         last patch a bit.  Pretty printing
67394 2010-05-31  Petr Baudis <pasky@suse.cz>
67396         [BZ #10085]
67397         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
67398         initialization of skip_initgroups_dyn.
67400 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
67402         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
67403         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
67405 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
67407         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
67409 2010-11-11  Andreas Schwab  <schwab@redhat.com>
67411         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
67412         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
67413         (tst-fnmatch-ENV): Set MALLOC_TRACE.
67414         ($(objpfx)tst-fnmatch-mem): New rule.
67415         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
67416         * posix/tst-fnmatch.c (main): Call mtrace.
67418 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
67420         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67421         Support Intel processor model 6 and model 0x2c.
67423 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
67425         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
67426           signed comparison.
67428 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
67430         [BZ #12205]
67431         * string/test-strncasecmp.c (check_result): New function.
67432         (do_one_test): Use it.
67433         (check1): New function.
67434         (test_main): Use it.
67435         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
67436         Support strcasecmp and strncasecmp.
67438 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
67440         [BZ #12194]
67441         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
67442         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67444 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
67446         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
67447         IFUNC support.
67448         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67449         memset-x86-64.
67450         * sysdeps/x86_64/multiarch/bzero.S: New file.
67451         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
67452         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
67453         * sysdeps/x86_64/multiarch/memset.S: New file.
67454         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
67455         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67456         Set bit_Prefer_SSE_for_memop for Intel processors.
67457         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
67458         Define.
67459         (index_Prefer_SSE_for_memop): Define.
67460         (HAS_PREFER_SSE_FOR_MEMOP): Define.
67462 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
67464         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
67465         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
67467 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
67469         [BZ #12191]
67470         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
67471         (__x86_64_raw_data_cache_size_half): Likewise.
67472         (__x86_64_raw_shared_cache_size): Likewise.
67473         (__x86_64_raw_shared_cache_size_half): Likewise.
67475         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
67476         (__x86_64_raw_data_cache_size_half): Likewise.
67477         (__x86_64_raw_shared_cache_size): Likewise.
67478         (__x86_64_raw_shared_cache_size_half): Likewise.
67479         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
67480         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
67481         and __x86_64_raw_shared_cache_size_half.  Round
67482         __x86_64_data_cache_size_half, __x86_64_data_cache_size
67483         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
67484         to multiple of 256 bytes.
67486 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
67488         [BZ #12167]
67489         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
67490         of inacessible symlinks.  Verify result of symlink before returning it.
67491         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
67492         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
67494 2010-10-28  Erich Ritz  <erichritz@gmail.com>
67496         * math/math.h (isinf): Fix typo in comment.
67498 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
67500         * po/da.po: Update from translation team.
67502 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
67504         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
67505         is added to the list.
67507 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67508             Ulrich Drepper  <drepper@gmail.com>
67510         * elf/dl-object.c (_dl_new_object): Don't append the new object to
67511         the global list here.  Move code to...
67512         (_dl_add_to_namespace_list): ...here.  New function.
67513         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
67514         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
67515         * elf/dl-load.c (lose): Don't remove the element from the list.
67516         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
67517         (_dl_map_object): Likewise.
67519 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
67521         [BZ #12159]
67522         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
67523         into all bytes of SSE register.
67524         Patch by Richard Li <richardpku@gmail.com>.
67526 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
67528         [BZ #12140]
67529         * malloc/malloc.c (_int_free): Fill correct number of bytes when
67530         perturbing.
67532 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
67534         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
67535         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
67536         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
67537         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
67538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
67539         submachine.
67540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
67542 2010-10-22  Andreas Schwab  <schwab@redhat.com>
67544         * include/dlfcn.h (__RTLD_SECURE): Define.
67545         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
67546         mode & __RTLD_SECURE instead.
67547         (open_path): Rename preloaded parameter to secure.
67548         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
67549         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
67550         * elf/dl-deps.c (openaux): Likewise.
67551         * elf/rtld.c (struct map_args): Remove is_preloaded.
67552         (map_doit): Don't use it.
67553         (dl_main): Likewise.
67554         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
67555         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
67557 2010-09-09  Andreas Schwab  <schwab@redhat.com>
67559         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
67560         (sysd-rules-targets): Remove duplicates.
67561         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
67562         rtld-%.$o dependency.
67564 2010-10-18  Andreas Schwab  <schwab@redhat.com>
67566         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
67567         _dl_map_object do it.
67569 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
67571         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
67572         fast fma builtins, define the macros in the C99 standard.
67573         (FP_FAST_FMAF): Likewise.
67574         (FP_FAST_FMAL): Likewise.
67575         * sysdeps/x86_64/bits/mathdef.h: Likewise.
67577         * bits/mathdef.h: Update copyright year.
67578         * sysdeps/powerpc/bits/mathdef.h: Likewise.
67580 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
67582         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
67583         builtins, define the macros in the C99 standard.
67584         (FP_FAST_FMAF): Likewise.
67585         (FP_FAST_FMAL): Likewise.
67586         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
67587         multiply/add.
67588         (FP_FAST_FMAF): Likewise.
67590 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
67592         [BZ #3268]
67593         * math/libm-test.inc (fma_test): Some new testcases.
67594         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
67595         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
67596         y and infinite z.  Do multiplication by C already in long double.
67597         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
67598         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
67599         y and infinite z.  Do bitwise or of inexact bit into u.d.
67600         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
67601         * sysdeps/i386/fpu/s_fmaf.S: Removed.
67602         * sysdeps/i386/fpu/s_fma.S: Removed.
67603         * sysdeps/i386/fpu/s_fmal.S: Removed.
67605 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
67607         [BZ #3268]
67608         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
67609         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
67610         computation is not scheduled after fetestexcept.  Fix value
67611         of minimum denormal long double.
67613 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
67615         [BZ #3268]
67616         * math/libm-test.inc (fma_test): Add some more tests.
67617         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
67618         correctly.
67620 2010-10-15  Andreas Schwab  <schwab@redhat.com>
67622         * scripts/data/localplt-s390-linux-gnu.data: New file.
67623         * scripts/data/localplt-s390x-linux-gnu.data: New file.
67625 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
67627         [BZ #3268]
67628         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
67629         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
67630         instead of dbl-64.
67631         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
67632         inlines.
67633         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
67634         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
67635         if one of x and y is very large and the other is subnormal.
67636         * sysdeps/s390/fpu/s_fmaf.c: New file.
67637         * sysdeps/s390/fpu/s_fma.c: New file.
67638         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
67639         * sysdeps/powerpc/fpu/s_fma.S: New file.
67640         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
67641         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
67642         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
67644 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
67646         [BZ #3268]
67647         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
67648         fma tests.
67649         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
67650         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
67651         * sysdeps/i386/i686/multiarch/s_fma.c: Include
67652         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
67653         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
67654         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
67655         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
67657 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
67659         [BZ #12078]
67660         * posix/regcomp.c (parse_branch): One more memory leak plugged.
67661         * posix/bug-regex31.input: Add test case.
67663 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
67665         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
67666         * posix/bug-regex31.input: New file.
67668         [BZ #12078]
67669         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
67670         (parse_sub_exp): Fix last change, use postorder.
67672         * posix/bug-regex31.c: New file.
67673         * posix/Makefile: Add rules to build and run bug-regex31.
67675         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
67677         [BZ #12078]
67678         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
67680         [BZ #12108]
67681         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
67682         to have entries in sys_siglist.
67684         [BZ #12093]
67685         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
67686         be NULL.
67688 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
67690         [BZ #3268]
67691         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
67692         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
67693         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
67694         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
67695         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67696         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
67697         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
67698         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
67699         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
67700         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
67701         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
67702         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
67703         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
67704         * math/ftestexcept.c (fetestexcept): Likewise.
67705         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
67706         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
67707         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
67708         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
67709         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
67710         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
67711         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67713 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
67715         [BZ #12107]
67716         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
67717         newline.
67719 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
67721         * string/bug-strstr1.c: New file.
67722         * string/Makefile: Add rules to build and run bug-strstr1.
67724 2010-10-05  Eric Blake  <eblake@redhat.com>
67726         [BZ #12092]
67727         * string/str-two-way.h (two_way_long_needle): Always clear memory
67728         when skipping input due to the shift table.
67730 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
67732         [BZ #12005]
67733         * malloc/mcheck.c: Handle large requests.
67735         [BZ #12077]
67736         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
67737         for strncmp and strncasecmp.
67738         * string/stratcliff.c: Add tests for strcmp and strncmp.
67739         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
67741 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67743         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
67744         __set_fpscr.
67746 2010-09-30  Andreas Jaeger  <aj@suse.de>
67748         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
67749         (CGROUP_SUPER_MAGIC): Define.
67750         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67751         Handle btrfs and cgroup file systems.
67752         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
67753         Likewise.
67755 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
67757         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
67758         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
67760 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67762         [BZ #12067]
67763         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
67764         trying to locate the ELF header.
67766 2010-09-27  Andreas Schwab  <schwab@redhat.com>
67768         [BZ #11611]
67769         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
67770         Mask out sign-bit copies when constructing f_fsid.
67772 2010-09-24  Petr Baudis <pasky@suse.cz>
67774         * debug/stack_chk_fail_local.c: Add missing licence exception.
67775         * debug/warning-nop.c: Likewise.
67777 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
67779         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
67780         implementing getdents64 using getdents syscall, set d_type if
67781         __ASSUME_GETDENTS32_D_TYPE.
67783 2010-09-16  Andreas Schwab  <schwab@redhat.com>
67785         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
67786         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
67788 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
67790         [BZ #12037]
67791         * posix/unistd.h: Undo change of feature selection for ftruncate from
67792         2010-01-11.
67794 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
67796         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
67797         detection.
67799 2010-09-20  Andreas Schwab  <schwab@redhat.com>
67801         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
67802         fanotify_mark.
67803         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
67805 2010-09-14  Andreas Schwab  <schwab@redhat.com>
67807         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
67808         variables after CHECK_SP call.
67809         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
67811 2010-09-13  Andreas Schwab  <schwab@redhat.com>
67812             Ulrich Drepper  <drepper@redhat.com>
67814         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
67815         re-relocationg ld.so.
67816         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
67817         _dl_init_paths call.
67818         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
67819         here anymore.
67821 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
67823         * resolv/res_init.c (__res_vinit): Count the default server we added.
67825 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
67826             Ulrich Drepper  <drepper@redhat.com>
67828         [BZ #11968]
67829         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
67830         (____longjmp_chk): Use %ebx for saving value across system call.
67831         Add unwind info.
67833 2010-09-06  Andreas Schwab  <schwab@redhat.com>
67835         * manual/Makefile: Don't mix pattern rules with normal rules.
67837 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
67839         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
67840         operation.
67841         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
67842         * libio/iofopncook.c (_IO_cookie_init): Likewise.
67843         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
67844         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
67845         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67846         Likewise.
67848 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
67850         [BZ #11979]
67851         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
67852         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
67854 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
67856         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
67857         * sysdeps/x86_64/addmul_1.S: Likewise.
67858         * sysdeps/x86_64/lshift.S: Likewise.
67859         * sysdeps/x86_64/mul_1.S: Likewise.
67860         * sysdeps/x86_64/rshift.S: Likewise.
67861         * sysdeps/x86_64/sub_n.S: Likewise.
67862         * sysdeps/x86_64/submul_1.S: Likewise.
67864 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67866         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
67867         Define __sched_param instead of SCHED_* and sched_param when
67868         <bits/sched.h> is included with __need_schedparam defined.
67869         * bits/sched.h [__need_schedparam]
67870         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
67871         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
67872         (__defined_schedparam): Define to 1.
67873         (__sched_param): New structure, identical to sched_param.
67874         (__need_schedparam): Undefine.
67876 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
67878         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
67879         (epoll_create1): Declare.
67881         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
67883 2010-08-31  Andreas Schwab  <schwab@redhat.com>
67885         [BZ #7066]
67886         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
67887         shifting retval into place.
67889 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
67891         * nis/rpcsvc/nis.h: Update copyright notice.
67892         * nis/rpcsvc/nis.x: Likewise.
67893         * nis/rpcsvc/nis_callback.h: Likewise.
67894         * nis/rpcsvc/nis_callback.x: Likewise.
67895         * nis/rpcsvc/nis_object.x: Likewise.
67896         * nis/rpcsvc/nis_tags.h: Likewise.
67897         * nis/rpcsvc/yp.h: Likewise.
67898         * nis/rpcsvc/yp.x: Likewise.
67899         * nis/rpcsvc/ypupd.h: Likewise.
67900         * nis/yp_xdr.c: Likewise.
67901         * nis/ypupdate_xdr.c: Likewise.
67903         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
67904         mainly the body of pmap_getport.  Add parameters to specify timeouts.
67905         (pmap_getport): Use __libc_rpc_getport.
67906         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
67907         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
67908         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
67910 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
67912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
67913         fanotify_mark.
67915 2010-08-27  Roland McGrath  <roland@redhat.com>
67917         * sysdeps/i386/i686/multiarch/Makefile
67918         (CFLAGS-varshift.c): New variable.
67920 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
67922         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
67923         * sysdeps/i386/i686/multiarch/varshift.c: New file.
67925         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
67927         * sysdeps/x86_64/strlen.S: Minimal code improvement.
67929 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
67931         * sysdeps/x86_64/strlen.S: Unroll the loop.
67932         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67933         strlen-sse2 strlen-sse2-bsf.
67934         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
67935         __strlen_no_bsf if bit_Slow_BSF is set.
67936         (__strlen_sse42): Removed.
67937         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
67938         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
67940 2010-08-25  Roland McGrath  <roland@redhat.com>
67942         * sysdeps/x86_64/multiarch/varshift.S: File removed.
67943         * sysdeps/x86_64/multiarch/varshift.c: New file.
67944         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
67945         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
67946         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
67947         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
67949 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
67951         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67952         strlen-sse2 strlen-sse2-bsf.
67953         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
67954         __strlen_sse2_bsf if bit_Slow_BSF is unset.
67955         (__strlen_sse2): Removed.
67956         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
67957         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
67958         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
67959         bit_Slow_BSF for Atom.
67960         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
67961         (index_Slow_BSF): Define.
67962         (HAS_SLOW_BSF): Define.
67964 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
67966         [BZ #10851]
67967         * resolv/res_init.c (__res_vinit): When no server address at all
67968         is given default to loopback.
67970 2010-08-24  Roland McGrath  <roland@redhat.com>
67972         * configure.in: Remove config-name.h generation.
67973         * configure: Regenerated.
67974         * config-name.in: File removed.
67975         * scripts/config-uname.sh: New file.
67976         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
67977         ($(objdir)config-name.h): New target.
67979         * sunrpc/rpc_parse.h: Avoid nested comment.
67981 2010-08-24  Richard Henderson  <rth@redhat.com>
67982             Ulrich Drepper  <drepper@redhat.com>
67983             H.J. Lu  <hongjiu.lu@intel.com>
67985         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
67986         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
67987         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
67988         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
67989         _mm_alignr_epi8 with _mm_loadu_si128.
67990         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
67991         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
67992         (__m128i_shift_right): Removed.
67993         * sysdeps/i386/i686/multiarch/varshift.h: New file.
67994         * sysdeps/i386/i686/multiarch/varshift.S: New file.
67995         * sysdeps/x86_64/multiarch/varshift.h: New file.
67996         * sysdeps/x86_64/multiarch/varshift.S: New file.
67998 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
68000         * configure.in: Move assembler checks to before sysdep dir checking.
68002 2010-08-20  Petr Baudis  <pasky@suse.cz>
68004         * LICENSES: Sync the sunrpc license.
68006 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
68008         * sunrpc/auth_des.c: Update copyright notice once again.
68009         * sunrpc/auth_none.c: Likewise.
68010         * sunrpc/auth_unix.c: Likewise.
68011         * sunrpc/authdes_prot.c: Likewise.
68012         * sunrpc/authuxprot.c: Likewise.
68013         * sunrpc/bindrsvprt.c: Likewise.
68014         * sunrpc/clnt_gen.c: Likewise.
68015         * sunrpc/clnt_perr.c: Likewise.
68016         * sunrpc/clnt_raw.c: Likewise.
68017         * sunrpc/clnt_simp.c: Likewise.
68018         * sunrpc/clnt_tcp.c: Likewise.
68019         * sunrpc/clnt_udp.c: Likewise.
68020         * sunrpc/clnt_unix.c: Likewise.
68021         * sunrpc/des_crypt.c: Likewise.
68022         * sunrpc/des_soft.c: Likewise.
68023         * sunrpc/get_myaddr.c: Likewise.
68024         * sunrpc/getrpcport.c: Likewise.
68025         * sunrpc/key_call.c: Likewise.
68026         * sunrpc/key_prot.c: Likewise.
68027         * sunrpc/openchild.c: Likewise.
68028         * sunrpc/pm_getmaps.c: Likewise.
68029         * sunrpc/pm_getport.c: Likewise.
68030         * sunrpc/pmap_clnt.c: Likewise.
68031         * sunrpc/pmap_prot.c: Likewise.
68032         * sunrpc/pmap_prot2.c: Likewise.
68033         * sunrpc/pmap_rmt.c: Likewise.
68034         * sunrpc/rpc/auth.h: Likewise.
68035         * sunrpc/rpc/auth_unix.h: Likewise.
68036         * sunrpc/rpc/clnt.h: Likewise.
68037         * sunrpc/rpc/des_crypt.h: Likewise.
68038         * sunrpc/rpc/key_prot.h: Likewise.
68039         * sunrpc/rpc/netdb.h: Likewise.
68040         * sunrpc/rpc/pmap_clnt.h: Likewise.
68041         * sunrpc/rpc/pmap_prot.h: Likewise.
68042         * sunrpc/rpc/pmap_rmt.h: Likewise.
68043         * sunrpc/rpc/rpc.h: Likewise.
68044         * sunrpc/rpc/rpc_des.h: Likewise.
68045         * sunrpc/rpc/rpc_msg.h: Likewise.
68046         * sunrpc/rpc/svc.h: Likewise.
68047         * sunrpc/rpc/svc_auth.h: Likewise.
68048         * sunrpc/rpc/types.h: Likewise.
68049         * sunrpc/rpc/xdr.h: Likewise.
68050         * sunrpc/rpc_clntout.c: Likewise.
68051         * sunrpc/rpc_cmsg.c: Likewise.
68052         * sunrpc/rpc_common.c: Likewise.
68053         * sunrpc/rpc_cout.c: Likewise.
68054         * sunrpc/rpc_dtable.c: Likewise.
68055         * sunrpc/rpc_hout.c: Likewise.
68056         * sunrpc/rpc_main.c: Likewise.
68057         * sunrpc/rpc_parse.c: Likewise.
68058         * sunrpc/rpc_parse.h: Likewise.
68059         * sunrpc/rpc_prot.c: Likewise.
68060         * sunrpc/rpc_sample.c: Likewise.
68061         * sunrpc/rpc_scan.c: Likewise.
68062         * sunrpc/rpc_scan.h: Likewise.
68063         * sunrpc/rpc_svcout.c: Likewise.
68064         * sunrpc/rpc_tblout.c: Likewise.
68065         * sunrpc/rpc_util.c: Likewise.
68066         * sunrpc/rpc_util.h: Likewise.
68067         * sunrpc/rpcinfo.c: Likewise.
68068         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
68069         * sunrpc/rpcsvc/key_prot.x: Likewise.
68070         * sunrpc/rpcsvc/klm_prot.x: Likewise.
68071         * sunrpc/rpcsvc/mount.x: Likewise.
68072         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
68073         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
68074         * sunrpc/rpcsvc/rex.x: Likewise.
68075         * sunrpc/rpcsvc/rstat.x: Likewise.
68076         * sunrpc/rpcsvc/rusers.x: Likewise.
68077         * sunrpc/rpcsvc/sm_inter.x: Likewise.
68078         * sunrpc/rpcsvc/spray.x: Likewise.
68079         * sunrpc/rpcsvc/yppasswd.x: Likewise.
68080         * sunrpc/rtime.c: Likewise.
68081         * sunrpc/svc.c: Likewise.
68082         * sunrpc/svc_auth.c: Likewise.
68083         * sunrpc/svc_authux.c: Likewise.
68084         * sunrpc/svc_raw.c: Likewise.
68085         * sunrpc/svc_run.c: Likewise.
68086         * sunrpc/svc_simple.c: Likewise.
68087         * sunrpc/svc_tcp.c: Likewise.
68088         * sunrpc/svc_udp.c: Likewise.
68089         * sunrpc/svc_unix.c: Likewise.
68090         * sunrpc/svcauth_des.c: Likewise.
68091         * sunrpc/xcrypt.c: Likewise.
68092         * sunrpc/xdr.c: Likewise.
68093         * sunrpc/xdr_array.c: Likewise.
68094         * sunrpc/xdr_float.c: Likewise.
68095         * sunrpc/xdr_mem.c: Likewise.
68096         * sunrpc/xdr_rec.c: Likewise.
68097         * sunrpc/xdr_ref.c: Likewise.
68098         * sunrpc/xdr_sizeof.c: Likewise.
68099         * sunrpc/xdr_stdio.c: Likewise.
68101         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
68102         handling.
68104 2010-08-19  Andreas Schwab  <schwab@redhat.com>
68106         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
68108 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
68110         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
68111         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
68112         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
68113         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
68114         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
68115         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
68116         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
68117         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
68118         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
68119         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
68120         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
68121         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
68122         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
68123         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
68125 2010-07-26  Anton Blanchard  <anton@samba.org>
68127         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
68128         * malloc/arena.c (heap_trim): Likewise.
68130 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
68132         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
68133         here.  Not...
68134         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
68135         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
68137 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
68139         * sysdeps/i386/elf/Makefile: New file.
68141 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
68143         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
68144         from fanotify_init.
68145         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
68146         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
68148 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
68150         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
68151         of strncasecmp_l.
68152         * sysdeps/multiarch/strcmp.S: Likewise.
68154 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
68156         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
68157         strncase_l-nonascii.
68158         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
68159         Add strncase_l-ssse3.
68160         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
68161         * sysdeps/x86_64/strcmp.S: Likewise.
68162         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
68163         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
68164         * sysdeps/x86_64/strncase.S: New file.
68165         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
68166         * sysdeps/x86_64/strncase_l.S: New file.
68167         * string/Makefile (strop-tests): Add strncasecmp.
68168         * string/test-strncasecmp.c: New file.
68170         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
68171         warning.
68173         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
68174         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
68176 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
68178         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
68180 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
68182         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
68183         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
68184         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
68186 2010-05-01  Alan Modra  <amodra@gmail.com>
68188         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
68189         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
68190         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
68191         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
68192         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
68193         tidying.  Don't tail-call __sigjmp_save for static lib.
68194         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
68195         save location.
68196         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
68197         (CALL_MCOUNT): Add eh info, and nop after bl.
68198         (TAIL_CALL_SYSCALL_ERROR): New macro.
68199         (PSEUDO_RET): Use it.
68200         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
68201         Correct save location of integer regs and cr.
68202         (_dl_profile_resolve): Correct cr save location.  Delete nops
68203         after bl when SHARED.  Reduce cfi size a little by better
68204         placement of cfi directives.
68205         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
68206         make a stack frame.  Instead use parm save area as a temp.
68207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
68208         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
68209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
68210         Don't make a stack frame for parent, use parm save area.
68211         Increase child stack frame to 112 bytes.  Don't save unused reg,
68212         and adjust reg usage.  Set up cfi on error recovery and
68213         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
68214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68215         (__makecontext): Add dummy nop after jump to exit.
68216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
68217         Use correct parm save area and cr save, reduce stack frame.
68218         Correct cfi for possible PSEUDO_RET frame setup.
68219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
68220         Branch to local label emitted by PSEUDO_RET rather than
68221         __syscall_error.
68223 2010-08-12  Andreas Schwab  <schwab@redhat.com>
68225         [BZ #11904]
68226         * locale/programs/locale.c (print_assignment): New function.
68227         (show_locale_vars): Use it.
68229 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
68231         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
68232         field.
68233         (struct statfs64): Likewise.
68234         (_STATFS_F_FLAGS): Define.
68235         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
68236         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68237         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
68238         (ST_VALID): Define locally.
68239         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
68240         __statvfs_getflags, use the provided value.
68241         * sysdeps/unix/sysv/linux/kernel-features.h: Define
68242         __ASSUME_STATFS_F_FLAGS.
68244         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
68246         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
68247         Add sys/fanotify.h.
68248         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
68249         fanotify_mask for GLIBC_2.13.
68250         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
68251         fanotify_init and fanotify_mark.
68252         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
68253         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
68255         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
68256         Add prlimit.
68257         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
68258         prlimit64 for GLIBC_2.13.
68259         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
68260         prlimit64.
68261         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
68262         syscall.
68263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
68264         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
68265         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
68266         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
68267         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
68268         add prlimit alias.
68269         * sysdeps/unix/sysv/linux/prlimit.c: New file.
68271         [BZ #11903]
68272         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
68273         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
68275         * nss/Makefile: Add rules to build and run tst-nss-test1.
68276         * shlib-versions: Add entry for libnss_test1.
68277         * nss/nss_test1.c: New file.
68278         * nss/tst-nss-test1.c: New file.
68280         * nss/nsswitch.c (__nss_database_custom): Define new variable.
68281         (__nss_configure_lookup): Set appropriate entry in
68282         __nss_configure_lookup to true.
68283         * nss/nsswitch.h: Define enum with indeces of databases in
68284         databases and __nss_database_custom arrays.  Declare
68285         __nss_database_custom.
68286         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
68287         to avoid using nscd when custom rules are installed.
68288         * nss/getXXbyYY_r.c: Likewise.
68289         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
68291         * nss/nss_files/files-parse.c: Whitespace fixes.
68293 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
68295         [BZ #11883]
68296         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
68297         * posix/fnmatch_loop.c: Likewise.
68299 2010-07-17  Andi Kleen  <ak@linux.intel.com>
68301         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
68302         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
68303         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
68304         * Versions.def [GLIBC_2.13]: Add.
68306 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
68308         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
68309         Also fail if tpwd after pwuid call is NULL.
68311 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68313         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
68314         when converting to ms.
68316 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68318         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
68319         EOPNOTSUPP errors with ENOTTY.
68320         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
68321         EOPNOTSUPP errors with ENOTTY.
68323 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
68325         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
68326         Add strcasecmp_l-ssse3.
68327         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
68328         strcasecmp.
68329         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
68330         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
68331         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
68333 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
68335         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
68337         * string/Makefile (strop-tests): Add strcasecmp.
68338         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
68339         strcasecmp_l-nonascii.
68340         (gen-as-const-headers): Add locale-defines.sym.
68341         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
68342         * sysdeps/x86_64/strcasecmp.S: New file.
68343         * sysdeps/x86_64/strcasecmp_l.S: New file.
68344         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
68345         * sysdeps/x86_64/locale-defines.sym: New file.
68346         * string/test-strcasecmp.c: New file.
68348         * string/test-strcasestr.c: Test both ends of the range of characters.
68349         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
68351 2010-07-29  Roland McGrath  <roland@redhat.com>
68353         [BZ #11856]
68354         * manual/locale.texi (Yes-or-No Questions): Fix example code.
68356 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
68358         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
68359         for ld.so.
68361 2010-07-27  Andreas Schwab  <schwab@redhat.com>
68363         * manual/memory.texi (Malloc Tunable Parameters): Document
68364         M_PERTURB.
68366 2010-07-26  Roland McGrath  <roland@redhat.com>
68368         [BZ #11840]
68369         * configure.in (-fgnu89-inline check): Set and substitute
68370         gnu89_inline, not libc_cv_gnu89_inline.
68371         * configure: Regenerated.
68372         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
68374 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
68376         * string/test-strnlen.c: New file.
68377         * string/Makefile (strop-tests): Add strnlen.
68378         * string/tester.c (test_strnlen): Add a few more test cases.
68379         * string/tst-strlen.c: Better error reporting.
68381         * sysdeps/x86_64/strnlen.S: New file.
68383 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
68385         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
68386         lower-latency instructions.
68388 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
68390         * string/test-strcasestr.c: New file.
68391         * string/test-strstr.c: New file.
68392         * string/Makefile (strop-tests): Add strstr and strcasestr.
68393         * string/str-two-way.h: Don't undefine MAX.
68394         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
68396 2010-07-21  Andreas Schwab  <schwab@redhat.com>
68398         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68399         strcasestr-nonascii.
68400         (CFLAGS-strcasestr-nonascii.c): Define.
68401         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
68402         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
68403         Remove unused attribute.
68405 2010-07-20  Roland McGrath  <roland@redhat.com>
68407         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
68408         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
68409         ld.so.cache was broken.  With it, there is no way to disable dsocaps
68410         like LD_HWCAP_MASK can disable hwcaps.
68412 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
68414         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
68416 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
68418         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
68419         call in strcasestr.
68420         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
68421         __strcasestr_sse42_nonascii.
68422         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
68423         strcasestr-nonascii.c.
68424         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
68426 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
68428         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
68429         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
68430         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
68431         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
68433 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
68435         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
68436         fcntl.
68438 2010-07-06  Andreas Schwab  <schwab@redhat.com>
68440         [BZ #11577]
68441         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
68442         dl_signal_cerror.
68444 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
68446         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
68447         _PC_PIPE_BUF using F_GETPIPE_SZ.
68449 2010-07-05  Roland McGrath  <roland@redhat.com>
68451         * manual/arith.texi (Rounding Functions): Fix rint description
68452         implicit in round description.
68454 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
68456         * elf/Makefile: Fix linking for a few tests to make recent linker
68457         happy.
68459 2010-06-30  Andreas Schwab  <schwab@redhat.com>
68461         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68462         $(common-objpfx)libc_nonshared.a.
68464 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
68466         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
68467         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
68468         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
68469         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
68470         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
68471         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
68472         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
68473         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
68474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
68475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
68476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
68477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
68478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
68479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
68480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
68481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
68482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
68483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
68484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
68485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
68486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
68487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
68488         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
68489         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
68490         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
68491         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
68492         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
68493         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
68494         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
68495         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
68496         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
68497         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
68498         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
68499         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
68500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
68501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
68502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
68503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
68504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
68505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
68506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
68507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
68508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
68509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
68510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
68511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
68512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
68513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
68515 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
68517         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
68518         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
68519         * string/memmove.c (memmove): Renamed to ...
68520         (MEMMOVE): ...this.  Default to memmove.
68521         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
68522         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
68523         (END_CHK): Define.
68524         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68525         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
68526         mempcpy-ssse3-back memmove-ssse3-back.
68527         * sysdeps/x86_64/multiarch/bcopy.S: New file .
68528         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
68529         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
68530         * sysdeps/x86_64/multiarch/memcpy.S: New file.
68531         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
68532         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
68533         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
68534         * sysdeps/x86_64/multiarch/memmove.c: New file.
68535         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
68536         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
68537         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
68538         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
68539         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
68540         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
68541         Define.
68542         (index_Fast_Copy_Backward): Define.
68543         (HAS_ARCH_FEATURE): Define.
68544         (HAS_FAST_REP_STRING): Define.
68545         (HAS_FAST_COPY_BACKWARD): Define.
68547 2010-06-21  Andreas Schwab  <schwab@redhat.com>
68549         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
68550         Restore proper fallback handling.
68552 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
68554         [BZ #11701]
68555         * posix/group_member.c (__group_member): Correct checking loop.
68557         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
68558         OOM in getpwuid_r correctly.  Return error number when the caller
68559         should return, otherwise -1.
68560         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
68561         call returning > 0 value.
68562         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
68564 2010-06-07  Andreas Schwab  <schwab@redhat.com>
68566         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
68567         libc_nonshared.a from targets in modules-names.
68569 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
68571         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
68572         requires it.
68574 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
68576         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
68577         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
68578         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
68579         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
68581 2010-06-02  Andreas Schwab  <schwab@redhat.com>
68583         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
68585 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
68587         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
68588         and F_GETPIPE_SZ.
68589         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
68590         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68591         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68592         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68593         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68594         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
68596 2010-06-14  Roland McGrath  <roland@redhat.com>
68598         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
68600 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
68602         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
68603         __REDIRECT followed by __THROW.
68604         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
68605         * posix/getopt.h (getopt): Likewise.
68607 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
68609         * hurd/lookup-at.c (__file_name_lookup_at): Accept
68610         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
68611         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
68612         in AT_FLAGS.
68613         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
68614         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
68616 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
68618         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
68620 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
68622         [BZ #11640]
68623         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68624         Properly check family and model.
68626 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
68628         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
68630 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
68632         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
68634 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
68636         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
68637         symbol reference.
68639 2010-05-19  Andreas Schwab  <schwab@redhat.com>
68641         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
68642         symbol reference.
68644 2010-05-21  Andreas Schwab  <schwab@redhat.com>
68646         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
68647         and internal_recvmmsg.
68648         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
68649         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
68650         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
68651         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
68653         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
68654         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
68655         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
68657 2010-05-20  Andreas Schwab  <schwab@redhat.com>
68659         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
68661 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
68663         POWER7 optimizations.
68664         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
68665         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
68667 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
68669         * version.h: Update for 2.13 development version.
68671 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
68673         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
68674         exceptions.  Return 0.
68676 2010-05-07  Roland McGrath  <roland@redhat.com>
68678         * elf/ldconfig.c (main): Add a const.
68680 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
68682         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
68683         (args_options): Add no-idn option.
68684         (ahosts_keys_int): Add idn_flags to ai_flags.
68685         (parse_option): Handle 'i' option to clear idn_flags.
68687         * malloc/malloc.c (_int_free): Possible race in the most recently
68688         added check.  Only act on the data if no current modification
68689         happened.
68691 See ChangeLog.17 for earlier changes.