Remove __ASSUME_O_CLOEXEC / O_CLOEXEC conditionals in sysdeps/unix/sysv/linux/.
[glibc.git] / ChangeLog
bloba8350cc5f083d38af1821608ad197e6fd0230c7f
1 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4         not undefine and redefine.
5         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6         [O_CLOEXEC]: Make code unconditional.
7         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9         <kernel-features.h>.
10         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
11         conditional variable definition.
12         (shm_open) [O_CLOEXEC]: Make code unconditional.
13         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14         code.
16         * configure.ac (USE_REGPARMS): Don't define here.
17         * configure: Regenerated.
18         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
19         * sysdeps/i386/configure: Regenerated.
21         * nptl/createthread.c: Don't include kernel-features.h.
22         * nptl/pthread_cancel.c: Likewise.
23         * nptl/pthread_condattr_setclock.c: Likewise.
24         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
25         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
26         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
27         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
28         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
29         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
30         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
31         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
32         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
34         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
35         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
36         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
37         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
38         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
39         * nscd/gai.c: Likewise.
40         * nss/nss_db/db-open.c: Likewise.
41         * sysdeps/generic/ldsodefs.h: Likewise.
42         * sysdeps/sh/nptl/tls.h: Likewise.
43         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
44         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
45         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
46         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
47         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
48         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
49         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
50         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
51         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
52         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
53         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
54         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
55         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
56         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
57         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
58         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
59         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
60         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
61         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
62         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
63         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
64         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
65         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
66         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
67         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
68         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
69         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
70         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
71         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
72         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
73         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
74         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
75         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
76         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
77         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
78         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
79         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
80         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
81         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
82         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
83         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
84         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
85         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
86         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
87         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
88         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
89         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
90         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
91         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
92         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
93         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
94         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
95         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
96         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
97         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
98         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
99         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
100         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
123         * sysdeps/unix/sysv/linux/pread.c: Likewise.
124         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
125         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
126         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
127         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
128         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
129         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
130         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
131         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
132         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
133         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
134         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
135         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
136         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
137         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
138         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
139         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
140         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
141         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
142         * sysdeps/unix/sysv/linux/system.c: Likewise.
143         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
144         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
145         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
146         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
147         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
148         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
149         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
151         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
152         * configure: Regenerated.
153         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
155         * configure.ac (base_machine): Do not set specially for particular
156         machines here.
157         * configure: Regenerated.
158         * sysdeps/powerpc/preconfigure: Move machine and base_machine
159         settings from configure.ac.
160         * sysdeps/i386/preconfigure: New file.
161         * sysdeps/s390/preconfigure: Likewise.
162         * sysdeps/sh/preconfigure: Likewise.
163         * sysdeps/sparc/preconfigure: Likewise.
165 2014-06-25  Roland McGrath  <roland@hack.frob.com>
167         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
168         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
169         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
170         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
171         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
172         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
173         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
174         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
175         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
176         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
177         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
178         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
179         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
180         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
181         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
182         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
183         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
184         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
185         * sysdeps/sparc/sparc64/Makefile: ... appended here.
187         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
188         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
189         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
190         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
191         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
192         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
193         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
194         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
195         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
196         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
197         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
198         * sysdeps/sparc/sparc32/sem_post.c: ... here.
199         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
200         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
201         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
202         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
203         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
204         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
205         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
206         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
207         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
208         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
209         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
210         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
211         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
212         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
213         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
214         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
215         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
216         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
217         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
218         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
219         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
220         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
221         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
222         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
223         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
224         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
227         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
228         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
229         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
230         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
231         Moved ...
232         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
233         ... here.
234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
235         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
237         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
239         Moved ...
240         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
242         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
244         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
245         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
246         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
248         Moved ...
249         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
250         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
251         Moved ...
252         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
254         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
256         Moved ...
257         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
258         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
259         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
260         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
261         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
263         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
265         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
267         Moved ...
268         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
269         ... here.
270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
271         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
273         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
275         Moved ...
276         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
278         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
280         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
281         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
282         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
284         Moved ...
285         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
287         Moved ...
288         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
290         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
291         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
292         Moved ...
293         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
295         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
297         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
299 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
301         * timezone/checktab.awk: Update from tzcode 2014e.
302         * timezone/private.h: Likewise.
303         * timezone/tzfile.h: Likewise.
304         * timezone/zdump.c: Likewise.
305         * timezone/zic.c: Likewise.
307         * sysdeps/unix/sysv/linux/kernel-features.h
308         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
309         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
310         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
311         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
312         Remove conditional code.
314 2014-06-25  Will Newton  <will.newton@linaro.org>
316         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
317         (_dl_arm_cap_flags): Add HWCAP2 values.
318         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
319         (_DL_HWCAP_COUNT): Increase to 37.
320         (_DL_HWCAP_LAST): New define.
321         (_DL_HWCAP2_LAST): New define.
322         (_dl_procinfo): Add support for printing
323         AT_HWCAP2 entries.
324         (_dl_string_hwcap): Use _dl_hwcap_string.
326 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
330 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
332         * README: Do not mention ports directory.
334         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
335         Remove macro.
336         * sysdeps/unix/sysv/linux/futimes.c: Do not include
337         <kernel-features.h>.
338         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
339         conditional variable definition.
340         (__futimes): Update comment.
341         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
342         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
344         [BZ #16560]
345         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
346         arguments close to 0.
347         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
348         Likewise.
349         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
350         Likewise.
351         * math/auto-libm-test-in: Add more tests of exp10.
352         * math/auto-libm-test-out: Regenerated.
353         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
355         * sysdeps/unix/sysv/linux/kernel-features.h
356         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
357         * sysdeps/unix/sysv/linux/readv.c: Do not include
358         <kernel-features.h>.
359         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
360         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
361         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
362         unconditional.
363         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
364         conditional code.
365         * sysdeps/unix/sysv/linux/writev.c: Do not include
366         <kernel-features.h>.
367         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
368         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
369         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
370         unconditional.
371         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
372         conditional code.
374 2014-06-25  Will Newton  <will.newton@linaro.org>
376         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
377         comment changes throughout the file.  Remove checks
378         for HAVE_*_H definitions that are not required.
379         (__gen_tempname): Call abort if an unknown kind value is
380         passed.
382 2014-06-25  Andreas Schwab  <schwab@suse.de>
384         [BZ #17086]
385         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
386         scalbln, scalblnf, scalblnl in libc.
388 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
390         [BZ #17086]
391         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
392         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
393         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
395 2014-06-24  Roland McGrath  <roland@hack.frob.com>
397         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
398         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
399         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
400         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
401         Update #include.
402         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
403         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
404         Update #include.
405         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
406         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
407         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
408         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
409         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
410         * sysdeps/x86/bits/pthreadtypes.h: ... here.
411         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
412         * sysdeps/x86/bits/semaphore.h: ... here.
413         * sysdeps/x86/nptl/elide.h: Moved ...
414         * sysdeps/x86/elide.h: ... here.
415         * sysdeps/x86_64/nptl/Implies: File removed.
416         * sysdeps/i386/nptl/Implies: File removed.
418 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
420         [BZ #16539]
421         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
422         return the argument for normal arguments with exponent below -64.
423         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
424         Likewise.
425         * math/auto-libm-test-in: Add another test of expm1.
426         * math/auto-libm-test-out: Regenerated.
428         [BZ #16287]
429         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
430         calling __erfcl for arguments at least 16.
431         * math/auto-libm-test-in: Add more tests of erf.
432         * math/auto-libm-test-out: Regenerated.
434         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
435         individual architectures.
436         * sysdeps/unix/sysv/linux/configure: Regenerated.
437         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
438         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
439         * sysdeps/unix/sysv/linux/powerpc/configure.ac
440         (ldd_rewrite_script): Define variable.
441         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
443         file.
444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
445         generated file.
446         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
447         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
448         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
449         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
450         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
451         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
452         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
453         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
455 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
457         [BZ #17084]
458         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
459         Rename member __data.d to __data.__elision_data.
461 2014-06-24  Wilco  <wdijkstr@arm.com>
463         * NEWS: Add 16918 to fixed bug list.
465 2014-06-24  Wilco  <wdijkstr@arm.com>
467         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
469 2014-06-24  Wilco  <wdijkstr@arm.com>
471         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
472         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
473         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
474         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
475         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
476         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
477         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
478         Use _FPU_MASK_RM.
480 2014-06-24  Wilco  <wdijkstr@arm.com>
482         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
484 2014-06-24  Wilco  <wdijkstr@arm.com>
486         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
487         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
488         * sysdeps/arm/fesetround.c (fesetround): Remove space.
489         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
491 2014-06-24  Wilco  <wdijkstr@arm.com>
493         [BZ #16918]
494         * sysdeps/arm/feupdateenv.c (feupdateenv):
495         Rewrite to reduce FPSCR accesses and fix return value.
497 2014-06-24  Wilco  <wdijkstr@arm.com>
499         * sysdeps/arm/fclrexcpt.c (feclearexcept):
500         Optimize to avoid unnecessary FPSCR writes.
501         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
502         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
503         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
504         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
506 2014-06-24  Wilco  <wdijkstr@arm.com>
508         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
509         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
510         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
511         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
512         Call libc_fetestexcept_vfp.
513         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
514         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
515         __SOFTFP__ ifdef so that they can be built for softfp.
517 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
519         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
520         argument type signed char.
522         * Makerules (check-abi): Dump diff of symlist if the test
523         fails.
525 2014-06-23  Roland McGrath  <roland@hack.frob.com>
527         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
528         using abort.
530         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
531         Remove unused variable ST.
533 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
535         [BZ #16354]
536         [BZ #17061]
537         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
538         small arguments before calling __expm1.
539         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
540         small arguments before calling __expm1f.
541         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
542         small arguments before calling __expm1l.
543         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
544         Likewise.
545         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
546         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
547         spurious underflow for some cosh tests.
548         * math/auto-libm-test-out: Regenerated.
549         * sysdeps/i386/fpu/libm-test-ulps: Update.
551         [BZ #17050]
552         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
553         (__ieee754_y1): Set errno if return value overflows.
554         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
555         (__ieee754_y1f): Set errno if return value overflows.
556         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
557         (__ieee754_y1l): Set errno if return value overflows.
558         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
559         (__ieee754_y1l): Set errno if return value overflows.
560         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
561         * math/auto-libm-test-out: Regenerated.
563         * math/gen-auto-libm-tests.c: Document use of
564         ignore-zero-inf-sign.
565         (input_flag_type): Add value flag_ignore_zero_inf_sign.
566         (input_flags): Add ignore-zero-inf-sign.
567         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
568         * math/gen-libm-test.pl (generate_testfile): Handle
569         ignore-zero-inf-sign.
570         * math/auto-libm-test-in: Mark some cpow tests with
571         ignore-zero-inf-sign and some with xfail-rounding.
572         * math/auto-libm-test-out: Regenerated.
573         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
574         * sysdeps/i386/fpu/libm-test-ulps: Update.
575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
577         [BZ #16315]
578         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
579         overflowing or underflowing operations take place with sign of
580         result.
581         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
582         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
583         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
584         (__ieee754_pow): Recompute overflowing and underflowing results in
585         original rounding mode.
586         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
587         (__powl_helper): Allow negative argument X and scale negated value
588         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
589         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
590         overflowing or underflowing operations take place with sign of
591         result.
592         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
593         Include <math.h>.
594         * math/auto-libm-test-in: Add more tests of pow.
595         * math/auto-libm-test-out: Regenerated.
596         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
597         (pow_tonearest_test_data): Remove.
598         (pow_test_tonearest): Likewise.
599         (pow_towardzero_test_data): Likewise.
600         (pow_test_towardzero): Likewise.
601         (pow_downward_test_data): Likewise.
602         (pow_test_downward): Likewise.
603         (pow_upward_test_data): Likewise.
604         (pow_test_upward): Likewise.
605         (main): Don't call removed functions.
606         * sysdeps/i386/fpu/libm-test-ulps: Update.
607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
609 2014-06-23  Roland McGrath  <roland@hack.frob.com>
611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
612         Moved ...
613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
615         Moved ...
616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
618         Moved ...
619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
621         Moved ...
622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
624         File removed.
625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
626         File removed.
627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
628         File removed.
629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
630         File removed.
631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
632         File removed.
633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
634         File removed.
635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
636         File removed.
637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
638         File removed.
639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
640         File removed.
641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
642         File removed.
643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
644         File removed.
645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
646         File removed.
647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
648         Moved ...
649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
651         Moved ...
652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
653         ... here.
654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
655         Moved ...
656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
658         Moved ...
659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
661         Moved ...
662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
664         Moved ...
665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
667         Moved ...
668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
670         Moved ...
671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
673         Moved ...
674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
677         ... here.
678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
679         Moved ...
680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
682         Moved ...
683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
684         ... here.
685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
686         Moved ...
687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
688         ... here.
689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
690         Moved ...
691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
692         ... here.
693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
694         Moved ...
695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
697         Moved ...
698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
702         Moved ...
703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
704         ... here.
705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
706         Moved ...
707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
708         ... here.
709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
710         Moved ...
711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
713         Moved ...
714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
716         Moved ...
717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
719         Moved ...
720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
722         Moved ...
723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
724         ... here.
725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
726         Moved ...
727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
729         Moved ...
730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
732         Moved ...
733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
735         Moved ...
736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
740         Moved ...
741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
743         Moved ...
744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
746         Moved ...
747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
748         ... here.
749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
750         Moved ...
751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
752         ... here.
753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
754         Moved ...
755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
756         ... here.
757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
758         Moved ...
759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
761         Moved ...
762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
764         Moved ...
765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
767         Moved ...
768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
769         ... here.
770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
771         Moved ...
772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
773         ... here.
774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
775         Moved ...
776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
777         ... here.
778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
779         Moved ...
780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
782         Moved ...
783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
785 2014-06-23  Will Newton  <will.newton@linaro.org>
786             Wilco  <wdijkstr@arm.com>
788         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
789         implementation.  Include get-rounding-mode.h.
790         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
791         [!libc_feholdsetround_noex_ctx]: Define
792         libc_feholdsetround_noex_ctx.
793         [!libc_feholdsetround_noexf_ctx]: Define
794         libc_feholdsetround_noexf_ctx.
795         [!libc_feholdsetround_noexl_ctx]: Define
796         libc_feholdsetround_noexl_ctx.
797         (libc_feholdsetround_ctx): New function.
798         (libc_feresetround_ctx): New function.
799         (libc_feholdsetround_noex_ctx): New function.
800         (libc_feresetround_noex_ctx): New function.
802 2014-06-23  Roland McGrath  <roland@hack.frob.com>
804         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
805         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
806         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
807         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
808         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
809         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
811         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
812         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
813         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
814         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
815         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
816         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
817         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
818         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
819         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
820         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
821         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
822         Moved ...
823         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
824         ... here.
825         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
826         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
827         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
828         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
829         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
830         Moved ...
831         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
832         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
833         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
834         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
835         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
836         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
837         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
838         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
839         Moved ...
840         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
841         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
842         Moved ...
843         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
844         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
845         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
846         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
847         Moved ...
848         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
849         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
850         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
851         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
852         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
853         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
854         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
855         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
856         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
857         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
858         Moved ...
859         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
860         ... here.
861         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
862         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
863         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
864         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
865         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
866         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
867         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
868         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
869         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
870         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
871         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
872         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
873         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
874         Moved ...
875         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
876         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
877         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
878         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
879         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
880         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
881         Moved ...
882         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
883         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
884         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
885         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
886         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
888         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
889         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
890         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
891         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
892         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
893         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
894         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
895         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
896         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
897         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
898         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
899         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
900         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
901         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
902         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
903         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
904         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
905         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
906         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
907         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
908         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
909         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
910         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
911         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
912         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
913         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
914         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
915         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
917 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
919         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
920         (FALLOC_FL_COLLAPSE_RANGE): New macro.
921         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
922         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
923         (IPV6_PMTUDISC_INTERFACE): Likewise.
924         (IPV6_PMTUDISC_OMIT): Likewise.
926 2014-06-23  Andreas Schwab  <schwab@suse.de>
928         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
929         Remove unused errout label.
931 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
933         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
934         macro: hardware supports Vector Crypto instructions.
936 2014-06-23  Will Newton  <will.newton@linaro.org>
938         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
939         rather than __builtin_expect.
941         * elf/dl-lookup.c (undefined_msg): Remove variable.
942         (_dl_lookup_symbol_x): Replace undefined_msg with string
943         literal.
945         * elf/dl-lookup.c (do_lookup_unique): New function.
946         (do_lookup_x): Move STB_GNU_UNIQUE handling code
947         to a separate function.
949 2014-06-23  Andreas Schwab  <schwab@suse.de>
951         [BZ #17079]
952         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
953         before reading the next line.
955 2014-06-23  Will Newton  <will.newton@linaro.org>
957         * test-skeleton.c (signal_handler): Use printf and %m
958         rather than perror.  Use printf rather than fprintf to
959         stderr.  Use puts rather than fputs to stderr.
960         (main): Likewise.
962 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
964         * nscd/nscd.c (thread_info_t): Remove typedef.
965         (thread_info): Remove variable.
967 2014-06-21  Allan McRae  <allan@archlinux.org>
969         * NEWS: Mention CVE-2014-4043.
971 2014-06-20  Roland McGrath  <roland@hack.frob.com>
973         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
974         * nptl/smp.h: ... here.
976         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
978         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
979         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
980         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
981         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
983         * nptl/allocatestack.c: Include <stack-aliasing.h>.
984         * nptl/stack-aliasing.h: New file.
985         * sysdeps/i386/i686/stack-aliasing.h: New file.
986         * sysdeps/i386/i686/nptl/Makefile: File removed.
987         * sysdeps/x86_64/stack-aliasing.h: New file.
988         * sysdeps/x86_64/nptl/Makefile
989         (CFLAGS-pthread_create.c): Variable removed.
991         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
992         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
993         old file.
994         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
995         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
996         old file.
998 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1000         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1001         (__ASSUME_SIGFRAME_V2): Remove macro.
1002         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1003         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1004         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1005         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1006         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1007         Declare as function.  Remove conditional macro definitions.
1008         (__default_rt_sa_restorer): Likewise.
1009         (__default_sa_restorer_v1): Remove declaration.
1010         (__default_sa_restorer_v2): Likewise.
1011         (__default_rt_sa_restorer_v1): Likewise.
1012         (__default_rt_sa_restorer_v2): Likewise.
1013         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1014         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1015         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1017 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1019         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1020         (libpthread-routines): Add sysdep.
1021         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1022         * sysdeps/unix/sysv/linux/sparc/Versions
1023         (libpthread: GLIBC_2.3.3): New version set.
1024         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1025         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1026         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1027         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1028         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1029         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1030         Moved ...
1031         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1032         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1033         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1034         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1035         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1036         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1037         * sysdeps/sparc/nptl/sem_init.c: ... here.
1038         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1039         * sysdeps/sparc/nptl/sem_post.c: ... here.
1040         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1041         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1042         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1043         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1044         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1045         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1046         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1047         (libpthread-routines): Add cpu_relax.
1048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1049         File removed.
1050         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1051         (librt: GLIBC_2.3.3): New version set.
1052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1053         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1054         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1055         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1057         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1058         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1059         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1060         Moved ...
1061         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1062         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1063         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1064         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1065         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1066         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1067         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1068         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1069         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1071         Moved ...
1072         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1073         Update #include.
1074         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1075         Moved ...
1076         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1077         Update #include.
1078         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1079         Moved ...
1080         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1081         Update #include.
1082         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1083         Moved ...
1084         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1085         Update #include.
1086         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1087         Moved ...
1088         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1089         Update #include.
1090         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1091         Moved ...
1092         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1093         Update #include.
1094         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1095         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1097         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1098         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1099         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1101         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1102         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1103         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1105         Moved ...
1106         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1107         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1108         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1109         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1110         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1112 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1114         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1115         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1116         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1117         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1118         * nscd/nscd.c: Likewise.
1119         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1120         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1121         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1122         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1124         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1125         <kernel-features.h>.
1126         (init_mq_netlink): Remove conditional have_sock_cloexec
1127         definitions.  Remove code conditional on have_sock_cloexec < 0.
1128         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1129         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1130         * sysdeps/unix/sysv/linux/opensock.c: Do not include
1131         <kernel-features.h>.
1132         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1133         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1135 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1137         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1138         Add tests for memset_chk and memset.
1140         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1141         with AVX2_Usable.
1143 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1145         [BZ #16046]
1146         * elf/tst-dl-iter-static.c: New file.
1147         * elf/Makefile (tests-static): Add tst-dl-iter-static.
1149         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1150         error.
1152 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1154         * sysdeps/unix/sysv/linux/kernel-features.h
1155         (__ASSUME_F_GETOWN_EX): Remove macro.
1156         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1157         <kernel-features.h>.
1158         (miss_F_GETOWN_EX): Remove variable or macro.
1159         (do_fcntl): Do not check miss_F_GETOWN_EX.
1160         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1162         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1163         Remove macro.
1164         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1165         [!__ASSUME_AT_RANDOM]: Remove conditional code.
1166         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1168         * sysdeps/unix/sysv/linux/kernel-features.h
1169         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1170         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1171         [ADJ_OFFSET_SS_READ]: Make code unconditional.
1172         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1174 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1176         [BZ #17075]
1177         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1178         Fix calculation of the symbol's value.
1179         * sysdeps/arm/tst-armtlsdescloc.c: New file.
1180         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1181         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1182         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1183         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1184         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1185         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1186         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1187         (modules-names): Add `tst-armtlsdescmod',
1188         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1189         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1190         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1191         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1192         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1193         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1194         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1195         ($(objpfx)tst-armtlsdescloc): New dependency.
1196         ($(objpfx)tst-armtlsdescextnow): Likewise.
1197         ($(objpfx)tst-armtlsdescextlazy): Likewise.
1198         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1199         TLS scheme support.
1200         * sysdeps/arm/configure: Regenerate.
1202 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1204         * include/fcntl.h (__atfct_seterrno): Remove prototype.
1205         (__atfct_seterrno_2): Likewise.
1206         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1207         <kernel-features.h>.
1208         (__ASSUME_ATFCTS): Do not undefine and redefine.
1209         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1210         (__have_atfcts): Remove conditional definition.
1211         (__fxstatat([__NR_fstatat64]: Make code unconditional.
1212         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1213         unreachable if [__ASSUME_ATFCTS].
1214         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1215         not undefine and redefine.
1216         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1217         <kernel-features.h>.
1218         (faccessat) [__NR_faccessat]: Make code unconditional.
1219         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1220         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1221         <kernel-features.h>.
1222         (fchmodat) [__NR_fchmodat]: Make code unconditional.
1223         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1224         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1225         <kernel-features.h>.
1226         (fchownat) [__NR_fchownat]: Make code unconditional.
1227         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1228         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1229         <kernel-features.h>.
1230         (futimesat) [__NR_futimesat]: Make code unconditional.
1231         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1232         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1233         <kernel-features.h>.
1234         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1235         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1236         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1237         <kernel-features.h>.
1238         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1239         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1240         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1241         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1242         <kernel-features.h>.
1243         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1244         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1245         * sysdeps/unix/sysv/linux/linkat.c: Do not include
1246         <kernel-features.h>.
1247         (linkat) [__NR_linkat]: Make code unconditional.
1248         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1249         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1250         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1251         <kernel-features.h>.
1252         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1253         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1254         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1255         <kernel-features.h>.
1256         (mkdirat) [__NR_mkdirat]: Make code unconditional.
1257         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1258         * sysdeps/unix/sysv/linux/openat.c: Do not include
1259         <kernel-features.h>.
1260         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1261         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1262         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1263         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1264         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1265         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1266         <kernel-features.h>.
1267         (readlinkat) [__NR_readlinkat]: Make code unconditional.
1268         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
1269         result of INLINE_SYSCALL directly, not via int variable.
1270         * sysdeps/unix/sysv/linux/renameat.c: Do not include
1271         <kernel-features.h>.
1272         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1273         (renameat) [__NR_renameat]: Make code unconditional.
1274         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1275         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1276         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1277         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1278         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1279         (__ASSUME_ATFCTS): Do not undefine and redefine.
1280         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1281         <kernel-features.h>.
1282         (symlinkat) [__NR_symlinkat]: Make code unconditional.
1283         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1284         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1285         <kernel-features.h>.
1286         (unlinkat) [__NR_unlinkat]: Make code unconditional.
1287         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1288         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1289         (__ASSUME_ATFCTS): Do not undefine and redefine.
1290         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1291         <kernel-features.h>.
1292         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1293         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1294         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1295         <kernel-features.h>.
1296         (__xmknodat) [__NR_mknodat]: Make code unconditional.
1297         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1299 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1301         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1303 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
1305         [BZ #17069]
1306         * posix/regcomp.c (parse_reg_exp): Deallocate partially
1307         constructed tree before returning error.
1308         * posix/bug-regexp36.c: Expand test case.
1310 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1312         [BZ #6803]
1313         * math/libm-test.inc (scalbln_test_date):
1314         Add errno expectations.
1315         * math/w_scalblnf.c: New File.
1316         Add wrapper which checks for setting errno to ERANGE.
1317         Add weak_alias for corresponding scalbln function.
1318         * math/w_scalbln.c: Likewise.
1319         * math/w_scalblnl.c: Likewise.
1320         * math/Makefile (libm-calls): Add w_scalbln.
1321         * sysdeps/ieee754/flt-32/s_scalblnf.c:
1322         Remove weak_alias for corresponding scalbln function.
1323         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1324         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1325         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1326         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1327         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1328         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1329         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1330         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1331         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1332         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1333         Remove long_double_symbol for scalblnl function in libm, libc.
1334         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1335         Add wrapper which checks for setting errno to ERANGE.
1336         Add long_double_symbol for scalblnl function in libm, libc.
1337         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1338         Remove long_double_symbol for scalblnl in libm.
1339         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1340         Add wrapper which checks for setting errno to ERANGE.
1341         Add long_double_symbol for scalblnl function in libm.
1342         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1343         Do not use wrapper because of own implementation.
1345 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
1347         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1348         3 bytes for __pad1 for x32.
1349         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1351 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
1352             H.J. Lu  <hongjiu.lu@intel.com>
1354         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1355         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1356         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1357         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1358         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1360 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
1362         [BZ #17069]
1363         * posix/regcomp.c (parse_expression): Deallocate partially
1364         constructed tree before returning error.
1365         * posix/Makefile.c (tests): Add bug-regex36.
1366         (generated): Add bug-regex36.mtrace.
1367         (tests-special): Add $(objpfx)bug-regex36-mem.out
1368         (bug-regex36-ENV): New variable.
1369         ($(objpfx)bug-regex36-mem.out): New rule.
1370         * posix/bug-regex36.c: New file.
1372 2014-06-19  Will Newton  <will.newton@linaro.org>
1374         * malloc/malloc.c (systrim): If extra is zero then return
1375         early.
1377 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1379         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1381 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
1383         * sysdeps/aarch64/strchr.S: New file.
1385 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1387         [BZ #17022]
1388         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1389         from arguments -2 or below.
1390         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1391         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1393 2014-06-18  Andreas Schwab  <schwab@suse.de>
1395         [BZ #17062]
1396         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1397         of a bracket expr not to run off the end of the string.
1398         * posix/Makefile (tests): Add tst-fnmatch3.
1399         * posix/tst-fnmatch3.c: New file.
1401 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1403         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1404         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1405         [$(cross-compiling) = no]: Likewise.
1406         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1407         [$(cross-compiling) = no]: Likewise.
1409 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1411         [BZ #17031]
1412         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1413         double, adjusted for any remainder from the high double.
1414         * math/libm-test.inc (nearbyint): Add tests.
1415         (rint): Likewise.
1417 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1419         * nptl/sysdeps/powerpc/Makefile: Moved ...
1420         * sysdeps/powerpc/nptl/Makefile: ... here.
1421         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1422         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1423         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1424         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1425         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1426         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1427         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1428         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1429         * nptl/sysdeps/powerpc/tls.h: Moved ...
1430         * sysdeps/powerpc/nptl/tls.h: ... here.
1432 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
1434         [BZ #16681]
1435         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1436         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1437         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1438         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1439         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1440         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1441         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1442         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1443         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1445 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
1447         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1449 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
1451         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1452         defined operator.
1454         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1455         $TIMEOUTFACTOR.
1457 2014-06-16  Florian Weimer  <fweimer@redhat.com>
1459         [BZ #17058]
1460         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1461         non-executed part of the test.
1463 2014-06-16  Andreas Schwab  <schwab@suse.de>
1465         * string/bits/string2.h (strdup, strndup): Update feature guard.
1467 2014-06-14  David S. Miller  <davem@davemloft.net>
1469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1471 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
1473         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1474         that was previously under [RESET_PID].
1475         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1477         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1478         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1479         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1480         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1481         (__libc_vfork): New strong alias.
1482         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1484 2014-06-14 Andi Kleen  <ak@linux.intel.com>
1486         * sysdeps/generic/elide.h: New file.
1488 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1490         * Makefile (installed-headers): Adjust path of pthread.h header.
1492 2014-06-13  Roland McGrath  <roland@hack.frob.com>
1494         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1495         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1496         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1497         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1499         * nptl/sysdeps/s390/Makefile: Moved ...
1500         * sysdeps/s390/nptl/Makefile: ... here.
1501         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1502         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1503         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1504         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1505         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1506         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1507         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1508         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1509         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1510         * sysdeps/s390/nptl/pthreaddef.h: ... here.
1511         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1512         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1513         * nptl/sysdeps/s390/tls.h: Moved ...
1514         * sysdeps/s390/nptl/tls.h: ... here.
1516         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1517         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1519 2014-06-13  David S. Miller  <davem@davemloft.net>
1521         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1523         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1524         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1527         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1528         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1529         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1530         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1531         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1532         Remove RESET_PID cpp guards.
1533         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1534         Remove RESET_PID cpp guards.
1535         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1537 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
1539         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1540         __sp to uintptr_t.
1542 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1544         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1545         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1546         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1547         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1548         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1549         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1550         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1551         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1552         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1553         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1554         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1555         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1556         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1557         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1558         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1559         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1560         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1561         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1562         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1563         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1565         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1566         (pthread_rwlock_rdlock): Add elision.
1567         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1568         (pthread_rwlock_wrlock): Add elision.
1569         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1570         (pthread_rwlock_trywrlock): Add elision.
1571         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1572         (pthread_rwlock_tryrdlock): Add elision.
1573         * nptl/pthread_rwlock_unlock.c: Include elide.h.
1574         (pthread_rwlock_tryrdlock): Add elision unlock.
1575         * nptl/sysdeps/pthread/pthread.h:
1576         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1577         (PTHREAD_RWLOCK_INITIALIZER,
1578         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1579         Handle new elision field.
1580         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1581         * sysdeps/arm/nptl/bits/pthreadtypes.h
1582         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1583         * sysdeps/sh/nptl/bits/pthreadtypes.h
1584         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1585         * sysdeps/tile/nptl/bits/pthreadtypes.h
1586         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1587         * sysdeps/a/nptl/bits/pthreadtypes.h
1588         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1589         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1590         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1591         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1592         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1593         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1594         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1595         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1596         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1597         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1598         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1599         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1600         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1601         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1602         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1603         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1604         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1605         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1606         (elision_init): Set try_xbegin to zero when no RTM.
1607         * sysdeps/x86/nptl/bits/pthreadtypes.h
1608         (pthread_rwlock_t): Change __pad1 to __rwelision.
1609         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1611 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1613         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1614         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1615         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1616         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1618 2014-06-13  Meador Inge  <meadori@codesourcery.com>
1620         [BZ #16996]
1621         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1622         that the cached result has been set before returning it.
1624 2014-06-12  Roland McGrath  <roland@hack.frob.com>
1626         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1627         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1628         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1629         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1630         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1631         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1633         * nptl/sysdeps/sparc/Makefile: Moved ...
1634         * sysdeps/sparc/nptl/Makefile: ... here.
1635         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1636         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1637         * nptl/sysdeps/sparc/tls.h: Moved ...
1638         * sysdeps/sparc/nptl/tls.h: ... here.
1639         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1640         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1641         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1642         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1643         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1644         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1645         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1646         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1647         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1648         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1649         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1650         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1651         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1652         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1653         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1654         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1655         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1656         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1657         Update #include.
1658         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1659         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1660         Update #include.
1661         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1662         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1663         Update #include.
1664         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1665         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1666         Update #include.
1668         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1670         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1671         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1673         * sysdeps/pthread/posix-timer.h: Include <list.h>.
1674         (struct list_links): Type removed.
1675         (struct thread_node, struct timer_node): Replace struct list_links
1676         with struct list_head.
1677         (list_unlink_ip): Likewise.
1678         * sysdeps/pthread/timer_routines.c
1679         (timer_free_list, thread_free_list, thread_active_list): Likewise.
1680         (list_append, list_insbefore): Likewise.
1681         (list_init): Function removed.
1682         (thread_init, init_module): Use INIT_LIST_HEAD instead.
1683         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1684         * sysdeps/pthread/Makefile: ... here, new file.
1686         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1687         * sysdeps/nptl/Implies: ... here.
1688         * sysdeps/unix/sysv/linux/Implies: Add nptl.
1689         * nptl/sysdeps/pthread/list.h: Moved ...
1690         * include/list.h: ... here.
1691         * nptl/sysdeps/pthread/createthread.c: Moved ...
1692         * nptl/createthread.c: ... here.
1693         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1694         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1695         * nptl/pt-longjmp.c: ... here.
1696         * nptl/sysdeps/pthread/Makefile: Moved ...
1697         * sysdeps/nptl/Makefile: ... here.
1698         * nptl/sysdeps/pthread/Subdirs: Moved ...
1699         * sysdeps/nptl/Subdirs: ... here.
1700         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1701         * sysdeps/nptl/aio_misc.h: ... here.
1702         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1703         * sysdeps/nptl/bits/libc-lock.h: ... here.
1704         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1705         * sysdeps/nptl/bits/libc-lockP.h: ... here.
1706         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1707         * sysdeps/nptl/bits/stdio-lock.h: ... here.
1708         * nptl/sysdeps/pthread/configure: Moved ...
1709         * sysdeps/nptl/configure: ... here.
1710         * nptl/sysdeps/pthread/configure.ac: Moved ...
1711         * sysdeps/nptl/configure.ac: ... here.
1712         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1713         * sysdeps/nptl/gai_misc.h: ... here.
1714         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1715         * sysdeps/nptl/librt-cancellation.c: ... here.
1716         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1717         * sysdeps/nptl/malloc-machine.h: ... here.
1718         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1719         * sysdeps/nptl/pthread-functions.h: ... here.
1720         * nptl/sysdeps/pthread/pthread.h: Moved ...
1721         * sysdeps/nptl/pthread.h: ... here.
1722         * nptl/sysdeps/pthread/setxid.h: Moved ...
1723         * sysdeps/nptl/setxid.h: ... here.
1724         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1725         * sysdeps/nptl/sigfillset.c: ... here.
1726         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1727         * sysdeps/nptl/tcb-offsets.h: ... here.
1728         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1729         * sysdeps/nptl/tst-mqueue8x.c: ... here.
1730         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1731         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1732         * nptl/sysdeps/pthread/allocalim.h: Moved ...
1733         * sysdeps/pthread/allocalim.h: ... here.
1734         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1735         * sysdeps/pthread/bits/sigthread.h: ... here.
1736         * nptl/sysdeps/pthread/flockfile.c: Moved ...
1737         * sysdeps/pthread/flockfile.c: ... here.
1738         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1739         * sysdeps/pthread/ftrylockfile.c: ... here.
1740         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1741         * sysdeps/pthread/funlockfile.c: ... here.
1742         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1743         * sysdeps/pthread/posix-timer.h: ... here.
1744         * nptl/sysdeps/pthread/timer_create.c: Moved ...
1745         * sysdeps/pthread/timer_create.c: ... here.
1746         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1747         * sysdeps/pthread/timer_delete.c: ... here.
1748         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1749         * sysdeps/pthread/timer_getoverr.c: ... here.
1750         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1751         * sysdeps/pthread/timer_gettime.c: ... here.
1752         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1753         * sysdeps/pthread/timer_routines.c: ... here.
1754         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1755         * sysdeps/pthread/timer_settime.c: ... here.
1756         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1757         * sysdeps/pthread/tst-timer.c: ... here.
1758         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1759         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1761         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1762         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1764         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1765         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1766         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1767         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1768         Update #include target.
1769         * nptl/sysdeps/i386/i686/Makefile: Moved ...
1770         * sysdeps/i386/i686/nptl/Makefile: ... here.
1771         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1772         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1773         Update #include target.
1774         * nptl/sysdeps/i386/i686/tls.h: Moved ...
1775         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
1776         * nptl/sysdeps/i386/Makefile: Moved ...
1777         * sysdeps/i386/nptl/Makefile: ... here.
1778         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1779         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1780         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1781         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1782         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1783         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1784         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1785         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1786         * sysdeps/i386/nptl/pthreaddef.h: ... here.
1787         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1788         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1789         * nptl/sysdeps/i386/tls.h: Moved ...
1790         * sysdeps/i386/nptl/tls.h: ... here.
1792         * sysdeps/sh/Makefile [$(subdir) = csu]
1793         (gen-as-const-headers): Add tcb-offsets.sym.
1794         * nptl/sysdeps/sh/Makefile: File removed.
1795         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1796         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1797         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1798         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1799         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1800         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1801         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1802         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1803         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1804         * sysdeps/sh/nptl/pthreaddef.h: ... here.
1805         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1806         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1807         * nptl/sysdeps/sh/tls.h: Moved ...
1808         * sysdeps/sh/nptl/tls.h: ... here.
1809         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1810         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1811         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1812         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1813         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1814         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1815         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1816         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1817         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1818         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1819         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1820         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1821         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1822         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1823         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1824         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1825         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1826         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1827         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1828         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1829         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1830         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1831         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1832         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1833         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1834         Moved ...
1835         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1836         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1837         Moved ...
1838         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1839         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1840         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1841         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1842         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1843         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1844         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1845         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1846         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1847         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1848         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1849         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1850         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1851         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1852         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1853         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1854         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1855         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1856         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1858 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1860         * posix/spawn_faction_addopen.c: Include string.h.
1862 2014-06-11  Roland McGrath  <roland@hack.frob.com>
1864         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1865         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1866         * nptl/sysdeps/x86_64/Makefile: Moved ...
1867         * sysdeps/x86_64/nptl/Makefile: ... here.
1868         * nptl/sysdeps/x86_64/configure: Moved ...
1869         * sysdeps/x86_64/nptl/configure: ... here.
1870         * nptl/sysdeps/x86_64/configure.ac: Moved ...
1871         * sysdeps/x86_64/nptl/configure.ac: ... here.
1872         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1873         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1874         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1875         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1876         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1877         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1878         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1879         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1880         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1881         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1882         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1883         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1884         * nptl/sysdeps/x86_64/tls.h: Moved ...
1885         * sysdeps/x86_64/nptl/tls.h: ... here.
1886         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1887         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1888         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1889         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1891         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1893 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1897 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
1899         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1900         type.
1901         [POSIX] (off_t): Likewise.
1902         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1903         [POSIX] (S_ISBLK): Require macro.
1904         [POSIX] (S_ISCHR): Likewise.
1905         [POSIX] (S_ISDIR): Likewise.
1906         [POSIX] (S_ISFIFO): Likewise.
1907         [POSIX] (S_ISREG): Likewise.
1908         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1909         optional-macro.
1910         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1911         type.
1912         [POSIX] (time_t): Likewise.
1913         [POSIX] (timer_t): Likewise.
1915 2014-06-11  Florian Weimer  <fweimer@redhat.com>
1917         [BZ #17048]
1918         * posix/spawn_int.h (struct __spawn_action): Make the path string
1919         non-const to support deallocation.
1920         * posix/spawn_faction_addopen.c
1921         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1922         * posix/spawn_faction_destroy.c
1923         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
1924         path in all spawn_do_open actions.
1925         * posix/tst-spawn.c (do_test): Exercise the copy operation in
1926         posix_spawn_file_actions_addopen.
1928 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
1930         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1931         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1932         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1933         conditional code always true.
1934         (__libc_vfork): New alias.
1936 2014-06-11  Roland McGrath  <roland@hack.frob.com>
1938         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1939         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1941         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1943         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1944         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1946         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1947         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1949         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1950         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1952 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1954         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1955         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1956         multiarch strcmp for PPC64.
1957         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1958         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1960         multiarch optimizations.
1961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1962         (__libc_ifunc_impl_list): Likewise.
1964 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1966         * benchtests/scripts/validate_benchout.py: New script.
1967         * benchtests/Makefile (bench-func): Call it.
1968         * benchtests/scripts/benchout.schema.json: New file.
1970 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
1972         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1973         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1974         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1975         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1976         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1977         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1978         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1979         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1980         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1981         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1982         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1983         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1984         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1985         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1986         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1987         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1989         Moved ...
1990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1991         ... here.
1992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1993         Moved ...
1994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1996         Moved ...
1997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1998         ... here.
1999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2000         Moved ...
2001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2002         ... here.
2003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2004         Moved ...
2005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2007         Moved ...
2008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2009         ... here.
2010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2011         Moved ...
2012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2013         ... here.
2014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2015         Moved ...
2016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2018         Moved ...
2019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2020         ... here.
2021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2022         Moved ...
2023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2024         ... here.
2025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2026         Moved ...
2027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2028         ... here.
2029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2030         Moved ...
2031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2033         Moved ...
2034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2035         ... here.
2036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2037         Moved ...
2038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2039         ... here.
2040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2041         Moved ...
2042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2043         ... here.
2044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2045         Moved ...
2046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2048         Moved ...
2049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2050         ... here.
2051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2052         Moved ...
2053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2054         ... here.
2055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2056         Moved ...
2057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2059         Moved ...
2060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2061         ... here.
2062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2063         Moved ...
2064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2066         Moved ...
2067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2069         Moved ...
2070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2071         ... here.
2072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2073         Moved ...
2074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2075         ... here.
2076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2077         Moved ...
2078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2079         ... here.
2080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2081         Moved ...
2082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2084         Moved ...
2085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2086         ... here.
2087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2088         Moved ...
2089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2090         ... here.
2091         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2092         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2093         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2094         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2095         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2096         Moved ...
2097         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2098         ... here.
2099         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2100         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2101         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2102         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2103         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2104         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2105         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2106         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2107         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2108         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2109         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2110         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2111         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2112         Moved ...
2113         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2114         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2115         Moved ...
2116         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2117         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2118         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2119         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2120         Moved ...
2121         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2122         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2123         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2124         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2125         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2126         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2127         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2129 2014-06-10  Wilco  <wdijkstr@arm.com>
2131         * math/test-fenv-return.c: New file.
2132         * math/Makefile: Add new test test-fenv-return.
2134 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
2136         [BZ #17042]
2137         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2138         when x - 1 is zero.
2139         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2140         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2141         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2142         0.0L for an argument of 1.0L.
2143         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2144         Likewise.
2145         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2146         value when x - 1 is zero.
2147         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2148         * sysdeps/i386/fpu/libm-test-ulps: Update.
2149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2151 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
2153         [BZ #15119]
2154         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2156 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2158         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2159         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2161 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2163         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2164         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2166         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2167         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2169         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2170         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2172         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2173         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2175         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2176         if not already defined.
2177         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2178         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2179         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2180         (TLS_INIT_TP): Use it.
2181         (TLS_DEFINE_INIT_TP): New macro.
2182         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2184 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
2186         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2187         constant.
2188         [POSIX] (IXANY): Likewise.
2189         [POSIX] (OLCUC): Likewise.
2190         [POSIX || POSIX2008] (CBAUD): Do not allow.
2191         [POSIX || POSIX2008] (DEFECHO): Likewise.
2192         [POSIX || POSIX2008] (ECHOCTL): Likewise.
2193         [POSIX || POSIX2008] (ECHOKE): Likewise.
2194         [POSIX || POSIX2008] (ECHOPRT): Likewise.
2195         [POSIX || POSIX2008] (EXTA): Likewise.
2196         [POSIX || POSIX2008] (EXTB): Likewise.
2197         [POSIX || POSIX2008] (FLUSHO): Likewise.
2198         [POSIX || POSIX2008] (LOBLK): Likewise.
2199         [POSIX || POSIX2008] (PENDIN): Likewise.
2200         [POSIX || POSIX2008] (SWTCH): Likewise.
2201         [POSIX || POSIX2008] (VDISCARD): Likewise.
2202         [POSIX || POSIX2008] (VDSUSP): Likewise.
2203         [POSIX || POSIX2008] (VLNEXT): Likewise.
2204         [POSIX || POSIX2008] (VREPRINT): Likewise.
2205         [POSIX || POSIX2008] (VSTATUS): Likewise.
2206         [POSIX || POSIX2008] (VWERASE): Likewise.
2207         (B*): Change to B[0123456789]*.
2208         * conform/data/time.h-data [POSIX || UNIX98]
2209         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2210         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2211         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2212         [POSIX] (tm_*): Do not allow.
2214 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
2216         * Makefile (install): Don't set LANGUAGE.
2217         * Makefile.in (install): Likewise.
2218         * assert/Makefile (test-assert-ENV): Remove variable.
2219         (test-assert-perr-ENV): Likewise.
2220         * elf/Makefile (neededtest4-ENV): Likewise.
2221         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2222         [$(cross-compiling) = no]: Don't set LANGUAGE.
2223         * io/ftwtest-sh (LANG): Remove variable.
2224         * libio/Makefile (tst-widetext-ENV): Likewise.
2225         * manual/install.texi (Running make install): Don't refer to
2226         environment settings for make install.
2227         * INSTALL: Regenerated.
2228         * nptl/tst-tls6.sh: Don't set LANG.
2229         * posix/globtest.sh (LANG): Remove variable.
2230         * string/Makefile (tester-ENV): Likewise.
2231         (inl-tester-ENV): Likewise.
2232         (noinl-tester-ENV): Likewise.
2233         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2234         [$(cross-compiling) = no]: Don't set LANGUAGE.
2235         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2236         without explicit environment settings.
2238 2014-06-06  Roland McGrath  <roland@hack.frob.com>
2240         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2241         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2242         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2243         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2245 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
2247         * crypt/crypt-private.h [DOS]: Add some includes taken from the
2248         other files in the crypt directory.
2249         * crypt/crypt.c: Remove duplicate includes.
2250         * crypt/crypt-entry.c: Likewise.
2251         * crypt/crypt_util.c: Likewise.
2253 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
2255         * Makeconfig (run-program-env): New variable.
2256         (run-program-prefix-before-env): Likewise.
2257         (run-program-prefix-after-env): Likewise.
2258         (run-program-prefix): Define in terms of new variables.
2259         (built-program-cmd-before-env): New variable.
2260         (built-program-cmd-after-env): Likewise.
2261         (built-program-cmd): Define in terms of new variables.
2262         (test-program-prefix-before-env): New variable.
2263         (test-program-prefix-after-env): Likewise.
2264         (test-program-prefix): Define in terms of new variables.
2265         (test-program-cmd-before-env): New variable.
2266         (test-program-cmd-after-env): Likewise.
2267         (test-program-cmd): Define in terms of new variables.
2268         * Rules (make-test-out): Use $(run-program-env).
2269         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2270         (help): Do not mention environment variables.  Mention
2271         --timeoutfactor option.
2272         (timeoutfactor): New variable.
2273         (blacklist_exports): Remove function.
2274         (exports): Remove variable.
2275         (command): Do not include ${exports}.
2276         * manual/install.texi (Configuring and compiling): Do not mention
2277         test wrappers preserving environment variables.  Mention that last
2278         assignment to a variable must take precedence.
2279         * INSTALL: Regenerated.
2280         * benchtests/Makefile (run-bench): Use $(run-program-env).
2281         * catgets/Makefile ($(objpfx)test1.cat): Use
2282         $(built-program-cmd-before-env), $(run-program-env) and
2283         $(built-program-cmd-after-env).
2284         ($(objpfx)test2.cat): Do not specify environment variables
2285         explicitly.
2286         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2287         $(run-program-env) and $(built-program-cmd-after-env).
2288         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2289         $(run-program-env) and $(test-program-cmd-after-env).
2290         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2291         explicitly.
2292         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2293         run_program_env and test_program_cmd_after_env arguments.
2294         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2295         * elf/tst-pathopt.sh: Use run_program_env argument.
2296         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2297         $(test-wrapper-env) and $(run-program-env).
2298         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2299         run_program_env arguments.
2300         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2301         * intl/Makefile ($(objpfx)tst-gettext.out): Use
2302         $(test-program-prefix-before-env), $(run-program-env) and
2303         $(test-program-prefix-after-env).
2304         ($(objpfx)tst-gettext2.out): Likewise.
2305         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2306         run_program_env and test_program_prefix_after_env arguments.
2307         * intl/tst-gettext2.sh: Likewise.
2308         * intl/tst-gettext4.sh: Do not set environment variables
2309         explicitly.
2310         * intl/tst-gettext6.sh: Likewise.
2311         * intl/tst-translit.sh: Likewise.
2312         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2313         $(test-program-prefix-before-env), $(run-program-env) and
2314         $(test-program-prefix-after-env).
2315         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2316         run_program_env and test_program_prefix_after_env arguments.
2317         * math/Makefile (run-regen-ulps): Use $(run-program-env).
2318         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2319         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
2320         explicitly with each use of ${test_wrapper_env}.
2321         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2322         $(test-program-prefix-before-env), $(run-program-env) and
2323         $(test-program-prefix-after-env).
2324         * posix/tst-getconf.sh: Do not set environment variables
2325         explicitly.
2326         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2327         run_program_env and test_program_prefix_after_env arguments.
2328         * stdio-common/tst-printf.sh: Do not set environment variables
2329         explicitly.
2330         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2331         $(test-program-prefix-before-env), $(run-program-env) and
2332         $(test-program-prefix-after-env).
2333         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2334         run_program_env and test_program_prefix_after_env arguments.
2335         Split $test calls into $test_pre and $test.
2336         * timezone/Makefile (build-testdata): Use
2337         $(built-program-cmd-before-env), $(run-program-env) and
2338         $(built-program-cmd-after-env).
2340 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2342         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2343         strlen for non SHARED builds.
2345 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2347         * nptl/allocatestack.c (check_list): Inlined function...
2348         (__reclaim_stacks): ... here.
2350 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2352         [BZ #15698]
2353         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2354         memory overrun.
2356 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
2358         * Rules (make-test-out): Include
2359         LOCPATH=$(common-objpfx)localedata in default environment.
2360         * debug/Makefile (tst-chk1-ENV): Remove variable.
2361         (tst-chk2-ENV): Likewise.
2362         (tst-chk3-ENV): Likewise.
2363         (tst-chk4-ENV): Likewise.
2364         (tst-chk5-ENV): Likewise.
2365         (tst-chk6-ENV): Likewise.
2366         (tst-lfschk1-ENV): Likewise.
2367         (tst-lfschk2-ENV): Likewise.
2368         (tst-lfschk3-ENV): Likewise.
2369         (tst-lfschk4-ENV): Likewise.
2370         (tst-lfschk5-ENV): Likewise.
2371         (tst-lfschk6-ENV): Likewise.
2372         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2373         (tst-iconv7-ENV): Likewise.
2374         * intl/Makefile (LOCPATH-ENV): Likewise.
2375         (tst-codeset-ENV): Likewise.
2376         (tst-gettext3-ENV): Likewise.
2377         (tst-gettext5-ENV): Likewise.
2378         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2379         (tst-fopenloc-ENV): Likewise.
2380         (tst-fgetws-ENV): Remove variable.
2381         (tst-ungetwc1-ENV): Likewise.
2382         (tst-ungetwc2-ENV): Likewise.
2383         (bug-ungetwc2-ENV): Likewise.
2384         (tst-swscanf-ENV): Likewise.
2385         (bug-ftell-ENV): Likewise.
2386         (tst-fgetwc-ENV): Likewise.
2387         (tst-fseek-ENV): Likewise.
2388         (tst-ftell-partial-wide-ENV): Likewise.
2389         (tst-ftell-active-handler-ENV): Likewise.
2390         (tst-ftell-append-ENV): Likewise.
2391         * posix/Makefile (tst-fnmatch-ENV): Likewise.
2392         (tst-regexloc-ENV): Likewise.
2393         (bug-regex1-ENV): Likewise.
2394         (tst-regex-ENV): Likewise.
2395         (tst-regex2-ENV): Likewise.
2396         (bug-regex5-ENV): Likewise.
2397         (bug-regex6-ENV): Likewise.
2398         (bug-regex17-ENV): Likewise.
2399         (bug-regex18-ENV): Likewise.
2400         (bug-regex19-ENV): Likewise.
2401         (bug-regex20-ENV): Likewise.
2402         (bug-regex22-ENV): Likewise.
2403         (bug-regex23-ENV): Likewise.
2404         (bug-regex25-ENV): Likewise.
2405         (bug-regex26-ENV): Likewise.
2406         (bug-regex30-ENV): Likewise.
2407         (bug-regex32-ENV): Likewise.
2408         (bug-regex33-ENV): Likewise.
2409         (bug-regex34-ENV): Likewise.
2410         (bug-regex35-ENV): Likewise.
2411         (tst-rxspencer-ENV): Likewise.
2412         (tst-rxspencer-no-utf8-ENV): Likewise.
2413         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2414         (tst-sscanf-ENV): Likewise.
2415         (tst-swprintf-ENV): Likewise.
2416         (tst-swscanf-ENV): Likewise.
2417         (test-vfprintf-ENV): Likewise.
2418         (scanf13-ENV): Likewise.
2419         (bug14-ENV): Likewise.
2420         (tst-grouping-ENV): Likewise.
2421         * stdlib/Makefile (tst-strtod-ENV): Likewise.
2422         (tst-strtod3-ENV): Likewise.
2423         (tst-strtod4-ENV): Likewise.
2424         (tst-strtod5-ENV): Likewise.
2425         (testmb2-ENV): Likewise./
2426         * string/Makefile (tst-strxfrm-ENV): Likewise.
2427         (tst-strxfrm2-ENV): Likewise.
2428         (bug-strcoll1-ENV): Likewise.
2429         (test-strcasecmp-ENV): Likewise.
2430         (test-strncasecmp-ENV): Likewise.
2431         * time/Makefile (tst-strptime-ENV): Likewise.
2432         (tst-ftime_l-ENV): Likewise.
2433         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2434         (tst-mbrtowc-ENV): Likewise.
2435         (tst-wcrtomb-ENV): Likewise.
2436         (tst-mbrtowc2-ENV): Likewise.
2437         (tst-c16c32-1-ENV): Likewise.
2438         (tst-mbsnrtowcs-ENV): Likewise.
2440 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2442         * manual/resource.texi (How to get information about the memory
2443         subsystem?): Fix typo.
2444         Reported by Peon de la Parra Ivan <peon@keba.com>
2446 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
2448         [BZ #16882]
2449         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2450         (pthread_spin_lock): Branch out of spin loop to proper location.
2451         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2452         (pthread_spin_lock): Likewise.
2454         * nptl/tst-spin4.c: New test.
2455         * nptl/Makefile (tests): Add tst-spin4.
2457 2014-06-03  Andreas Schwab  <schwab@suse.de>
2459         [BZ #15946]
2460         * resolv/res_send.c (send_dg): Reload file descriptor after
2461         calling reopen.
2463 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
2465         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2467 2014-06-03  Richard Henderson  <rth@redhat.com>
2469         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2470         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2471         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2472         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
2473         in the SAVE_PID block.
2474         (__libc_vfork): New alias.
2475         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2477         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2478         child in registers, not on the stack.  Remove RESET_PID conditionals.
2479         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2481 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2483         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2485 2014-06-03  Wilco  <wdijkstr@arm.com>
2487         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2488         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2489         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2490         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2491         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2492         Likewise.
2494 2014-06-03  Wilco  <wdijkstr@arm.com>
2496         * sysdeps/aarch64/fpu/math_private.h
2497         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2498         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2499         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2500         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2501         Fix declarations.
2503 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2505         * crypt/crypt-private.h: Include ufc-crypt.h.
2506         (__b64_from_24bit): Declare extern.
2507         * crypt/crypt_util.c(__b64_from_24bit): New function.
2508         (b64t): New static const variable.
2509         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2510         (b64t): Remove variable.
2511         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2512         * crypt/sha256-crypt.c: Include crypt-private.h.
2513         (b64t): Remove variable.
2514         (__sha256_crypt_r): Remove b64_from_24bit and replace
2515         with __b64_from_24bit.
2516         * crypt/sha512-crypt.c: Likewise.
2518 2014-06-02  Roland McGrath  <roland@hack.frob.com>
2520         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2521         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2522         Label the code __libc_vfork rather than __vfork.
2523         [!NOT_IN_libc] (vfork): Define as weak alias.
2524         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2525         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2526         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2528 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2530         * malloc/malloc.c (malloc_info): Fix format specifier for
2531         n_mmaps.
2533 2014-06-02  Wilco  <wdijkstr@arm.com>
2535         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2536         FPCR write.
2538 2014-06-02  Wilco  <wdijkstr@arm.com>
2540         [BZ #17009]
2541         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2542         Rewrite to reduce FPCR/FPSR accesses.
2544 2014-06-01  David S. Miller  <davem@davemloft.net>
2546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2548 2014-05-31  David S. Miller  <davem@davemloft.net>
2550         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2551         to occur in round to nearest mode when |x| >= 2.0
2553 2014-05-30  Richard Henderson  <rth@twiddle.net>
2555         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2556         (PSEUDO_RET_NOERRNO): Remove.
2557         (ret): Don't redefine.
2558         (ret_NOERRNO): Define in terms of ret.
2559         (ret_ERRVAL): Likewise.
2561         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2562         use of PSEUDO_RET; perform the error check directly.
2564 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
2566         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2567         with __int128_t.
2569 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2571         * malloc/malloc (malloc_info): Fix formatting.
2573 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2574             Roland McGrath  <roland@hack.frob.com>
2576         * malloc/malloc (malloc_info): Also print mmapped statistics.
2578 2014-05-30  Roland McGrath  <roland@hack.frob.com>
2580         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2581         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2583 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
2585         * malloc/malloc.c (malloc_info): Inline mi_arena.
2587 2014-05-29  Richard Henderson  <rth@twiddle.net>
2589         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2590         Remove comma before expanding ASM_ARGS_##nr.
2591         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2592         Make _x0 a strict output; make _x8 a strict input; adjust expansion
2593         of ASM_ARGS_##nr.
2594         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2595         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2596         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2597         (ASM_ARGS_1): Add leading comma.
2599         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2600         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2601         to __errno_location.
2602         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2603         Remove the expected plt for __errno_location.
2605         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2606         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2607         call to __read_tp.
2609         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2610         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
2611         it and break it down.
2612         (DOCARGS_0, DOCARGS_1): Do nothing.
2613         (DOCARGS_2): Update to store into the new stack frame.
2614         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2615         (UNDOCARGS_1): Update to restore from the new stack frame.
2616         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2617         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2619         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2620         (SINGLE_THREAD_P): New parameter for result regno.
2621         (PSEUDO): Update to match; use cbz instead of beq.
2623         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2624         Use ENTRY to define the _nocancel entry point.  Share the syscall
2625         and syscall error check paths with the cancel path.
2626         (PSEUDO_END): New.
2628         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2629         whitespace; tabs before and after asm mnemonics.
2631 2014-05-29  Eric Wong  <normalperson@yhbt.net>
2633         [BZ #15132]
2634         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2635         Call fstat64 or stat64 internally, depending on arguments passed.
2636         Replace stat buffer argument with file descriptor argument.
2637         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2638         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2639         Pass fd to __internal_statvfs instead of calling fstat64.
2640         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2641         Pass fd to __internal_statvfs64 instead of calling fstat64.
2642         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2643         Pass -1 to __internal_statvfs instead of calling stat64.
2644         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2645         Pass -1 to __internal_statvfs64 instead of calling stat64.
2647 2014-05-28  Roland McGrath  <roland@hack.frob.com>
2649         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2650         that was previously under [RESET_PID].
2651         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2653         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2654         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2656 2014-05-27  Roland McGrath  <roland@hack.frob.com>
2658         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2660         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2661         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2663 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
2665         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2667 2014-05-27  Andreas Schwab  <schwab@suse.de>
2669         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2670         TLS_INIT_TP macro.
2671         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2672         * elf/rtld.c (init_tls, dl_main): Likewise.
2673         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2674         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2675         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2676         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2677         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2678         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2679         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2680         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2681         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2682         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2683         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2684         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2685         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2686         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2687         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2688         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2689         * sysdeps/generic/tls.h: Update description.
2691 2014-05-27  Will Newton  <will.newton@linaro.org>
2693         [BZ #16990]
2694         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2695         and restore r2 rather than just restoring.
2697 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2699         [BZ #16724]
2700         * libio/tst-ftell-append.c: New test case.
2701         * libio/Makefile (tests): Add test case.
2702         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2703         append mode.
2704         * libio/wfileops.c (do_ftell_wide): Likewise.
2706 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2710         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2711         ...
2712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2714         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2715         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2716         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2717         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2718         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2719         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2720         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2721         Moved ...
2722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2723         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2724         Moved ...
2725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2726         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2727         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2728         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2729         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2730         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2731         ...
2732         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2733         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2734         Moved ...
2735         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2736         here.
2737         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2738         ...
2739         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2740         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2741         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2743         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2744         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2745         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2746         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2748         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2749         merge into ...
2750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2751         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2752         ...
2753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2754         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2755         ...
2756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2757         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2758         Moved ...
2759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2760         here.
2761         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2762         Moved ...
2763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2764         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2765         Moved ...
2766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2769         conditional [RESET_PID].
2770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2771         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2772         removed.
2773         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2774         removed.
2776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2777         <tcb-offsets.h>.
2778         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2779         (__libc_vfork): New strong alias.
2780         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2781         removed.
2782         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2783         Removed.
2785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2786         <tcb-offsets.h>.
2787         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2788         (__libc_vfork): New strong alias.
2789         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2790         removed.
2791         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2792         removed.
2794 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
2796         * malloc/malloc.c (mi_arena): New function.
2797         (malloc_info): Remove nested function mi_arena. Call non-nosted
2798         function mi_arena.
2800 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2802         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2803         by insrwi.
2804         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2805         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2806         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2807         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2808         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2809         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2810         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2812 2014-05-26  Andreas Schwab  <schwab@suse.de>
2814         [BZ #16984]
2815         * locale/programs/repertoire.c (repertoire_read): Add slash
2816         between I18NPATH element and file name.
2817         * locale/programs/locfile.c (locfile_read): Likewise.
2819 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2821         * nptl/pthread_mutexattr_settype.c
2822         (__pthread_mutexattr_settype):
2823         Disable lock elision for PTHREAD_MUTEX_NORMAL.
2825 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2827         * nptl/tst-mutex5 (do_test):
2828         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2830 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2832         * benchtests/README: Document 'init' directive.
2833         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2834         BENCH_INIT.
2835         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2836         (parse_file): Recognize 'init' directive.
2838 2014-05-26  Kyle McMartin  <kyle@redhat.com>
2840         [BZ #16796]
2841         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2842         alignment of struct pthread.
2844 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2846         [BZ #16878]
2847         * nscd/netgroupcache.c (addgetnetgrentX): Look for
2848         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2849         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2850         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2852 2014-05-25  Richard Henderson  <rth@twiddle.net>
2854         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2855         (SINGLE_THREAD_P_PIC): Remove.
2856         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2857         (SINGLE_THREAD_P_PIC): Remove.
2859         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2860         branch to syscall error ...
2861         (PSEUDO): ... here.
2862         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2863         from __local_syscall_error to .Lsyscall_error.
2864         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2865         (SYSCALL_ERROR): Update label name.
2867         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2868         Do not use DOARGS/UNDOARGS.
2869         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2870         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2871         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2872         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2873         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2875         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2876         block comment.
2878         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2879         define if !NOT_IN_libc.
2880         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2881         define with non-default symbol versions.
2883 2014-05-23  Richard Henderson  <rth@twiddle.net>
2885         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2886         (vfork, __vfork): Define via compat_symbol.
2888         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2889         [!HAVE_IFUNC] (vfork_compat): Remove.
2890         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2892 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
2894         [BZ #16978]
2895         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2896         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2897         variable.
2899 2014-05-23  Richard Henderson  <rth@twiddle.net>
2901         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2902         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2903         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2904         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2906         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2907         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2908         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2909         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2910         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2911         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2912         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2913         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2914         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2915         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2916         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2917         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2918         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2919         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2920         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2921         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2922         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2923         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2924         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2925         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2926         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2927         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2928         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2929         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2930         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2931         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2932         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2933         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2934         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2935         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2936         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2937         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2938         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2939         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2940         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2941         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2942         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2943         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2944         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2945         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2946         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2947         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2948         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2949         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2950         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2951         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2952         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2953         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2954         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2955         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2956         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2957         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2958         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2959         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2960         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2961         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2963         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2964         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2965         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
2966         before exiting on error.
2967         (__libc_vfork): New strong alias.
2968         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2969         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2971         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2972         that was previously under [RESET_PID].
2973         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2975         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2977 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
2979         [BZ #16977]
2980         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2981         value when x - 1 is zero.
2982         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2983         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2984         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2985         0.0L for an argument of 1.0L.
2986         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2987         Likewise.
2988         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2989         value when x - 1 is zero.
2990         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2991         * sysdeps/i386/fpu/libm-test-ulps: Update.
2992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2994 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2996         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2997         alphasort and versionsort.
2999 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3001         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3002         macro.
3003         [copysignf]: Likewise.
3005 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3007         * crypt/md5-crypt.c: Fix formatting.
3009 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3011         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3012         (b64_from_24bit): New function.
3014 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3016         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3017         libc_hidden_builtin_def to ifunc.
3018         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3019         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3021 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3023         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3024         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3026 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3028         * nscd/Depend (linuxthreads): Remove.
3029         (nptl): Add.
3030         * resolv/Depend (linuxthreads): Remove.
3031         * rt/Depend (linuxthreads): Remove.
3033         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3034         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3035         $(common-objpfx)elf/.
3036         (link-libc-before-gnulib): Likewise.
3037         (elfobjdir): Remove variable.
3038         * Makefile (install): Use $(elf-objpfx) instead of
3039         $(common-objpfx)elf/.
3040         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3041         $(elfobjdir)/.
3042         (link-libc-deps): Likewise.
3043         ($(common-objpfx)libc.so): Likewise.
3044         ($(common-objpfx)linkobj/libc.so): Likewise.
3045         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3046         instead of $(common-objpfx)elf/.
3047         (symbolic-link-list): Likewise.
3048         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3049         [$(cross-compiling) = no]: Likewise.
3050         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3051         $(elfobjdir)/.
3052         (static-gnulib-arch): Likewise.
3053         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3054         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3055         $(common-objpfx)elf/.
3057 2014-05-21  Richard Henderson  <rth@redhat.com>
3059         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3060         (SINGLE_THREAD_P): Use the correct width load.  Fold
3061         into the ldr offset.
3063         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3064         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3066 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
3068         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3069         (libgcc_s_resume): Use __attribute_used__.
3070         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3071         Likewise.
3073 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3075         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3076         optimization when used with float constants.
3078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3080 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
3082         [BZ #16915]
3083         * locale/nl_langinfo_l.c: Make direct reference to every
3084         _nl_current_CATEGORY symbol.
3085         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3086         (tests-static): Add tst-langinfo-static.
3087         (tests-special): Add tst-langinfo-static.out.
3088         ($(objpfx)tst-langinfo.out): Redirect output.
3089         ($(objpfx)tst-langinfo-static.out): New.
3090         * localedata/tst-langinfo.sh: Send output to stdout.
3091         * localedata/tst-langinfo-static.c: New file.
3093         [BZ #16965]
3094         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3095         when the shift amount is modulo the limb size.
3097 2014-05-20  Richard Henderson  <rth@redhat.com>
3099         [BZ #16967]
3100         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3101         Change type of sa_flags from unsigned int to int.
3103         [BZ #16966]
3104         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3106         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3108 2014-05-20  Will Newton  <will.newton@linaro.org>
3110         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3111         Test the return value of the system call in the nocancel case.
3113 2014-05-20  Will Newton  <will.newton@linaro.org>
3114             Yvan Roux  <yvan.roux@linaro.org>
3116         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3117         #include of asm/ptrace.h.
3118         (PTRACE_GET_THREAD_AREA): Remove #undef.
3119         (PTRACE_GETHBPREGS): Likewise.
3120         (PTRACE_SETHBPREGS): Likewise.
3121         (struct user_regs_struct): New structure.
3122         (struct user_fpsimd_struct): New structure.
3123         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3124         #include of asm/ptrace.h and second #include of sys/user.h.
3125         (PTRACE_GET_THREAD_AREA): Remove #undef.
3126         (PTRACE_GETHBPREGS): Likewise.
3127         (PTRACE_SETHBPREGS): Likewise.
3128         (ELF_NGREG): Use new struct user_regs_struct.
3129         (elf_fpregset_t): Use new struct user_fpsimd_struct.
3131 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3133         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3134         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3136 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3138         [BZ #16958]
3139         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3140         membar to avoid block loads/stores to overlap previous stores.
3142 2014-05-17  Richard Henderson  <rth@redhat.com>
3144         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3145         Create the __##syscall_name##_nocancel entry point.
3146         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3147         Remove; let the sysdep-cancel.h code create it.
3149 2014-05-17  David S. Miller  <davem@davemloft.net>
3151         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3152         Protect with __USE_GNU.
3153         (TIOCSET_TEMPT): Likewise.
3154         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3155         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3156         these are already provided in bits/ioctl-types.h
3158 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3160         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3161         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3163         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3164         Use wait4 regardless of [__NR_waitpid].
3166 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3168         PR libgcc/60166
3169         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3170         (_FP_NANSIGN_Q): Set the quiet bit.
3172 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
3174         * benchtests/Makefile
3175         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3176         not $(common-objpfx)math/libm.so.
3177         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3178         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3179         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3180         $(common-objpfx)dlfcn/libdl.so.
3181         ($(objpfx)tst-audit8): Depend on $(libm), not
3182         $(common-objpfx)math/libm.so.
3183         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3184         not $(common-objpfx)dlfcn/libdl.so.
3185         * math/Makefile
3186         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3187         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
3188         [$(build-shared) = yes].
3189         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3190         $(common-objpfx)nptl/libpthread.so.
3191         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3192         $(common-objpfx)math/libm.so$(libm.so-version) or
3193         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3194         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3195         $(common-objpfx)dlfcn/libdl.so.
3196         * setjmp/Makefile (link-libm): Remove variable.
3197         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3198         * stdio-common/Makefile (link-libm): Remove variable.
3199         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3200         * stdlib/Makefile (link-libm): Remove variable.
3201         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3202         ($(objpfx)tst-strtod-round): Likewise.
3203         ($(objpfx)tst-tininess): Likewise.
3204         ($(objpfx)tst-strtod-underflow): Likewise.
3205         ($(objpfx)tst-strtod6): Likewise.
3206         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3207         $(libdl), not $(common-objpfx)nptl/libpthread.so and
3208         $(common-objpfx)dlfcn/libdl.so.
3210 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3212         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3213         BSD terminal modes definitions.
3215 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3217         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3218         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3220         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3221         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3222         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3223         Don't do #include_next.
3224         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3225         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3226         Don't do #include_next.
3227         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3228         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3229         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3230         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3232 2014-05-16  Allan McRae  <allan@archlinux.org>
3234         * po/sv.po: Update Swedish translation from translation project.
3236         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3237         in sed expression.
3239 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
3241         [BZ #16917]
3242         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3243         errno if the TIOCGPTN ioctl fails with an error different than
3244         EINVAL.
3245         * login/tst-ptsname.c: New file.
3246         * login/Makefile (tests): Add tst-ptsname.
3248         [BZ #16943]
3249         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3250         and prlimit64.
3252 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3254         [BZ #16849]
3255         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3256         herrno to return EAI_AGAIN.
3258 2014-05-14  Roland McGrath  <roland@hack.frob.com>
3260         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3261         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3262         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3263         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3264         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3265         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3266         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3267         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3268         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3269         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3270         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3271         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3272         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3273         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3274         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3275         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3276         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3277         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3278         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3279         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3280         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3281         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3282         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3283         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3284         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3285         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3286         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3287         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3288         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3289         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3291         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3292         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3293         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3295         Moved ...
3296         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3298         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3299         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3300         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3302         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3304         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3306         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3308         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3310         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3312         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3313         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3314         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3316         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3318         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3319         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3320         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3321         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3322         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3323         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3324         Moved ...
3325         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3326         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3327         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3329         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3331         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3333         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3335         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3337         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3339         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3341         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3343         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3345         Moved ...
3346         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3347         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3348         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3350         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3351         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3352         (libpthread-sysdep_routines): Add elision-related stuff here instead.
3353         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3354         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3355         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3356         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3357         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3358         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3359         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3360         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3361         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3362         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3363         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3364         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3365         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3366         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3367         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3368         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3369         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3370         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3371         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3372         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3373         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3374         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3375         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3376         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3377         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3378         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3379         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3380         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3382         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3383         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3385         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3386         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3387         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3388         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3389         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3390         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3391         Moved ...
3392         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3393         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3394         Moved ...
3395         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3396         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3397         Moved ...
3398         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3399         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3400         Moved ...
3401         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3402         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3403         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3404         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3405         Moved ...
3406         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3407         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3408         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3409         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3410         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3411         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3412         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3413         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3414         Moved ...
3415         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3416         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3417         Moved ...
3418         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3419         ... here.
3420         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3421         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3422         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3423         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3424         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3425         Moved ...
3426         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3427         ... here.
3428         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3429         Moved ...
3430         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3431         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3432         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3433         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3434         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3435         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3436         Moved ...
3437         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3438         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3439         Moved ...
3440         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3441         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3442         Moved ...
3443         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3444         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3445         Moved ...
3446         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3447         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3448         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3449         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3450         Moved ...
3451         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3452         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3453         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3454         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3455         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3456         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3457         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3458         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3459         Moved ...
3460         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3461         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3462         Moved ...
3463         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3464         ... here.
3465         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3466         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3467         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3468         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3469         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3470         Moved ...
3471         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3472         ... here.
3473         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3474         Moved ...
3475         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3476         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3477         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3478         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3479         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3480         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3481         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3482         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3483         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3484         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3485         Moved ...
3486         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3487         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3488         Moved ...
3489         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3490         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3491         Moved ...
3492         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3493         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3494         Moved ...
3495         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3496         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3497         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3498         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3499         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3500         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3501         Moved ...
3502         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3503         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3504         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3505         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3506         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3507         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3508         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3509         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3510         Moved ...
3511         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3512         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3513         Moved ...
3514         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3515         ... here.
3516         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3517         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3518         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3519         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3520         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3521         Moved ...
3522         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3523         ... here.
3524         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3525         Moved ...
3526         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3527         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3528         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3529         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3530         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3531         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3532         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3533         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3534         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3535         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3536         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3538         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3539         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3541         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3542         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3544         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3545         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3546         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3547         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3548         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3549         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3550         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3551         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3552         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3553         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3554         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3555         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3556         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3557         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3558         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3559         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3560         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3561         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3562         Moved ...
3563         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3564         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3565         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3566         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3567         Moved ...
3568         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3569         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3570         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3571         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3572         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3573         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3574         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3575         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3576         Moved ...
3577         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3578         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3579         Moved ...
3580         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3581         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3582         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3583         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3584         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3585         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3586         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3587         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3588         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3589         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3590         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3591         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3592         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3593         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3594         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3595         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3596         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3598         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3599         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3600         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3601         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3602         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3604         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3605         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3606         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3607         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3608         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3609         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3610         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3611         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3612         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3613         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3615         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3616         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3618         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3619         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3620         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3621         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3622         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3623         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3624         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3625         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3626         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3627         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3628         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3629         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3630         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3631         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3632         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3633         Update #include.
3634         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3635         Likewise.
3636         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3637         Likewise.
3638         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3639         Likewise.
3640         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3641         Likewise.
3642         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3643         Likewise.
3644         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3645         Likewise.
3646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3647         Likewise.
3648         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3649         Likewise.
3650         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3651         Likewise.
3652         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3653         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3654         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3655         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3656         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3657         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3658         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3659         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3660         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3661         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3662         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3663         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3664         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3665         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
3666         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
3668         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3669         that was previously under [RESET_PID].
3670         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3671         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3672         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3674         * sysdeps/i386/nptl/Implies: New file.
3675         * sysdeps/x86_64/nptl/Implies: New file.
3676         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3677         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3678         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3679         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3681         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3682         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3683         (__libc_vfork): New strong alias.
3684         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3685         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3687         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3688         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3689         (__libc_vfork): New strong alias.
3690         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3691         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3693         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3694         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3695         (__libc_vfork): New strong alias.
3696         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3697         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3698         * nptl/pt-vfork.c: New file.
3699         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3700         (libpthread: GLIBC_2.20): New version set (empty).
3702 2014-05-14  Will Newton  <will.newton@linaro.org>
3704         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3705         rather than #if.
3707 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3709         [BZ #16564]
3710         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3711         arguments with exponent 65 or above.
3712         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3713         arguments 0x1p113L or above.
3714         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3715         to arguments 0x1p107L or above.
3716         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3717         positive arguments with exponent 65 or above.
3718         * math/auto-libm-test-in: Add more tests of log1p.
3719         * math/auto-libm-test-out: Regenerated.
3721         [BZ #16928]
3722         * math/s_cacos.c (__cacos): Ensure zero real part of result from
3723         non-finite arguments is +0.
3724         * math/s_cacosf.c (__cacosf): Likewise.
3725         * math/s_cacosl.c (__cacosl): Likewise.
3726         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3727         * sysdeps/i386/fpu/libm-test-ulps: Update.
3728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3730         [BZ #16927]
3731         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3732         value.
3733         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3734         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3735         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3736         for explicit high bit of mantissa when testing for argument equal
3737         to 1.
3738         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3739         * sysdeps/i386/fpu/libm-test-ulps: Update.
3740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3742         [BZ #16516]
3743         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3744         (__erf): Scale by 16 instead of 8 in potentially underflowing
3745         case.  Ensure exception if result actually underflows.
3746         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3747         (__erff): Scale by 16 instead of 8 in potentially underflowing
3748         case.  Ensure exception if result actually underflows.
3749         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3750         (efx8): Remove variable.
3751         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3752         case.  Ensure exception if result actually underflows.
3753         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3754         (efx8): Remove variable.
3755         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3756         case.  Ensure exception if result actually underflows.
3757         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3758         (efx8): Remove variable.
3759         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3760         case.  Ensure exception if result actually underflows.
3761         * math/auto-libm-test-in: Add more tests of erf.
3762         * math/auto-libm-test-out: Regenerated.
3764 2014-05-14  Andreas Schwab  <schwab@suse.de>
3766         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3767         Remove code conditionalized on USE___THREAD.
3769         * config.h.in (HAVE_PT_CHOWN): Define as 0.
3770         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3771         not definedness.
3773 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3775         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3776         Define unconditionally.
3777         (__ASSUME_O_CLOEXEC): Likewise.
3778         (__ASSUME_SOCK_CLOEXEC): Likewise.
3779         (__ASSUME_IN_NONBLOCK): Likewise.
3780         (__ASSUME_PIPE2): Likewise.
3781         (__ASSUME_EVENTFD2): Likewise.
3782         (__ASSUME_SIGNALFD4): Likewise.
3783         (__ASSUME_DUP3): Likewise.
3784         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3785         (__ASSUME_DUP3): Do not define.
3786         (__ASSUME_EVENTFD2): Likewise.
3787         (__ASSUME_IN_NONBLOCK): Likewise.
3788         (__ASSUME_O_CLOEXEC): Likewise.
3789         (__ASSUME_PIPE2): Likewise.
3790         (__ASSUME_SIGNALFD4): Likewise.
3791         (__ASSUME_SOCK_CLOEXEC): Likewise.
3792         (__ASSUME_UTIMES): Undefine.
3793         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3794         (__ASSUME_UTIMES): Do not define.
3795         (__ASSUME_O_CLOEXEC): Likewise.
3796         (__ASSUME_SOCK_CLOEXEC): Likewise.
3797         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3798         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3799         0x020621].
3800         (__ASSUME_PIPE2): Likewise.
3801         (__ASSUME_EVENTFD2): Likewise.
3802         (__ASSUME_SIGNALFD4): Likewise.
3803         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3804         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3805         Do not define.
3806         (__ASSUME_EVENTFD2): Likewise.
3807         (__ASSUME_SIGNALFD4): Likewise.
3808         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3809         (__ASSUME_32BITUIDS): Likewise.
3810         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3811         (__ASSUME_IPC64): Likewise.
3812         (__ASSUME_ST_INO_64_BIT): Likewise.
3813         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3814         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3815         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3816         (__ASSUME_UTIMES): Do not define.
3817         (__ASSUME_PSELECT): Likewise.
3818         (__ASSUME_PPOLL): Likewise.
3819         (__ASSUME_O_CLOEXEC): Likewise.
3820         (__ASSUME_SOCK_CLOEXEC): Likewise.
3821         (__ASSUME_IN_NONBLOCK): Likewise.
3822         (__ASSUME_PIPE2): Likewise.
3823         (__ASSUME_EVENTFD2): Likewise.
3824         (__ASSUME_SIGNALFD4): Likewise.
3825         (__ASSUME_DUP3): Likewise.
3826         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3827         (__ASSUME_UTIMES): Likewise.
3828         (__ASSUME_O_CLOEXEC): Likewise.
3829         (__ASSUME_SOCK_CLOEXEC): Likewise.
3830         (__ASSUME_IN_NONBLOCK): Likewise.
3831         (__ASSUME_PIPE2): Likewise.
3832         (__ASSUME_EVENTFD2): Likewise.
3833         (__ASSUME_SIGNALFD4): Likewise.
3834         (__ASSUME_DUP3): Likewise.
3835         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3836         (__ASSUME_UTIMES): Likewise.
3837         (__ASSUME_O_CLOEXEC): Likewise.
3838         (__ASSUME_SOCK_CLOEXEC): Likewise.
3839         (__ASSUME_IN_NONBLOCK): Likewise.
3840         (__ASSUME_PIPE2): Likewise.
3841         (__ASSUME_EVENTFD2): Likewise.
3842         (__ASSUME_SIGNALFD4): Likewise.
3843         (__ASSUME_DUP3): Likewise.
3844         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3845         Likewise.
3846         (__ASSUME_UTIMES): Likewise.
3847         (__ASSUME_EVENTFD2): Likewise.
3848         (__ASSUME_SIGNALFD4): Likewise.
3849         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3850         (__ASSUME_O_CLOEXEC): Likewise.
3851         (__ASSUME_SOCK_CLOEXEC): Likewise.
3852         (__ASSUME_IN_NONBLOCK): Likewise.
3853         (__ASSUME_PIPE2): Likewise.
3854         (__ASSUME_EVENTFD2): Likewise.
3855         (__ASSUME_SIGNALFD4): Likewise.
3856         (__ASSUME_DUP3): Likewise.
3857         (__ASSUME_UTIMES): Undefine.
3859         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3860         feclearexcept.  Remove symbol versioning code.
3861         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
3862         symbol versioning code.
3863         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
3864         symbol versioning code.
3865         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3866         feupdateenv.  Remove symbol versioning code.
3867         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3868         fegetexceptflag.  Remove symbol versioning code.
3869         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3870         fesetexceptflag.  Remove symbol versioning code.
3871         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3872         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
3873         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3874         (__posix_fadvise64_l32): Remove prototype.
3875         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3876         code.
3878 2014-05-13  Roland McGrath  <roland@hack.frob.com>
3880         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3881         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3882         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3883         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3885 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
3887         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3888         current working directory
3890 2014-05-13  Roland McGrath  <roland@hack.frob.com>
3892         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3893         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3894         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3895         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3896         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3897         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3898         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3899         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3900         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3901         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3902         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3903         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3904         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3905         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3906         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3907         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3908         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3909         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3910         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3911         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3912         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3913         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3914         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3915         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3916         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3917         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3918         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3919         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3920         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3921         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3922         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3923         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3924         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3925         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3926         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3927         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3928         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3929         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3930         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3931         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3932         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3933         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3935         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3936         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3938         * sysdeps/unix/sysv/linux/arm/Makefile
3939         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3940         Add rt-aeabi_unwind_cpp_pr1.
3941         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3942         Add nptl-aeabi_unwind_cpp_pr1.
3943         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3944         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3945         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3946         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3947         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3948         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3950         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3951         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3952         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3953         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3955         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3956         Deconditionalize the code that was previously under [RESET_PID].
3957         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3959         * sysdeps/generic/exit-thread.h: New file.
3960         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3961         * include/unistd.h (__exit_thread): Remove declaration.
3962         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3963         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3964         * csu/libc-start.c: Include <exit-thread.h>.
3965         (LIBC_START_MAIN): Pass no argument to __exit_thread.
3966         * nptl/pthread_create.c: Include <exit-thread.h>.
3967         (start_thread): Call __exit_thread in place of __exit_thread_inline.
3968         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3969         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3970         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3971         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3972         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3973         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3974         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3975         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3976         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3977         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3978         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3979         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3980         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3981         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3982         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3983         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3985 2014-05-13  Andreas Schwab  <schwab@suse.de>
3987         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3989 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
3991         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3992         (__ASSUME_UTIMES): Do not condition on kernel version.
3993         (__ASSUME_PSELECT): Define unconditionally.
3994         (__ASSUME_PPOLL): Likewise.
3995         (__ASSUME_ATFCTS): Likewise.
3996         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3997         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3998         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3999         (__ASSUME_UTIMENSAT): Define unconditionally.
4000         (__ASSUME_PRIVATE_FUTEX): Likewise.
4001         (__ASSUME_FALLOCATE): Likewise.
4002         (__ASSUME_O_CLOEXEC): Likewise.
4003         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4004         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4005         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4006         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4007         (__ASSUME_IN_NONBLOCK): Likewise.
4008         (__ASSUME_PIPE2): Likewise.
4009         (__ASSUME_EVENTFD2): Likewise.
4010         (__ASSUME_SIGNALFD4): Likewise.
4011         (__ASSUME_DUP3): Likewise.
4012         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4013         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4014         (__ASSUME_AT_RANDOM): Likewise.
4015         (__ASSUME_PREADV): Likewise.
4016         (__ASSUME_PWRITEV): Likewise.
4017         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4018         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4019         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4020         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4021         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4022         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4023         (__ASSUME_O_CLOEXEC): Define unconditionally.
4024         (__ASSUME_PSELECT): Do not undefine conditionally.
4025         (__ASSUME_PPOLL): Likewise.
4026         (__ASSUME_ATFCTS): Likewise.
4027         (__ASSUME_SET_ROBUST_LIST): Likewise.
4028         (__ASSUME_UTIMENSAT): Likewise.
4029         (__ASSUME_FDATASYNC): Define unconditionally.
4030         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4031         (__ASSUME_SIGFRAME_V2): Likewise.
4032         )__ASSUME_EVENTFD2): Likewise.
4033         (__ASSUME_SIGNALFD4): Likewise.
4034         (__ASSUME_PSELECT): Do not undefine conditionally.
4035         (__ASSUME_PPOLL): Likewise.
4036         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4037         (__ASSUME_PSELECT): Define unconditionally.
4038         (__ASSUME_PPOLL): Likewise.
4039         (__ASSUME_O_CLOEXEC): Likewise.
4040         (__ASSUME_SOCK_CLOEXEC): Likewise.
4041         (__ASSUME_IN_NONBLOCK): Likewise.
4042         (__ASSUME_PIPE2): Likewise.
4043         (__ASSUME_EVENTFD2): Likewise.
4044         (__ASSUME_SIGNALFD4): Likewise.
4045         (__ASSUME_DUP3): Likewise.
4046         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4047         (__ASSUME_O_CLOEXEC): Likewise.
4048         (__ASSUME_SOCK_CLOEXEC): Likewise.
4049         (__ASSUME_IN_NONBLOCK): Likewise.
4050         (__ASSUME_PIPE2): Likewise.
4051         (__ASSUME_EVENTFD2): Likewise.
4052         (__ASSUME_SIGNALFD4): Likewise.
4053         (__ASSUME_DUP3): Likewise.
4054         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4055         (__ASSUME_EVENTFD2): Likewise.
4056         (__ASSUME_SIGNALFD4): Likewise.
4057         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4059 2014-05-12  Andreas Schwab  <schwab@suse.de>
4061         [BZ #16932]
4062         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4063         (_nss_nis_gethostbyname4_r): Return error if item length is larger
4064         than maximum RPC packet size.
4065         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4066         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4067         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4068         (_nss_nis_getservbyport_r): Likewise.
4070 2014-05-12  Will Newton  <will.newton@linaro.org>
4072         * malloc/Makefile (tests): Add tst-mallopt.
4073         * malloc/tst-mallopt.c: New file.
4075 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4077         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4078         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4080 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4082         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4083         (tst-tlsmod6.so): Likewise.
4085 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4087         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4089 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
4091         [BZ #16064]
4092         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4093         and <dl-procinfo.h>.
4094         (__fegetenv): Save SSE state in envp->__eip if supported.
4095         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4096         envp->__eip if supported.
4097         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4098         and <dl-procinfo.h>.
4099         (__fesetenv): Always set __eip, __cs_selector, __opcode,
4100         __data_offset and __data_selector in environment to 0.  Set SSE
4101         state if supported.
4102         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4103         test-fenv-sse.
4104         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4105         -mfpmath=sse.
4106         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4108 2014-05-09  Will Newton  <will.newton@linaro.org>
4110         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4111         and libc_relro_required for ARM.
4112         * sysdeps/arm/preconfigure: Regenerate.
4114 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
4115             Stefan Liebler  <stli@linux.vnet.ibm.com>
4117         * config.make.in (enable-lock-elision): New Makefile variable.
4118         * configure.ac: Likewise.
4119         * configure: Regenerate.
4120         * sysdeps/s390/configure.ac:
4121         Add check for gcc transactions support.
4122         * sysdeps/s390/configure: Regenerate.
4123         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4124         Build elision files if enabled.
4125         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4126         Add lock elision support for s390.
4127         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4128         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4129         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4130         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4131         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4132         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4133         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4134         Likewise.
4135         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4136         Likewise.
4137         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4138         Likewise.
4139         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4140         Likewise.
4141         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4142         (__lll_timedlock_elision, __lll_lock_elision)
4143         (__lll_unlock_elision, __lll_trylock_elision)
4144         (lll_timedlock_elision, lll_lock_elision)
4145         (lll_unlock_elision, lll_trylock_elision): Add.
4146         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4147         (pthread_mutex_t): Add lock elision support for s390.
4149 2014-05-14  Wilco  <wdijkstr@arm.com>
4151         * sysdeps/arm/fclrexcpt.c: Cleanup.
4152         * sysdeps/arm/fedisblxcpt.c: Cleanup.
4153         * sysdeps/arm/feenablxcpt.c: Cleanup.
4154         * sysdeps/arm/fegetenv.c: Cleanup.
4155         * sysdeps/arm/fegetexcept.c: Cleanup.
4156         * sysdeps/arm/fegetround.c: Cleanup.
4157         * sysdeps/arm/feholdexcpt.c: Cleanup.
4158         * sysdeps/arm/fesetenv.c: Cleanup.
4159         * sysdeps/arm/fesetround.c: Cleanup.
4160         * sysdeps/arm/feupdateenv.c: Cleanup.
4161         * sysdeps/arm/fgetexcptflg.c: Cleanup.
4162         * sysdeps/arm/fraiseexcpt.c: Cleanup.
4163         * sysdeps/arm/fsetexcptflg.c: Cleanup.
4164         * sysdeps/arm/ftestexcept.c: Cleanup.
4165         * sysdeps/arm/get-rounding-mode.h: Cleanup.
4166         * sysdeps/arm/setfpucw.c: Cleanup.
4168 2014-05-09  Will Newton  <will.newton@linaro.org>
4170         * sysdeps/arm/armv7/strcmp.S: New file.
4171         * NEWS: Mention addition of ARMv7 optimized strcmp.
4173 2014-05-08  Roland McGrath  <roland@hack.frob.com>
4175         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4176         look for %.ac rather than %.in.
4178         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4179         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4180         * sysdeps/mach/hurd/configure: Regenerated.
4181         * sysdeps/unix/sysv/linux/configure: Regenerated.
4183         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4185 2014-05-07  Steve Ellcey  <sellcey@mips.com>
4187         [BZ# 16922]
4188         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4189         (LONG_SUB): Ditto.
4190         (PTR_SUB): Ditto.
4192 2014-05-07  Andreas Schwab  <schwab@suse.de>
4194         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4195         when skipping over non-matching result from nscd.
4197 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
4199         [BZ #16876]
4200         * nptl/sockperf.c (client): Check socket return value.
4202         [BZ #16877]
4203         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4204         nscd security class.
4206 2014-05-06  Roland McGrath  <roland@hack.frob.com>
4208         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4209         * sysdeps/arm/unwind.h: ... here.
4211 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
4213         [BZ# 16916]
4214         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4215         Define.
4217 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4219         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4220         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4221         multiarch strncpy for PPC64.
4222         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4223         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4225         multiarch optimizations.
4226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4227         (__libc_ifunc_impl_list): Likewise.
4228         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4229         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4230         multiarch stpncpy for PPC64.
4231         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4232         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4234 2014-05-06  Andreas Schwab  <schwab@suse.de>
4236         [BZ #16912]
4237         * gmon/mcount.c (_MCOUNT_DECL): Use
4238         atomic_compare_and_exchange_bool_acq instead of
4239         catomic_compare_and_exchange_bool_acq.
4241 2014-05-05  Roland McGrath  <roland@hack.frob.com>
4243         * elf/Makefile (others, install-bin): Remove pldd.
4244         (pldd-modules): Variable removed.
4245         ($(objpfx)pldd): Target removed.
4246         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4247         (others, install-bin): Append pldd here.
4248         ($(objpfx)pldd): New target.
4250         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4251         to 0, so the first #if test emitted later doesn't see it undefined.
4252         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4253         * sysdeps/gnu/errlist.c: Regenerated.
4255 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4257         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4258         [libc_hidden_builtin_def]: Define to empty value.
4259         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4260         [libc_hidden_builtin_def]: Likewise.
4261         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4262         [libc_hidden_builtin_def]: Likewise.
4263         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4264         [libc_hidden_builtin_def]: Likewise.
4265         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4266         __redirect_memcpy and define ifunc as default hidden symbol.
4267         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4268         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4270 2014-05-04  Adam Conrad  <adconrad@0c3.net>
4272         * locale/iso-4217.def: Reintroduce XDR currency.
4274 2014-05-04  Allan McRae  <allan@archlinux.org>
4276         * po/eo.po: Update Esperanto translation from translation project.
4278 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
4280         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4281         and FEATURE_INDEX_MAX to 1.
4282         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4284 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4286         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4287         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4288         * iconvdata/big5.c (ONE_DIRECTION): Define.
4289         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4290         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4291         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4292         * iconvdata/cp932.c (ONE_DIRECTION): Define.
4293         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4294         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4295         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4296         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4297         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4298         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4299         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4300         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4301         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4302         * iconvdata/gbk.c (ONE_DIRECTION): Define.
4303         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4304         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4305         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4306         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4307         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4308         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4309         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4310         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4311         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4312         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4313         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4314         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4315         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4316         * iconvdata/iso646.c (ONE_DIRECTION): Define.
4317         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4318         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4319         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4320         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4321         * iconvdata/johab.c (ONE_DIRECTION): Define.
4322         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4323         * iconvdata/sjis.c (ONE_DIRECTION): Define.
4324         * iconvdata/t.61.c (ONE_DIRECTION): Define.
4325         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4326         * iconvdata/tscii.c (ONE_DIRECTION): Define.
4327         * iconvdata/uhc.c (ONE_DIRECTION): Define.
4328         * iconvdata/unicode.c (ONE_DIRECTION): Define.
4329         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4330         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4331         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4333 2014-05-01  Roland McGrath  <roland@hack.frob.com>
4335         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4336         (_IO_JUMPS_OFFSET): Define to 0.
4338         * nptl/sysdeps/pthread/bits/libc-lock.h
4339         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4340         (__libc_lock_define_initialized_recursive): Always define using
4341         initializer.  Modern compilers treat uninitialized (implicit zero) and
4342         explicit zero initializers the same (i.e. put the datum in bss).
4344 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4346         * nscd/nscd-client.h: Include <string.h>.
4348 2014-05-01  David S. Miller  <davem@davemloft.net>
4350         [BZ #16885]
4351         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4352         multiple zero bytes exist at the end of a string.
4353         Reported by Aurelien Jarno <aurelien@aurel32.net>
4355         * string/test-strcmp.c (check): Add explicit test for situations where
4356         there are multiple zero bytes after the first.
4358 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4360         [BZ #16890]
4361         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4362         when compiling wprintf.
4363         * stdio-common/tstdiomisc.c (t3): New function.
4364         (main): Call it.
4366 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4368         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4369         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4370         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4371         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4373 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4375         * stdlib/longlong.h: Updated from GCC.
4377 2014-05-01  Will Newton  <will.newton@linaro.org>
4378             Bernard Ogden  <bernie.ogden@linaro.org>
4380         * NEWS: Update fixed bug list.
4382         [BZ #15119]
4383         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4385 2014-04-30  David S. Miller  <davem@davemloft.net>
4387         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4388         (libc_feholdexcept_setround_sparc_ctx): New function.
4389         (libc_fesetenv_sparc_ctx): Likewise.
4390         (libc_feupdateenv_sparc_ctx): Likewise.
4391         (libc_feholdsetround_sparc_ctx): Likewise.
4392         (libc_feholdexcept_setround_ctx): Define.
4393         (libc_feholdexcept_setroundf_ctx): Likewise.
4394         (libc_feholdexcept_setroundl_ctx): Likewise.
4395         (libc_fesetenv_ctx): Likewise.
4396         (libc_fesetenvf_ctx): Likewise.
4397         (libc_fesetenvl_ctx): Likewise.
4398         (libc_feupdateenv_ctx): Likewise.
4399         (libc_feupdateenvf_ctx): Likewise.
4400         (libc_feupdateenvl_ctx): Likewise.
4401         (libc_feresetround_ctx): Likewise.
4402         (libc_feresetroundf_ctx): Likewise.
4403         (libc_feresetroundl_ctx): Likewise.
4404         (libc_feholdsetround_ctx): Likewise.
4405         (libc_feholdsetroundf_ctx): Likewise.
4406         (libc_feholdsetroundl_ctx): Likewise.
4408         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4409         with __USE_GNU instead of XOPEN cpp guards.
4411         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4412         0.
4414         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4415         with XOPEN cpp guards.
4417 2014-04-30  Julian Brown  <julian@codesourcery.com>
4419         [BZ #16888]
4420         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4421         handling.
4423 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
4425         [BZ #9894]
4426         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4427         Change to 2.6.32.
4428         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4429         * sysdeps/unix/sysv/linux/configure: Regenerated.
4430         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4431         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4432         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4433         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4434         * README: Update reference to required Linux kernel version.
4435         * manual/install.texi (Linux): Update reference to required Linux
4436         kernel headers version.
4437         * INSTALL: Regenerated.
4439         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4440         header inclusion.
4441         [POSIX] (limits.h): Likewise.
4442         [POSIX] (math.h): Likewise.
4443         [POSIX] (sys/wait.h): Likewise.
4444         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4445         function.
4446         [POSIX] (stddef.h): Do not allow header inclusion.
4448 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4450         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4452 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
4454         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4455         Return immediately after lll_futex_wake.
4457 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4459         [BZ #16791]
4460         * nscd/nscd-client.h (datahead_init_common): Initialize entire
4461         structure.
4462         (datahead_init_pos): Call datahead_init_common early.
4463         (datahead_init_neg): Likewise.
4465         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4466         datahead_init_neg): New functions.
4467         * nscd/aicache.c (addhstaiX): Use them.
4468         * nscd/grpcache.c (cache_addgr): Likewise.
4469         * nscd/hstcache.c (cache_addhst): Likewise.
4470         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4471         * nscd/netgroupcache.c (do_notfound): Likewise.
4472         (addgetnetgrentX): Likewise.
4473         (addinnetgrX): Likewise.
4474         * nscd/pwdcache.c (cache_addpw): Likewise.
4475         * nscd/servicescache.c (cache_addserv): Likewise.
4477 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4478             Atsushi Onoe  <atsushi@onoe.org>
4480         [BZ #14308]
4481         [BZ #12994]
4482         [BZ #13651]
4483         * resolv/res_query.c (__libc_res_nsearch): Return if at least
4484         one response is valid.
4485         * resolv/res_send.c (send_dg): Check for validity of other
4486         response if the current response is a referral.
4488 2014-04-29  Steve Ellcey  <sellcey@mips.com>
4490         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4492 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
4494         [BZ #16823]
4495         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4496         Always divide by positive zero when computing -Inf result.
4497         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4498         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4500 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4502         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4503         FPSCR if value do not change.
4504         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4505         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4506         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4507         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4508         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4509         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4510         function.
4512 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
4514         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4515         * sysdeps/unix/sysv/linux/hppa: Move directory from
4516         ports/systeps/unix/sysv/linux/hppa.
4517         * README: Update listing for hppa-*-linux-gnu.
4519 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
4521         [BZ #16754]
4522         * manual/stdio.texi (Hook functions): Fix types of stream hook
4523         functions.
4524         [BZ #16854]
4525         * socket/sys/socket.h: Fix typo in comment.
4527 2014-04-28  Wilco  <wdijkstr@arm.com>
4529         * sysdeps/arm/fenv_private.h: New file.
4530         * sysdeps/arm/math_private.h: New file.
4531         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4533 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
4535         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4536         with __int128_t.
4537         (La_x86_64_retval): Likewise.
4539 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
4541         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4542         fpsr if value didn't change.
4543         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4544         to fpcr if value didn't change.
4545         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4546         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4547         fpsr or fpcr if value didn't change.
4548         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4549         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4550         fpcr if value didn't change.
4551         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4552         to fpsr if value didn't change.
4554 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4556         * nptl/tst-sem3.c: Use test-skeleton.c
4557         (main): Rename to do_test.  Use return instead of
4558         exit.
4559         * nptl/tst-sem4.c: Use test-skeleton.c
4560         (main): Rename to do_test.
4562 2014-04-22  David S. Miller  <davem@davemloft.net>
4564         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4565         (struct sigaction): New struct member __glibc_reserved0, change
4566         type of sa_flags to int.
4568 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
4570         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4571         (COUNT_LEADING_ZEROS_0): Define for AArch64.
4573 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4575         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4576         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4578 2014-04-22  Will Newton  <will.newton@linaro.org>
4579             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
4581         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4582         (__longjmp): Add longjmp and longjmp_target SystemTap
4583         probes.
4584         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4585         (__sigsetjmp): Add setjmp SystemTap probe.
4587 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
4589         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4590         match manual order.
4592 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4594         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4596         * sysdeps/powerpc/fpu/fenv_private.h
4597         (libc_feholdexcept_setroundl_ctx): Define to
4598         libc_feholdexcept_setround_ppc_ctx.
4599         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4600         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4601         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4602         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4604 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4606         * sysdeps/aarch64/math-tests.h: New file.
4608 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
4610         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4611         New.
4612         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4613         Check and set bit_AVX2_Usable.
4614         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4615         macro.
4616         (bit_AVX2): Likewise.
4617         (index_AVX2_Usable): Likewise.
4618         (CPUID_AVX2): Likewise.
4619         (HAS_AVX2): Likewise.
4621 2014-04-17  Will Newton  <will.newton@linaro.org>
4623         * manual/setjmp.texi (System V contexts): Add note that
4624         calling setcontext on a context created by a call to a
4625         signal handler is undefined.  Update text to note that
4626         setcontext from a signal handler is possible but not
4627         recommended.
4629         [BZ #16629]
4630         * stdlib/tst-setcontext.c: Include signal.h.
4631         (main): Check that the signal stack before and
4632         after swapcontext is the same.
4634         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4635         Re-implement to restore registers in user code and avoid
4636         rt_sigreturn system call.
4638 2014-04-17  Wilco  <wdijkstr@arm.com>
4640         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4641         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4642         * math/test-fenv.c: Skip exception trap tests on targets which only
4643         support non-stop mode.
4645 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4646             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4648         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4649         (libc_feholdsetround_aarch64_ctx)
4650         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4651         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4652         (libc_feresetround_ctx, libc_feresetroundf_ctx)
4653         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4654         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4655         (libc_feresetround_noexl_ctx): Define.
4657 2014-04-16  Richard Henderson  <rth@redhat.com>
4659         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4661         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4662         unwind tables.
4664         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4665         const from the non-libc, non-ldso copy.
4667         * sysdeps/alpha/libm-test-ulps: Regenerate.
4669 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
4670             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4672         * sysdeps/aarch64/fpu/math_private.h: New file.
4674 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4676         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4678 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
4680         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4681         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4682         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4683         Intel MPX bound registers before _dl_profile_fixup.
4684         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4685         registers after _dl_profile_fixup.  Save and restore bound
4686         registers bnd0/bnd1 when calling _dl_call_pltexit.
4687         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4688         (LR_BND_OFFSET): Likewise.
4689         (LRV_BND0_OFFSET): Likewise.
4690         (LRV_BND1_OFFSET): Likewise.
4692 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4694         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4695         to...
4696         * sysdeps/mach/hurd/i386/tls.h: ... here.
4697         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4698         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4699         fields.
4701 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4703         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4705 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4707         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4709 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4711         [BZ #14770]
4712         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4713         * sysdeps/s390/configure: Regenerate.
4715         [BZ #16824]
4716         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4717         Set round-to-nearest internally to reduce error accumulation.
4719 2014-04-16  Alan Modra  <amodra@gmail.com>
4721         [BZ #16740]
4722         [BZ #16619]
4723         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4724         * math/libm-test.inc (frexp_test_data): Add tests.
4725         * NEWS: Update fixed bug list.
4727 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4729         * benchtests/Makefile: Depend on libraries in build directory.
4730         (bench-math): Separate out math tests.
4731         (bench-pthread): Separate out pthread tests.
4732         (bench): Include math and pthread tests.
4734 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
4736         [BZ #16831]
4737         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4738         _dl_debug_initialize.
4740         * configure.ac: Remove SELinux header check.
4741         * configure: Regenerate.
4742         * nscd/selinux.c (perms): Array of const char* to permission names.
4743         (nscd_request_avc_has_perm): Call security_deny_unknown to find
4744         default policy. Call string_to_security_class and string_to_av_perm to
4745         translate strings. Enforce default policy and call avs_has_perm with
4746         results of translated strings.
4748 2014-04-13  David S. Miller  <davem@davemloft.net>
4750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4752 2014-04-12  Allan McRae  <allan@archlinux.org>
4754         [BZ #16838]
4755         * manual/string.texi (Collation Functions): Fix qsort argument
4756         order in example.
4757         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4759 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
4761         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4762         Make the test a no-op if there are no exceptions defined.
4764 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4766         * elf/Makefile (tests): make tst-dlopen-aout conditional on
4767         enable-hardcoded-path-in-tests
4769 2014-04-11  Will Newton  <will.newton@linaro.org>
4771         * benchtests/Makefile (extra-objs): Add json-lib.o.
4772         (bench-func): Tidy up JSON output.
4773         * benchtests/bench-skeleton.c: Include json-lib.h.
4774         (main): Use JSON library functions to do output of
4775         benchmark results.
4776         * benchtests/bench-timing-type.c (main): Output the
4777         timing type simply, leaving formatting to the user.
4778         * benchtests/json-lib.c: New file.
4779         * benchtests/json-lib.h: Likewise.
4781 2014-04-11  Torvald Riegel  <triegel@redhat.com>
4783         [BZ #15215]
4784         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4785         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
4786         memory barriers.  Add comments.
4787         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4788         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4789         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4790         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4791         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4792         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4794 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4796         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4797         * sysdeps/s390/s390-64/configure.ac: ... this ...
4798         * sysdeps/s390/configure.ac: ... to here.
4799         * sysdeps/s390/s390-32/configure: Delete file.
4800         * sysdeps/s390/s390-64/configure: Delete file.
4801         * sysdeps/s390/configure: Regenerate.
4803 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
4805         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4807 2014-04-11  Will Newton  <will.newton@linaro.org>
4809         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4810         to zero if it is not defined elsewhere.  (mtrim): Test
4811         the value of MALLOC_DEBUG with #if rather than #ifdef.
4813 2014-04-10 Torvald Riegel  <triegel@redhat.com>
4815         * benchtests/pthread_once-inputs: New file.
4816         * benchtests/pthread_once-source.c: New file.
4817         * benchtests/README: Update documentation.
4819 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
4820             H.J. Lu  <hongjiu.lu@intel.com>
4822         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4823         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4824         * sysdeps/x86_64/configure: Regenerated.
4825         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4826         macro.
4827         (REGISTER_SAVE_RAX): Likewise.
4828         (REGISTER_SAVE_RCX): Likewise.
4829         (REGISTER_SAVE_RDX): Likewise.
4830         (REGISTER_SAVE_RSI): Likewise.
4831         (REGISTER_SAVE_RDI): Likewise.
4832         (REGISTER_SAVE_R8): Likewise.
4833         (REGISTER_SAVE_R9): Likewise.
4834         (REGISTER_SAVE_BND0): Likewise.
4835         (REGISTER_SAVE_BND1): Likewise.
4836         (REGISTER_SAVE_BND2): Likewise.
4837         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
4838         bound registers when calling _dl_fixup.
4840 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4842         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
4843         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4844         of its definition.
4845         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4846         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4847         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4848         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4849         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4850         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4851         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4853 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
4855         [BZ #15514]
4856         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4857         pathconf(_PC_NAME_MAX).
4859 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4861         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4862         Remove macro usage.
4863         (__PTHREAD_SPINS): Move definition to ...
4864         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4865         (__PTHREAD_SPINS): ... here.
4866         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4867         (__PTHREAD_SPIN): Likewise.
4868         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4869         (__PTHREAD_SPIN): Likewise.
4870         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4871         (__PTHREAD_SPIN): Likewise.
4872         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4873         (__PTHREAD_SPIN): Likewise.
4874         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4875         (__PTHREAD_SPIN): Likewise.
4876         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4877         (__PTHREAD_SPIN): Likewise.
4878         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4879         (__PTHREAD_SPIN): Likewise.
4880         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4881         (__PTHREAD_SPIN): Likewise.
4882         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4883         (__PTHREAD_SPIN): Likewise.
4884         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4885         (__PTHREAD_SPIN): Likewise.
4886         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4887         (__PTHREAD_SPIN): Likewise.
4888         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4889         (__PTHREAD_SPIN): Likewise.
4891         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4892         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4893         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4894         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4895         imply folder.
4896         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4897         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4898         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4899         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4900         correct imply path.
4901         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4902         strlen symbol for non multi-arch builds.
4903         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4904         missing hidden_def and weak_alias.
4906 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
4908         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4910 2014-04-07  Will Newton  <will.newton@linaro.org>
4912         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4913         and contents.  [!_LIBC] Remove #ifndef and contents.
4914         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
4915         * string/memccpy.c (__memccpy): Use ANSI prototype.
4916         * string/memfrob.c (memfrob): Likewise.
4917         * string/strcoll.c (STRCOLL): Likewise.
4918         * string/strlen.c (strlen): Likewise.
4919         * string/strtok.c (STRTOK): Likewise.
4920         * string/strcat.c: Remove unused #include of memcopy.h.
4921         (strcat): Use ANSI prototype.
4922         * string/strchr.c: Remove unused #include of memcopy.h.
4923         (strchr): Use ANSI prototype.
4924         * string/strcmp.c: Remove unused #include of memcopy.h.
4925         (strcmp): Use ANSI prototype.
4926         * string/strcpy.c: Remove unused #include of memcopy.h.
4927         (strcpy): Use ANSI prototype.
4929 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4931         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4932         * config.make.in (config-extra-cppflags): Set it from
4933         libc_extra_cppflags.
4934         * configure.ac (libc_extra_cflags): Make it accumulate over
4935         configure fragments.
4936         (libc_extra_cppflags): New flag.
4937         * configure. Regenerate.
4938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4939         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4940         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4943         [BZ #16815]
4944         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4945         result for FE_DOWNWARD rounding mode.
4946         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4947         Likewise.
4948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4950 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
4952         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4953         in function argument name.
4955 2014-04-03  David Svoboda  <svoboda@cert.org>
4957         [BZ #5666]
4958         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4959         explicitly.
4961 2014-04-03  Roland McGrath  <roland@hack.frob.com>
4963         * elf/dl-unmap-segments.h: New file.
4964         * sysdeps/generic/ldsodefs.h
4965         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4966         * elf/dl-close.c: Include <dl-unmap-segments.h>.
4967         * elf/dl-fptr.c: Likewise.
4968         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4969         * sysdeps/aarch64/tlsdesc.c: Likewise.
4970         * sysdeps/arm/tlsdesc.c: Likewise.
4971         * sysdeps/i386/tlsdesc.c: Likewise.
4972         * sysdeps/tile/dl-runtime.c: Likewise.
4973         * sysdeps/x86_64/tlsdesc.c: Likewise.
4974         * elf/dl-load.h: New file.
4975         * elf/dl-load.c: Include it.
4976         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4977         Macros moved to dl-load.h.
4978         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4979         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4980         Use _dl_unmap_segments in place of __munmap.
4981         Break out segment-mapping loop into ...
4982         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4984 2014-04-03  Will Newton  <will.newton@linaro.org>
4986         * elf/dl-lookup.c (do_lookup_x): Remove comment
4987         referring to nested function and move variable
4988         declarations down to before first use.
4990 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
4992         [BZ #16799]
4993         [BZ #16800]
4994         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4995         with 0 numerator.
4996         * math/s_catanf.c (__catanf): Likewise.
4997         * math/s_catanh.c (__catanh): Likewise.
4998         * math/s_catanhf.c (__catanhf): Likewise.
4999         * math/s_catanhl.c (__catanhl): Likewise.
5000         * math/s_catanl.c (__catanl): Likewise.
5001         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5002         by positive zero when computing -Inf result.
5003         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5004         (catanh_test): Likewise.
5005         * sysdeps/i386/fpu/libm-test-ulps: Update.
5006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5008         [BZ #16789]
5009         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5010         instead of using underflowing value in computing result.
5011         * math/s_clog10.c (__clog10): Likewise.
5012         * math/s_clog10f.c (__clog10f): Likewise.
5013         * math/s_clog10l.c (__clog10l): Likewise.
5014         * math/s_clogf.c (__clogf): Likewise.
5015         * math/s_clogl.c (__clogl): Likewise.
5016         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5017         (clog10_test): Likewise.
5018         * sysdeps/i386/fpu/libm-test-ulps: Update.
5019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5021 2014-04-02  Alan Modra  <amodra@gmail.com>
5023         [BZ #16739]
5024         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5025         output when value is near a power of two.  Use int64_t for lx and
5026         remove casts.  Use decimal rather than hex exponent constants.
5027         Don't use long double multiplication when double will suffice.
5028         * math/libm-test.inc (nextafter_test_data): Add tests.
5029         * NEWS: Add 16739 and 16786 to bug list.
5031         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5033         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5035 2014-04-01  Will Newton  <will.newton@linaro.org>
5037         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5038         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5040 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5042         [BZ #13347]
5043         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5044         * nptl/tst-setuid2.c: New file.
5045         * nptl/Makefile (xtests): Add tst-setuid2.
5047 2014-04-01  Alan Modra  <amodra@gmail.com>
5049         [BZ #16786]
5050         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5052 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5054         [BZ #6803]
5055         [BZ #6804]
5056         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5057         set errno as appropriate.
5058         * math/w_scalbf.c (__scalbf): Likewise.
5059         * math/w_scalbl.c (__scalbl): Likewise.
5060         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5061         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5062         * math/libm-test.inc (scalb_test_data): Add errno expectations.
5063         Add more NaN tests.
5065         [BZ #16349]
5066         * math/w_atan2.c: Include <errno.h>.
5067         (__atan2): Set errno for result underflowing to zero.
5068         * math/w_atan2f.c: Include <errno.h>.
5069         (__atan2f): Set errno for result underflowing to zero.
5070         * math/w_atan2l.c: Include <errno.h>.
5071         (__atan2l): Set errno for result underflowing to zero.
5072         * math/auto-libm-test-in: Don't allow missing errno for some atan2
5073         tests.
5074         * math/auto-libm-test-out: Regenerated.
5076 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5078         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5079         Encode instruction correctly in little endian.
5080         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5081         Likewise.
5082         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5083         Likewise.
5084         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5085         Likewise.
5086         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5087         Likewise.
5089 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5091         [BZ #9894]
5092         * sysdeps/unix/sysv/linux/kernel-features.h
5093         [__sparc__ && !__arch64__ && !__sparc_v9__]
5094         (__ASSUME_SET_ROBUST_LIST): Do not define.
5095         [__sparc__ && !__arch64__ && !__sparc_v9__]
5096         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5097         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5098         Likewise.
5099         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5100         (__ASSUME_FUTEX_LOCK_PI): Undefine.
5101         (__ASSUME_REQUEUE_PI): Likewise.
5102         (__ASSUME_SET_ROBUST_LIST): Likewise.
5103         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5104         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5105         Undefine.
5106         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5107         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5108         Likewise.
5109         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5110         Likewise.
5111         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5112         Likewise.
5113         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5114         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5115         Undefine.
5116         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5117         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5118         Likewise.
5120         [BZ #16648]
5121         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5122         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5123         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5125 2014-03-31  Will Newton  <will.newton@linaro.org>
5127         * benchtests/Makefile (bench): Add ffs and ffsll to list
5128         of tests.
5129         * benchtests/ffs-inputs: New file.
5130         * benchtests/ffsll-inputs: Likewise.
5132 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
5134         [BZ #16770]
5135         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5136         too large before casting to int.
5137         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5138         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5139         * math/libm-test.inc (scalb_test_data): Add more tests.
5141 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5143         * benchtests/Makefile (DETAILED_OPT): New make option.
5144         (bench-func): Run benchmark program with -d if DETAILED_OPT is
5145         set.
5146         * benchtests/bench-skeleton.c: Include stdbool.h.
5147         (main): Store and print timings per input.
5148         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5149         member to each argument value.
5150         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5151         (_print_arg_data): Initialize per-input timing to 0.
5153         * benchtests/Makefile (timing-type): New binary.
5154         (bench-clean): Also remove bench-timing-type.
5155         (bench): New target for timing-type.
5156         (bench-func): Print output in JSON format.
5157         * benchtests/bench-skeleton.c (main): Print output in JSON
5158         format.
5159         * benchtests/bench-timing-type.c: New file.
5160         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5161         (TIMING_PRINT_STATS): Remove.
5162         * benchtests/scripts/bench.py (_print_arg_data): Store variant
5163         name separately.
5165         * benchtests/bench-modf.c: Remove.
5166         * benchtests/modf-inputs: New inputs file.
5168 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
5170         [BZ #16362]
5171         * math/s_clog10.c (M_PI_LOG10E): New macro.
5172         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5173         imaginary parts are 0.
5174         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5175         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5176         imaginary parts are 0.
5177         * math/s_clog10l.c (M_PI_LOG10El): New macro.
5178         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5179         imaginary parts are 0.
5180         * math/libm-test.inc (clog10_test_data): Update expected results
5181         for when real and imaginary parts are 0.
5183 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
5185         * elf/dl-load.c: Finish conversion of __builtin_expect into
5186         __glibc_{un}likely.
5188 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
5190         [BZ #16348]
5191         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5192         1+x for argument with exponent below -67.
5193         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5194         Likewise.
5195         * math/auto-libm-test-in: Add more tests of exp.
5196         * math/auto-libm-test-out: Regenerated.
5198 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5200         [BZ #16759]
5201         * inet/getnetgrent_r.c (get_nonempty_val): New function.
5202         (nscd_getnetgrent): Use it.
5204         [BZ #16760]
5205         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5206         of stpcpy.
5208 2014-03-27  Andi Kleen  <ak@linux.intel.com>
5210         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5211         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5212         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5213         (lll_robust_unlock): Remove out of line section. Use cfi
5214         intrinsics.
5215         (LLL_STUB_UNWIND_INFO*): Remove.
5216         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5217         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5218         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5219         (lll_robust_unlock): Remove out of line section. Use cfi
5220         intrinsics.
5221         (LLL_STUB_UNWIND_INFO*): Remove.
5223 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5225         [BZ #16758]
5226         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5227         blank values.
5229 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5231         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5233 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
5235         [BZ #16198]
5236         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5237         fnstenv.
5238         * math/test-fenv-preserve.c: New file.
5239         * math/Makefile (tests): Add test-fenv-preserve.
5241 2014-03-26  Will Newton <will.newton@linaro.org>
5243         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5245 2014-03-25  Roland McGrath  <roland@hack.frob.com>
5247         * scripts/versionlist.awk: Partition the version sets and emit all
5248         GLIBC_* (sorted) before all others (sorted).
5250 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5252         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5253         GLIBC_2.2.5 version.
5255 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5257         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5258         calls.
5260         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5261         previous change.
5263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5265 2014-03-25  Andreas Schwab  <schwab@suse.de>
5267         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5268         label to be used after in6ailist is initialized.
5270 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5272         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5273         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5275 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5277         [BZ #16357]
5278         [BZ #16599]
5279         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5280         min_plus_half.
5281         (fp_formats): Update initializers.
5282         (init_fp_formats): Initialize new field.
5283         (output_for_one_input_case): Allow underflow for results up to
5284         min_plus_half.
5285         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5286         * math/auto-libm-test-in: Don't mark some underflows from asin and
5287         atanh as spurious.
5288         * math/auto-libm-test-out: Regenerated.
5289         * sysdeps/i386/fpu/libm-test-ulps: Update.
5290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5292 2014-03-25  Andreas Schwab  <schwab@suse.de>
5294         * libio/Makefile (tst-ftell-partial-wide-ENV)
5295         (tst-ftell-active-handler-ENV): Define.
5297 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
5299         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5301 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5303         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5305 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5307         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5308         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5309         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5311 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5313         [BZ #16634]
5314         * elf/dl-load.c (open_verify): Add mode parameter.
5315         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5316         (open_path): Change from boolean 'secure' to complete flag 'mode'
5317         (_dl_map_object): Adjust.
5318         * elf/Makefile (tests): Add tst-dlopen-aout.
5319         * elf/tst-dlopen-aout.c: New test.
5321 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
5323         [BZ #16714]
5324         * sysdeps/unix/sysv/linux/s390/bits/stat.h
5325         (struct stat): Rename member pad0 to __glibc_reserved0.
5327         [BZ #16712]
5328         * sysdeps/s390/s390-32/bits/wordsize.h
5329         (__WORDSIZE32_SIZE_ULONG): New define.
5330         * sysdeps/s390/s390-64/bits/wordsize.h
5331         (__WORDSIZE32_SIZE_ULONG): Likewise.
5332         * sysdeps/generic/stdint.h (SIZE_MAX):
5333         Define as UL if __WORDSIZE32_SIZE_ULONG.
5335         [BZ #16713]
5336         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5337         (__glibc_reserved0): New variable.
5338         (sa_flags): Change type to int.
5340         * posix/Makefile (before-compile): Use += before-compile instead
5341         of a :=.
5343         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5344         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5346 2014-03-20  Andreas Schwab  <schwab@suse.de>
5348         [BZ #16743]
5349         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5350         non-matching result from nscd.
5352 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5354         * scripts/bench.py: Moved to ...
5355         * benchtests/scripts/bench.py: ... here.
5356         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5358 2014-03-24  Andreas Schwab  <schwab@suse.de>
5360         [BZ #16002]
5361         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5362         alloca_account and account alloca use for struct in6ailist.
5364 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5366         [BZ #16284]
5367         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5368         rounding mode to recompute results that overflow to infinity or
5369         underflow to zero.
5370         * math/auto-libm-test-in: Don't mark tests as expected to fail for
5371         bug 16284.
5372         * math/auto-libm-test-out: Regenerated.
5373         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5374         (ccosh_test): Likewise.
5375         (csin_test_data): Use plus_oflow.
5376         (csin_test): Use ALL_RM_TEST.
5377         (csinh_test_data): Use plus_oflow.
5378         (csinh_test): Use ALL_RM_TEST.
5379         * sysdeps/i386/fpu/libm-test-ulps: Update.
5380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5382 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
5384         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5385         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5386         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5388         [BZ #16731]
5389         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5390         when x - 1 is zero.
5391         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5392         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5393         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5394         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5395         argument is 1.
5396         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5397         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5398         zero.
5399         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5400         * sysdeps/i386/fpu/libm-test-ulps: Update.
5401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5403 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5405         * scripts/bench.pl: Remove file.
5406         * scripts/bench.py: New benchmark script.
5407         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5408         * benchtests/README: Mention python dependency.
5409         * scripts/pylintrc: New file.
5410         * scripts/pylint: New file.
5412         * bits/mathdef.h: Use #ifdef instead of #if.
5413         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5414         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5415         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5416         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5417         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5418         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5420 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5421             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5423         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5424         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5425         and strpbrk-ppc64 objects.
5426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5427         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5428         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5429         multiarch strpbrk for POWER7.
5430         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5431         multiarch strpbrk for PPC64.
5432         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5433         ifunc selector.
5434         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5435         strpbrk for POWER7.
5437 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5439         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5440         (atan_test): Likewise.
5441         (atanh_test_data): Use NO_TEST_INLINE for two tests.
5442         (atanh_test): Use ALL_RM_TEST.
5443         (atan2_test_data): Likewise.
5444         (cabs_test): Likewise.
5445         (cacosh_test): Likewise.
5446         (carg_test): Likewise.
5447         (casin_test): Likewise.
5448         (casinh_test): Likewise.
5449         (cbrt_test): Likewise.
5450         (csqrt_test): Likewise.
5451         (erf_test): Likewise.
5452         (erfc_test): Likewise.
5453         (pow10_test): Likewise.
5454         (exp2_test): Likewise.
5455         (hypot_test): Likewise.
5456         (j0_test): Likewise.
5457         (j1_test): Likewise.
5458         (lgamma_test): Likewise.
5459         (gamma_test): Likewise.
5460         (sincos_test): Likewise.
5461         (tanh_test): Likewise.
5462         (y0_test): Likewise.
5463         (y1_test): Likewise.
5464         * sysdeps/i386/fpu/libm-test-ulps: Update.
5465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5467 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5469         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5471         and strcspn-ppc64 objects.
5472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5473         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5474         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5475         multiarch strcspn for POWER7.
5476         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5477         multiarch strcspn for PPC64.
5478         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5479         ifunc selector.
5480         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5481         strcspn for POWER7.
5483 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5485         * math/gen-libm-test.pl (generate_testfile): Expect only function
5486         name as argument to AUTO_TESTS_* and pass results for all rounding
5487         modes to parse_args.
5488         (parse_auto_input): Separate inputs of automatic tests from
5489         outputs before storing in %auto_tests.
5490         * math/libm-test.inc (acos_test_data): Update call to
5491         AUTO_TESTS_f_f.
5492         (acos_test): Use ALL_RM_TEST.
5493         (acos_tonearest_test_data): Remove.
5494         (acos_test_tonearest): Likewise.
5495         (acos_towardzero_test_data): Likewise.
5496         (acos_test_towardzero): Likewise.
5497         (acos_downward_test_data): Likewise.
5498         (acos_test_downward): Likewise.
5499         (acos_upward_test_data): Likewise.
5500         (acos_test_upward): Likewise.
5501         (acosh_test_data): Update call to AUTO_TESTS_f_f.
5502         (asin_test_data): Likewise.
5503         (asin_test): Use ALL_RM_TEST.
5504         (asin_tonearest_test_data): Remove.
5505         (asin_test_tonearest): Likewise.
5506         (asin_towardzero_test_data): Likewise.
5507         (asin_test_towardzero): Likewise.
5508         (asin_downward_test_data): Likewise.
5509         (asin_test_downward): Likewise.
5510         (asin_upward_test_data): Likewise.
5511         (asin_test_upward): Likewise.
5512         (asinh_test_data): Update call to AUTO_TESTS_f_f.
5513         (atan_test_data): Likewise.
5514         (atanh_test_data): Likewise.
5515         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5516         (cabs_test_data): Update call to AUTO_TESTS_c_f.
5517         (carg_test_data): Likewise.
5518         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5519         (ccos_test_data): Update call to AUTO_TESTS_c_c.
5520         (ccosh_test_data): Likewise.
5521         (cexp_test_data): Likewise.
5522         (clog_test_data): Likewise.
5523         (clog10_test_data): Likewise.
5524         (cos_test_data): Update call to AUTO_TESTS_f_f.
5525         (cos_test): Use ALL_RM_TEST.
5526         (cos_tonearest_test_data): Remove.
5527         (cos_test_tonearest): Likewise.
5528         (cos_towardzero_test_data): Likewise.
5529         (cos_test_towardzero): Likewise.
5530         (cos_downward_test_data): Likewise.
5531         (cos_test_downward): Likewise.
5532         (cos_upward_test_data): Likewise.
5533         (cos_test_upward): Likewise.
5534         (cosh_test_data): Update call to AUTO_TESTS_f_f.
5535         (cosh_test): Use ALL_RM_TEST.
5536         (cosh_tonearest_test_data): Remove.
5537         (cosh_test_tonearest): Likewise.
5538         (cosh_towardzero_test_data): Likewise.
5539         (cosh_test_towardzero): Likewise.
5540         (cosh_downward_test_data): Likewise.
5541         (cosh_test_downward): Likewise.
5542         (cosh_upward_test_data): Likewise.
5543         (cosh_test_upward): Likewise.
5544         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5545         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5546         (ctan_test_data): Likewise.
5547         (ctan_test): Use ALL_RM_TEST.
5548         (ctan_tonearest_test_data): Remove.
5549         (ctan_test_tonearest): Likewise.
5550         (ctan_towardzero_test_data): Likewise.
5551         (ctan_test_towardzero): Likewise.
5552         (ctan_downward_test_data): Likewise.
5553         (ctan_test_downward): Likewise.
5554         (ctan_upward_test_data): Likewise.
5555         (ctan_test_upward): Likewise.
5556         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5557         (ctanh_test): Use ALL_RM_TEST.
5558         (ctanh_tonearest_test_data): Remove.
5559         (ctanh_test_tonearest): Likewise.
5560         (ctanh_towardzero_test_data): Likewise.
5561         (ctanh_test_towardzero): Likewise.
5562         (ctanh_downward_test_data): Likewise.
5563         (ctanh_test_downward): Likewise.
5564         (ctanh_upward_test_data): Likewise.
5565         (ctanh_test_upward): Likewise.
5566         (erf_test_data): Update call to AUTO_TESTS_f_f.
5567         (erfc_test_data): Likewise.
5568         (exp_test_data): Likewise.
5569         (exp_test): Use ALL_RM_TEST.
5570         (exp_tonearest_test_data): Remove.
5571         (exp_test_tonearest): Likewise.
5572         (exp_towardzero_test_data): Likewise.
5573         (exp_test_towardzero): Likewise.
5574         (exp_downward_test_data): Likewise.
5575         (exp_test_downward): Likewise.
5576         (exp_upward_test_data): Likewise.
5577         (exp_test_upward): Likewise.
5578         (exp10_test_data): Update call to AUTO_TESTS_f_f.
5579         (exp10_test): Use ALL_RM_TEST.
5580         (exp10_tonearest_test_data): Remove.
5581         (exp10_test_tonearest): Likewise.
5582         (exp10_towardzero_test_data): Likewise.
5583         (exp10_test_towardzero): Likewise.
5584         (exp10_downward_test_data): Likewise.
5585         (exp10_test_downward): Likewise.
5586         (exp10_upward_test_data): Likewise.
5587         (exp10_test_upward): Likewise.
5588         (exp2_test_data): Update call to AUTO_TESTS_f_f.
5589         (expm1_test_data): Likewise.
5590         (expm1_test): Use ALL_RM_TEST.
5591         (expm1_tonearest_test_data): Remove.
5592         (expm1_test_tonearest): Likewise.
5593         (expm1_towardzero_test_data): Likewise.
5594         (expm1_test_towardzero): Likewise.
5595         (expm1_downward_test_data): Likewise.
5596         (expm1_test_downward): Likewise.
5597         (expm1_upward_test_data): Likewise.
5598         (expm1_test_upward): Likewise.
5599         (fma_test_data): Update call to AUTO_TESTS_fff_f.
5600         (fma_test): Use ALL_RM_TEST.
5601         (fma_towardzero_test_data): Remove.
5602         (fma_test_towardzero): Likewise.
5603         (fma_downward_test_data): Likewise.
5604         (fma_test_downward): Likewise.
5605         (fma_upward_test_data): Likewise.
5606         (fma_test_upward): Likewise.
5607         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5608         (j0_test_data): Update call to AUTO_TESTS_f_f.
5609         (j1_test_data): Likewise.
5610         (jn_test_data): Update call to AUTO_TESTS_if_f.
5611         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5612         (log_test_data): Update call to AUTO_TESTS_f_f.
5613         (log10_test_data): Likewise.
5614         (log1p_test_data): Likewise.
5615         (log2_test_data): Likewise.
5616         (pow_test_data): Update call to AUTO_TESTS_ff_f.
5617         (pow_tonearest_test_data): Likewise.
5618         (sin_test_data): Update call to AUTO_TESTS_f_f.
5619         (sin_test): Use ALL_RM_TEST.
5620         (sin_tonearest_test_data): Remove.
5621         (sin_test_tonearest): Likewise.
5622         (sin_towardzero_test_data): Likewise.
5623         (sin_test_towardzero): Likewise.
5624         (sin_downward_test_data): Likewise.
5625         (sin_test_downward): Likewise.
5626         (sin_upward_test_data): Likewise.
5627         (sin_test_upward): Likewise.
5628         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5629         (sinh_test_data): Update call to AUTO_TESTS_f_f.
5630         (sinh_test): Use ALL_RM_TEST.
5631         (sinh_tonearest_test_data): Remove.
5632         (sinh_test_tonearest): Likewise.
5633         (sinh_towardzero_test_data): Likewise.
5634         (sinh_test_towardzero): Likewise.
5635         (sinh_downward_test_data): Likewise.
5636         (sinh_test_downward): Likewise.
5637         (sinh_upward_test_data): Likewise.
5638         (sinh_test_upward): Likewise.
5639         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5640         (sqrt_test): Use ALL_RM_TEST.
5641         (sqrt_tonearest_test_data): Remove.
5642         (sqrt_test_tonearest): Likewise.
5643         (sqrt_towardzero_test_data): Likewise.
5644         (sqrt_test_towardzero): Likewise.
5645         (sqrt_downward_test_data): Likewise.
5646         (sqrt_test_downward): Likewise.
5647         (sqrt_upward_test_data): Likewise.
5648         (sqrt_test_upward): Likewise.
5649         (tan_test_data): Update call to AUTO_TESTS_f_f.
5650         (tan_test): Use ALL_RM_TEST.
5651         (tan_tonearest_test_data): Remove.
5652         (tan_test_tonearest): Likewise.
5653         (tan_towardzero_test_data): Likewise.
5654         (tan_test_towardzero): Likewise.
5655         (tan_downward_test_data): Likewise.
5656         (tan_test_downward): Likewise.
5657         (tan_upward_test_data): Likewise.
5658         (tan_test_upward): Likewise.
5659         (tanh_test_data): Update call to AUTO_TESTS_f_f.
5660         (tgamma_test_data): Likewise.
5661         (y0_test_data): Likewise.
5662         (y1_test_data): Likewise.
5663         (yn_test_data): Update call to AUTO_TESTS_if_f.
5664         (main): Do not call removed functions.
5666 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5668         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5669         (ldexp_test_data): Remove.
5670         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
5671         scalbn_test_data.
5672         (scalb_test): Use ALL_RM_TEST.
5674 2014-03-19  Andreas Schwab  <schwab@suse.de>
5676         * nscd/nscd.service: Also invalidate netgroup cache on reload.
5678 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5680         [BZ #16649]
5681         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5682         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5683         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5684         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5685         (__ASSUME_PREADV): Undefine.
5686         (__ASSUME_PWRITEV): Likewise.
5688 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5690         * bits/mman-linux.h: Add comment about non-Linux use.
5691         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5692         bits/mman-linux.h resting place.
5694         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5695         * bits/mman-linux.h: ... here.
5697 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5699         * conform/conformtest.pl: Add standard definition when calling C
5700         preprocessor on data files.
5701         (checknamespace): Remove unused variable.
5703 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5705         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5706         minus_oflow, plus_uflow and minus_uflow in expected results.
5707         * math/libm-test.inc (scalbn_test_data): Add more tests of
5708         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
5709         minus_uflow.
5710         (scalbn_test): Use ALL_RM_TEST.
5711         (scalbln_test_data): Add more tests of negative arguments.  Use
5712         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5713         (scalbln_test): Use ALL_RM_TEST.
5715 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5717         * scripts/abilist.awk: Ignore symbols marked with .hidden.
5719 2014-03-18  Will Newton  <will.newton@linaro.org>
5721         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5722         inaccurate comment.
5724 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5726         * Makerules [!subdir] (check-abi): Exit with error status if a
5727         test failed.
5729 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
5731         * math/libm-test.inc (nearbyint_test_data): Include all tests used
5732         for rint.  Include results for all rounding modes.
5733         (nearbyint_test): Use ALL_RM_TEST.
5734         (rint_test_data): Include all tests used for nearbyint.
5736 2014-03-17  Will Newton  <will.newton@linaro.org>
5738         * nptl/sysdeps/pthread/pthread.h: Revert previous
5739         change.
5741         * sysdeps/generic/ldsodefs.h: Revert previous
5742         change.
5744         * libio/genops.c: Revert previous change.
5745         * libio/libioP.h: Likewise.
5746         * stdio-common/vfprintf.c: Likewise.
5748         * sysdeps/generic/math_private.h: Revert previous
5749         change.
5751         * sysdeps/generic/math_private.h: Check whether
5752         HAVE_RM_CTX is defined with #ifdef rather
5753         than #if.
5755         * argp/argp-fmtstream.h: Check whether
5756         __STRICT_ANSI__ is defined with #ifdef rather
5757         than #if.
5758         * argp/argp.h: Likewise.
5760         * libio/genops.c: Check whether
5761         _IO_JUMPS_OFFSET is defined with #ifdef rather
5762         than #if.
5763         * libio/libioP.h: Likewise.
5764         * stdio-common/vfprintf.c: Likewise.
5766         * sysdeps/generic/ldsodefs.h: Check whether
5767         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5768         than #if.
5770         * nptl/sysdeps/pthread/pthread.h: Check
5771         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5772         its value.
5774 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5776         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5777         setting O_APPEND.
5778         * libio/tst-ftell-active-handler.c (do_append_test): Add a
5779         test case.
5781         [BZ #16680]
5782         * libio/fileops.c (_IO_file_open): Seek to end of file but
5783         don't cache the offset.
5784         (get_file_offset): Remove function.
5785         (do_ftell): Use cached offset when available.
5786         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5787         don't cache the offset.
5788         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5789         case.
5790         (do_one_test): Call it.
5791         (do_ftell_test): Fix up expected old offset for a+ mode.
5792         * libio/wfileops.c (do_ftell_wide): Used cached offset when
5793         available.
5795         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5796         up test status with function return status.
5797         (do_write_test): Likewise.
5798         (do_append_test): Likewise.
5800         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5801         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5802         Remove.
5804 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
5806         * math/gen-libm-test.pl (parse_args): Handle results specified for
5807         each rounding mode separately.
5808         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5809         tests and results from lrint_tonearest_test_data,
5810         lrint_towardzero_test_data, lrint_downward_test_data and
5811         lrint_upward_test_data.
5812         (lrint_test): Use ALL_RM_TEST.
5813         (lrint_tonearest_test_data): Remove.
5814         (lrint_test_tonearest): Likewise.
5815         (lrint_towardzero_test_data): Likewise.
5816         (lrint_test_towardzero): Likewise.
5817         (lrint_downward_test_data): Likewise.
5818         (lrint_test_downward): Likewise.
5819         (lrint_upward_test_data): Likewise.
5820         (lrint_test_upward): Likewise.
5821         (llrint_test_data): Merge in per-rounding-mode tests and results
5822         from llrint_tonearest_test_data, llrint_towardzero_test_data,
5823         llrint_downward_test_data and llrint_upward_test_data.
5824         (llrint_test): Use ALL_RM_TEST.
5825         (llrint_tonearest_test_data): Remove.
5826         (llrint_test_tonearest): Likewise.
5827         (llrint_towardzero_test_data): Likewise.
5828         (llrint_test_towardzero): Likewise.
5829         (llrint_downward_test_data): Likewise.
5830         (llrint_test_downward): Likewise.
5831         (llrint_upward_test_data): Likewise.
5832         (llrint_test_upward): Likewise.
5833         (rint_test_data): Merge in per-rounding-mode tests and results
5834         from rint_tonearest_test_data, rint_towardzero_test_data,
5835         rint_downward_test_data and rint_upward_test_data.  Add
5836         per-rounding-mode results for tests not in those arrays.
5837         (rint_test): Use ALL_RM_TEST.
5838         (rint_tonearest_test_data): Remove.
5839         (rint_test_tonearest): Likewise.
5840         (rint_towardzero_test_data): Likewise.
5841         (rint_test_towardzero): Likewise.
5842         (rint_downward_test_data): Likewise.
5843         (rint_test_downward): Likewise.
5844         (rint_upward_test_data): Likewise.
5845         (rint_test_upward): Likewise.
5846         (main): Don't call removed functions.
5848 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5850         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5851         "Compiled on ..." crapola.  It is anti-useful.
5853 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
5855         * scripts/evaluate-test.sh: Handle fourth argument to determine
5856         whether test run should stop on failure.
5857         * Makeconfig (stop-on-test-failure): New variable.
5858         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5859         $(stop-on-test-failure).
5860         * Makefile (tests): Give a summary of results from testing and
5861         exit with failure status if they include an ERROR or FAIL.
5862         (xtests): Likewise.
5863         * manual/install.texi (Configuring and compiling): Mention
5864         stop-on-test-failure=y.
5865         * INSTALL: Regenerated.
5867 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5869         * scripts/versionlist.awk: New file.
5870         * Makerules [$(build-shared) = yes]
5871         (postclean-generated): Add Versions.def, not Versions.def.v and
5872         Versions.def.v.i.
5873         ($(common-objpfx)Versions.def.v.i): Target removed.
5874         ($(common-objpfx)Versions.def): New target.
5875         ($(common-objpfx)Versions.all): Depend on that rather that
5876         $(common-objpfx)Versions.def.v.
5877         * Versions.def: File removed.
5879         * Makeconfig (+gccwarn): Add -Wundef.
5880         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5881         a dl-sysdep.h breaking its contract.
5882         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5883         * include/stackinfo.h: New file.
5884         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5885         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5886         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5887         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5888         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5889         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5890         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5891         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5892         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5893         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5894         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5895         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5896         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5897         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5898         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5900 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5902         [BZ #16707]
5903         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5904         implementation.
5905         * math/libm-test.inc (round_test_data): Add more tests.
5907         [BZ #16706]
5908         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5909         implementation.
5910         * math/libm-test.inc (nearbyint_test_data): Add more tests.
5912         [BZ #16701]
5913         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5914         implementation.
5915         * math/libm-test.inc (ceil_test_data): Add more tests.
5917         * math/libm-test.inc (trunc_test_data): Add more tests related to
5918         BZ#16414.
5920 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5922         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5923         with #if rather than #ifdef.
5924         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5926 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
5928         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5929         first.  Disable AVX-512 GCC support if assembler doesn't support
5930         it.
5931         * sysdeps/x86_64/configure: Regenerated.
5933 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
5935         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5936         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5937         (__old_pthread_attr_setstack): Likewise.
5938         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5939         [!_STACK_GROWS_DOWN]: Likewise.
5941 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
5943         * config.make.in (have-bash2): Delete.
5944         * configure.ac (libc_cv_have_bash2): Delete.
5945         * configure: Regenerate.
5946         * elf/Makefile (common-ldd-rewrite): Rename to ...
5947         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
5948         (sh-ldd-rewrite): Delete.
5949         (bash-ldd-rewrite): Delete.
5950         (have-bash2): Delete checks.
5951         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5952         ldd-rewrite.
5954         * config.make.in (have-ksh): Delete.
5955         (KSH): Delete.
5956         * configure.ac (libc_cv_have_ksh): Delete.
5957         * configure: Regenerate.
5959         * elf/Makefile: Delete $(have-ksh) check.
5960         ($(objpfx)sotruss): Change KSH to BASH.
5961         * elf/sotruss.ksh: Rename to ...
5962         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
5963         function style to match POSIX.  Drop ksh vim mode setting.
5965         * manual/time.texi (Specifying the Time Zone with TZ): Change
5966         Tuesday to Thursday.
5968         * debug/tst-longjmp_chk2.c: Update header comment.
5969         (stackoverflow_handler): Add comment.  Call assert on pass value.
5971 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
5973         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5974         (HAVE_AVX512_ASM_SUPPORT): Likewise.
5975         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5976         (La_x86_64_vector): Add zmm.
5977         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5978         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5979         ($(objpfx)tst-audit10): New target.
5980         ($(objpfx)tst-audit10.out): Likewise.
5981         (tst-audit10-ENV): New.
5982         (AVX512-CFLAGS): Likewise.
5983         (CFLAGS-tst-audit10.c): Likewise.
5984         (CFLAGS-tst-auditmod10a.c): Likewise.
5985         (CFLAGS-tst-auditmod10b.c): Likewise.
5986         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5987         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5988         * sysdeps/x86_64/configure: Regenerated.
5989         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5990         AVX-512 zmm register support.
5991         (_dl_x86_64_save_sse): Likewise.
5992         (_dl_x86_64_restore_sse): Likewise.
5993         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5994         size vector registers.
5995         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5996         (ZMM_SIZE): Likewise.
5997         * sysdeps/x86_64/tst-audit10.c: New file.
5998         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5999         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6001 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6003         * configure.ac (HAVE_EHDR_START): New check.
6004         * configure: Regenerated.
6005         * config.h.in (HAVE_EHDR_START): New #undef.
6006         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6007         assuming the lowest-addressed segment maps the start of the file.
6009 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6011         * INSTALL: Regenerated.
6013 2014-03-13  Will Newton  <will.newton@linaro.org>
6015         * manual/setjmp.texi (System V contexts): Improve
6016         clarity and grammar of documentation.
6018 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6020         [BZ #16381]
6021         * elf/Makefile (tests): Add tst-pie2.
6022         (tests-pie): Add tst-pie2.
6023         * elf/tst-pie2.c: New file.
6024         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6025         for ET_EXEC.
6026         * elf/rtld.c (map_doit): Load executable as lt_executable.
6027         (dl_main): Likewise.
6029 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6031         [BZ #16642]
6032         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6033         (__ASSUME_PSELECT): Undefine.
6035 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6037         [BZ #16689]
6038         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6039         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6040         static build.
6041         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6042         selector for static builds.
6044 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6046         [BZ #16695]
6047         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6048         key in the buffer.
6050 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6052         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6053         IFUNC selector for static builds.
6055 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6057         * sysdeps/mips/math_private.h [__mips_hard_float]
6058         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6059         libc_feresetround_mips_ctx.
6060         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6061         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6062         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6064         [BZ #16677]
6065         * math/s_nextafter.c (__nextafter): Do not return value from
6066         overflowing computation.
6067         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6068         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6069         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6070         Likewise.
6071         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6072         Likewise.
6073         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6074         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6076 2014-03-11  Roland McGrath  <roland@hack.frob.com>
6078         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6079         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6080         Move sfi_sp use from the load-multiple (that no longer sets sp) to
6081         the new mov targetting sp.
6083 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6085         [BZ #16683]
6086         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6087         Define it for static builds as well.
6088         (NO_BZERO_IMPL): Likewise.
6090 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6092         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6093         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6094         multiarch strspn for PPC64.
6095         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6096         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6097         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6098         (__libc_ifunc_impl_list): Likewise.
6099         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6100         multiarch optimizations
6101         * string/strspn.c (strspn): Using macro to redefine symbol name.
6103 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6104             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6106         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6107         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6108         multiarch strncat for PPC64.
6109         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6110         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6112         (__libc_ifunc_impl_list): Likewise.
6113         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6114         multiarch optimizations
6116 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6118         [BZ #16639]
6119         * nscd/nscd.service: Make service type forking.
6121 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6123         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6124         sign in non default rounding modes.
6125         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6127 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
6129         * math/libm-test.inc (ALL_RM_TEST): New macro.
6130         (ceil_test): Use ALL_RM_TEST.
6131         (cimag_test): Likewise.
6132         (conj_test): Likewise.
6133         (copysign_test): Likewise.
6134         (cproj_test): Likewise.
6135         (creal_test): Likewise.
6136         (fabs_test): Likewise.
6137         (floor_test): Likewise.
6138         (fmax_test): Likewise.
6139         (fmin_test): Likewise.
6140         (fmod_test): Likewise.
6141         (fpclassify_test): Likewise.
6142         (frexp_test): Likewise.
6143         (ilogb_test): Likewise.
6144         (isfinite_test): Likewise.
6145         (finite_test): Likewise.
6146         (isgreater_test): Likewise.
6147         (isgreaterequal_test): Likewise.
6148         (isinf_test): Likewise.
6149         (isless_test): Likewise.
6150         (islessequal_test): Likewise.
6151         (islessgreater_test): Likewise.
6152         (isnan_test): Likewise.
6153         (isnormal_test): Likewise.
6154         (issignaling_test): Likewise.
6155         (isunordered_test): Likewise.
6156         (logb_test): Likewise.
6157         (logb_downward_test_data): Remove.
6158         (logb_test_downward): Likewise.
6159         (lround_test): Use ALL_RM_TEST.
6160         (llround_test): Likewise.
6161         (modf_test): Likewise.
6162         (nexttoward_test): Likewise.
6163         (remainder_test): Likewise.
6164         (drem_test): Likewise.
6165         (remainder_tonearest_test_data): Likewise.
6166         (remainder_test_tonearest): Likewise.
6167         (drem_test_tonearest): Likewise.
6168         (remainder_towardzero_test_data): Likewise.
6169         (remainder_test_towardzero): Likewise.
6170         (drem_test_towardzero): Likewise.
6171         (remainder_downward_test_data): Likewise.
6172         (remainder_test_downward): Likewise.
6173         (drem_test_downward): Likewise.
6174         (remainder_upward_test_data): Likewise.
6175         (remainder_test_upward): Likewise.
6176         (drem_test_upward): Likewise.
6177         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
6178         (round_test): Use ALL_RM_TEST.
6179         (signbit_test): Likewise.
6180         (trunc_test): Likewise.
6181         (significand_test): Likewise.
6182         (main): Don't call removed functions.
6184 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6186         [BZ #16674]
6187         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6188         || __USE_XOPEN2K8].
6189         (ILL_ILLOPN): Likewise.
6190         (ILL_ILLADR): Likewise.
6191         (ILL_ILLTRP): Likewise.
6192         (ILL_PRVOPC): Likewise.
6193         (ILL_PRVREG): Likewise.
6194         (ILL_COPROC): Likewise.
6195         (ILL_BADSTK): Likewise.
6196         (FPE_INTDIV): Likewise.
6197         (FPE_INTOVF): Likewise.
6198         (FPE_FLTDIV): Likewise.
6199         (FPE_FLTOVF): Likewise.
6200         (FPE_FLTUND): Likewise.
6201         (FPE_FLTRES): Likewise.
6202         (FPE_FLTINV): Likewise.
6203         (FPE_FLTSUB): Likewise.
6204         (SEGV_MAPERR): Likewise.
6205         (SEGV_ACCERR): Likewise.
6206         (BUS_ADRALN): Likewise.
6207         (BUS_ADRERR): Likewise.
6208         (BUS_OBJERR): Likewise.
6209         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6210         (TRAP_TRACE): Likewise.
6211         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6212         __USE_XOPEN2K8].
6213         (CLD_KILLED): Likewise.
6214         (CLD_DUMPED): Likewise.
6215         (CLD_TRAPPED): Likewise.
6216         (CLD_STOPPED): Likewise.
6217         (CLD_CONTINUED): Likewise.
6218         (POLL_IN): Likewise.
6219         (POLL_OUT): Likewise.
6220         (POLL_MSG): Likewise.
6221         (POLL_ERR): Likewise.
6222         (POLL_PRI): Likewise.
6223         (POLL_HUP): Likewise.
6224         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6225         Likewise.
6226         (ILL_ILLOPN): Likewise.
6227         (ILL_ILLADR): Likewise.
6228         (ILL_ILLTRP): Likewise.
6229         (ILL_PRVOPC): Likewise.
6230         (ILL_PRVREG): Likewise.
6231         (ILL_COPROC): Likewise.
6232         (ILL_BADSTK): Likewise.
6233         (FPE_INTDIV): Likewise.
6234         (FPE_INTOVF): Likewise.
6235         (FPE_FLTDIV): Likewise.
6236         (FPE_FLTOVF): Likewise.
6237         (FPE_FLTUND): Likewise.
6238         (FPE_FLTRES): Likewise.
6239         (FPE_FLTINV): Likewise.
6240         (FPE_FLTSUB): Likewise.
6241         (SEGV_MAPERR): Likewise.
6242         (SEGV_ACCERR): Likewise.
6243         (BUS_ADRALN): Likewise.
6244         (BUS_ADRERR): Likewise.
6245         (BUS_OBJERR): Likewise.
6246         (BUS_MCEERR_AR): Likewise.
6247         (BUS_MCEERR_AO): Likewise.
6248         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6249         (TRAP_TRACE): Likewise.
6250         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6251         __USE_XOPEN2K8].
6252         (CLD_KILLED): Likewise.
6253         (CLD_DUMPED): Likewise.
6254         (CLD_TRAPPED): Likewise.
6255         (CLD_STOPPED): Likewise.
6256         (CLD_CONTINUED): Likewise.
6257         (POLL_IN): Likewise.
6258         (POLL_OUT): Likewise.
6259         (POLL_MSG): Likewise.
6260         (POLL_ERR): Likewise.
6261         (POLL_PRI): Likewise.
6262         (POLL_HUP): Likewise.
6263         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6264         (ILL_ILLOPN): Likewise.
6265         (ILL_ILLADR): Likewise.
6266         (ILL_ILLTRP): Likewise.
6267         (ILL_PRVOPC): Likewise.
6268         (ILL_PRVREG): Likewise.
6269         (ILL_COPROC): Likewise.
6270         (ILL_BADSTK): Likewise.
6271         (FPE_INTDIV): Likewise.
6272         (FPE_INTOVF): Likewise.
6273         (FPE_FLTDIV): Likewise.
6274         (FPE_FLTOVF): Likewise.
6275         (FPE_FLTUND): Likewise.
6276         (FPE_FLTRES): Likewise.
6277         (FPE_FLTINV): Likewise.
6278         (FPE_FLTSUB): Likewise.
6279         (SEGV_MAPERR): Likewise.
6280         (SEGV_ACCERR): Likewise.
6281         (BUS_ADRALN): Likewise.
6282         (BUS_ADRERR): Likewise.
6283         (BUS_OBJERR): Likewise.
6284         (BUS_MCEERR_AR): Likewise.
6285         (BUS_MCEERR_AO): Likewise.
6286         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6287         (TRAP_TRACE): Likewise.
6288         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6289         __USE_XOPEN2K8].
6290         (CLD_KILLED): Likewise.
6291         (CLD_DUMPED): Likewise.
6292         (CLD_TRAPPED): Likewise.
6293         (CLD_STOPPED): Likewise.
6294         (CLD_CONTINUED): Likewise.
6295         (POLL_IN): Likewise.
6296         (POLL_OUT): Likewise.
6297         (POLL_MSG): Likewise.
6298         (POLL_ERR): Likewise.
6299         (POLL_PRI): Likewise.
6300         (POLL_HUP): Likewise.
6301         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6302         Likewise.
6303         (ILL_ILLOPN): Likewise.
6304         (ILL_ILLADR): Likewise.
6305         (ILL_ILLTRP): Likewise.
6306         (ILL_PRVOPC): Likewise.
6307         (ILL_PRVREG): Likewise.
6308         (ILL_COPROC): Likewise.
6309         (ILL_BADSTK): Likewise.
6310         (ILL_BADIADDR): Likewise.
6311         (ILL_BREAK): Likewise.
6312         (FPE_INTDIV): Likewise.
6313         (FPE_INTOVF): Likewise.
6314         (FPE_FLTDIV): Likewise.
6315         (FPE_FLTOVF): Likewise.
6316         (FPE_FLTUND): Likewise.
6317         (FPE_FLTRES): Likewise.
6318         (FPE_FLTINV): Likewise.
6319         (FPE_FLTSUB): Likewise.
6320         (FPE_DECOVF): Likewise.
6321         (FPE_DECDIV): Likewise.
6322         (FPE_DECERR): Likewise.
6323         (FPE_INVASC): Likewise.
6324         (FPE_INVDEC): Likewise.
6325         (SEGV_MAPERR): Likewise.
6326         (SEGV_ACCERR): Likewise.
6327         (SEGV_PSTKOVF): Likewise.
6328         (BUS_ADRALN): Likewise.
6329         (BUS_ADRERR): Likewise.
6330         (BUS_OBJERR): Likewise.
6331         (BUS_MCEERR_AR): Likewise.
6332         (BUS_MCEERR_AO): Likewise.
6333         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6334         (TRAP_TRACE): Likewise.
6335         (TRAP_BRANCH): Likewise.
6336         (TRAP_HWBKPT): Likewise.
6337         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6338         __USE_XOPEN2K8].
6339         (CLD_KILLED): Likewise.
6340         (CLD_DUMPED): Likewise.
6341         (CLD_TRAPPED): Likewise.
6342         (CLD_STOPPED): Likewise.
6343         (CLD_CONTINUED): Likewise.
6344         (POLL_IN): Likewise.
6345         (POLL_OUT): Likewise.
6346         (POLL_MSG): Likewise.
6347         (POLL_ERR): Likewise.
6348         (POLL_PRI): Likewise.
6349         (POLL_HUP): Likewise.
6350         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6351         (ILL_ILLOPN): Likewise.
6352         (ILL_ILLADR): Likewise.
6353         (ILL_ILLTRP): Likewise.
6354         (ILL_PRVOPC): Likewise.
6355         (ILL_PRVREG): Likewise.
6356         (ILL_COPROC): Likewise.
6357         (ILL_BADSTK): Likewise.
6358         (FPE_INTDIV): Likewise.
6359         (FPE_INTOVF): Likewise.
6360         (FPE_FLTDIV): Likewise.
6361         (FPE_FLTOVF): Likewise.
6362         (FPE_FLTUND): Likewise.
6363         (FPE_FLTRES): Likewise.
6364         (FPE_FLTINV): Likewise.
6365         (FPE_FLTSUB): Likewise.
6366         (SEGV_MAPERR): Likewise.
6367         (SEGV_ACCERR): Likewise.
6368         (BUS_ADRALN): Likewise.
6369         (BUS_ADRERR): Likewise.
6370         (BUS_OBJERR): Likewise.
6371         (BUS_MCEERR_AR): Likewise.
6372         (BUS_MCEERR_AO): Likewise.
6373         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6374         (TRAP_TRACE): Likewise.
6375         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6376         __USE_XOPEN2K8].
6377         (CLD_KILLED): Likewise.
6378         (CLD_DUMPED): Likewise.
6379         (CLD_TRAPPED): Likewise.
6380         (CLD_STOPPED): Likewise.
6381         (CLD_CONTINUED): Likewise.
6382         (POLL_IN): Likewise.
6383         (POLL_OUT): Likewise.
6384         (POLL_MSG): Likewise.
6385         (POLL_ERR): Likewise.
6386         (POLL_PRI): Likewise.
6387         (POLL_HUP): Likewise.
6388         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6389         (ILL_ILLOPN): Likewise.
6390         (ILL_ILLADR): Likewise.
6391         (ILL_ILLTRP): Likewise.
6392         (ILL_PRVOPC): Likewise.
6393         (ILL_PRVREG): Likewise.
6394         (ILL_COPROC): Likewise.
6395         (ILL_BADSTK): Likewise.
6396         (FPE_INTDIV): Likewise.
6397         (FPE_INTOVF): Likewise.
6398         (FPE_FLTDIV): Likewise.
6399         (FPE_FLTOVF): Likewise.
6400         (FPE_FLTUND): Likewise.
6401         (FPE_FLTRES): Likewise.
6402         (FPE_FLTINV): Likewise.
6403         (FPE_FLTSUB): Likewise.
6404         (SEGV_MAPERR): Likewise.
6405         (SEGV_ACCERR): Likewise.
6406         (BUS_ADRALN): Likewise.
6407         (BUS_ADRERR): Likewise.
6408         (BUS_OBJERR): Likewise.
6409         (BUS_MCEERR_AR): Likewise.
6410         (BUS_MCEERR_AO): Likewise.
6411         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6412         (TRAP_TRACE): Likewise.
6413         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6414         __USE_XOPEN2K8].
6415         (CLD_KILLED): Likewise.
6416         (CLD_DUMPED): Likewise.
6417         (CLD_TRAPPED): Likewise.
6418         (CLD_STOPPED): Likewise.
6419         (CLD_CONTINUED): Likewise.
6420         (POLL_IN): Likewise.
6421         (POLL_OUT): Likewise.
6422         (POLL_MSG): Likewise.
6423         (POLL_ERR): Likewise.
6424         (POLL_PRI): Likewise.
6425         (POLL_HUP): Likewise.
6426         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6427         (ILL_ILLOPN): Likewise.
6428         (ILL_ILLADR): Likewise.
6429         (ILL_ILLTRP): Likewise.
6430         (ILL_PRVOPC): Likewise.
6431         (ILL_PRVREG): Likewise.
6432         (ILL_COPROC): Likewise.
6433         (ILL_BADSTK): Likewise.
6434         (FPE_INTDIV): Likewise.
6435         (FPE_INTOVF): Likewise.
6436         (FPE_FLTDIV): Likewise.
6437         (FPE_FLTOVF): Likewise.
6438         (FPE_FLTUND): Likewise.
6439         (FPE_FLTRES): Likewise.
6440         (FPE_FLTINV): Likewise.
6441         (FPE_FLTSUB): Likewise.
6442         (SEGV_MAPERR): Likewise.
6443         (SEGV_ACCERR): Likewise.
6444         (BUS_ADRALN): Likewise.
6445         (BUS_ADRERR): Likewise.
6446         (BUS_OBJERR): Likewise.
6447         (BUS_MCEERR_AR): Likewise.
6448         (BUS_MCEERR_AO): Likewise.
6449         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6450         (TRAP_TRACE): Likewise.
6451         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6452         __USE_XOPEN2K8].
6453         (CLD_KILLED): Likewise.
6454         (CLD_DUMPED): Likewise.
6455         (CLD_TRAPPED): Likewise.
6456         (CLD_STOPPED): Likewise.
6457         (CLD_CONTINUED): Likewise.
6458         (POLL_IN): Likewise.
6459         (POLL_OUT): Likewise.
6460         (POLL_MSG): Likewise.
6461         (POLL_ERR): Likewise.
6462         (POLL_PRI): Likewise.
6463         (POLL_HUP): Likewise.
6464         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6465         (ILL_ILLOPN): Likewise.
6466         (ILL_ILLADR): Likewise.
6467         (ILL_ILLTRP): Likewise.
6468         (ILL_PRVOPC): Likewise.
6469         (ILL_PRVREG): Likewise.
6470         (ILL_COPROC): Likewise.
6471         (ILL_BADSTK): Likewise.
6472         (ILL_DBLFLT): Likewise.
6473         (ILL_HARDWALL): Likewise.
6474         (FPE_INTDIV): Likewise.
6475         (FPE_INTOVF): Likewise.
6476         (FPE_FLTDIV): Likewise.
6477         (FPE_FLTOVF): Likewise.
6478         (FPE_FLTUND): Likewise.
6479         (FPE_FLTRES): Likewise.
6480         (FPE_FLTINV): Likewise.
6481         (FPE_FLTSUB): Likewise.
6482         (SEGV_MAPERR): Likewise.
6483         (SEGV_ACCERR): Likewise.
6484         (BUS_ADRALN): Likewise.
6485         (BUS_ADRERR): Likewise.
6486         (BUS_OBJERR): Likewise.
6487         (BUS_MCEERR_AR): Likewise.
6488         (BUS_MCEERR_AO): Likewise.
6489         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6490         (TRAP_TRACE): Likewise.
6491         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6492         __USE_XOPEN2K8].
6493         (CLD_KILLED): Likewise.
6494         (CLD_DUMPED): Likewise.
6495         (CLD_TRAPPED): Likewise.
6496         (CLD_STOPPED): Likewise.
6497         (CLD_CONTINUED): Likewise.
6498         (POLL_IN): Likewise.
6499         (POLL_OUT): Likewise.
6500         (POLL_MSG): Likewise.
6501         (POLL_ERR): Likewise.
6502         (POLL_PRI): Likewise.
6503         (POLL_HUP): Likewise.
6504         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6505         (ILL_ILLOPN): Likewise.
6506         (ILL_ILLADR): Likewise.
6507         (ILL_ILLTRP): Likewise.
6508         (ILL_PRVOPC): Likewise.
6509         (ILL_PRVREG): Likewise.
6510         (ILL_COPROC): Likewise.
6511         (ILL_BADSTK): Likewise.
6512         (FPE_INTDIV): Likewise.
6513         (FPE_INTOVF): Likewise.
6514         (FPE_FLTDIV): Likewise.
6515         (FPE_FLTOVF): Likewise.
6516         (FPE_FLTUND): Likewise.
6517         (FPE_FLTRES): Likewise.
6518         (FPE_FLTINV): Likewise.
6519         (FPE_FLTSUB): Likewise.
6520         (SEGV_MAPERR): Likewise.
6521         (SEGV_ACCERR): Likewise.
6522         (BUS_ADRALN): Likewise.
6523         (BUS_ADRERR): Likewise.
6524         (BUS_OBJERR): Likewise.
6525         (BUS_MCEERR_AR): Likewise.
6526         (BUS_MCEERR_AO): Likewise.
6527         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6528         (TRAP_TRACE): Likewise.
6529         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6530         __USE_XOPEN2K8].
6531         (CLD_KILLED): Likewise.
6532         (CLD_DUMPED): Likewise.
6533         (CLD_TRAPPED): Likewise.
6534         (CLD_STOPPED): Likewise.
6535         (CLD_CONTINUED): Likewise.
6536         (POLL_IN): Likewise.
6537         (POLL_OUT): Likewise.
6538         (POLL_MSG): Likewise.
6539         (POLL_ERR): Likewise.
6540         (POLL_PRI): Likewise.
6541         (POLL_HUP): Likewise.
6542         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6543         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6545         [BZ #16670]
6546         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6547         before #include of <time.h>.
6548         [!__USE_XOPEN2K] (__need_timespec): Likewise.
6549         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6550         (test-xfail-UNIX98/sched.h/conform): Likewise.
6552 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6554         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6555         error absence of trapping exception support.
6556         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6558 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6560         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6561         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6562         * timezone/Makefile (testdata): Move definition above include of
6563         Rules.
6564         (test-zones): New variable.
6565         (tests-special): Add zone files.
6566         (build-testdata): Use $(evaluate-test).
6568         * elf/Makefile (tests-special): Rename tests to end with .out.
6569         ($(objpfx)noload-mem): Likewise.
6570         ($(objpfx)tst-leaks1-mem): Likewise.
6571         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6572         * iconv/Makefile (xtests-special): Change test-iconvconfig to
6573         $(objpfx)test-iconvconfig.out.
6574         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
6575         set -e inside subshell and redirect output to file.
6576         * iconvdata/Makefile (generated): Rename tests to end with .out.
6577         Correct type.
6578         (tests-special): Rename tests to end with .out.
6579         ($(objpfx)mtrace-tst-loading): Likewise.
6580         * intl/Makefile (generated): Likewise.
6581         (tests-special): Likewise.
6582         ($(objpfx)mtrace-tst-gettext): Likewise.
6583         * misc/Makefile (generated): Likewise.
6584         (tests-special): Likewise.
6585         ($(objpfx)tst-error1-mem): Likewise.
6586         * nptl/Makefile (tests-special): Likewise.
6587         ($(objpfx)tst-stack3-mem): Likewise.
6588         (generated): Likewise.
6589         * posix/Makefile (generated): Likewise.
6590         (tests-special): Likewise.
6591         (xtests-special): Likewise.
6592         ($(objpfx)tst-fnmatch-mem): Likewise.
6593         ($(objpfx)bug-regex2-mem): Likewise.
6594         ($(objpfx)bug-regex14-mem): Likewise.
6595         ($(objpfx)bug-regex21-mem): Likewise.
6596         ($(objpfx)bug-regex31-mem): Likewise.
6597         ($(objpfx)tst-vfork3-mem): Likewise.
6598         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6599         ($(objpfx)tst-pcre-mem): Likewise.
6600         ($(objpfx)tst-boost-mem): Likewise.
6601         ($(objpfx)bug-ga2-mem): Likewise.
6602         ($(objpfx)bug-glob2-mem): Likewise.
6603         * resolv/Makefile (generate): Likewise.
6604         (tests-special): Likewise.
6605         (xtests-special): Likewise.
6606         (generated): Likewise.
6607         ($(objpfx)mtrace-tst-leaks): Likewise.
6608         ($(objpfx)mtrace-tst-leaks2): Likewise.
6610         * scripts/merge-test-results.sh: New file.
6611         * Makefile (tests-special-notdir): New variable.
6612         (tests): Run merge-test-results.sh.
6613         (xtests): Likewise.
6614         * Rules (tests-special-notdir): New variable.
6615         (xtests-special-notdir): Likewise.
6616         (tests): Run merge-test-results.sh
6617         (xtests): Likewise.
6619         * Makeconfig (test-xfail-name): New variable.
6620         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6621         compute variable name for expected failures.
6622         * conform/Makefile (conformtest-headers-data): New variable.
6623         (conformtest-standards): Likewise.
6624         (conformtest-headers-ISO): Likewise.
6625         (conformtest-headers-ISO99): Likewise.
6626         (conformtest-headers-ISO11): Likewise.
6627         (conformtest-headers-POSIX): Likewise.
6628         (conformtest-headers-XPG3): Likewise.
6629         (conformtest-headers-XPG4): Likewise.
6630         (conformtest-headers-UNIX98): Likewise.
6631         (conformtest-headers-XOPEN2K): Likewise.
6632         (conformtest-headers-POSIX2008): Likewise.
6633         (conformtest-headers-XOPEN2K8): Likewise.
6634         (conformtest-header-list-base): Likewise.
6635         (conformtest-header-list-tests): Likewise.
6636         (conformtest-header-base): Likewise.
6637         (conformtest-header-tests): Likewise.
6638         (tests-special): Add $(conformtest-header-list-tests).  If
6639         [$(fast-check) && !$(cross-compiling)], add
6640         $(conformtest-header-tests) instead of
6641         $(objpfx)run-conformtest.out.
6642         (generated): Add $(conformtest-header-list-base).  If
6643         [$(fast-check) && !$(cross-compiling)], add
6644         $(conformtest-header-base).  Remove previous setting.
6645         ($(conformtest-header-list-tests)): New target.
6646         (test-xfail-run-conformtest): Remove variable.
6647         ($(objpfx)run-conformtest.out): Remove target.
6648         (test-xfail-ISO11/complex.h/conform): New variable.
6649         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6650         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6651         (test-xfail-XPG3/varargs.h/conform): Likewise.
6652         (test-xfail-XPG4/varargs.h/conform): Likewise.
6653         (test-xfail-UNIX98/varargs.h/conform): Likewise.
6654         (test-xfail-XPG4/ndbm.h/conform): Likewise.
6655         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6656         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6657         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6658         (test-xfail-XPG3/fcntl.h/conform): Likewise.
6659         (test-xfail-XPG3/ftw.h/conform): Likewise.
6660         (test-xfail-XPG3/grp.h/conform): Likewise.
6661         (test-xfail-XPG3/langinfo.h/conform): Likewise.
6662         (test-xfail-XPG3/limits.h/conform): Likewise.
6663         (test-xfail-XPG3/pwd.h/conform): Likewise.
6664         (test-xfail-XPG3/search.h/conform): Likewise.
6665         (test-xfail-XPG3/signal.h/conform): Likewise.
6666         (test-xfail-XPG3/stdio.h/conform): Likewise.
6667         (test-xfail-XPG3/stdlib.h/conform): Likewise.
6668         (test-xfail-XPG3/string.h/conform): Likewise.
6669         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6670         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6671         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6672         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6673         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6674         (test-xfail-XPG3/sys/types.h/conform): Likewise.
6675         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6676         (test-xfail-XPG3/termios.h/conform): Likewise.
6677         (test-xfail-XPG3/time.h/conform): Likewise.
6678         (test-xfail-XPG3/unistd.h/conform): Likewise.
6679         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6680         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6681         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6682         (test-xfail-XPG4/netdb.h/conform): Likewise.
6683         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6684         (test-xfail-XPG4/signal.h/conform): Likewise.
6685         (test-xfail-XPG4/stdio.h/conform): Likewise.
6686         (test-xfail-XPG4/stdlib.h/conform): Likewise.
6687         (test-xfail-XPG4/stropts.h/conform): Likewise.
6688         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6689         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6690         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6691         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6692         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6693         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6694         (test-xfail-XPG4/sys/time.h/conform): Likewise.
6695         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6696         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6697         (test-xfail-XPG4/termios.h/conform): Likewise.
6698         (test-xfail-XPG4/ucontext.h/conform): Likewise.
6699         (test-xfail-XPG4/unistd.h/conform): Likewise.
6700         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6701         (test-xfail-POSIX/sched.h/conform): Likewise.
6702         (test-xfail-POSIX/signal.h/conform): Likewise.
6703         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6704         (test-xfail-POSIX/tar.h/conform): Likewise.
6705         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6706         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6707         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6708         (test-xfail-UNIX98/netdb.h/conform): Likewise.
6709         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6710         (test-xfail-UNIX98/sched.h/conform): Likewise.
6711         (test-xfail-UNIX98/signal.h/conform): Likewise.
6712         (test-xfail-UNIX98/stdio.h/conform): Likewise.
6713         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6714         (test-xfail-UNIX98/stropts.h/conform): Likewise.
6715         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6716         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6717         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6718         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6719         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6720         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6721         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6722         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6723         (test-xfail-UNIX98/unistd.h/conform): Likewise.
6724         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6725         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6726         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6727         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6728         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6729         (test-xfail-XOPEN2K/math.h/conform): Likewise.
6730         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6731         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6732         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6733         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6734         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6735         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6736         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6737         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6738         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6739         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6740         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6741         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6742         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6743         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6744         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6745         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6746         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6747         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6748         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6749         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6750         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6751         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6752         (test-xfail-POSIX2008/signal.h/conform): Likewise.
6753         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6754         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6755         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6756         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6757         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6758         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6759         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6760         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6761         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6762         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6763         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6764         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6765         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6766         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6767         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6768         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6769         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6770         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6771         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6772         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6773         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6774         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6775         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6776         (conformtest-cc-flags): Likewise.
6777         ($(conformtest-header-tests): New target.
6778         * conform/check-header-lists.sh: New file.
6779         * conform/run-conformtest.sh: Remove.
6781         * conform/conformtest.pl: Allow ' and \ in values given for
6782         constants.
6783         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6784         inclusion.
6785         [POSIX] (sys/types.h): Likewise.
6786         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6787         inclusion.
6788         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6789         inclusion.
6790         * conform/data/signal.h-data (SIGIO): Remove expectation.
6791         [XPG3] (SIGBUS): Do not expect.
6792         [POSIX || XPG3] (SIGPOLL): Likewise.
6793         [POSIX || XPG3] (SIGPROF): Likewise.
6794         [POSIX || XPG3] (SIGSYS): Likewise.
6795         [XPG3] (SIGTRAP): Likewise.
6796         [POSIX || XPG3] (SIGURG): Likewise.
6797         [POSIX || XPG3] (SIGVTALRM): Likewise.
6798         [POSIX || XPG3] (SIGXCPU): Likewise.
6799         [POSIX || XPG3] (SIGXFSZ): Likewise.
6800         [POSIX] (SA_SIGINFO): Expect.
6801         [XPG3] (siginfo_t): Do not expect type or contents.
6802         [POSIX] (si_pid): Do not expect element.
6803         [POSIX] (si_uid): Likewise.
6804         [POSIX] (si_addr): Likewise.
6805         [POSIX] (si_status): Likewise.
6806         [POSIX] (si_band): Likewise.
6807         [XPG4] (si_value): Likewise.
6808         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6809         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6810         [POSIX || XPG3] (ILL_ILLADR): Likewise.
6811         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6812         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6813         [POSIX || XPG3] (ILL_PRVREG): Likewise.
6814         [POSIX || XPG3] (ILL_COPROC): Likewise.
6815         [POSIX || XPG3] (ILL_BADSTK): Likewise.
6816         [POSIX || XPG3] (FPE_INTDIV): Likewise.
6817         [POSIX || XPG3] (FPE_INTOVF): Likewise.
6818         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6819         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6820         [POSIX || XPG3] (FPE_FLTUND): Likewise.
6821         [POSIX || XPG3] (FPE_FLTRES): Likewise.
6822         [POSIX || XPG3] (FPE_FLTINV): Likewise.
6823         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6824         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6825         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6826         [POSIX || XPG3] (BUS_ADRALN): Likewise.
6827         [POSIX || XPG3] (BUS_ADRERR): Likewise.
6828         [POSIX || XPG3] (BUS_OBJERR): Likewise.
6829         [POSIX || XPG3] (CLD_EXITED): Likewise.
6830         [POSIX || XPG3] (CLD_KILLED): Likewise.
6831         [POSIX || XPG3] (CLD_DUMPED): Likewise.
6832         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6833         [POSIX || XPG3] (CLD_STOPPED): Likewise.
6834         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6835         [POSIX || XPG3] (POLL_IN): Likewise.
6836         [POSIX || XPG3] (POLL_OUT): Likewise.
6837         [POSIX || XPG3] (POLL_MSG): Likewise.
6838         [POSIX || XPG3] (POLL_ERR): Likewise.
6839         [POSIX || XPG3] (POLL_PRI): Likewise.
6840         [POSIX || XPG3] (POLL_HUP): Likewise.
6841         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6842         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6843         (SIG*): Do not allow.
6844         [XPG3] (si_*): Likewise.
6845         [XPG3] (SI_*): Likewise.
6846         [XPG3 || XPG4] (sigev_*): Likewise.
6847         [XPG3 || XPG4] (SIGEV_*): Likewise.
6848         [XPG3 || XPG4] (sival_*): Likewise.
6849         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6850         [POSIX || XPG3] (BUS_*): Likewise.
6851         [POSIX || XPG3] (CLD_*): Likewise.
6852         [POSIX || XPG3] (FPE_*): Likewise.
6853         [POSIX || XPG3] (ILL_*): Likewise.
6854         [POSIX || XPG3] (POLL_*): Likewise.
6855         [POSIX || XPG3] (SEGV_*): Likewise.
6856         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6857         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6858         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6859         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6860         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6861         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6862         Specify type and value.
6863         (TVERSLEN): Likewise.
6864         (REGTYPE): Likewise.
6865         (AREGTYPE): Likewise.
6866         (LNKTYPE): Likewise.
6867         (SYMTYPE): Likewise.
6868         (CHRTYPE): Likewise.
6869         (BLKTYPE): Likewise.
6870         (DIRTYPE): Likewise.
6871         (FIFOTYPE): Likewise.
6872         (CONTTYPE): Likewise.
6873         (TSUID): Likewise.
6874         (TSGID): Likewise.
6875         (TSVTX): Likewise.
6876         (TUREAD): Likewise.
6877         (TUWRITE): Likewise.
6878         (TUEXEC): Likewise.
6879         (TGREAD): Likewise.
6880         (TGWRITE): Likewise.
6881         (TGEXEC): Likewise.
6882         (TOREAD): Likewise.
6883         (TOWRITE): Likewise.
6884         (TOEXEC): Likewise.
6885         [POSIX] (TSVTX): Expect constant.
6887 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
6889         * Makefile (tests): Change dependencies to ....
6890         (tests-special): ... additions to this variable.
6891         (tests): Depend on $(tests-special).
6892         * Makerules (check-abi-list): New variable.
6893         (check-abi): Depend on $(check-abi-list).
6894         [$(subdir) = elf] (tests-special): Add
6895         $(objpfx)check-abi-libc.out.
6896         [$(build-shared) = yes && subdir] (tests-special): Add
6897         $(check-abi-list).
6898         [$(build-shared) = yes && subdir] (tests): Do not depend on
6899         check-abi.
6900         * Rules (tests): Depend on $(tests-special).
6901         (xtests): Depend on $(xtests-special).
6902         * catgets/Makefile (tests): Change dependencies to ....
6903         (tests-special): ... additions to this variable.
6904         * conform/Makefile (tests): Change dependencies to ....
6905         (tests-special): ... additions to this variable.
6906         * elf/Makefile (tests): Change dependencies to ....
6907         (tests-special): ... additions to this variable.
6908         * grp/Makefile (tests): Change dependencies to ....
6909         (tests-special): ... additions to this variable.
6910         * iconv/Makefile (xtests): Change dependencies to ....
6911         (xtests-special): ... additions to this variable.
6912         * iconvdata/Makefile (tests): Change dependencies to ....
6913         (tests-special): ... additions to this variable.
6914         * intl/Makefile (tests): Change dependencies to ....
6915         (tests-special): ... additions to this variable.  Also add
6916         $(objpfx)tst-gettext.out.
6917         * io/Makefile (tests): Change dependencies to ....
6918         (tests-special): ... additions to this variable.
6919         * libio/Makefile (tests): Change dependencies to ....
6920         (tests-special): ... additions to this variable.
6921         * malloc/Makefile (tests): Change dependencies to ....
6922         (tests-special): ... additions to this variable.
6923         * misc/Makefile (tests): Change dependencies to ....
6924         (tests-special): ... additions to this variable.
6925         * nptl/Makefile (tests): Change dependencies to ....
6926         (tests-special): ... additions to this variable.
6927         * nptl_db/Makefile (tests): Change dependencies to ....
6928         (tests-special): ... additions to this variable.
6929         * posix/Makefile (tests): Change dependencies to ....
6930         (tests-special): ... additions to this variable.
6931         (xtests): Change dependencies to ....
6932         (xtests-special): ... additions to this variable.
6933         * resolv/Makefile (tests): Change dependencies to ....
6934         (tests-special): ... additions to this variable.
6935         (xtests): Change dependencies to ....
6936         (xtests-special): ... additions to this variable.
6937         * stdio-common/Makefile (tests): Change dependencies to ....
6938         (tests-special): ... additions to this variable.
6939         (do-tst-unbputc): Remove target.
6940         (do-tst-printf): Likewise.
6941         * stdlib/Makefile (tests): Change dependencies to ....
6942         (tests-special): ... additions to this variable.
6943         * string/Makefile (tests): Change dependencies to ....
6944         (tests-special): ... additions to this variable.
6945         * sysdeps/x86/Makefile (tests): Change dependencies to ....
6946         (tests-special): ... additions to this variable.
6948         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6949         whole file.
6950         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6951         whole file.
6952         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6953         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6955         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6956         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6957         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6958         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6959         * conform/data/libgen.h-data [XPG3]: Likewise.
6960         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6961         * conform/data/ndbm.h-data [XPG3]: Likewise.
6962         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6963         * conform/data/netdb.h-data [XPG3]: Likewise.
6964         * conform/data/netinet/in.h-data [XPG3]: Likewise.
6965         * conform/data/poll.h-data [XPG3]: Likewise.
6966         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6967         * conform/data/strings.h-data [XPG3]: Likewise.
6968         * conform/data/stropts.h-data [XPG3]: Likewise.
6969         * conform/data/sys/mman.h-data [XPG3]: Likewise.
6970         * conform/data/sys/resource.h-data [XPG3]: Likewise.
6971         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6972         Likewise.
6973         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6974         * conform/data/sys/time.h-data [XPG3]: Likewise.
6975         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6976         * conform/data/sys/uio.h-data [XPG3]: Likewise.
6977         * conform/data/sys/un.h-data [XPG3]: Likewise.
6978         * conform/data/syslog.h-data [XPG3]: Likewise.
6979         * conform/data/ucontext.h-data [XPG3]: Likewise.
6980         * conform/data/utmpx.h-data [XPG3]: Likewise.
6981         * conform/data/varargs.h-data [UNIX98]: Enable file.
6983         * manual/Makefile (INSTALL_INFO): Remove variable setting.
6985         * math/libm-test.inc (struct test_f_f_data): Move expected results
6986         into structure for each rounding mode.
6987         (struct test_ff_f_data): Likewise.
6988         (struct test_ff_f_data_nexttoward): Likewise.
6989         (struct test_fi_f_data): Likewise.
6990         (struct test_fl_f_data): Likewise.
6991         (struct test_if_f_data): Likewise.
6992         (struct test_fff_f_data): Likewise.
6993         (struct test_c_f_data): Likewise.
6994         (struct test_f_f1_data): Likewise.
6995         (struct test_fF_f1_data): Likewise.
6996         (struct test_ffI_f1_data): Likewise.
6997         (struct test_c_c_data): Likewise.
6998         (struct test_cc_c_data): Likewise.
6999         (struct test_f_i_data): Likewise.
7000         (struct test_ff_i_data): Likewise.
7001         (struct test_f_l_data): Likewise.
7002         (struct test_f_L_data): Likewise.
7003         (struct test_fFF_11_data): Likewise.
7004         (RM_): New macro.
7005         (RM_FE_DOWNWARD): Likewise.
7006         (RM_FE_TONEAREST): Likewise.
7007         (RM_FE_TOWARDZERO): Likewise.
7008         (RM_FE_UPWARD): Likewise.
7009         (RUN_TEST_LOOP_f_f): Update references to expected results.
7010         (RUN_TEST_LOOP_2_f): Likewise.
7011         (RUN_TEST_LOOP_fff_f): Likewise.
7012         (RUN_TEST_LOOP_c_f): Likewise.
7013         (RUN_TEST_LOOP_f_f1): Likewise.
7014         (RUN_TEST_LOOP_fF_f1): Likewise.
7015         (RUN_TEST_LOOP_fI_f1): Likewise.
7016         (RUN_TEST_LOOP_ffI_f1): Likewise.
7017         (RUN_TEST_LOOP_c_c): Likewise.
7018         (RUN_TEST_LOOP_cc_c): Likewise.
7019         (RUN_TEST_LOOP_f_i): Likewise.
7020         (RUN_TEST_LOOP_f_i_tg): Likewise.
7021         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7022         (RUN_TEST_LOOP_f_b): Likewise.
7023         (RUN_TEST_LOOP_f_b_tg): Likewise.
7024         (RUN_TEST_LOOP_f_l): Likewise.
7025         (RUN_TEST_LOOP_f_L): Likewise.
7026         (RUN_TEST_LOOP_fFF_11): Likewise.
7027         * math/gen-libm-test.pl (parse_args): Output four copies of
7028         expected results for each test.
7030         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7031         (__ASSUME_UTIMES): Remove.
7032         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7033         (__ASSUME_UTIMES): Likewise.
7035         * math/gen-auto-libm-tests.c: Update comment on output format.
7036         (output_for_one_input_case): Generate before-rounding and
7037         after-rounding information as conditions on output flags not
7038         floating-point format.
7039         * math/auto-libm-test-out: Regenerated.
7040         * math/gen-libm-test.pl (cond_value): New function.
7041         (or_cond_value): Use cond_value.
7042         (generate_testfile): Handle conditional exceptions.
7044 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7046         * math/libm-test.inc (max_valid_error): New variable.
7047         (init_max_error): Take new argument specifying whether function
7048         results are exactly determined.  Set max_valid_error and bound
7049         other variables for errors based on this argument.
7050         (set_max_error): Do not record results above max_valid_error.
7051         (check_float_internal): Only accept errors of up to 0.5ulps if
7052         also at most max_valid_error.
7053         (START): Take new argument EXACT and pass it to init_max_error.
7054         (acos_test): Update call to START.
7055         (acos_test_tonearest): Likewise.
7056         (acos_test_towardzero): Likewise.
7057         (acos_test_downward): Likewise.
7058         (acos_test_upward): Likewise.
7059         (acosh_test): Likewise.
7060         (asin_test): Likewise.
7061         (asin_test_tonearest): Likewise.
7062         (asin_test_towardzero): Likewise.
7063         (asin_test_downward): Likewise.
7064         (asin_test_upward): Likewise.
7065         (asinh_test): Likewise.
7066         (atan_test): Likewise.
7067         (atanh_test): Likewise.
7068         (atan2_test): Likewise.
7069         (cabs_test): Likewise.
7070         (cacos_test): Likewise.
7071         (cacosh_test): Likewise.
7072         (carg_test): Likewise.
7073         (casin_test): Likewise.
7074         (casinh_test): Likewise.
7075         (catan_test): Likewise.
7076         (catanh_test): Likewise.
7077         (cbrt_test): Likewise.
7078         (ccos_test): Likewise.
7079         (ccosh_test): Likewise.
7080         (ceil_test): Likewise.
7081         (cexp_test): Likewise.
7082         (cimag_test): Likewise.
7083         (clog_test): Likewise.
7084         (clog10_test): Likewise.
7085         (conj_test): Likewise.
7086         (copysign_test): Likewise.
7087         (cos_test): Likewise.
7088         (cos_test_tonearest): Likewise.
7089         (cos_test_towardzero): Likewise.
7090         (cos_test_downward): Likewise.
7091         (cos_test_upward): Likewise.
7092         (cosh_test): Likewise.
7093         (cosh_test_tonearest): Likewise.
7094         (cosh_test_towardzero): Likewise.
7095         (cosh_test_downward): Likewise.
7096         (cosh_test_upward): Likewise.
7097         (cpow_test): Likewise.
7098         (cproj_test): Likewise.
7099         (creal_test): Likewise.
7100         (csin_test): Likewise.
7101         (csinh_test): Likewise.
7102         (csqrt_test): Likewise.
7103         (ctan_test): Likewise.
7104         (ctan_test_tonearest): Likewise.
7105         (ctan_test_towardzero): Likewise.
7106         (ctan_test_downward): Likewise.
7107         (ctan_test_upward): Likewise.
7108         (ctanh_test): Likewise.
7109         (ctanh_test_tonearest): Likewise.
7110         (ctanh_test_towardzero): Likewise.
7111         (ctanh_test_downward): Likewise.
7112         (ctanh_test_upward): Likewise.
7113         (erf_test): Likewise.
7114         (erfc_test): Likewise.
7115         (exp_test): Likewise.
7116         (exp_test_tonearest): Likewise.
7117         (exp_test_towardzero): Likewise.
7118         (exp_test_downward): Likewise.
7119         (exp_test_upward): Likewise.
7120         (exp10_test): Likewise.
7121         (exp10_test_tonearest): Likewise.
7122         (exp10_test_towardzero): Likewise.
7123         (exp10_test_downward): Likewise.
7124         (exp10_test_upward): Likewise.
7125         (pow10_test): Likewise.
7126         (exp2_test): Likewise.
7127         (expm1_test): Likewise.
7128         (expm1_test_tonearest): Likewise.
7129         (expm1_test_towardzero): Likewise.
7130         (expm1_test_downward): Likewise.
7131         (expm1_test_upward): Likewise.
7132         (fabs_test): Likewise.
7133         (fdim_test): Likewise.
7134         (floor_test): Likewise.
7135         (fma_test): Likewise.
7136         (fma_test_towardzero): Likewise.
7137         (fma_test_downward): Likewise.
7138         (fma_test_upward): Likewise.
7139         (fmax_test): Likewise.
7140         (fmin_test): Likewise.
7141         (fmod_test): Likewise.
7142         (fpclassify_test): Likewise.
7143         (frexp_test): Likewise.
7144         (hypot_test): Likewise.
7145         (ilogb_test): Likewise.
7146         (isfinite_test): Likewise.
7147         (finite_test): Likewise.
7148         (isgreater_test): Likewise.
7149         (isgreaterequal_test): Likewise.
7150         (isinf_test): Likewise.
7151         (isless_test): Likewise.
7152         (islessequal_test): Likewise.
7153         (islessgreater_test): Likewise.
7154         (isnan_test): Likewise.
7155         (isnormal_test): Likewise.
7156         (issignaling_test): Likewise.
7157         (isunordered_test): Likewise.
7158         (j0_test): Likewise.
7159         (j1_test): Likewise.
7160         (jn_test): Likewise.
7161         (ldexp_test): Likewise.
7162         (lgamma_test): Likewise.
7163         (gamma_test): Likewise.
7164         (lrint_test): Likewise.
7165         (lrint_test_tonearest): Likewise.
7166         (lrint_test_towardzero): Likewise.
7167         (lrint_test_downward): Likewise.
7168         (lrint_test_upward): Likewise.
7169         (llrint_test): Likewise.
7170         (llrint_test_tonearest): Likewise.
7171         (llrint_test_towardzero): Likewise.
7172         (llrint_test_downward): Likewise.
7173         (llrint_test_upward): Likewise.
7174         (log_test): Likewise.
7175         (log10_test): Likewise.
7176         (log1p_test): Likewise.
7177         (log2_test): Likewise.
7178         (logb_test): Likewise.
7179         (logb_test_downward): Likewise.
7180         (lround_test): Likewise.
7181         (llround_test): Likewise.
7182         (modf_test): Likewise.
7183         (nearbyint_test): Likewise.
7184         (nextafter_test): Likewise.
7185         (nexttoward_test): Likewise.
7186         (pow_test): Likewise.
7187         (pow_test_tonearest): Likewise.
7188         (pow_test_towardzero): Likewise.
7189         (pow_test_downward): Likewise.
7190         (pow_test_upward): Likewise.
7191         (remainder_test): Likewise.
7192         (drem_test): Likewise.
7193         (remainder_test_tonearest): Likewise.
7194         (drem_test_tonearest): Likewise.
7195         (remainder_test_towardzero): Likewise.
7196         (drem_test_towardzero): Likewise.
7197         (remainder_test_downward): Likewise.
7198         (drem_test_downward): Likewise.
7199         (remainder_test_upward): Likewise.
7200         (drem_test_upward): Likewise.
7201         (remquo_test): Likewise.
7202         (rint_test): Likewise.
7203         (rint_test_tonearest): Likewise.
7204         (rint_test_towardzero): Likewise.
7205         (rint_test_downward): Likewise.
7206         (rint_test_upward): Likewise.
7207         (round_test): Likewise.
7208         (scalb_test): Likewise.
7209         (scalbn_test): Likewise.
7210         (scalbln_test): Likewise.
7211         (signbit_test): Likewise.
7212         (sin_test): Likewise.
7213         (sin_test_tonearest): Likewise.
7214         (sin_test_towardzero): Likewise.
7215         (sin_test_downward): Likewise.
7216         (sin_test_upward): Likewise.
7217         (sincos_test): Likewise.
7218         (sinh_test): Likewise.
7219         (sinh_test_tonearest): Likewise.
7220         (sinh_test_towardzero): Likewise.
7221         (sinh_test_downward): Likewise.
7222         (sinh_test_upward): Likewise.
7223         (sqrt_test): Likewise.
7224         (sqrt_test_tonearest): Likewise.
7225         (sqrt_test_towardzero): Likewise.
7226         (sqrt_test_downward): Likewise.
7227         (sqrt_test_upward): Likewise.
7228         (tan_test): Likewise.
7229         (tan_test_tonearest): Likewise.
7230         (tan_test_towardzero): Likewise.
7231         (tan_test_downward): Likewise.
7232         (tan_test_upward): Likewise.
7233         (tanh_test): Likewise.
7234         (tgamma_test): Likewise.
7235         (trunc_test): Likewise.
7236         (y0_test): Likewise.
7237         (y1_test): Likewise.
7238         (yn_test): Likewise.
7239         (significand_test): Likewise.
7241         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7242         individual tests in comment.
7243         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7244         (prev_max_error): New variable.
7245         (prev_real_max_error): Likewise.
7246         (prev_imag_max_error): Likewise.
7247         (compare_ulp_data): Don't refer to test names in comment.
7248         (find_test_ulps): Remove function.
7249         (find_function_ulps): Likewise.
7250         (find_complex_function_ulps): Likewise.
7251         (init_max_error): Take function name as argument.  Look up ulps
7252         for that function.
7253         (print_ulps): Remove function.
7254         (print_max_error): Use prev_max_error instead of calling
7255         find_function_ulps.
7256         (print_complex_max_error): Use prev_real_max_error and
7257         prev_imag_max_error instead of calling find_complex_function_ulps.
7258         (check_float_internal): Take max_ulp parameter instead of calling
7259         find_test_ulps.  Don't call print_ulps.
7260         (check_float): Update call to check_float_internal.
7261         (check_complex): Update calls to check_float_internal.
7262         (START): Pass argument to init_max_error.
7263         * math/gen-libm-test.pl (%results): Don't include "kind"
7264         information.
7265         (parse_ulps): Don't handle ulps of individual tests.
7266         (print_ulps_file): Likewise.
7267         (output_ulps): Likewise.
7268         * math/README.libm-test: Update.
7269         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7270         individual tests.
7271         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7272         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7273         * sysdeps/arm/libm-test-ulps: Likewise.
7274         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7275         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7276         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7277         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7278         * sysdeps/microblaze/libm-test-ulps: Likewise.
7279         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7280         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7281         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7282         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7283         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7284         * sysdeps/sh/libm-test-ulps: Likewise.
7285         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7286         * sysdeps/tile/libm-test-ulps: Likewise.
7287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7289 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
7291         * math/libm-test.inc (print_complex_max_error): Check separately
7292         whether real and imaginary errors are within allowed range and
7293         pass 0 to print_complex_function_ulps instead of value within
7294         allowed range.
7296 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7298         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7299         formatting.
7300         (get_handles_fopen): Likewise.
7301         (do_write_test): Likewise.
7303         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7305         * libio/fileops.c (do_ftell): Use cached offset when
7306         available.
7307         * libio/iofwide.c (do_ftell_wide): Likewise.
7308         * libio/iofdopen.c (_IO_new_fdopen): Don't use
7309         _IO_file_attach.
7310         * libio/wfileops.c (_IO_fwide): Don't cache offset.
7312         [BZ #16532]
7313         * libio/libioP.h (get_file_offset): New function.
7314         * libio/fileops.c (get_file_offset): Likewise.
7315         (do_ftell): Likewise.
7316         (_IO_new_file_seekoff): Split out ftell logic.
7317         * libio/wfileops.c (do_ftell_wide): Likewise.
7318         (_IO_wfile_seekoff): Split out ftell logic.
7319         * libio/tst-ftell-active-handler.c: New test case.
7320         * libio/Makefile (tests): Add it.
7322 2014-03-03  Roland McGrath  <roland@hack.frob.com>
7324         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7325         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7327 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7329         [BZ #16639]
7330         * nscd/connections.c (nscd_init): Call do_exit.
7331         (start_threads): Call do_exit and notify_parent.
7332         (begin_drop_privileges): Call do_exit.
7333         (finish_drop_privileges): Likewise.
7334         * nscd/selinux.c (preserve_capabilities): Likewise.
7335         (install_real_capabilities): Likewise.
7336         (nscd_selinux_enabled): Likewise.
7337         (avc_create_thread): Likewise.
7338         (avc_alloc_lock): Likewise.
7339         (nscd_avc_init): Likewise.
7340         * nscd/nscd.c (parent_fd): New static variable.
7341         (main): Create a pipe between parent and child processes.
7342         Skip closing parent_fd.
7343         (monitor_child): New function.
7344         (do_exit): Likewise.
7345         (notify_parent): Likewise.
7346         * nscd/nscd.h (notify_parent): Likewise.
7347         (do_exit): Likewise.
7349 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
7351         * malloc/malloc.c (__libc_calloc): Revert last change.
7353 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7357 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7359         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7361         implementation.
7362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7363         (__libc_ifunc_impl_list): Likewise.
7364         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7365         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7366         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7367         * string/strrchr.c: Define STRRCHR.
7369 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
7371         * benchtest/bench-strtok.c (simple_strtok): Delete.
7372         (strtok_string): Use as benchmark.
7373         * string/strtok (STRTOK): New macro.
7375 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
7377         * manual/threads.texi: Add header and standard comments to all
7378         functions.
7380         * elf/dl-lookup.c (check_match): New function.
7381         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7382         (do_lookup_x): Remove nested function check_match. Use non-nested
7383         function check_match.
7385 2014-02-28  Roland McGrath  <roland@hack.frob.com>
7387         * csu/Makefile (generated, before-compile): Use += rather than =.
7388         * catgets/Makefile (generated, generated-dirs): Likewise.
7389         * debug/Makefile (generated): Likewise.
7390         * dlfcn/Makefile (generated): Likewise.
7391         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7392         * iconvdata/Makefile (before-compile, generated): Likewise.
7393         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7394         * libio/Makefile (generated): Likewise.
7395         * malloc/Makefile (generated): Likewise.
7396         * manual/Makefile (generated, generated-dirs): Likewise.
7397         * misc/Makefile (generated): Likewise.
7398         * posix/Makefile (generated): Likewise.
7399         * resolv/Makefile (generated): Likewise.
7400         * sunrpc/Makefile (generated, generated-dirs): Likewise.
7401         * timezone/Makefile (generated, generated-dirs): Likewise.
7403         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7405 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7407         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7408         power8 implementation.
7409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7410         file: POWER8 llround ifunc implementation.
7411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7412         (__lllround): Add POWER8 implementation.
7413         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7414         POWER8 llround implementation.
7416         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7417         power8 implementation.
7418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7419         file: POWER8 llrint ifunc implementation.
7420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7421         Add POWER8 implementation.
7422         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7423         POWER8 llrint implementation.
7425         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7426         power8 implementation.
7427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7428         file: POWER8 finite ifunc implementation.
7429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7430         Add POWER8 implementation.
7431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7432         Likewise.
7433         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7434         POWER8 finite implementation.
7435         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7437         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7438         power8 implementation.
7439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7440         file: POWER8 isinf ifunc implementation.
7441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7442         POWER8 implementation.
7443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7444         Likewise.
7445         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7446         isinf implementation.
7447         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7449         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7450         (INIT_ARCH): Add hwcap2 initialization.
7451         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7452         power8 implementation.
7453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7454         file: POWER8 isnan ifunc implementation.
7455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7456         POWER8 implementation.
7457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7458         Likewise.
7459         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7460         isnan implementation.
7461         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7463 2014-02-27  Joey Ye  <joey.ye@arm.com>
7465         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7466         (_FP_NANFRAC_Q): Set to zero.
7468 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7470         [BZ #16623]
7471         * math/auto-libm-test-in: New test inputs.
7472         * math/auto-libm-test-out: Regenerate.
7473         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7474         and DA.
7475         (__cos): Likewise.
7476         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7478 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
7480         * scripts/evaluate-test.sh: Take new argument indicating whether
7481         failure is expected.
7482         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7483         indicating whether failure is expected.
7484         * conform/Makefile (test-xfail-run-conformtest): New variable.
7485         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7486         level.
7487         * posix/Makefile (test-xfail-annexc): New variable.
7488         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7490 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
7492         * argp/Makefile: Include Makeconfig immediately after defining
7493         subdir.
7494         * assert/Makefile: Likewise.
7495         * benchtests/Makefile: Likewise.
7496         * catgets/Makefile: Likewise.
7497         * conform/Makefile: Likewise.
7498         * crypt/Makefile: Likewise.
7499         * csu/Makefile: Likewise.
7500         (all): Remove target.
7501         * ctype/Makefile: Include Makeconfig immediately after defining
7502         subdir.
7503         * debug/Makefile: Likewise.
7504         * dirent/Makefile: Likewise.
7505         * dlfcn/Makefile: Likewise.
7506         * gmon/Makefile: Likewise.
7507         * gnulib/Makefile: Likewise.
7508         * grp/Makefile: Likewise.
7509         * gshadow/Makefile: Likewise.
7510         * hesiod/Makefile: Likewise.
7511         * hurd/Makefile: Likewise.
7512         (all): Remove target.
7513         * iconvdata/Makefile: Include Makeconfig immediately after
7514         defining subdir.
7515         * inet/Makefile: Likewise.
7516         * intl/Makefile: Likewise.
7517         * io/Makefile: Likewise.
7518         * libio/Makefile: Likewise.
7519         (all): Remove target.
7520         * locale/Makefile: Include Makeconfig immediately after defining
7521         subdir.
7522         * login/Makefile: Likewise.
7523         * mach/Makefile: Likewise.
7524         (all): Remove target.
7525         * malloc/Makefile: Include Makeconfig immediately after defining
7526         subdir.
7527         (all): Remove target.
7528         * manual/Makefile: Include Makeconfig immediately after defining
7529         subdir.
7530         * math/Makefile: Likewise.
7531         * misc/Makefile: Likewise.
7532         * nis/Makefile: Likewise.
7533         * nss/Makefile: Likewise.
7534         * po/Makefile: Likewise.
7535         (all): Remove target.
7536         * posix/Makefile: Include Makeconfig immediately after defining
7537         subdir.
7538         * pwd/Makefile: Likewise.
7539         * resolv/Makefile: Likewise.
7540         * resource/Makefile: Likewise.
7541         * rt/Makefile: Likewise.
7542         * setjmp/Makefile: Likewise.
7543         * shadow/Makefile: Likewise.
7544         * signal/Makefile: Likewise.
7545         * socket/Makefile: Likewise.
7546         * soft-fp/Makefile: Likewise.
7547         * stdio-common/Makefile: Likewise.
7548         * stdlib/Makefile: Likewise.
7549         * streams/Makefile: Likewise.
7550         * string/Makefile: Likewise.
7551         * sunrpc/Makefile: Likewise.
7552         (all): Remove target.
7553         * sysvipc/Makefile: Include Makeconfig immediately after defining
7554         subdir.
7555         * termios/Makefile: Likewise.
7556         * time/Makefile: Likewise.
7557         * timezone/Makefile: Likewise.
7558         (all): Remove target.
7559         * wcsmbs/Makefile: Include Makeconfig immediately after defining
7560         subdir.
7561         * wctype/Makefile: Likewise.
7563 2014-02-26  Steve Ellcey  <sellcey@mips.com>
7565         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7566         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7567         (libc_feholdexcept_setround_mips): Ditto.
7568         (libc_feholdsetround): New.
7569         (libc_feholdsetroundf): New.
7570         (libc_feholdsetroundl): New.
7571         (libc_feupdateenv_test_mips): New.
7572         (libc_feupdateenv_test): New.
7573         (libc_feupdateenv_testf): New.
7574         (libc_feupdateenv_testl): New.
7575         (libc_feresetround): New.
7576         (libc_feresetroundf): New.
7577         (libc_feresetroundl): New.
7578         (libc_fetestexcept_mips): New.
7579         (libc_fetestexcept): New.
7580         (libc_fetestexceptf): New.
7581         (libc_fetestexceptl): New.
7582         (HAVE_RM_CTX): New.
7583         (libc_feholdexcept_setround_mips_ctx): New.
7584         (libc_feholdexcept_setround_ctx): New.
7585         (libc_feholdexcept_setroundf_ctx): New.
7586         (libc_feholdexcept_setroundl_ctx): New.
7587         (libc_fesetenv_mips_ctx): New.
7588         (libc_fesetenv_ctx): New.
7589         (libc_fesetenv_ctxf): New.
7590         (libc_fesetenv_ctxl): New.
7591         (libc_feupdateenv_mips_ctx): New.
7592         (libc_feupdateenv_ctx): New.
7593         (libc_feupdateenvf_ctx): New.
7594         (libc_feupdateenvl_ctx): New.
7595         (libc_feholdsetround_mips_ctx): New.
7596         (libc_feholdsetround_ctx): New.
7597         (libc_feholdsetroundf_ctx): New.
7598         (libc_feholdsetroundl_ctx): New.
7599         (libc_feresetround_mips_ctx): New.
7600         (libc_feresetround_ctx): New.
7601         (libc_feresetroundf_ctx): New.
7602         (libc_feresetroundl_ctx): New.
7604 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
7606         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7608         * manual/ipc.texi: New file.
7609         * manual/Makefile (chapters): Add ipc.
7610         * manual/job.texi: Add "Inter-Process Communication" to next.
7611         * manual/process.texi: Add "Inter-Process Communication" to prev.
7613 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7617 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
7619         * malloc/malloc.c (__libc_calloc): Simplify implementation.
7621         * manual/arith.texi: Fix spaces after sentences.
7622         * manual/charset.texi: Likewise.
7623         * manual/errno.texi: Likewise.
7624         * manual/install.texi: Likewise.
7625         * manual/llio.texi: Likewise.
7626         * manual/locale.texi: Likewise.
7627         * manual/maint.texi: Likewise.
7628         * manual/math.texi: Likewise.
7629         * manual/memory.texi: Likewise.
7630         * manual/message.texi: Likewise.
7631         * manual/probes.texi: Likewise.
7632         * manual/resource.texi: Likewise.
7633         * manual/signal.texi: Likewise.
7634         * manual/socket.texi: Likewise.
7635         * manual/stdio.texi: Likewise.
7636         * manual/string.texi: Likewise.
7637         * manual/time.texi: Likewise.
7638         * manual/users.texi: Likewise.
7640 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
7642         [BZ #16632]
7643         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7644         _DEFAULT_SOURCE is defined.
7646 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
7647             Carlos O'Donell  <carlos@redhat.com>
7649         [BZ #16613]
7650         * elf/dl-tls.c (_dl_count_modids): New function.
7651         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7652         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7653         audit library and increment generation counter.
7654         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7655         * elf/tst-audit9.c: New file.
7656         * elf/tst-auditmod9a.c: New file.
7657         * elf/tst-auditmod9b.c: New file.
7658         * elf/Makefile: Add rules to build and run tst-audit9.
7660 2014-02-25  Florian Weimer  <fweimer@redhat.com>
7662         [BZ #15347]
7663         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7665 2014-02-25  Will Newton  <will.newton@linaro.org>
7667         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7668         (__longjmp): Restore sp and lr before restoring callee
7669         saved registers.  Add longjmp and longjmp_target
7670         SystemTap probe point.
7671         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7672         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7673         Define to zero to match jmpbuf layout.
7674         * sysdeps/arm/setjmp.S: Include stap-probe.h.
7675         (__sigsetjmp): Save sp and lr before saving callee
7676         saved registers.  Add setjmp SystemTap probe point.
7678 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7680         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7682 2014-02-24  Andreas Schwab  <schwab@suse.de>
7684         [BZ #15804]
7685         * elf/pldd.c (wait_for_ptrace_stop): New function.
7686         (main): Call it after attaching.
7688 2014-02-22  Roland McGrath  <roland@hack.frob.com>
7690         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7691         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7692         Versions files is now verboten.
7693         * hurd/Versions (libc: GLIBC_2.0):
7694         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7695         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7696         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7697         * mach/Versions: Likewise.
7699         * csu/Versions: Remove unused %include.
7700         * resolv/Versions: Likewise.
7702 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
7704         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7705         ($(objpfx)check-local-headers.out): Likewise.
7706         ($(objpfx)begin-end-check.out): Likewise.
7707         * Makerules (check-abi-%.out): Likewise.
7708         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7709         ($(objpfx)test2.cat): Likewise.
7710         ($(objpfx)de/libc.cat): Likewise.
7711         ($(objpfx)test-gencat.out): Likewise.
7712         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7713         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7714         ($(objpfx)noload-mem): Likewise.
7715         ($(objpfx)tst-pathopt.out): Likewise.
7716         ($(objpfx)tst-rtld-load-self.out): Likewise.
7717         ($(objpfx)tst-array1-cmp.out): Likewise.
7718         ($(objpfx)tst-array1-static-cmp.out): Likewise.
7719         ($(objpfx)tst-array2-cmp.out): Likewise.
7720         ($(objpfx)tst-array3-cmp.out): Likewise.
7721         ($(objpfx)tst-array4-cmp.out): Likewise.
7722         ($(objpfx)tst-array5-cmp.out): Likewise.
7723         ($(objpfx)tst-array5-static-cmp.out): Likewise.
7724         ($(objpfx)check-textrel.out): Likewise.
7725         ($(objpfx)check-execstack.out): Likewise.
7726         ($(objpfx)check-localplt.out): Likewise.
7727         ($(objpfx)order2-cmp.out): Likewise.
7728         ($(objpfx)tst-leaks1-mem): Likewise.
7729         ($(objpfx)tst-leaks1-static-mem): Likewise.
7730         ($(objpfx)tst-initorder-cmp.out): Likewise.
7731         ($(objpfx)tst-initorder2-cmp.out): Likewise.
7732         ($(objpfx)tst-unused-dep.out): Likewise.
7733         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7734         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7735         * iconv/Makefile (test-iconvconfig): Likewise.
7736         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7737         ($(objpfx)iconv-test.out): Likewise.
7738         ($(objpfx)tst-tables.out): Likewise.
7739         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7740         ($(objpfx)tst-gettext.out): Likewise.
7741         ($(objpfx)tst-translit.out): Likewise.
7742         ($(objpfx)tst-gettext2.out): Likewise.
7743         ($(objpfx)tst-gettext4.out): Likewise.
7744         ($(objpfx)tst-gettext6.out): Likewise.
7745         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7746         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7747         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7748         ($(objpfx)tst-fopenloc-mem.out): Likewise.
7749         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7750         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7751         * posix/Makefile ($(objpfx)globtest.out): Likewise.
7752         ($(objpfx)wordexp-tst.out): Likewise.
7753         ($(objpfx)annexc.out): Likewise.
7754         ($(objpfx)tst-fnmatch-mem): Likewise.
7755         ($(objpfx)bug-regex2-mem): Likewise.
7756         ($(objpfx)bug-regex14-mem): Likewise.
7757         ($(objpfx)bug-regex21-mem): Likewise.
7758         ($(objpfx)bug-regex31-mem): Likewise.
7759         ($(objpfx)tst-vfork3-mem): Likewise.
7760         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7761         ($(objpfx)tst-pcre-mem): Likewise.
7762         ($(objpfx)tst-boost-mem): Likewise.
7763         ($(objpfx)tst-getconf.out): Likewise.
7764         ($(objpfx)bug-ga2-mem): Likewise.
7765         ($(objpfx)bug-glob2-mem): Likewise.
7766         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7767         ($(objpfx)mtrace-tst-leaks2): Likewise.
7768         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7769         ($(objpfx)tst-printf.out): Likewise.
7770         ($(objpfx)tst-setvbuf1.out): Likewise.
7771         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7772         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7773         ($(objpfx)tst-fmtmsg.out): Likewise.
7774         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7775         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7777         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7778         * bits/sigaction.h [__USE_MISC]: Likewise.
7779         * bits/waitstatus.h: Update #endif comments.
7780         * ctype/ctype.h: Likewise.
7781         * dirent/dirent.h: Likewise.
7782         [__USE_MISC]: Remove redundant conditionals.
7783         * grp/grp.h: Update #endif comments.
7784         [__USE_GNU]: Remove redundant conditionals.
7785         [__USE_MISC]: Likewise.
7786         * inet/netinet/in.h [__USE_GNU]: Likewise.
7787         * io/sys/stat.h [__USE_MISC]: Likewise.
7788         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7789         * libio/bits/stdio.h: Update #endif comments.
7790         [__USE_MISC]: Remove redundant conditionals.
7791         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7792         * libio/stdio.h: Update #endif comments.
7793         [__USE_MISC]: Remove redundant conditionals.
7794         * math/bits/math-finite.h [__USE_MISC]: Likewise.
7795         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7796         * math/math.h: Update #else and #endif comments.
7797         [__USE_MISC]: Remove redundant conditionals.
7798         * misc/sys/uio.h: Update #endif comments.
7799         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7800         * posix/glob.h [__USE_MISC]: Likewise.
7801         * posix/sys/types.h: Update #endif comments.
7802         [__USE_MISC]: Remove redundant conditionals.
7803         * posix/sys/wait.h: Update #endif comments.
7804         [__USE_MISC]: Remove redundant conditionals.
7805         * posix/unistd.h: Update #endif comments.
7806         [__USE_MISC]: Remove redundant conditionals.
7807         * pwd/pwd.h [__USE_GNU]: Likewise.
7808         [__USE_MISC]: Likewise.
7809         * resolv/netdb.h [__USE_GNU]: Likewise.
7810         * signal/signal.h: Update #endif comments.
7811         [__USE_MISC]: Remove redundant conditionals.
7812         * stdlib/stdlib.h: Update #else and #endif comments.
7813         [__USE_MISC]: Remove redundant conditionals.
7814         [__USE_GNU]: Likewise.
7815         * string/bits/string2.h [__USE_MISC]: Likewise.
7816         * string/string.h: Update #endif comments.
7817         [__USE_MISC]: Remove redundant conditionals.
7818         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7819         Likewise.
7820         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7821         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7822         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7823         Likewise.
7824         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7825         Likewise.
7826         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7827         comments.
7828         [__USE_MISC]: Remove redundant conditionals.
7829         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7830         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7831         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7832         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7833         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7834         Likewise.
7835         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7836         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7837         Likewise.
7838         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7839         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7840         Likewise.
7841         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7842         Likewise.
7843         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7844         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7845         Likewise.
7846         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7847         Likewise.
7848         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7849         * sysdeps/x86/bits/string.h: Update #endif comments.
7850         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7851         conditionals.
7852         * time/sys/time.h: Update #endif comments.
7853         * time/time.h: Likewise.
7854         [__USE_MISC]: Remove redundant conditionals.
7856 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
7858         [BZ #16600]
7859         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7861 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
7863         * Versions.def (librt): Add GLIBC_2.17.
7865 2014-02-21  Adam Conrad  <adconrad@0c3.net>
7867         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7868         synonym for _SYS_AUXV_H to allow direct inclusion.
7869         * sysdeps/sparc/bits/hwcap.h: Likewise.
7870         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7871         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7872         * sysdeps/sparc/sysdep.h: Likewise.
7874 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7876         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7878 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7880         * benchtests/bench-strrchr.c: Print length instead of position.
7882 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
7884         [BZ #16611]
7885         * sysdeps/unix/sysv/linux/kernel-features.h
7886         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7887         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7888         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7889         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7890         Likewise.
7891         [__i386__ || __powerpc__ || __sh__ || __sparc__]
7892         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7893         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7894         (__ASSUME_SENDMMSG): Define instead of using previous
7895         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7896         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7897         (__ASSUME_SENDMMSG_SYSCALL): Define.
7898         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7899         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7900         Likewise.
7901         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7902         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7903         Likewise.
7904         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7905         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7906         Likewise.
7907         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7908         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7909         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7910         [__ASSUME_SENDMMSG]: Change conditionals to
7911         [__ASSUME_SENDMMSG_SOCKETCALL].
7912         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7913         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7914         Define.
7915         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7916         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7917         Likewise.
7918         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7919         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7920         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7921         [!__ASSUME_SENDMMSG]: Change conditional to
7922         [!__ASSUME_SENDMMSG_SOCKETCALL].
7923         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7924         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7925         Define.
7927         [BZ #16610]
7928         * sysdeps/unix/sysv/linux/kernel-features.h
7929         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7930         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7931         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7932         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7933         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7934         [__i386__ || __sparc__]
7935         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7936         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7937         (__ASSUME_RECVMMSG): Define instead of using previous
7938         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7939         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7940         (__ASSUME_RECVMMSG_SYSCALL): Define.
7941         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7942         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7943         Likewise.
7944         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7945         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7946         Likewise.
7947         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7948         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7949         Likewise.
7950         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7951         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7952         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7953         [__ASSUME_RECVMMSG]: Change condition to
7954         [__ASSUME_RECVMMSG_SOCKETCALL].
7955         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7956         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7957         Define.
7958         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7959         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7960         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7961         Likewise.
7962         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7963         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7964         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7965         [!__ASSUME_RECVMMSG]: Change condition to
7966         [!__ASSUME_RECVMMSG_SOCKETCALL].
7967         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7968         (__ASSUME_RECVMMSG_SYSCALL): Define.
7970         [BZ #16609]
7971         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7972         __powerpc__ || __s390__ || __sh__ || __sparc__]
7973         (__ASSUME_SOCKETCALL): Define.
7974         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7975         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7976         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7977         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7978         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7979         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7980         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7981         (__ASSUME_ACCEPT4): Define instead of using previous
7982         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7983         __powerpc__ || __sparc__ || __s390__)] condition.
7984         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7985         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7986         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7987         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7988         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7989         [!__ASSUME_ACCEPT4]: Change condition to
7990         [!__ASSUME_ACCEPT4_SOCKETCALL].
7991         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7992         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
7993         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7994         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7995         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7996         __ASSUME_ACCEPT4_SYSCALL.
7997         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7998         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7999         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8000         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8001         __ASSUME_ACCEPT4_SYSCALL.
8002         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8003         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8004         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8005         [__ASSUME_ACCEPT4]: Change condition to
8006         [__ASSUME_ACCEPT4_SOCKETCALL].
8007         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8008         (__ASSUME_SOCKETCALL): Define.
8009         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8010         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8011         (__ASSUME_SOCKETCALL): Define.
8012         (__ASSUME_ACCEPT4): Remove.
8013         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8014         Define.
8015         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8016         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8017         Likewise.
8018         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8019         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8021         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8022         macro.
8023         (HWCAP_ARM_LPAE): Likewise.
8024         (HWCAP_ARM_EVTSTRM): Likewise.
8025         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8026         Add vpfd32, lpae and evtstrm.
8027         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8028         Increase to 22.
8030 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8032         * math/auto-libm-test-in: Add tests of clog10.
8033         * math/auto-libm-test-out: Regenerated.
8034         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8035         * sysdeps/i386/fpu/libm-test-ulps: Update.
8036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8038 2014-02-18  Andreas Schwab  <schwab@suse.de>
8040         [BZ #16574]
8041         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8042         Store non-zero if the second buffer was newly allocated.
8043         (send_dg): Likewise.
8044         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8045         to send_vc and send_dg.
8046         (res_nsend): Pass NULL for ansp2_malloced.
8047         * resolv/res_query.c (__libc_res_nquery): Add parameter
8048         answerp2_malloced and pass it down to __libc_res_nsend.
8049         (res_nquery): Pass additional NULL to __libc_res_nquery.
8050         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8051         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8052         second answer buffer if answerp2_malloced was set.
8053         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8054         (__libc_res_nquerydomain): Add parameter
8055         answerp2_malloced and pass it down to __libc_res_nquery.
8056         (res_nquerydomain): Pass additional NULL to
8057         __libc_res_nquerydomain.
8058         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8059         additional NULL to __libc_res_nsend and __libc_res_nquery.
8060         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8061         additional NULL to __libc_res_nsearch.
8062         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
8063         parameter of __libc_res_nsearch to check for separately allocated
8064         second buffer.
8065         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8066         __libc_res_nquery.
8067         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8068         additional NULL to __libc_res_nquery.
8069         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8070         __libc_res_nsearch.
8071         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8072         * include/resolv.h: Update prototypes of __libc_res_nquery,
8073         __libc_res_nsearch, __libc_res_nsend.
8075 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
8077         * math/auto-libm-test-in: Add tests of fma.
8078         * math/auto-libm-test-out: Regenerated.
8079         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8080         (fma_towardzero_test_data): Likewise.
8081         (fma_downward_test_data): Likewise.
8082         (fma_upward_test_data): Likewise.
8083         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8084         mpc_mode.
8085         (rounding_modes): Add values for new field.
8086         (func_calc_method): Add value mpfr_fff_f.
8087         (func_calc_desc): Add mpfr_fff_f union field.
8088         (test_function): Add field exact_args.
8089         (FUNC): Add macro argument EXACT_ARGS.
8090         (FUNC_mpfr_f_f): Update call to FUNC.
8091         (FUNC_mpfr_f_f): Likewise.
8092         (FUNC_mpfr_ff_f): Likewise.
8093         (FUNC_mpfr_if_f): Likewise.
8094         (FUNC_mpc_c_f): Likewise.
8095         (FUNC_mpc_c_c): Likewise.
8096         (test_functions): Add fma.  Update calls to FUNC.
8097         (handle_input_arg): Add argument exact_args.
8098         (add_test): Update call to handle_input_arg.
8099         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
8100         (output_for_one_input_case): Update call to calc_generic_results.
8101         Recalculate exact zero results in each rounding mode.
8103         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8104         non-negative before setting low bit.
8105         * math/auto-libm-test-in: Mark one asin test possibly having
8106         spurious underflow.
8107         * math/auto-libm-test-out: Regenerated.
8108         * sysdeps/i386/fpu/libm-test-ulps: Update.
8109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8111 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
8113         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8114         * sysdeps/unix/sysv/linux/microblaze: Move directory from
8115         ports/sysdeps/unix/sysv/linux/microblaze.
8116         * README: Add missing listing for microblaze*-*-linux-gnu.
8118 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
8120         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8121         * sysdeps/unix/sysv/linux/ia64: Move directory from
8122         ports/sysdeps/unix/sysv/linux/ia64.
8123         * README: Update listing for ia64-*-linux-gnu.
8125 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
8126             Joseph Myers  <joseph@codesourcery.com>
8128         * Makeconfig (test-name): New variable.
8129         (evaluate-test): Likewise.
8130         * Makerules (do-test-clean): Remove .test-result files.
8131         (common-mostlyclean): Likewise.
8132         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8133         * scripts/evaluate-test.sh: New file.
8135 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
8137         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8138         separate $(objpfx)tst-fopenloc-cmp.out and
8139         $(objpfx)tst-fopenloc-mem.out targets.
8140         (tests): Update dependencies.
8141         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8142         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8143         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8144         (tst-rxspencer-no-utf8-ARGS): New variable.
8145         (tst-rxspencer-no-utf8-ENV): Likewise.
8146         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8147         instead of $(objpfx)tst-rxspencer-mem.
8148         ($(objpfx)tst-rxspencer-mem): Change target to
8149         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
8150         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8151         * posix/tst-rxspencer-no-utf8.c: New file.
8153         * elf/Makefile ($(objpfx)order.out): Remove rule.
8154         [$(run-built-tests) = yes] (tests): Depend on
8155         $(objpfx)order-cmp.out.
8156         ($(objpfx)order-cmp.out): New rule.
8157         [$(run-built-tests) = yes] (tests): Depend on
8158         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8159         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8160         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8161         $(objpfx)tst-array5-static-cmp.out.
8162         ($(objpfx)tst-array1.out): Remove rule.
8163         ($(objpfx)tst-array1-cmp.out): New rule.
8164         ($(objpfx)tst-array1-static.out): Remove rule.
8165         ($(objpfx)tst-array1-static-cmp.out): New rule.
8166         ($(objpfx)tst-array2.out): Remove rule.
8167         ($(objpfx)tst-array2-cmp.out): New rule.
8168         ($(objpfx)tst-array3.out): Remove rule.
8169         ($(objpfx)tst-array3-cmp.out): New rule.
8170         ($(objpfx)tst-array4.out): Remove rule.
8171         ($(objpfx)tst-array4-cmp.out): New rule.
8172         ($(objpfx)tst-array5.out): Remove rule.
8173         ($(objpfx)tst-array5-cmp.out): New rule.
8174         ($(objpfx)tst-array5-static.out): Remove rule.
8175         ($(objpfx)tst-array5-static-cmp.out): New rule.
8176         [$(run-built-tests) = yes] (tests): Depend on
8177         $(objpfx)order2-cmp.out.
8178         ($(objpfx)order2.out): Remove rule.
8179         ($(objpfx)order2-cmp.out): New rule.
8180         ($(objpfx)tst-initorder.out): Remove rule.
8181         [$(run-built-tests) = yes] (tests): Depend on
8182         $(objpfx)tst-initorder-cmp.out.
8183         ($(objpfx)tst-initorder-cmp.out): New rule.
8184         ($(objpfx)tst-initorder2.out): Remove rule.
8185         [$(run-built-tests) = yes] (tests): Depend on
8186         $(objpfx)tst-initorder2-cmp.out.
8187         ($(objpfx)tst-initorder2-cmp.out): New rule.
8188         [$(run-built-tests) = yes] (tests): Depend on
8189         $(objpfx)tst-unused-dep-cmp.out.
8190         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8191         ($(objpfx)tst-unused-dep-cmp.out): New rule.
8192         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8193         on $(objpfx)tst-setvbuf1-cmp.out.
8194         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8195         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8196         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8197         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8198         ($(objpfx)tst-svc.out): Remove rule.
8199         ($(objpfx)tst-svc-cmp.out): New rule.
8201 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
8203         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8204         * ctype/ctype.h [__USE_MISC]: Likewise.
8205         * dirent/dirent.h [__USE_MISC]: Likewise.
8206         * grp/grp.h [__USE_MISC]: Likewise.
8207         * io/fcntl.h [__USE_MISC]: Likewise.
8208         * io/sys/stat.h [__USE_MISC]: Likewise.
8209         * libio/stdio.h [__USE_MISC]: Likewise.
8210         * posix/unistd.h [__USE_MISC]: Likewise.
8211         * pwd/pwd.h [__USE_MISC]: Likewise.
8212         * stdlib.h [__USE_MISC]: Likewise.
8213         * string/bits/string2.h [__USE_MISC]: Likewise.
8214         * string/string.h [__USE_MISC]: Likewise.
8215         * time/time.h [__USE_MISC]: Likewise.
8217 2014-02-13  Andreas Schwab  <schwab@suse.de>
8219         [BZ #16574]
8220         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8221         second answer buffer if it was separately allocated.
8223 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
8225         * sysdeps/mips/math-tests.h: Include <features.h>.
8226         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8227         (ROUNDING_TESTS_long_double): Do not define.
8228         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8229         (EXCEPTION_TESTS_long_double): Likewise.
8230         * sysdeps/mips/mips64/libm-test-ulps: Update.
8232         * include/features.h (__USE_BSD): Remove macro definitions.
8233         (__USE_SVID): Likewise.
8234         (_BSD_SOURCE): Likewise.
8235         (_SVID_SOURCE): Likewise.
8236         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8237         from definition of _DEFAULT_SOURCE.
8238         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8239         [_DEFAULT_SOURCE].
8240         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8241         * bits/mman.h [__USE_BSD]: Likewise.
8242         * bits/termios.h [__USE_BSD]: Likewise.
8243         * bits/waitstatus.h [__USE_BSD]: Likewise.
8244         * ctype/ctype.h [__USE_SVID]: Likewise.
8245         * dirent/dirent.h [__USE_BSD]: Likewise.
8246         * grp/grp.h [__USE_SVID]: Likewise.
8247         [__USE_BSD]: Likewise.
8248         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8249         * io/fcntl.h [__USE_BSD]: Likewise.
8250         * io/ftw.h [__USE_BSD]: Likewise.
8251         * io/sys/stat.h [__USE_BSD]: Likewise.
8252         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8253         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8254         * libio/stdio.h [__USE_SVID]: Likewise.
8255         [__USE_BSD]: Likewise.
8256         * math/math.h [__USE_SVID]: Likewise.
8257         [__USE_BSD]: Likewise.
8258         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8259         * misc/bits/syslog.h [__USE_BSD]: Likewise.
8260         * misc/search.h [__USE_SVID]: Likewise.
8261         * misc/sys/mman.h [__USE_BSD]: Likewise.
8262         * misc/sys/syslog.h [__USE_BSD]: Likewise.
8263         * misc/sys/uio.h [__USE_BSD]: Likewise.
8264         * posix/bits/unistd.h [__USE_BSD]: Likewise.
8265         * posix/glob.h [__USE_BSD]: Likewise.
8266         * posix/regex.h [__USE_BSD]: Likewise.
8267         * posix/sys/types.h [__USE_BSD]: Likewise.
8268         [__USE_SVID]: Likewise.
8269         * posix/sys/utsname.h [__USE_SVID]: Likewise.
8270         * posix/sys/wait.h [__USE_BSD]: Likewise.
8271         [__USE_SVID]: Likewise.
8272         * posix/unistd.h [__USE_BSD]: Likewise.
8273         [__USE_SVID]: Likewise.
8274         * pwd/pwd.h [__USE_SVID]: Likewise.
8275         * resolv/netdb.h [__USE_BSD]: Likewise.
8276         * setjmp/setjmp.h [__USE_BSD]: Likewise.
8277         * signal/signal.h [__USE_BSD]: Likewise.
8278         [__USE_SVID]: Likewise.
8279         * socket/sys/socket.h [__USE_BSD]: Likewise.
8280         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8281         * stdlib/stdlib.h [__USE_BSD]: Likewise.
8282         [__USE_SVID]: Likewise.
8283         * string/bits/string2.h [__USE_BSD]: Likewise.
8284         [__USE_SVID]: Likewise.
8285         * string/bits/string3.h [__USE_BSD]: Likewise.
8286         * string/endian.h [__USE_BSD]: Likewise.
8287         * string/string.h [__USE_SVID]: Likewise.
8288         [__USE_BSD]: Likewise.
8289         * string/strings.h [__USE_BSD]: Likewise.
8290         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8291         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8292         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8293         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8294         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8295         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8296         Likewise.
8297         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8298         Likewise.
8299         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8300         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8301         Likewise.
8302         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8303         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8304         Likewise.
8305         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8306         Likewise.
8307         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8308         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8309         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8310         Likewise.
8311         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8312         Likewise.
8313         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8314         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8315         * termios/termios.h [__USE_BSD]: Likewise.
8316         * time/sys/time.h [__USE_BSD]: Likewise.
8317         * time/time.h [__USE_BSD]: Likewise.
8318         [__USE_SVID]: Likewise.
8320         * Makefile (subdir_targets): Remove subdir_lint.out.
8322         * stdio-common/Makefile (do-tst-unbputc): Remove target.
8323         (do-tst-printf): Likewise.
8324         (tests): Depend directly on $(objpfx)tst-unbputc.out and
8325         $(objpfx)tst-printf.out.
8327         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8329         * Makerules (check-abi-%): Change target to
8330         $(objpfx)check-abi-%.out.
8331         (check-abi target): Update dependencies.
8332         (check-abi-pattern variable): Redirect output of diff to $@.
8333         (check-abi variable): Likewise.
8334         * elf/Makefile (check-abi): Update dependencies.
8336         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8337         unused.
8338         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8339         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8340         subnormal range.
8341         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8342         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8343         value has largest subnormal exponent.
8344         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8345         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8346         * sysdeps/aarch64/soft-fp/sfp-machine.h
8347         (_FP_TININESS_AFTER_ROUNDING): New macro.
8348         * sysdeps/alpha/soft-fp/sfp-machine.h
8349         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8350         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8351         Likewise.
8352         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8353         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8354         * sysdeps/mips/soft-fp/sfp-machine.h
8355         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8356         * sysdeps/powerpc/soft-fp/sfp-machine.h
8357         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8358         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8359         Likewise.
8360         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8361         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8362         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8363         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8364         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8365         Likewise.
8367 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
8369         [BZ #16545]
8370         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8371         model 1.
8373 2014-02-12  Richard Henderson  <rth@redhat.com>
8375         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8376         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8377         * sysdeps/unix/sysv/linux/alpha: Move directory from
8378         ports/sysdeps/unix/sysv/linux/alpha.
8379         * README: Update listing for alpha-*-linux-gnu.
8381 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
8383         * include/features.h: Update comment documenting feature test
8384         macros.
8385         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
8386         _DEFAULT_SOURCE.
8387         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8388         (_SVID_SOURCE): Likewise.
8389         (_DEFAULT_SOURCE): Update description of default features.
8390         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8391         with _GNU_SOURCE.
8392         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8393         (S_ISVTX): Likewise.
8394         * manual/math.texi (Mathematical Constants): Likewise.
8395         * manual/signal.texi (Interrupted Primitives): Likewise.
8396         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8397         * math/test-matherr.c (_SVID_SOURCE): Do not define.
8398         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8399         Don't refer to _SVID_SOURCE in warning text.
8401         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8403         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8404         already defined.
8405         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8406         * sysdeps/mips/dl-lookup.c: Remove.
8407         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8409 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8411         [BZ #16447]
8412         * math/auto-libm-test-in: Add testcase for expl.
8413         * math/auto-libm-test-out: Regenerate.
8414         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8415         calculation of unsafe.
8416         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8418 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8420         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8421         * sysdeps/unix/sysv/linux/aarch64: Move directory from
8422         ports/sysdeps/unix/sysv/linux/aarch64.
8423         * README: Update listing for aarch64*-*-linux-gnu.
8425 2014-02-11  Will Newton  <will.newton@linaro.org>
8427         * manual/probes.texi (Mathematical Function Probes): Use
8428         "triggered" instead of "hit".
8430         * manual/probes.texi (Internal Probes): Add documentation
8431         of setjmp, longjmp and longjmp_target probes.
8433         * include/stap-probe.h: Add comment about probe argument
8434         format.
8436         * malloc/mtrace.c (attribute_hidden): Remove unused macro
8437         definition.  (tr_where, tr_freehook, tr_mallochook,
8438         tr_reallochook, tr_memalignhook): Use ANSI protoype.
8440 2014-02-11  David S. Miller  <davem@davemloft.net>
8442         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8443         processing int_tests.
8445 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
8447         * sysdeps/mips: Move directory from ports/sysdeps/mips.
8448         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8449         * sysdeps/unix/sysv/linux/mips: Move directory from
8450         ports/sysdeps/unix/sysv/linux/mips.
8451         * README: Update listing for mips-*-linux-gnu and
8452         mips64-*-linux-gnu.
8454 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
8456         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8457         * sysdeps/unix/sysv/linux/m68k: Move directory from
8458         ports/sysdeps/unix/sysv/linux/m68k.
8459         * README: Update listing for m68k-*-linux-gnu.
8461 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
8463         * sysdeps/tile: Move directory from ports/sysdeps/tile.
8464         * sysdeps/unix/sysv/linux/generic: Move directory from
8465         ports/sysdeps/unix/sysv/linux/generic.
8466         * sysdeps/unix/sysv/linux/tile: Move directory from
8467         ports/sysdeps/unix/sysv/linux/tile.
8468         * README: Update listing for tile*-*-linux-gnu.
8470 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
8472         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8473         __builtin_expect.
8474         * benchtests/bench-memmem.c (simple_memmem): Likewise.
8475         * catgets/open_catalog.c (__open_catalog): Likewise.
8476         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8477         * debug/confstr_chk.c: Likewise.
8478         * debug/fread_chk.c (__fread_chk): Likewise.
8479         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8480         * debug/getgroups_chk.c: Likewise.
8481         * debug/mbsnrtowcs_chk.c: Likewise.
8482         * debug/mbsrtowcs_chk.c: Likewise.
8483         * debug/mbstowcs_chk.c: Likewise.
8484         * debug/memcpy_chk.c: Likewise.
8485         * debug/memmove_chk.c: Likewise.
8486         * debug/mempcpy_chk.c: Likewise.
8487         * debug/memset_chk.c: Likewise.
8488         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8489         * debug/strcat_chk.c (__strcat_chk): Likewise.
8490         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8491         * debug/strncat_chk.c (__strncat_chk): Likewise.
8492         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8493         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8494         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8495         * debug/wcpncpy_chk.c: Likewise.
8496         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8497         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8498         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8499         * debug/wcsncpy_chk.c: Likewise.
8500         * debug/wcsnrtombs_chk.c: Likewise.
8501         * debug/wcsrtombs_chk.c: Likewise.
8502         * debug/wcstombs_chk.c: Likewise.
8503         * debug/wmemcpy_chk.c: Likewise.
8504         * debug/wmemmove_chk.c: Likewise.
8505         * debug/wmempcpy_chk.c: Likewise.
8506         * debug/wmemset_chk.c: Likewise.
8507         * dirent/scandirat.c (SCANDIRAT): Likewise.
8508         * dlfcn/dladdr1.c (dladdr1): Likewise.
8509         * dlfcn/dladdr.c (dladdr): Likewise.
8510         * dlfcn/dlclose.c (dlclose_doit): Likewise.
8511         * dlfcn/dlerror.c (__dlerror): Likewise.
8512         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8513         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8514         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8515         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8516         * dlfcn/dlsym.c (dlsym_doit): Likewise.
8517         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8518         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8519         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8520         Likewise.
8521         * elf/dl-conflict.c: Likewise.
8522         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8523         * elf/dl-dst.h: Likewise.
8524         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8525         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8526         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8527         * elf/dl-init.c (call_init, _dl_init): Likewise.
8528         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8529         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8530         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8531         Likewise.
8532         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8533         Likewise.
8534         * elf/dl-minimal.c (__libc_memalign): Likewise.
8535         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8536         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8537         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8538         * elf/dl-sym.c (do_sym): Likewise.
8539         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8540         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8541         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8542         * elf/dl-writev.h (_dl_writev): Likewise.
8543         * elf/ldconfig.c (search_dir): Likewise.
8544         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8545         (dl_main): Likewise.
8546         * elf/setup-vdso.h (setup_vdso): Likewise.
8547         * grp/compat-initgroups.c (compat_call): Likewise.
8548         * grp/fgetgrent.c (fgetgrent): Likewise.
8549         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8550         * grp/putgrent.c (putgrent): Likewise.
8551         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8552         Likewise.
8553         * hurd/hurdinit.c: Likewise.
8554         * iconvdata/8bit-gap.c (struct): Likewise.
8555         * iconvdata/ansi_x3.110.c : Likewise.
8556         * iconvdata/big5.c : Likewise.
8557         * iconvdata/big5hkscs.c : Likewise.
8558         * iconvdata/cp1255.c: Likewise.
8559         * iconvdata/cp1258.c : Likewise.
8560         * iconvdata/cp932.c : Likewise.
8561         * iconvdata/euc-cn.c: Likewise.
8562         * iconvdata/euc-jisx0213.c : Likewise.
8563         * iconvdata/euc-jp.c: Likewise.
8564         * iconvdata/euc-jp-ms.c : Likewise.
8565         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8566         * iconvdata/gb18030.c : Likewise.
8567         * iconvdata/gbbig5.c (const): Likewise.
8568         * iconvdata/gbgbk.c: Likewise.
8569         * iconvdata/gbk.c : Likewise.
8570         * iconvdata/ibm1364.c : Likewise.
8571         * iconvdata/ibm930.c : Likewise.
8572         * iconvdata/ibm932.c: Likewise.
8573         * iconvdata/ibm933.c : Likewise.
8574         * iconvdata/ibm935.c : Likewise.
8575         * iconvdata/ibm937.c : Likewise.
8576         * iconvdata/ibm939.c : Likewise.
8577         * iconvdata/ibm943.c: Likewise.
8578         * iconvdata/iso_11548-1.c: Likewise.
8579         * iconvdata/iso-2022-cn.c : Likewise.
8580         * iconvdata/iso-2022-cn-ext.c : Likewise.
8581         * iconvdata/iso-2022-jp-3.c: Likewise.
8582         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8583         * iconvdata/iso-2022-kr.c : Likewise.
8584         * iconvdata/iso646.c (gconv_end): Likewise.
8585         * iconvdata/iso_6937-2.c : Likewise.
8586         * iconvdata/iso_6937.c : Likewise.
8587         * iconvdata/iso8859-1.c: Likewise.
8588         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8589         * iconvdata/shift_jisx0213.c : Likewise.
8590         * iconvdata/sjis.c : Likewise.
8591         * iconvdata/t.61.c : Likewise.
8592         * iconvdata/tcvn5712-1.c : Likewise.
8593         * iconvdata/tscii.c: Likewise.
8594         * iconvdata/uhc.c : Likewise.
8595         * iconvdata/unicode.c (gconv_end): Likewise.
8596         * iconvdata/utf-16.c (gconv_end): Likewise.
8597         * iconvdata/utf-32.c (gconv_end): Likewise.
8598         * iconvdata/utf-7.c (base64): Likewise.
8599         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8600         * iconv/gconv_close.c (__gconv_close): Likewise.
8601         * iconv/gconv_open.c (__gconv_open): Likewise.
8602         * iconv/gconv_simple.c (internal_ucs4_loop_single)
8603         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8604         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8605         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8606         (ucs4le_internal_loop_single): Likewise.
8607         * iconv/iconv.c (iconv): Likewise.
8608         * iconv/iconv_close.c: Likewise.
8609         * iconv/loop.c (SINGLE): Likewise.
8610         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8611         * include/atomic.h: Likewise.
8612         * inet/inet6_option.c (option_alloc): Likewise.
8613         * intl/bindtextdom.c (set_binding_values): Likewise.
8614         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8615         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8616         * intl/localealias.c (read_alias_file): Likewise.
8617         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8618         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8619         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8620         * libio/fmemopen.c (fmemopen): Likewise.
8621         * libio/iofgets.c (_IO_fgets): Likewise.
8622         * libio/iofgets_u.c (fgets_unlocked): Likewise.
8623         * libio/iofgetws.c (fgetws): Likewise.
8624         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8625         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8626         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8627         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8628         * locale/findlocale.c (_nl_find_locale): Likewise.
8629         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8630         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8631         Likewise.
8632         * locale/setlocale.c (setlocale): Likewise.
8633         * login/programs/pt_chown.c (main): Likewise.
8634         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8635         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8636         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8637         (mmap, mmap64, mremap, munmap): Likewise.
8638         * math/e_exp2l.c: Likewise.
8639         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8640         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8641         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8642         * math/s_catan.c (__catan): Likewise.
8643         * math/s_catanf.c (__catanf): Likewise.
8644         * math/s_catanh.c (__catanh): Likewise.
8645         * math/s_catanhf.c (__catanhf): Likewise.
8646         * math/s_catanhl.c (__catanhl): Likewise.
8647         * math/s_catanl.c (__catanl): Likewise.
8648         * math/s_ccosh.c (__ccosh): Likewise.
8649         * math/s_ccoshf.c (__ccoshf): Likewise.
8650         * math/s_ccoshl.c (__ccoshl): Likewise.
8651         * math/s_cexp.c (__cexp): Likewise.
8652         * math/s_cexpf.c (__cexpf): Likewise.
8653         * math/s_cexpl.c (__cexpl): Likewise.
8654         * math/s_clog10.c (__clog10): Likewise.
8655         * math/s_clog10f.c (__clog10f): Likewise.
8656         * math/s_clog10l.c (__clog10l): Likewise.
8657         * math/s_clog.c (__clog): Likewise.
8658         * math/s_clogf.c (__clogf): Likewise.
8659         * math/s_clogl.c (__clogl): Likewise.
8660         * math/s_csin.c (__csin): Likewise.
8661         * math/s_csinf.c (__csinf): Likewise.
8662         * math/s_csinh.c (__csinh): Likewise.
8663         * math/s_csinhf.c (__csinhf): Likewise.
8664         * math/s_csinhl.c (__csinhl): Likewise.
8665         * math/s_csinl.c (__csinl): Likewise.
8666         * math/s_csqrt.c (__csqrt): Likewise.
8667         * math/s_csqrtf.c (__csqrtf): Likewise.
8668         * math/s_csqrtl.c (__csqrtl): Likewise.
8669         * math/s_ctan.c (__ctan): Likewise.
8670         * math/s_ctanf.c (__ctanf): Likewise.
8671         * math/s_ctanh.c (__ctanh): Likewise.
8672         * math/s_ctanhf.c (__ctanhf): Likewise.
8673         * math/s_ctanhl.c (__ctanhl): Likewise.
8674         * math/s_ctanl.c (__ctanl): Likewise.
8675         * math/w_pow.c: Likewise.
8676         * math/w_powf.c: Likewise.
8677         * math/w_powl.c: Likewise.
8678         * math/w_scalb.c (sysv_scalb): Likewise.
8679         * math/w_scalbf.c (sysv_scalbf): Likewise.
8680         * math/w_scalbl.c (sysv_scalbl): Likewise.
8681         * misc/error.c (error_tail): Likewise.
8682         * misc/pselect.c (__pselect): Likewise.
8683         * nis/nis_callback.c (__nis_create_callback): Likewise.
8684         * nis/nis_call.c (__nisfind_server): Likewise.
8685         * nis/nis_creategroup.c (nis_creategroup): Likewise.
8686         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8687         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8688         * nis/nis_getservlist.c (nis_getservlist): Likewise.
8689         * nis/nis_lookup.c (nis_lookup): Likewise.
8690         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8691         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8692         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8693         * nis/nis_xdr.c (xdr_endpoint): Likewise.
8694         * nis/nss_compat/compat-grp.c (getgrent_next_file)
8695         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8696         * nis/nss_compat/compat-initgroups.c (add_group)
8697         (internal_getgrent_r): Likewise.
8698         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8699         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8700         * nis/nss_compat/compat-spwd.c (getspent_next_file)
8701         (internal_getspnam_r): Likewise.
8702         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8703         (_nss_nis_getaliasbyname_r): Likewise.
8704         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8705         (_nss_nis_getntohost_r): Likewise.
8706         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8707         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8708         (_nss_nis_getgrgid_r): Likewise.
8709         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8710         (internal_nis_gethostent_r, internal_gethostbyname2_r)
8711         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8712         (_nss_nis_gethostbyname4_r): Likewise.
8713         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8714         (initgroups_netid): Likewise.
8715         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8716         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8717         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8718         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8719         (_nss_nis_getprotobynumber_r): Likewise.
8720         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8721         (_nss_nis_getsecretkey): Likewise.
8722         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8723         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8724         (_nss_nis_getpwuid_r): Likewise.
8725         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8726         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8727         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8728         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8729         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8730         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8731         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8732         Likewise.
8733         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8734         (_nss_nisplus_getntohost_r): Likewise.
8735         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8736         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8737         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8738         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8739         Likewise.
8740         * nis/nss_nisplus/nisplus-initgroups.c
8741         (_nss_nisplus_initgroups_dyn): Likewise.
8742         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8743         (_nss_nisplus_getnetbyaddr_r): Likewise.
8744         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8745         (_nss_nisplus_getprotobynumber_r): Likewise.
8746         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8747         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8748         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8749         Likewise.
8750         * nis/nss_nisplus/nisplus-service.c
8751         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8752         (_nss_nisplus_getservbyport_r): Likewise.
8753         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8754         (_nss_nisplus_getspnam_r): Likewise.
8755         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8756         Likewise.
8757         * nscd/aicache.c (addhstaiX): Likewise.
8758         * nscd/cache.c (cache_search, prune_cache): Likewise.
8759         * nscd/connections.c (register_traced_file, send_ro_fd)
8760         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8761         (main_loop_epoll): Likewise.
8762         * nscd/grpcache.c (addgrbyX): Likewise.
8763         * nscd/hstcache.c (addhstbyX): Likewise.
8764         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8765         * nscd/mem.c (gc, mempool_alloc): Likewise.
8766         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8767         (addinnetgrX): Likewise.
8768         * nscd/nscd-client.h (__nscd_acquire_maplock)
8769         (__nscd_drop_map_ref): Likewise.
8770         * nscd/nscd_getai.c (__nscd_getai): Likewise.
8771         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8772         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8773         Likewise.
8774         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8775         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8776         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8777         (__nscd_get_map_ref): Likewise.
8778         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8779         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8780         Likewise.
8781         * nscd/pwdcache.c (addpwbyX): Likewise.
8782         * nscd/selinux.c (preserve_capabilities): Likewise.
8783         * nscd/servicescache.c (addservbyX): Likewise.
8784         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8785         * posix/fnmatch.c (fnmatch): Likewise.
8786         * posix/getopt.c (_getopt_internal_r): Likewise.
8787         * posix/glob.c (glob, glob_in_dir): Likewise.
8788         * posix/wordexp.c (exec_comm_child): Likewise.
8789         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8790         (getanswer_r, gaih_getanswer_slice): Likewise.
8791         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8792         * resolv/res_init.c: Likewise.
8793         * resolv/res_mkquery.c (res_nmkquery): Likewise.
8794         * resolv/res_query.c (__libc_res_nquery): Likewise.
8795         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8796         Likewise.
8797         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8798         * stdio-common/perror.c (perror): Likewise.
8799         * stdio-common/printf_fp.c (___printf_fp): Likewise.
8800         * stdio-common/tmpnam.c (tmpnam): Likewise.
8801         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8802         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
8803         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8804         Likewise.
8805         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8806         * stdlib/putenv.c (putenv): Likewise.
8807         * stdlib/setenv.c (__add_to_environ): Likewise.
8808         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8809         * stdlib/strtol_l.c (INTERNAL): Likewise.
8810         * string/memmem.c (memmem): Likewise.
8811         * string/strerror.c (strerror): Likewise.
8812         * string/strnlen.c (__strnlen): Likewise.
8813         * string/test-memmem.c (simple_memmem): Likewise.
8814         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8815         * sunrpc/pm_getport.c (__get_socket): Likewise.
8816         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8817         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
8818         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8819         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
8820         Likewise.
8821         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8822         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8823         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8824         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8825         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
8826         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8827         Likewise.
8828         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8829         Likewise.
8830         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8831         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8832         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8833         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8834         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8835         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8836         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8837         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8838         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8839         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8840         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8841         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8842         Likewise.
8843         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8844         Likewise.
8845         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8846         Likewise.
8847         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8848         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8849         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8850         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8851         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8852         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8853         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8854         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8855         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8856         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8857         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8858         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8859         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8860         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8861         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8862         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8863         Likewise.
8864         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8865         Likewise.
8866         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8867         Likewise.
8868         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8869         Likewise.
8870         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8871         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8872         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8873         Likewise.
8874         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8875         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8876         * sysdeps/posix/opendir.c (__opendirat): Likewise.
8877         * sysdeps/posix/sleep.c: Likewise.
8878         * sysdeps/posix/tempname.c: Likewise.
8879         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8880         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8881         Likewise.
8882         * sysdeps/powerpc/powerpc32/dl-machine.h
8883         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
8884         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8885         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8886         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8887         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8888         Likewise.
8889         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8890         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8891         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8892         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8893         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8894         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8895         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8896         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8897         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8898         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8899         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8900         (elf_machine_lazy_rel): Likewise.
8901         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8902         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8903         (elf_machine_lazy_rel): Likewise.
8904         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8905         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8906         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8907         * sysdeps/unix/grantpt.c (grantpt): Likewise.
8908         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8909         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8910         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8911         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8912         Likewise.
8913         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8914         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8915         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8916         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8917         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8918         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8919         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8920         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8921         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8922         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8923         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8924         Likewise.
8925         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8926         (__posix_fallocate64_l64): Likewise.
8927         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8928         (posix_fallocate): Likewise.
8929         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8930         Likewise.
8931         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8932         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8933         (getifaddrs_internal): Likewise.
8934         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8935         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8936         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8937         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8938         * sysdeps/unix/sysv/linux/posix_fallocate64.c
8939         (__posix_fallocate64_l64): Likewise.
8940         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8941         Likewise.
8942         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8943         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8944         (__get_clockfreq): Likewise.
8945         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8946         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8947         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8948         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8949         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8950         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8951         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8952         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8953         Likewise.
8954         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8955         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8956         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8957         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8958         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8959         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8960         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8961         Likewise.
8962         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8963         (posix_fallocate): Likewise.
8964         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8965         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8966         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8967         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8968         (elf_machine_rela, elf_machine_rela_relative)
8969         (elf_machine_lazy_rel): Likewise.
8970         * time/asctime.c (asctime_internal): Likewise.
8971         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8972         * time/tzset.c (__tzset_parse_tz): Likewise.
8973         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8974         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8975         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8976         * wcsmbs/wcsmbsload.h: Likewise.
8978         [BZ #15894]
8979         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8981         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8982         (arena_get2): Remove THREAD_STATS conditionals.
8983         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8984         (__malloc_stats, int): Likewise.
8986 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
8988         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8989         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
8991         * manual/setjmp.texi: Fix typos/grammar errors.
8993         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8994         Only return early when n is <= 0.  Delete unused return statement.
8996         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8997         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8998         * debug/tst-longjmp_chk3.c: New file.
9000         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9001         (test_main): Replace code with set_fortify_handler call.
9002         * debug/test-strcpy_chk.c: Likewise.
9003         * debug/tst-chk1.c: Likewise.
9004         * debug/tst-longjmp_chk.c: Likewise.
9005         * test-skeleton.c: Include fcntl.h & paths.h
9006         (set_fortify_handler): Define.
9008         * debug/tst-longjmp_chk.c: Add header comment and include
9009         ../test-skeleton.c.
9010         (do_test): Mark static.
9011         (TEST_FUNCTION): Define.
9013         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9014         (IP_PMTUDISC_INTERFACE): Likewise.
9015         (IP_MULTICAST_IF): Likewise.
9016         (IP_MULTICAST_TTL): Likewise.
9017         (IP_MULTICAST_LOOP): Likewise.
9018         (IP_ADD_MEMBERSHIP): Likewise.
9019         (IP_DROP_MEMBERSHIP): Likewise.
9020         (IP_UNBLOCK_SOURCE): Likewise.
9021         (IP_BLOCK_SOURCE): Likewise.
9022         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9023         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9024         (IP_MSFILTER): Likewise.
9025         (MCAST_JOIN_GROUP): Likewise.
9026         (MCAST_BLOCK_SOURCE): Likewise.
9027         (MCAST_UNBLOCK_SOURCE): Likewise.
9028         (MCAST_LEAVE_GROUP): Likewise.
9029         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9030         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9031         (MCAST_MSFILTER): Likewise.
9032         (IP_MULTICAST_ALL): Likewise.
9033         (IP_UNICAST_IF): Likewise.
9035         * timezone/Makefile: Delete $(have-ksh) check.
9036         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9037         * timezone/tzselect.ksh: Add +x mode bits.
9039         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9040         (ANON_INODE_FS_MAGIC): Likewise.
9041         (BDEVFS_MAGIC): Likewise.
9042         (BINFMTFS_MAGIC): Likewise.
9043         (BTRFS_TEST_MAGIC): Likewise.
9044         (CRAMFS_MAGIC_WEND): Likewise.
9045         (DEBUGFS_MAGIC): Likewise.
9046         (ECRYPTFS_SUPER_MAGIC): Likewise.
9047         (EXT3_SUPER_MAGIC): Likewise.
9048         (EXT4_SUPER_MAGIC): Likewise.
9049         (FUTEXFS_SUPER_MAGIC): Likewise.
9050         (HOSTFS_SUPER_MAGIC): Likewise.
9051         (HUGETLBFS_MAGIC): Likewise.
9052         (MINIX3_SUPER_MAGIC): Likewise.
9053         (MTD_INODE_FS_MAGIC): Likewise.
9054         (NILFS_SUPER_MAGIC): Likewise.
9055         (OPENPROM_SUPER_MAGIC): Likewise.
9056         (PIPEFS_MAGIC): Likewise.
9057         (PSTOREFS_MAGIC): Likewise.
9058         (QNX6_SUPER_MAGIC): Likewise.
9059         (RAMFS_MAGIC): Likewise.
9060         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9061         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9062         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9063         (SECURITYFS_MAGIC): Likewise.
9064         (SELINUX_MAGIC): Likewise.
9065         (SMACK_MAGIC): Likewise.
9066         (SOCKFS_MAGIC): Likewise.
9067         (SQUASHFS_MAGIC): Likewise.
9068         (STACK_END_MAGIC): Likewise.
9069         (TMPFS_MAGIC): Likewise.
9070         (USBDEVICE_SUPER_MAGIC): Likewise.
9071         (V9FS_MAGIC): Likewise.
9072         (XENFS_SUPER_MAGIC): Likewise.
9073         (CRAMFS_MAGIC): Fix typo in comment.
9074         (EXT2_SUPER_MAGIC): Update comment.
9075         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9077 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
9079         * sysdeps/arm: Move directory from ports/sysdeps/arm.
9080         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9081         * sysdeps/unix/sysv/linux/arm: Move directory from
9082         ports/sysdeps/unix/sysv/linux/arm.
9083         * README: Update listing for arm-*-linux-gnueabi.
9085         * README: Remove mention of am33.
9087 2014-02-07  Roland McGrath  <roland@hack.frob.com>
9089         * bits/sigset.h (__sigemptyset): Use a statement expression rather
9090         than the comma operator, to avoid "rhs of comma has no effect"
9091         compiler warnings.
9092         (__sigfillset, __sigandset, __sigorset): Likewise.
9093         * include/signal.h (__sigemptyset): Likewise.
9094         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9096 2014-02-07  Allan McRae  <allan@archlinux.org>
9098         * version.h (RELEASE): Set to "development".
9099         (VERSION): Set to "2.19.90"
9100         * NEWS: Add 2.20 section.
9102 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
9104         [BZ #16529]
9105         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9107 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9109         * manual/contrib.texi: Update entry for Carlos O'Donell,
9110         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9112 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
9114         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9116         * sysdeps/unix/sysv/linux/kernel-features.h
9117         [__LINUX_KERNEL_VERSION >= 0x020621]
9118         (__ASSUME_PROC_PID_TASK_COMM): Define.
9120 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9122         [BZ #16398]
9123         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9124         conversion when destination buffer does not have enough space.
9125         * libio/tst-ftell-partial-wide.c: New test case.
9126         * libio/Makefile (tests): Add tst-ftell-partial-wide.
9128         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9129         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
9130         Leonard and Allan McRae.
9132 2014-02-04  David S. Miller  <davem@davemloft.net>
9134         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9135         32-bit.
9137 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9140         New file
9141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9142         New file
9143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9144         New file.
9145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9146         New file.
9147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9148         New file.
9149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9150         New file.
9151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9152         New file.
9153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9154         New file.
9155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9156         New file.
9157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9158         New file.
9159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9160         New file.
9161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9162         New file.
9163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9164         New file.
9166 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9168         * nptl/shlib-versions: Change powerpc*le start to 2.17.
9169         * shlib-versions: Likewise.
9171 2014-02-04  Roland McGrath  <roland@hack.frob.com>
9172             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9174         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9175         (abilist-pattern): New variable, set to %-le.abilist.
9177         * Makerules (abilist-pattern): New variable.
9178         (vpath): Use $(abilist-pattern) in place of %.abilist.
9179         (check-abi-% pattern rule): Likewise.
9180         (check-abi, update-abi): Likewise.
9182 2014-02-04  Eric Wong  <normalperson@yhbt.net>
9184         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9186 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
9188         * manual/startup.texi: Add next, previous, and top entries for
9189         the `Program Arguments' and `Environment Variables' nodes.
9191 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
9193         * manual/macros.texi: Add comments before MTASC-safety macros.
9195         * manual/users.texi: Document MTASC-safety properties.
9197         * manual/threads.texi (pthread_key_create, pthread_key_delete)
9198         (pthread_getspecific, pthread_setspecific): Format with
9199         @deftypefun, and add @safety note.
9200         * manual/signal.texi: Move comments that analyze the above
9201         functions to their home place.
9203 2014-02-03  Allan McRae  <allan@archlinux.org>
9205         * po/sl.po: Update Slovenian translation from translation project.
9207 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
9209         * manual/time.texi (timegm): Add missing blank after @c.
9210         Reported by Joseph Myers <joseph@codesourcery.com>.
9212 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
9214         * manual/check-safety.sh: New.
9215         * manual/Makefile ($(objpfx)stamp-summary): Run it.
9217         * manual/terminal.texi: Document MTASC-safety properties.
9219         * manual/filesys.texi: Document MTASC-safety properties.
9221         * manual/errno.texi: Document MTASC-safety properties.
9223         * manual/intro.texi: Document safety identifiers and
9224         conditionals.
9226         * manual/string.texi (wcstok): Fix prototype.
9227         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9229         * manual/time.texi: Document MTASC-safety properties.
9231         * manual/string.texi: Document MTASC-safety properties.
9233         * manual/threads.texi: Document MTASC-safety properties.
9235         * manual/stdio.texi: Document MTASC-safety properties.
9237         * manual/syslog.texi: Document MTASC-safety properties.
9239         * manual/sysinfo.texi: Document MTASC-safety properties.
9241         * manual/startup.texi: Document MTASC-safety properties.
9243         * manual/socket.texi: Document MTASC-safety properties.
9245         * manual/signal.texi: Document MTASC-safety properties.
9247 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
9249         * manual/setjmp.texi: Document MTASC-safety properties.
9251         * manual/search.texi: Document MTASC-safety properties.
9253         * manual/resource.texi: Document MTASC-safety properties.
9255         * manual/process.texi: Document MTASC-safety properties.
9257         * manual/platform.texi: Document MTASC-safety properties.
9259         * manual/pipe.texi: Document MTASC-safety properties.
9261         * manual/pattern.texi: Document MTASC-safety properties.
9263         * manual/message.texi: Document MTASC-safety properties.
9265         [BZ #12751]
9266         * manual/memory.texi: Document MTASC-safety properties.
9268         * manual/math.texi: Document MTASC-safety properties.
9270         * manual/locale.texi: Document MTASC-safety properties.
9272         * manual/llio.texi: Document MTASC-safety properties.
9274         * manual/libdl.texi: New.
9276         * manual/lang.texi: Document MTASC-safety properties.
9278         * manual/job.texi: Document MTASC-safety properties.
9280         * manual/getopt.texi: Document MTASC-safety properties.
9282         * manual/ctype.texi: Document MTASC-safety properties.
9284 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
9286         [BZ #16046]
9287         * csu/libc-tls.c (static_map): Remove variable.
9288         (__libc_setup_tls): Use main executable's link map for TLS data.
9289         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9290         casing for LM_ID_BASE and GL(dl_nns).
9291         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9292         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
9293         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9294         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9295         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9296         member.
9297         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9298         l_phnum members.
9300 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
9302         * manual/debug.texi: Document MTASC-safety properties.
9304 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
9306         [BZ #16510]
9307         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9308         of __x86_64__ when disabling x87 inline functions.
9310 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
9312         * manual/charset.texi: Document MTASC-safety properties.
9314         * manual/crypt.texi: Document MTASC-safety properties.
9316         * manual/conf.texi: Document MTASC-safety properties.
9318         * manual/arith.texi: Document MTASC-safety properties.
9320         * manual/argp.texi: Document MTASC-safety properties.
9322         * manual/macros.texi: Introduce macros to document multi
9323         thread, asynchronous signal and asynchronous cancellation
9324         safety properties.
9325         * manual/intro.texi: Introduce the properties themselves.
9327 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9329         * sysdeps/sh/sh4/Makefile: New file.
9331 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
9333         * math/gen-libm-test.pl ($srcdir): New variable.
9334         ($auto_input): Use it.
9336 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9338         [BZ #16506]
9339         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9340         access beyond array bounds when parsing netgroups file.
9342         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9343         the old buffer before realloc.
9345 2014-01-27  Allan McRae  <allan@archlinux.org>
9347         * po/fr.po: Update French translation from translation project.
9349 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9351         * sysdeps/sh/libm-test-ulps: Regenerate.
9353 2014-01-24  David S. Miller  <davem@davemloft.net>
9355         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9357 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9359         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9360         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9362 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9364         [BZ #16474]
9365         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9366         string pointers after reallocation.
9368 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9370         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9371         __SH4A__ instead of __SH_FPU_ANY__.
9373 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9375         * sysdeps/sh/fpu_control.h: New file.
9376         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9377         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9378         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9379         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9380         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9381         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9382         * sysdeps/sh/sys/ucontext.h: Remove.
9383         * sysdeps/sh/sys: Remove directory.
9385 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9387         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9388         s390/sys/ucontext.h.
9389         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9390         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9392 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
9394         [BZ #15605]
9395         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9397 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9399         [BZ#16431]
9400         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9401         Adjust the vDSO correctly for internal calls.
9402         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9404 2014-01-20  Allan McRae  <allan@archlinux.org>
9406         * po/ca.po: Update Catalan translation from translation project.
9408 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
9410         * sysdeps/s390/sotruss-lib.c: New file.
9412 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9414         [BZ#16430]
9415         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9416         (__GI___gettimeofday): Alias for a different internal symbol to avoid
9417         local calls issues by not having a PLT stub required for IFUNC calls.
9418         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9420 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
9422         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9423         * math/test-fpucw-static.c: Likewise.
9425 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9427         [BZ #16453]
9428         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9430 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9432         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9433         implementation for powerpc.
9435 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
9437         [BZ #14782]
9438         * sysdeps/posix/system.c (__libc_system): Do not enable
9439         asynchronous cancellation.
9441 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9443         [BZ #16427]
9444         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9445         handling only for numbers special also in the IEEE case.
9447 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9449         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9451 2014-01-11  Allan McRae  <allan@archlinux.org>
9453         * po/bg.po: Update Bulgarian translation from translation project.
9455         * po/de.po: Update German translation from translation project.
9457 2014-01-10  Roland McGrath  <roland@hack.frob.com>
9459         * sysdeps/generic/gcc-compat.h: New file.
9461 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9463         * benchtests/asin-inputs: Correct slow inputs.
9464         * benchtests/acos-inputs: Likewise.
9466 2014-01-10  Allan McRae  <allan@archlinux.org>
9468         * po:sv.po: Update Swedish translation from translation project.
9470         * po/vi.po: Update Vietnamese translation from translation project.
9472         * po/eo.po: Update Esperanto translation from translation project.
9474         * po/cs.po: Update Czech translation from translation project.
9476         * po/nl.po: Update Dutch translation from translation project.
9478         * po/pl.po: Update Polish translation from translation project.
9480         * po/ru.po: Update Russian translation from translation project.
9482         * po/uk.po: Update Ukrainian translation from translation project.
9484 2014-01-08  Brooks Moses  <bmoses@google.com>
9486         * elf/dl-load.c: Fix comment typo.
9488 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
9490         * po/header.pot: Rename to...
9491         * po/pot.header: ... this.
9492         * po/Makefile: Use pot.header.
9494 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
9495             Maxim Kuvyrkov  <maxim@kugelworks.com>
9497         [BZ #16394]
9498         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9499         SRC and DEST against LEN.
9501 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9503         [BZ #16414]
9504         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9505         implementation.
9506         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9508 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9512 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
9514         [BZ #16408]
9515         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9516         for large positive arguments.
9518 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
9520         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9522         * math/auto-libm-test-in: Mark various tests with
9523         xfail-rounding:ldbl-128ibm.
9524         * math/auto-libm-test-out: Regenerated.
9526         [BZ #16407]
9527         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9528         Increase overflow threshold.
9530 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
9532         [BZ #14286]
9533         * stdio-common/vfprintf.c: Check for integer overflow.
9535 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9537         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9538         the first argument and return value of __tls_get_addr_internal.
9540 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9542         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9543         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9545 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9547         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9548         * sysdeps/s390/rtld-global-offsets.sym: New file.
9549         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9550         GLIBC_2.19 symbol.
9551         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9552         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9553         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9554         ... this.
9555         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9556         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9557         ... this.
9558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9559         Regenerate.
9560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9561         Regenerate.
9562         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9563         halfs of GPRs for high_gprs contexts.
9564         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9565         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
9566         field.
9567         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9568         uc_flags field.
9569         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9570         64 bit versions:
9571         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9572         for high GPRs (uc_high_gprs) and for future extensions
9573         (__reserved).
9574         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9575         for future extensions (__reserved).
9576         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9577         64 bit versions:
9578         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9579         SC_HIGHGPRS offset definition.
9580         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9581         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9583         * Versions.def: Add GLIBC_2.19 for libpthread.
9584         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9585         siglongjmp for libpthread with GLIBC_2.19 symver.
9586         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9587         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9588         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9589         * sysdeps/s390/__longjmp.c: New file.
9590         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9591         * sysdeps/s390/longjmp.c: New file.
9592         * sysdeps/s390/setjmp.S: New file.
9593         * sysdeps/s390/sigjmp.S: New file.
9594         * sysdeps/s390/v1-longjmp.c: New file.
9595         * sysdeps/s390/v1-setjmp.h: New file.
9596         * sysdeps/s390/v1-sigjmp.c: New file.
9597         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9598         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9599         GLIBC_2.19 version.
9600         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9601         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9602         versioned symbols for ____longjmp_chk.
9603         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9604         Likewise.
9605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9606         Regenerate.
9607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9608         Regenerate.
9609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9610         Regenerate.
9611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9612         Regenerate.
9613         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9614         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9615         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9616         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9617         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9618         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9619         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9620         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9621         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9622         * sysdeps/s390/rtld-__longjmp.c: New file.
9623         * sysdeps/s390/rtld-setjmp.S: New file.
9625 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
9627         [BZ #16400]
9628         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9629         Return -__logl (x) for small positive arguments without evaluating
9630         a polynomial.
9632 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
9634         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9635         Rename to ...
9636         (__ptrace_peeksiginfo_args): ... this.
9637         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9638         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9639         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9641 2014-01-06  Allan McRae  <allan@archlinux.org>
9643         * inet/netinet/in.h: Fix typo in comment.
9645 2014-01-05  Andreas Jaeger  <aj@suse.de>
9647         * sysdeps/i386/fpu/libm-test-ulps: Update.
9649 2014-01-05  Allan McRae  <allan@archlinux.org>
9651         * po/libc.pot: Regenerated.
9653         * malloc/memusagestat.c: Fix gettext call formatting.
9655 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
9657         * nscd/nscd.c: Improve usage() output.
9659 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
9661         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9662         * sysdeps/unix/sysv/linux/configure: Regenerated.
9663         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9664         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9666 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9668         [BZ #16390]
9669         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9670         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9672 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9674         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9675         extra tokens at end of #undef directive.
9676         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9677         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9678         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9680 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9682         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9684         * math/auto-libm-test-in: Mark various tests with
9685         xfail-rounding:ldbl-128ibm.
9686         * math/auto-libm-test-out: Regenerated.
9688 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
9690         [BZ #16386]
9691         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9692         numbers with subnormal high part when calculating exponent.
9694         [BZ #16385]
9695         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9696         fabs.
9698         [BZ #16384]
9699         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9700         M_LN2l.
9701         (__ieee754_acoshl): Use __log1pl not __log1p.
9703 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
9705         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9706         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9707         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9708         (grow_heap, heap_trim, _int_new_arena, get_free_list)
9709         (reused_arena, arena_get2): Convert to GNU style.
9710         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9711         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9712         (memalign_check, __malloc_set_state): Likewise.
9713         * malloc/mallocbug.c (main): Likewise.
9714         * malloc/malloc.c (__malloc_assert, malloc_init_state)
9715         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9716         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9717         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9718         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9719         (__posix_memalign, malloc_info): Likewise.
9720         * malloc/malloc.h: Likewise.
9721         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9722         (mallochook, memalignhook, reallochook, mabort): Likewise.
9723         * malloc/mcheck.h: Likewise.
9724         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9725         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9726         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9727         * malloc/morecore.c (__default_morecore): Likewise.
9728         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9729         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9730         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9731         (print_and_abort): Likewise.
9732         * malloc/obstack.h: Likewise.
9733         * malloc/set-freeres.c (__libc_freeres): Likewise.
9734         * malloc/tst-mallocstate.c (main): Likewise.
9735         * malloc/tst-mtrace.c (main): Likewise.
9736         * malloc/tst-realloc.c (do_test): Likewise.
9738 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9740         [BZ #16366]
9741         * nscd/netgroupcache.c (do_notfound): New function.
9742         (addgetnetgrentX): Use it.
9744         [BZ # 16365]
9745         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9746         NSS_STATUS_NOTFOUND.
9748 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
9750         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9753 2014-01-01  Allan McRae  <allan@archlinux.org>
9755         * scripts/update-copyrights: Update configure input file suffix.
9757         * NEWS: Update copyright year.
9758         * catgets/gencat.c: Likewise.
9759         * csu/version.c: Likewise.
9760         * debug/catchsegv.sh: Likewise.
9761         * debug/pcprofiledump.c: Likewise.
9762         * debug/xtrace.sh: Likewise.
9763         * elf/ldconfig.c: Likewise.
9764         * elf/ldd.bash.in: Likewise.
9765         * elf/pldd.c: Likewise.
9766         * elf/sotruss.ksh: Likewise.
9767         * elf/sprof.c: Likewise.
9768         * iconv/iconv_prog.c: Likewise.
9769         * iconv/iconvconfig.c: Likewise.
9770         * locale/programs/locale.c: Likewise.
9771         * locale/programs/localedef.c: Likewise.
9772         * login/programs/pt_chown.c: Likewise.
9773         * malloc/memusage.sh: Likewise.
9774         * malloc/memusagestat.c: Likewise.
9775         * malloc/mtrace.pl: Likewise.
9776         * manual/libc.texinfo: Likewise.
9777         * nscd/nscd.c: Likewise.
9778         * nss/getent.c: Likewise.
9779         * nss/makedb.c: Likewise.
9780         * posix/getconf.c: Likewise.
9781         * scripts/test-installation.pl: Likewise.
9783         * All files with FSF copyright notices: Update copyright dates
9784         using scripts/update-copyrights.
9785         * intl/plural.c: Regenerated.
9786         * locale/programs/charmap-kw.h: Likewise.
9787         * locale/programs/locfile-kw.h: Likewise.
9789 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
9791         * sysdeps/unix/sysv/linux/configure: Regenerated.
9792         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9793         the linux/fanotify.h header.
9794         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9795         HAVE_LINUX_FANOTIFY_H is defined.
9797 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9799         * benchtests/cos-inputs: New inputs.
9800         * benchtests/sin-inputs: Likewise.
9802         * benchtests/atan-inputs: New inputs. Fix name of multiple
9803         precision fallback inputs.
9805         * benchtests/atanh-inputs: New inputs.
9806         * benchtests/tanh-inputs: Likewise.
9808         * benchtests/acosh-inputs: New inputs.
9809         * benchtests/asinh-inputs: Likewise.
9811         * benchtests/cosh-inputs: New inputs.
9812         * benchtests/sinh-inputs: Likewise.
9814         * benchtests/acos-inputs: Add more inputs.
9815         * benchtests/asin-inputs: Likewise.
9817 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
9819         [BZ #16375]
9820         * manual/arith.texi: Fix spelling.
9821         * manual/charset.texi: Likewise.
9822         * manual/errno.texi: Likewise.
9823         * manual/filesys.texi: Likewise.
9824         * manual/lang.texi: Likewise.
9825         * manual/llio.texi: Likewise.
9826         * manual/locale.texi: Likewise.
9827         * manual/message.texi: Likewise.
9828         * manual/resource.texi: Likewise.
9829         * manual/search.texi: Likewise.
9830         * manual/setjmp.texi: Likewise.
9831         * manual/stdio.texi: Likewise.
9832         * manual/string.texi: Likewise.
9833         * manual/sysinfo.texi: Likewise.
9834         * manual/time.texi: Likewise.
9836 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
9838         * po/sl.po: New file.
9840 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
9842         * .gitignore: Add core/.gdbinit/.gdb_history.
9844 2013-12-27  Allan McRae  <allan@archlinux.org>
9846         [BZ #16369]
9847         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9848         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9850 2013-12-24  Brooks Moses  <bmoses@google.com>
9852         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9853         all compilers that claim C++98 compliance, not just GCC.
9854         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9855         Likewise.
9857 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
9859         * NEWS: Restore accidentally deleted bug-fix entries.
9861 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
9862             Ondřej Bílka  <neleai@seznam.cz>
9864         [BZ #15073]
9865         * malloc/malloc.c (_int_free): Perform sanity check only if we
9866         have_lock.
9868 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
9870         [BZ #12986]
9871         * manual/stdio.texi (String Input Conversions): Clarify that character
9872         classes are not supported.
9874 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9878 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
9880         [BZ #16337]
9881         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9882         Calculate results for small negative arguments directly rather
9883         than using reflection formula with special underflow handling.
9885         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9886         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9887         sysdeps/unix/bsd/bsd4.4/syscalls.list.
9888         (fchflags): Likewise.
9889         (revoke): Likewise.
9890         (setlogin): Likewise.
9891         (sigaltstack): Likewise.
9892         (wait4): Likewise.
9893         (sigblock): Remove.
9894         (sigsetmask): Likewise.
9895         (wait3): Likewise.
9896         (waitpid): Likewise.
9897         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9898         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9899         file.
9900         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9901         * sysdeps/unix/bsd/Makefile: ... here.
9902         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9903         * sysdeps/unix/bsd/Versions: ... here.
9904         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9905         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9906         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9907         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9908         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9909         * sysdeps/unix/bsd/sigblock.c: ... here.
9910         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9911         * sysdeps/unix/bsd/sigsetmask.c: ... here.
9912         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9913         * sysdeps/unix/bsd/sigvec.c: ... here.
9914         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9915         * sysdeps/unix/bsd/tcdrain.c: ... here.
9916         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9917         * sysdeps/unix/bsd/tcgetattr.c: ... here.
9918         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9919         * sysdeps/unix/bsd/tcsetattr.c: ... here.
9920         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9921         * sysdeps/unix/bsd/wait.c: ... here.
9922         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9923         * sysdeps/unix/bsd/wait3.c: ... here.
9924         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9925         * sysdeps/unix/bsd/waitpid.c: ... here.
9927 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
9929         [BZ #16356]
9930         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9931         round-to-nearest for [!USE_AS_EXPM1L].
9932         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9933         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
9934         more tests of exp and exp10.  Expect some exp10 tests to miss
9935         exceptions or fail in directed rounding modes.
9936         * math/auto-libm-test-out: Regenerated.
9937         * math/libm-test.inc (exp10_tonearest_test_data): New array.
9938         (exp10_test_tonearest): New function.
9939         (exp10_towardzero_test_data): New array.
9940         (exp10_test_towardzero): New function.
9941         (exp10_downward_test_data): New array.
9942         (exp10_test_downward): New function.
9943         (exp10_upward_test_data): New array.
9944         (exp10_test_upward): New function.
9945         (main): Call the new functions.
9946         * sysdeps/i386/fpu/libm-test-ulps: Update.
9947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9949 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
9951         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9952         asinh, atan, atan2, atanh, cbrt, cos and cosh.
9953         * math/auto-libm-test-out: Regenerated.
9954         * math/libm-test.inc (acosh_test_data): Add more tests.
9955         (atanh_test_data): Likewise.
9956         (ceil_test_data): Likewise.
9957         (copysign_test_data): Likewise.
9958         * sysdeps/i386/fpu/libm-test-ulps: Update.
9959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9961         * timezone/checktab.awk: Update from tzcode 2013i.
9962         * timezone/private.h: Likewise.
9963         * timezone/scheck.c: Likewise.
9964         * timezone/tzfile.h: Likewise.
9965         * timezone/tzselect.ksh: Likewise.
9966         * timezone/zdump.c: Likewise.
9967         * timezone/zic.c: Likewise.
9969         * math/auto-libm-test-in: Add tests of cpow.
9970         * math/auto-libm-test-out: Regenerated.
9971         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9972         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9973         mpc_cc_c.
9974         (func_calc_desc): Add mpc_cc_c union field.
9975         (test_functions): Add cpow.
9976         (special_fill_2pi): New function.
9977         (special_real_inputs): Add 2pi.
9978         (calc_generic_results): Handle mpc_cc_c.
9979         * sysdeps/i386/fpu/libm-test-ulps: Update.
9980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9982         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9983         csqrt, ctan and ctanh.
9984         * math/auto-libm-test-out: Regenerated.
9985         * math/libm-test.inc (TEST_COND_x86_64): New macro.
9986         (TEST_COND_x86): Likewise.
9987         (ccos_test_data): Use AUTO_TESTS_c_c.
9988         (ccosh_test_data): Likewise.
9989         (cexp_test_data): Likewise.
9990         (clog_test_data): Likewise.
9991         (csqrt_test_data): Likewise.
9992         (ctan_test_data): Likewise.
9993         (ctan_tonearest_test_data): Likewise.
9994         (ctan_towardzero_test_data): Likewise.
9995         (ctan_downward_test_data): Likewise.
9996         (ctan_upward_test_data): Likewise.
9997         (ctanh_test_data): Likewise.
9998         (ctanh_tonearest_test_data): Likewise.
9999         (ctanh_towardzero_test_data): Likewise.
10000         (ctanh_downward_test_data): Likewise.
10001         (ctanh_upward_test_data): Likewise.
10002         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10003         mpc_c_c.
10004         (func_calc_desc): Add mpc_c_c union field.
10005         (FUNC_mpc_c_c): New macro.
10006         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10007         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10008         ctanh.
10009         (special_fill_min_subnorm_p120): New function.
10010         (special_real_inputs): Add min_subnorm_p120.
10011         (calc_generic_results): Handle mpc_c_c.
10012         * sysdeps/i386/fpu/libm-test-ulps: Update.
10013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10015 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10017         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10018         (do_sin_slow): New functions.
10019         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10020         (cslow2, csloww1, csloww2): Use the new functions.
10022         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10023         Use M to change sign of result instead of X.  Assume X is
10024         positive.
10025         (csloww1): Likewise.
10026         (__sin): Adjust.
10027         (__cos): Adjust.
10029         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10030         arguments A and DA.
10031         (__sin): Adjust.
10032         (__cos): Likewise.
10034         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10035         (__cos): Likewise.
10036         (sloww1): Don't adjust sign of DX.
10037         (csloww1): Likewise.
10038         (sloww2): Use X directly and don't adjust sign of DX.
10039         (csloww2): Likewise.
10041 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10043         * math/auto-libm-test-in: Add tests of cabs and carg.
10044         * math/auto-libm-test-out: Regenerated.
10045         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10046         (carg_test_data): Likewise.
10047         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10048         mpc_c_f.
10049         (func_calc_desc): Add mpc_c_f union field.
10050         (test_functions): Add cabs and carg.
10051         (calc_generic_results): Handle mpc_c_f.
10053         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10054         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10055         as a macro and a compat symbol.
10056         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10057         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10058         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10059         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10060         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10061         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10062         not use .hidden.
10063         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10064         Likewise.
10065         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10066         Likewise.
10067         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10068         Likewise.
10069         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10070         Likewise.
10071         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10072         Likewise.
10073         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10074         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10075         from GLIBC_2.3.2.
10077 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10081 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10083         * manual/texinfo.tex: Update to version 2013-11-26.10 with
10084         trailing whitespace removed.
10085         * scripts/config.guess: Update to version 2013-11-29.
10086         * scripts/config.sub: Update to version 2013-10-01.
10088         * math/auto-libm-test-in: Add tests of sincos.
10089         * math/auto-libm-test-out: Regenerated.
10090         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10091         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10092         mpfr_f_11.
10093         (func_calc_desc): Add mpfr_f_11 union field.
10094         (test_functions): Add sincos.
10095         (calc_generic_results): Handle mpfr_f_11.
10096         * sysdeps/i386/fpu/libm-test-ulps: Update.
10097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10099 2013-12-19  Andreas Schwab  <schwab@suse.de>
10101         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10102         CALL_MCOUNT.
10103         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10104         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10105         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10107 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10109         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10110         * sysdeps/i386/fpu/libm-test-ulps: Update.
10111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10113         [BZ #16293]
10114         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10115         round-to-nearest mode when using frndint.
10116         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10117         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10118         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10119         Likewise.
10120         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
10121         sinh test to fail.
10122         * math/auto-libm-test-out: Regenerated.
10123         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10124         (TEST_COND_x86): Likewise.
10125         (expm1_tonearest_test_data): New array.
10126         (expm1_test_tonearest): New function.
10127         (expm1_towardzero_test_data): New array.
10128         (expm1_test_towardzero): New function.
10129         (expm1_downward_test_data): New array.
10130         (expm1_test_downward): New function.
10131         (expm1_upward_test_data): New array.
10132         (expm1_test_upward): New function.
10133         (main): Run the new test functions.
10134         * sysdeps/i386/fpu/libm-test-ulps: Update.
10135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10137         * include/features.h: Update comment documenting feature test
10138         macros.  Mention _DEFAULT_SOURCE in comment.
10139         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10140         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10141         _BSD_SOURCE and _SVID_SOURCE.
10142         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10143         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10144         !_SVID_SOURCE]: Likewise.
10145         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10146         (__USE_POSIX_IMPLICITLY): Define.
10147         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10148         (_POSIX_SOURCE): Undefine and redefine.
10149         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10150         (_POSIX_C_SOURCE): Likewise.
10151         * manual/creature.texi (_DEFAULT_SOURCE): Document.
10152         (Feature Test Macros): Update documentation of default features.
10154 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10156         * benchtests/Makefile: Add bench-strtok.
10157         * benchtests/bench-strtok.c: New file: strtok benchtest.
10159 2013-12-19  Allan McRae  <allan@archlinux.org>
10161         * manual/install.texi: Suppress menu for plain text output.
10162         * INSTALL: Regenerated.
10164 2013-12-18  Brooks Moses  <bmoses@google.com>
10166         [BZ #15846]
10167         * misc/getauxval.c: Include errno.h.
10168         (__getauxval): Set errno to ENOENT if the requested type is not
10169         found.
10170         * misc/sys/auxv.h (getauxval): Document that it may set errno;
10171         don't declare with __attribute_const__.
10172         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10173         * manual/startup.texi: Document that getauxval sets errno.
10175 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10177         * math/auto-libm-test-in: Add tests of jn and yn.
10178         * math/auto-libm-test-out: Regenerated.
10179         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10180         (yn_test_data): Likewise.
10181         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10182         mpfr_if_f.
10183         (func_calc_desc): Add mpfr_if_f union field.
10184         (FUNC_mpfr_if_f): New macro.
10185         (test_functions): Add jn and yn.
10186         (calc_generic_results): Assert type of second input for
10187         mpfr_ff_f.  Handle mpfr_if_f.
10188         (output_for_one_input_case): Disable all checking for arguments
10189         fitting floating-point types in case of an integer argument.
10190         * sysdeps/i386/fpu/libm-test-ulps: Update.
10191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10194         Don't expect fegetround reference in libm.so.
10196 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10198         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10199         $(config-cflags-nofma).
10201 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10203         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10204         * math/auto-libm-test-out: Regenerated.
10206         [BZ #16338]
10207         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10208         to determine exponent and adjust argument to have exponent of -1.
10209         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10210         log2.
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 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
10217         * manual/probes.texi: Remove cases when per-thread arenas are
10218         disabled.
10220 2013-12-18  Andreas Schwab  <schwab@suse.de>
10222         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10223         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10224         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10225         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10226         * sysdeps/i386/i686/multiarch/Makefile: Update.
10227         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10229 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10231         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10232         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10234 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
10236         [BZ #15968]
10237         Support TZ transition times < 00:00:00.
10238         This is needed for version-3 tz-format files; it supports time
10239         stamps past 2037 for America/Godthab (the only entry in the tz
10240         database for which this change is relevant).
10241         * manual/time.texi (TZ Variable): Document transition times
10242         from -167:59:59 through -00:00:01.
10243         * time/tzset.c (tz_rule): Time of day is now signed.
10244         (__tzset_parse_tz): Parse negative time of day.
10246         Document TZ transition times >= 25:00:00.
10247         * manual/time.texi (TZ Variable): Document transition times from
10248         25:00:00 through 167:59:59.  These are already supported, and this
10249         support will help with version-3 tz-format files.
10251         * manual/time.texi (TZ Variable): Modernize North America example
10252         to reflect current (i.e., 2007-and-later) daylight saving rules.
10254         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10256 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10258         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10259         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10260         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10261         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10262         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10263         * sysdeps/unix/bsd/bsdstat.h: Likewise.
10264         * sysdeps/unix/bsd/clock.c: Likewise.
10265         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10266         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10267         * sysdeps/unix/bsd/init-posix.c: Likewise.
10268         * sysdeps/unix/bsd/poll.c: Likewise.
10269         * sysdeps/unix/bsd/ptsname.c: Likewise.
10270         * sysdeps/unix/bsd/seekdir.c: Likewise.
10271         * sysdeps/unix/bsd/setegid.c: Likewise.
10272         * sysdeps/unix/bsd/seteuid.c: Likewise.
10273         * sysdeps/unix/bsd/setgid.c: Likewise.
10274         * sysdeps/unix/bsd/setrgid.c: Likewise.
10275         * sysdeps/unix/bsd/setruid.c: Likewise.
10276         * sysdeps/unix/bsd/setsid.c: Likewise.
10277         * sysdeps/unix/bsd/setuid.c: Likewise.
10278         * sysdeps/unix/bsd/sigaction.c: Likewise.
10279         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10280         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10281         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10282         * sysdeps/unix/bsd/telldir.c: Likewise.
10283         * sysdeps/unix/bsd/times.c: Likewise.
10284         * sysdeps/unix/bsd/usleep.c: Likewise.
10286         * misc/Makefile (install-lib): Remove libbsd-compat.a.
10287         ($(objpfx)libbsd-compat.a): Remove rule.
10289         * include/features.h (__FAVOR_BSD): Do not define.
10290         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10291         features conflicting with POSIX.
10292         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10293         (_BSD_SOURCE): Remove description of not being a subset of other
10294         feature test macros.
10295         * manual/job.texi (getpgrp): Do not document BSD version.
10296         (getpgid): Do not document by reference to BSD getpgrp.
10297         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10298         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10299         * signal/signal.h [__FAVOR_BSD]: Likewise.
10300         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10301         instead of making contents conditional on [__FAVOR_BSD].
10302         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10304 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10308 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10310         [BZ #16314]
10311         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10312         values below 2**-450, not 2**-500.
10313         * math/auto-libm-test-in: Don't allow spurious underflow from
10314         hypot.
10315         * math/auto-libm-test-out: Regenerated.
10317         [BZ #16316]
10318         [BZ #16330]
10319         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10320         values of ha and hb and sort them after adjusting subnormal
10321         arguments.
10322         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10323         Likewise.
10324         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10325         values of ea and eb and sort them after adjusting subnormal
10326         arguments.
10327         * math/auto-libm-test-in: Do not expect some hypot tests of
10328         subnormals to fail.  Add more hypot tests.
10329         * math/auto-libm-test-out: Regenerated.
10331 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10333         [BZ #13304]
10334         * sysdeps/sh/s_fma.c: New file.
10335         * sysdeps/sh/s_fmaf.c: New file.
10336         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
10337         version.
10338         * sysdeps/sh/Implies: Add sh/soft-fp.
10340 2013-12-16  Roland McGrath  <roland@hack.frob.com>
10342         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
10343         level of indirection to members `objname', `errstring', `malloced'.
10344         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10345         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
10346         it as the __longjmp argument (just pass 1 instead).
10347         (_dl_catch_error): Initialize C with argument pointers and address of
10348         volatile local ERRCODE rather than copying values out of C at return.
10350 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
10352         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10353         * math/auto-libm-test-out: Regenerated.
10354         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10355         (hypot_test_data): Likewise.
10356         (pow_test_data): Likewise.
10357         (pow_tonearest_test_data): Likewise.
10358         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10359         mpfr_ff_f.
10360         (func_calc_desc): Add mpfr_ff_f union field.
10361         (FUNC_mpfr_ff_f): New macro.
10362         (test_functions): Add atan2, hypot and pow.
10363         (special_fill_min): New function.
10364         (special_fill_minus_min): Likewise.
10365         (special_fill_min_subnorm): Likewise.
10366         (special_fill_minus_min_subnorm): Likewise.
10367         (special_real_inputs): Add min, -min, min_subnorm and
10368         -min_subnorm.
10369         (calc_generic_results): Handle mpfr_ff_f.
10370         * sysdeps/i386/fpu/libm-test-ulps: Update.
10371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10373 2013-12-16  Will Newton  <will.newton@linaro.org>
10375         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10376         (Aligned Memory Blocks): Add documentation for aligned_alloc
10377         and suggest it as an alternative to posix_memalign.
10378         (Hooks for Malloc): Document __memalign_hook is also called
10379         for aligned_alloc.  (Summary of Malloc): Add summary for
10380         aligned alloc.  Document __memalign_hook is also called
10381         for aligned_alloc.
10383 2013-12-16  Will Newton  <will.newton@linaro.org>
10385         * manual/memory.texi (Malloc Examples): Clarify default
10386         alignment documentation.  Suggest posix_memalign rather
10387         than memalign or valloc.
10388         (Aligned Memory Blocks): Remove suggestion to use memalign
10389         or valloc.  Remove obsolete comment about BSD.
10390         Document memalign errno values and mark the function obsolete.
10391         Document posix_memalign returned error codes.  Mark valloc
10392         as obsolete.  (Hooks for Malloc): __memalign_hook is also
10393         called for posix_memalign and valloc.
10394         (Summary of Malloc): Add posix_memalign to function summary.
10395         __memalign_hook is also called for posix_memalign and valloc.
10397 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10399         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10400         TAYLOR_SIN.
10401         (__sin): Adjust.
10402         (__cos): Likewise.
10403         (sloww): Use mynumber union.  Expand ternary operator into
10404         if-else statements.
10405         (cslow): use mynumber union.
10407 2013-12-16  Allan McRae  <allan@archlinux.org>
10409         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10410         * configure: Regenerated.
10412         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10414         [BZ #14120]
10415         * configure.ac: Added --enable-maintainer-mode. Check for
10416         autoconf when enabled.
10417         * configure: Regenerated.
10419         * nscd/nscd.service: New file.
10420         * nscd/nscd.tmpfiles: New file.
10422 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
10424         [BZ #12100]
10425         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10426         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10427         * sysdeps/x86_64/multiarch/strstr.c: ... here.
10428         (strstr): Add __strstr_sse2_unaligned ifunc.
10429         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10430         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10431         (strcasestr): Remove __strcasestr_sse42 ifunc.
10432         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10433         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10434         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10436 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10438         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10439         * sysdeps/sh/bits/fenv.h: ... here.
10440         * sysdeps/sh/sh4/fpu/bits: Remove directory.
10442 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10444         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10446         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10447         hypotf multiarch implementations.
10448         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10449         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10450         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10451         multiarch hypot for PPC64.
10452         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10453         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10454         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10455         multiarch hypotf for PPC64.
10457         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10458         modff multiarch implementations.
10459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10462         multiarch modf for PPC64.
10463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10466         multiarch modff for PPC64.
10468         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10469         and logl multiarch implementations.
10470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10473         multiarch logb for PPC64.
10474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10477         multiarch logb for PPC64.
10478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10481         multiarch logb for PPC64.
10483         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10484         isinff multiarch implementation.
10485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10486         file.
10487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10489         multiarch isinf for PPC64.
10490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10491         file.
10492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10493         multiarch isinff for PPC64.
10495         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10496         finitef multiarch implementation.
10497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10498         file.
10499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10501         multiarch finite for PPC64.
10502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10503         file.
10504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10505         multiarch finitef for PPC64.
10507         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10508         lrint multiarch implementation.
10509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10510         file.
10511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10513         multiarch llrint for PPC64.
10514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10515         multiarch lrint for PPC64.
10517         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10518         copysignf multiarch implementation.
10519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10520         file.
10521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10522         file.
10523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10524         multiarch copysign for PPC64.
10525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10526         multiarch copysignf for PPC64.
10528         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10529         multiarch implementation.
10530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10531         file.
10532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10533         file.
10534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10535         file.
10536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10537         file.
10538         multiarch llround for PPC64.
10539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10540         multiarch trunc for PPC64.
10541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10542         multiarch truncf for PPC64.
10544         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10545         multiarch implementation.
10546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10547         file.
10548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10549         file.
10550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10551         file.
10552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10553         file.
10554         multiarch llround for PPC64.
10555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10556         multiarch round for PPC64.
10557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10558         multiarch roundf for PPC64.
10560         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10561         multiarch implementation.
10562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10563         file.
10564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10565         file.
10566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10567         file.
10568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10569         file.
10570         multiarch llround for PPC64.
10571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10572         multiarch floor for PPC64.
10573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10574         multiarch floorf for PPC64.
10576         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10577         multiarch implementation.
10578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10579         file.
10580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10581         file.
10582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10583         file.
10584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10585         file.
10586         multiarch llround for PPC64.
10587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10588         multiarch ceil for PPC64.
10589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10590         multiarch ceilf for PPC64.
10592         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10593         multiarch implementation.
10594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10595         file.
10596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10597         file.
10598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10599         file.
10600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10601         multiarch llround for PPC64.
10602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10603         multiarch lround for PPC64.
10605         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10606         multiarch implementation.
10607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10610         file.
10611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10614         multiarch isnan for PPC64.
10615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10616         multiarch isnanf for PPC64.
10618         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10619         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10620         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10621         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10622         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10625         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10626         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10627         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10628         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10630         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10631         multiarch implementations.
10632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10633         (__libc_ifunc_impl_list): Likewise.
10634         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10635         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10636         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10637         multiarch stpcpy for PPC64.
10639         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10640         multiarch implementations.
10641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10642         (__libc_ifunc_impl_list): Likewise.
10643         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10644         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10645         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10646         multiarch strcpy for PPC64.
10648         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10649         redefine function name.
10650         (_wordcopy_fwd_dest_aligned): Likewise.
10651         (_wordcopy_bwd_aligned): Likewise.
10652         (_wordcopy_bwd_dest_aligned): Likewise.
10653         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10654         multiarch implementations.
10655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10656         (__libc_ifunc_impl_list): Likewise.
10657         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10658         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10659         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10660         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10661         multiarch wcscpy for PPC64.
10663         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10664         multiarch implementations.
10665         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10666         (__libc_ifunc_impl_list): Likewise.
10667         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10668         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10669         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10670         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10671         multiarch wcscpy for PPC64.
10673         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10674         multiarch implementations.
10675         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10676         (__libc_ifunc_impl_list): Likewise.
10677         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10678         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10679         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10680         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10681         multiarch wcsrchr for PPC64.
10683         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10684         multiarch implementations.
10685         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10686         (__libc_ifunc_impl_list): Likewise.
10687         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10688         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10689         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10690         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10691         multiarch wcschr for PPC64.
10693         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10694         multiarch implementations.
10695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10696         (__libc_ifunc_impl_list): Likewise.
10697         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10698         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10699         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10700         multiarch strchrnul for PPC64.
10702         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10703         implementations.
10704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10705         (__libc_ifunc_impl_list): Likewise.
10706         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10707         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10708         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10709         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10710         strchr for PPC64.
10712         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10713         implementations.
10714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10715         (__libc_ifunc_impl_list): Likewise.
10716         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10717         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10718         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10719         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10720         strncmp for PPC64.
10722         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10723         multiarch implementations.
10724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10725         (__libc_ifunc_impl_list): Likewise.
10726         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10727         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10728         strncasecmp for PPC64.
10729         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10730         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10731         multiarch strncasecmp_l for PPC64.
10733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10734         multiarch implementations.
10735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10736         (__libc_ifunc_impl_list): Likewise.
10737         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10738         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10739         multiarch strcasecmp for PPC64.
10740         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10741         file.
10742         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10743         multiarch strcasecmp_l for PPC64.
10745         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10746         implementations.
10747         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10748         (__libc_ifunc_impl_list): Likewise.
10749         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10750         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10751         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10752         strnlen for PPC64.
10754         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10755         implementations.
10756         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10757         (__libc_ifunc_impl_list): Likewise.
10758         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10759         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10760         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10761         strlen for PPC64.
10763         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10764         implementations.
10765         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10766         (__libc_ifunc_impl_list): Likewise.
10767         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10768         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10769         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10770         rawmemrchr for PPC64.
10772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10773         implementation.
10774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10775         (__libc_ifunc_impl_list): Likewise.
10776         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10777         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10778         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10779         memrchr for PPC64.
10781         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10782         implementation.
10783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10784         (__libc_ifunc_impl_list): Likewise.
10785         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10786         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10787         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10788         memchr for PPC64.
10790         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10791         implementation.
10792         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10793         (__libc_ifunc_impl_list): Likewise.
10794         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10795         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10796         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10797         mempcpy for PPC64.
10799         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10800         avoid cretion of __bzero symbol.
10801         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10802         Likewise.
10803         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10804         Likewise.
10805         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10806         Likewise.
10807         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10808         multiarch implementations.
10809         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10810         (__libc_ifunc_impl_list): Likewise.
10811         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10812         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10813         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10814         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10815         bzero for PPC32.
10816         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10817         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10818         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10819         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10820         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10821         memset for PPC64.
10822         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10824         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10825         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10826         implementations.
10827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10828         (__libc_ifunc_impl_list): Likewise.
10829         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10830         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10831         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10832         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10833         memcmp for PPC64.
10835         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10836         multiarch for POWER/PPC64.
10837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10838         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10839         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10840         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10841         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10842         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10843         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10844         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10845         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10846         memcpy for PPC64.
10848         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10849         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10850         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10851         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10852         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10853         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10854         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10855         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10856         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10857         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10858         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10859         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10860         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10861         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10862         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10871 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10873         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10875 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10877         * benchtests/Makefile (bench): Add exp2 and log2.
10878         (LDLIBS-bench-exp2): Add -lm.
10879         (LDLIBS-bench-log2): Likewise.
10880         * benchtests/exp2-inputs: New inputs file.
10881         * benchtests/log2-inputs: New inputs file.
10882         * benchtests/log-inputs: Add new inputs.
10883         * benchtests/tan-inputs: Likewise.
10885 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10887         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10888         definition...
10889         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10890         (csloww2): ... from here.
10892         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10893         instead of structures.
10894         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10895         (POLYNOMIAL): Likewise.
10896         (TAYLOR_SLOW): Likewise.
10897         (__sin): Likewise.
10898         (__cos): Likewise.
10899         (slow1): Likewise.
10900         (slow2): Likewise.
10901         (sloww): Likewise.
10902         (sloww1); Likewise.
10903         (sloww2): Likewise.
10904         (bsloww1): Likewise.
10905         (bsloww2): Likewise.
10906         (cslow2): Likewise.
10907         (csloww): Likewise.
10908         (csloww1): Likewise.
10909         (csloww2): Likewise.
10911 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
10913         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10914         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10915         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10916         * malloc/hooks.c (realloc_check): Likewise.
10918         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10919         * malloc/arena.c: Remove PER_THREAD conditional.
10920         [!PER_THREAD]: Remove code.
10921         (ptmalloc_unlock_all2): Likewise.
10922         (ptmalloc_init): Likewise.
10923         (_int_new_arena): Likewise.
10924         (arena_get2): Likewise.
10925         * malloc/hooks.c (__malloc_get_state): Likewise.
10926         (__malloc_set_state): Likewise.
10927         * malloc/malloc.c: Likewise.
10928         (struct malloc_state): Likewise.
10929         (struct malloc_par): Likewise.
10930         (__libc_realloc): Likewise.
10931         (__libc_mallopt): Likewise.
10933 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10935         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10937 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
10939         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10940         macro to a function.  Check for zero perturb_byte.
10941         (_int_malloc, _int_free): Remove zero perturb_byte checks.
10943         * malloc/malloc.c: (force_reg): Remove.
10944         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10945         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10946         force_reg by atomic_forced_read.
10947         * malloc/arena.c (ptmalloc_init): Likewise.
10948         * malloc/hooks.c (top_check): Likewise.
10950 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10954 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
10956         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10958 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
10960         * math/auto-libm-test-in: Add tests of lgamma.
10961         * math/auto-libm-test-out: Regenerated.
10962         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10963         (M_LOG_2_SQRT_PIl): Likewise.
10964         (lgamma_test_data): Use AUTO_TESTS_f_f1.
10965         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10966         mpfr_f_f1.
10967         (func_calc_desc): Add mpfr_f_f1 union field.
10968         (ARGS1): New macro.
10969         (ARGS2): Likewise.
10970         (ARGS3): Likewise.
10971         (ARGS4): Likewise.
10972         (RET1): Likewise.
10973         (RET2): Likewise.
10974         (CALC): Likewise.
10975         (FUNC): Likewise.
10976         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10977         (test_functions): Add lgamma.
10978         (calc_generic_results): Handle mpfr_f_f1.
10979         * sysdeps/i386/fpu/libm-test-ulps: Update.
10980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10982 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10984         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10985         __mpn_add_n for PowerPC64/POWER7.
10986         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10987         __mpn_sub_n for PowerPC64/POWER7.
10989         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10990         __mpn_addmul_1 for PowerPC64.
10991         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10992         __mpn_submul_1 for PowerPC64.
10993         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10994         for PowerPC64.
10995         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10996         for PowerPC64.
10998 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11000         [BZ #15089]
11001         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11003 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11005         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11007         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11008         add multiarch folders.
11009         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11010         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11011         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11012         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11013         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11014         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11015         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11016         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11017         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11018         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11019         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11028         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11030         New file.
11031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11032         New file.
11033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11034         multiarch __ieee754_hypot for PowerPC32.
11035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11036         New file.
11037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11038         New file.
11039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11040         multiarch __ieee754_hypotf for PowerPC32.
11042         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11043         long_double_symbol only if __logbl is defined.
11044         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11045         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11046         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11047         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11048         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11049         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11050         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11051         path for implementation.
11052         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11053         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11055         logb, and logbl multiarch implementations for PowerPC32.
11056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11057         file.
11058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11059         file.
11060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11061         multiarch logb for PowerPC32.
11062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11063         file.
11064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11065         file.
11066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11067         multiarch logbf for PowerPC32.
11068         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11070         file.
11071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11072         multiarch logbl implementation for PowerPC32.
11074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11075         and modff multiarch implementations.
11076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11077         New file.
11078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11079         New file.
11080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11081         multiarch modf for PowerPC32.
11082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11083         New file.
11084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11085         New file.
11086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11087         multiarch modff for PowerPC32.
11089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11090         and lrintf multiarch implementations.
11091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11092         New file.
11093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11094         New file.
11095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11096         multiarch lrint for PowerPC32.
11097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11098         file: multiarch lrintf for PowerPC32.
11100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11101         and lroundf multiarch implementations.
11102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11103         New file.
11104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11105         New file.
11106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11107         New file.
11108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11109         multiarch lround for PowerPC32.
11110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11111         file: multiarch lroundf for PowerPC32.
11113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11114         copysign and copysignf multiarch implementations.
11115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11116         New file.
11117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11118         New file.
11119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11120         file: multiarch copysign for PowerPC32.
11121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11122         file: multiarch copysignf for PowerPC32.
11124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11125         and truncf multiarch implementations.
11126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11127         New file.
11128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11129         file.
11130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11131         multiarch trunc for PowerPC32.
11132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11133         New file.
11134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11135         New file.
11136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11137         multiarch truncf for PowerPC32.
11139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11140         and roundf multiarch implementations.
11141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11142         New file.
11143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11144         file.
11145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11146         multiarch round for PowerPC32.
11147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11148         New file.
11149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11150         New file.
11151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11152         multiarch roundf for PowerPC32.
11154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11155         and floorf multiarch implementations.
11156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11157         New file.
11158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11159         file.
11160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11161         multiarch floor for PowerPC32.
11162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11163         New file.
11164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11165         New file.
11166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11167         multiarch floorf for PowerPC32.
11169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11170         and ceilf multiarch implementations.
11171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11172         New file.
11173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11174         file.
11175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11176         multiarch ceil for PowerPC32.
11177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11178         New file.
11179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11180         file.
11181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11182         multiarch ceilf for PowerPC32.
11184         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11185         is defined.
11186         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11187         FINITEF is defined.
11188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11189         and finitef multiarch implementations.
11190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11191         New file.
11192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11193         file.
11194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11195         multiarch finite for PowerPC32.
11196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11197         New file.
11198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11199         file: multiarch finitef for PowerPC32.
11201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11202         and isinff multiarch implementations.
11203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11204         file.
11205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11206         file.
11207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11208         multiarch isinf for PowerPC32.
11209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11210         New file.
11211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11212         multiarch isinff for PowerPC32.
11214         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11215         alias when __isnan is defined.
11216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11217         and isnanf multiarch implementations.
11218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11219         file.
11220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11221         file.
11222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11223         file.
11224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11225         file.
11226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11227         multiarch isnan for PowerPC32.
11228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11229         New file.
11230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11231         New file.
11232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11233         multiarch isnanf for PowerPC32.
11235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11236         and sqrtf multiarch implementations.
11237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11238         file.
11239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11240         file.
11241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11242         multiarch sqrt for PowerPC32.
11243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11244         file.
11245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11246         file.
11247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11248         multiarch sqrtf for PowerPC32.
11250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11251         and llroundf multiarch implementations.
11252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11253         New file.
11254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11255         New file.
11256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11257         New file.
11258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11259         file: multiarch llround for PowerPC32.
11260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11261         file: multiarch llroundf for PowerPC32.
11263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11264         multiarch PowerPC32 fpu implementations.
11265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11266         New file.
11267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11268         New file.
11269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11270         multiarch llrint for PowerPC32.
11271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11272         New file.
11273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11274         New file.
11275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11276         file.
11278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11280         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11281         file.
11282         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11283         file.
11284         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11285         file.
11286         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11287         multiarch wordcopy for PPC32.
11288         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11289         wordcopy objects.
11290         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11291         (__libc_ifunc_impl_list): Likewise.
11292         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11293         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11294         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11295         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11296         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11297         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11299         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11300         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11301         file.
11302         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11303         file.
11304         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11305         file.
11306         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11307         multiarch wcscpy for PPC32.
11308         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11309         multiarch objects.
11310         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11311         (__libc_ifunc_impl_list): Likewise.
11312         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11313         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11314         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11315         sysdeps/powerpc/power6/wcscpy.c.
11317         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11318         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11319         file.
11320         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11321         file.
11322         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11323         file.
11324         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11325         multiarch wcsrchr for PPC32.
11326         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11327         multiarch objects.
11328         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11329         (__libc_ifunc_impl_list): Likewise.
11330         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11331         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11332         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11333         sysdeps/powerpc/power6/wcsrchr.c.
11335         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11336         file.
11337         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11338         file.
11339         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11340         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11341         multiarch wcschr for PPc32.
11342         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11343         multiarch objects.
11344         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11345         (__libc_ifunc_impl_list): Likewise.
11346         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11347         * sysdeps/powerpc/power6/wcschr.c: ... to here.
11348         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11349         sysdeps/powerpc/power6/wcschr.c.
11351         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11352         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11353         file.
11354         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11355         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11356         file: multiarch strchr for PPC32.
11357         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11358         multiarch objects.
11359         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11360         (__libc_ifunc_impl_list): Likewise.
11362         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11363         name.
11364         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11365         file.
11366         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11367         file.
11368         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11369         multiarch strchrnul for PPC32.
11370         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11371         multiarch objects.
11372         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11373         (__libc_ifunc_impl_list): Likewise.
11375         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11376         file.
11377         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11378         multiarch strncasecmp for PPC32.
11379         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11380         file.
11381         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11382         multiarch strncasecmp_l for PPC32.
11383         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11384         strncasecmp multiarch objects.
11385         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11386         (__libc_ifunc_impl_list): Likewise.
11388         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11389         file.
11390         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11391         multiarch strncasecmp for PPC32.
11392         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11393         New file.
11394         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11395         multiarch strcasecmp_l for PPC32.
11396         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11397         multiarch objects.
11398         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11399         (__libc_ifunc_impl_list): Likewise.
11401         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11402         file.
11403         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11404         file.
11405         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11406         multiarch strncmp for PPC32.
11407         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11408         multiarch objects.
11409         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11410         (__libc_ifunc_impl_list): Likewise.
11412         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11413         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11414         file.
11415         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11416         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11417         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11418         multiarch objects.
11419         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11420         (__libc_ifunc_impl_list): Likewise.
11422         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11423         file.
11424         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11425         file.
11426         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11427         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11428         multiarch objects.
11429         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11430         (__libc_ifunc_impl_list): Likewise.
11432         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11433         file.
11434         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11435         file.
11436         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11437         multiarch rawmemchr for PPC32.
11438         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11439         multiarch objects.
11440         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11441         (__libc_ifunc_impl_list): Likewise.
11443         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11444         file.
11445         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11446         file.
11447         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11448         file: memrchr multiarch for PPC32.
11449         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11450         multiarch objects.
11451         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11452         (__libc_ifunc_impl_list): Likewise.
11454         * string/memchr.c (__memchr): Using macro to redefine symbol name.
11455         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11456         file.
11457         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11458         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11459         multiarch memchr for PPC32.
11460         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11461         multiarch objects.
11462         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11463         (__libc_ifunc_impl_list): Likewise.
11465         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11466         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11467         file.
11468         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11469         file.
11470         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11471         file: multiarch mempcpy for PPC32.
11472         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11473         multiarch objects.
11474         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11475         (__libc_ifunc_impl_list): Likewise.
11477         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11478         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11479         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11480         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11481         multiarch bzero for PPC32.
11482         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11483         file.
11484         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11485         file.
11486         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11487         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11488         file: multiarch memset for PPC32.
11489         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11490         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11491         memset multiarch objects.
11492         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11493         (__libc_ifunc_impl_list): Likewise.
11495         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11496         file.
11497         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11498         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11499         memcmp for PPC32.
11500         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11501         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11502         multiarch objects.
11503         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11504         (__libc_ifunc_impl_list): Likewise.
11506         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11507         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11508         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11509         file.
11510         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11511         file.
11512         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11513         file.
11514         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11515         multiarch memcpy for PPC32.
11516         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11517         multiarch objects.
11518         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11519         (__libc_ifunc_impl_list): Likewise.
11521         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11522         support multiarch for POWER/PPC32.
11523         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11524         Likewise.
11525         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11527         Implies file to make multiarch folder appers before the fpu and
11528         default folder for power4 configuration.
11530 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11532         * scripts/bench.pl: Append volatile keyword to type.
11534 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11536         * sysdeps/sh/sotruss-lib.c: New file.
11537         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11539 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11543 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
11545         [BZ #6810]
11546         * math/w_tgamma.c: Include <errno.h>.
11547         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
11548         * math/w_tgammaf.c: Include <errno.h>.
11549         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
11550         * math/w_tgammal.c: Include <errno.h>.
11551         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
11552         * math/auto-libm-test-in: Do not allow missing errno on tgamma
11553         underflow.  Add more tgamma tests.
11554         * math/auto-libm-test-out: Regenerated.
11555         * sysdeps/i386/fpu/libm-test-ulps: Update.
11556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11558         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11559         sin, sinh, tan, tanh, tgamma, y0 and y1.
11560         * math/auto-libm-test-out: Regenerated.
11561         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11562         (TEST_COND_x86): Likewise.
11563         (M_E2l): Remove macro.
11564         (M_E3l): Likewise.
11565         (M_2_SQRT_PIl): Likewise.
11566         (M_SQRT_PIl): Likewise.
11567         (M_1_DIV_El): Likewise.
11568         (log_test_data): Use AUTO_TESTS_f_f.
11569         (log10_test_data): Likewise.
11570         (log1p_test_data): Likewise.
11571         (log2_test_data): Likewise.
11572         (sin_test_data): Likewise.
11573         (sin_tonearest_test_data): Likewise.
11574         (sin_towardzero_test_data): Likewise.
11575         (sin_downward_test_data): Likewise.
11576         (sin_upward_test_data): Likewise.
11577         (sinh_test_data): Likewise.
11578         (sinh_tonearest_test_data): Likewise.
11579         (sinh_towardzero_test_data): Likewise.
11580         (sinh_downward_test_data): Likewise.
11581         (sinh_upward_test_data): Likewise.
11582         (tan_test_data): Likewise.
11583         (tan_tonearest_test_data): Likewise.
11584         (tan_towardzero_test_data): Likewise.
11585         (tan_downward_test_data): Likewise.
11586         (tan_upward_test_data): Likewise.
11587         (tanh_test_data): Likewise.
11588         (tgamma_test_data): Likewise.
11589         (y0_test_data): Likewise.
11590         (y1_test_data): Likewise.
11591         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11592         (special_real_inputs): Add pi/4.
11593         * sysdeps/i386/fpu/libm-test-ulps: Update.
11594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11596 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11598         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11599         "longjmp_target" static probes.
11600         (__longjmp): Rename to __longjmp_symbol.
11601         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11602         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11603         on which longjmp to generate.
11604         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11605         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11606         probe.
11607         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11608         (__sigjmp_save): Rename to __sigjmp_save_symbol.
11609         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11610         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11611         and __sigjmp_save_symbol based on which sigsetjmp to generated.
11612         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11614         __longjmp_symbol based on which __longjmp to generate.
11615         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11616         probe.
11617         (setjmp): Rename to setjmp_symbol.
11618         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11619         (_setjmp): Rename to _setjmp_symbol.
11620         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11621         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11622         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11623         which setjmp to generate.
11624         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11625         "longjmp_target" static probes.
11627 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11629         * benchtests/README: Add note about output arguments.
11630         * benchtests/bench-sincos.c: Remove file.
11631         * benchtests/sincos-inputs: New file.
11632         * scripts/bench.pl: Identify output arguments and define
11633         static variables for them.
11635         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11637         [BZ #15941]
11638         * Makefile (INSTALL): Add install-plain.texi as the primary
11639         dependency.
11640         * manual/install-plain.texi: New file.
11641         * manual/install.texi: Include node directive only for
11642         non-plaintext output.
11644 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
11646         * stdlib/longlong.h: Update from GCC.
11648         [BZ #6807]
11649         [BZ #15901]
11650         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11651         * math/w_j0f.c (y0f): Likewise.
11652         * math/w_j0l.c (__y0l): Likewise.
11653         * math/w_j1.c (y1): Likewise.
11654         * math/w_j1f.c (y1f): Likewise.
11655         * math/w_j1l.c (__y1l): Likewise
11656         * math/w_jn.c (yn): Likewise.
11657         * math/w_jnf.c (ynf): Likewise.
11658         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11659         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
11660         value for Bessel function domain errors outside _SVID_ mode.
11661         Adjust sign of return value for yn (negative integer, 0).
11662         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11663         by zero in return for negative x and set sign appropriately for
11664         negative n.
11665         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11666         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11667         * math/libm-test.inc (y0_test_data): Add more tests and adjust
11668         expectations in error cases.
11669         (y1_test_data): Likewise.
11670         (yn_test_data): Likewise.
11671         * sysdeps/i386/fpu/libm-test-ulps: Update.
11672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11674 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11676         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11677         "64" to "64-v1".  Add "64-v2".
11678         (abi-64-options): Rename to ...
11679         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
11680         (abi-64-condition): Rename to ...
11681         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
11682         (abi-64-ld-soname): Rename to ...
11683         (abi-64-v1-ld-soname): ... this.
11684         (abi-64-v2-options): Define.
11685         (abi-64-v2-condition): Likewise.
11686         (abi-64-v2-ld-soname): Likewise.
11687         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11688         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11693 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11694             Alan Modra  <amodra@gmail.com>
11696         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11697         New versions for use with the ELFv2 ABI.
11698         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11699         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11700         declaration.
11701         (struct La_ppc64v2_retval): Likewise.
11702         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11703         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11704         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11705         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11706         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11707         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11708         Do not save or restore CR.
11709         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11710         (_dl_profile_resolve): Do no save or restore CR.  Support extended
11711         return values for ELFv2 ABI.  Fix location of FPR return registers.
11712         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11713         updated values for _CALL_ELF == 2.
11714         (La_regs, La_retval, int_retval): Likewise.
11716 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11718         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11719         (FRAME_MIN_SIZE_PARM): Likewise.
11720         (FRAME_BACKCHAIN): Likewise.
11721         (FRAME_CR_SAVE): Likewise.
11722         (FRAME_LR_SAVE): Likewise.
11723         (FRAME_TOC_SAVE): Likewise.
11724         (FRAME_PARM_SAVE): Likewise.
11725         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11726         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11727         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11728         (call_mcount_parm_offset): New macro.
11729         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11730         (PROF): Use symbolic stack frame offsets.
11731         (TAIL_CALL_SYSCALL_ERROR): Likewise.
11732         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11733         Redefine in terms of FRAME_MIN_SIZE.
11734         (_dl_runtime_resolve): Use symbolic stack frame offsets.
11735         (_dl_profile_resolve): Likewise.  Update comment.
11736         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11737         symbols stack frame offsets.
11738         (__sigsetjmp): Likewise.
11739         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11740         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11741         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11742         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11745         (FRAME_BACKCHAIN): Remove.
11746         (FRAME_CR_SAVE): Likewise.
11747         (FRAME_LR_SAVE): Likewise.
11748         (FRAME_COMPILER_DW): Likewise.
11749         (FRAME_LINKER_DW): Likewise.
11750         (FRAME_TOC_SAVE): Likewise.
11751         (FRAME_PARM_SAVE): Likewise.
11752         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11753         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11754         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11756         (CHECK_SP): Use symbolic stack frame offsets.
11757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11758         zone" instead of caller's parameter save area for temp storage.
11759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11760         Likewise.  Also, use symbolic stack frame offsets.
11761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11762         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11763         our own stack frame instead of the caller's.
11764         (__socket): Use symbolic stack frame offsets.
11766 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11767             Alan Modra  <amodra@gmail.com>
11769         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11770         Define.
11771         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11772         (PPC64_LOCAL_ENTRY_OFFSET): Define.
11773         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11774         New function.
11775         (elf_machine_fixup_plt): Call it.
11776         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
11777         reloc arguments.
11778         (elf_machine_rela): Update call to elf_machine_plt_conflict.
11779         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11780         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
11781         r2 before calling target.
11783 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11784             Alan Modra  <amodra@gmail.com>
11786         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11787         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11788         versions of macros to support ELFv2 ABI.
11789         (LOCALENTRY): New macro.
11790         (ENTRY, EALIGN): Use it.
11791         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11792         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11793         fall through into ENTRY entry point.
11794         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11795         Only define if _CALL_ELF != 2.
11797         (elf_machine_matches_host): Verify ABI version matches.
11798         (RTLD_START): Use LOCALENTRY.
11799         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11800         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11801         (PLT_ENTRY_WORDS): New macro.
11802         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11803         (elf_machine_runtime_setup): Support ELFv2 ABI.
11804         (elf_machine_fixup_plt): Likewise.
11805         (elf_machine_plt_conflict): Likewise.
11806         (resolve_ifunc): Likewise.
11807         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11808         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11809         Likewise.
11810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11811         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11813         (makecontext): Support ELFv2 ABI.
11814         * elf/elf.h (EF_PPC64_ABI): Define.
11816 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11818         * sysdeps/powerpc/powerpc64/sysdep.h
11819         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11820         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11821         (ENTRY) [ASSEMBLER]: ... but instead here ...
11822         (EALIGN) [ASSEMBLER]: ... and here.
11823         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11824         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11825         (ENTRY_2) [!ASSEMBLER]: Use it.
11826         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11827         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
11828         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11829         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
11830         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11832         Use PPC64_LOAD_FUNCPTR.
11834         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11836 2013-12-04  Alan Modra  <amodra@gmail.com>
11838         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11839         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11840         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11841         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11843         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11844         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11845         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11846         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11847         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11848         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11850 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11853         (__makecontext): Fix incorrect CFI when backtracing out of
11854         context created via makecontext.
11855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11856         (__setcontext): Fix incorrect CFI during switch to new context.
11857         (__novec_setcontext): Likewise.
11859 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
11861         [BZ #4772]
11862         * time/strptime_l.c (__strptime_internal): Allow modifiers
11863         in strptime.
11864         * time/tst-strptime.c (day_tests): Add testcase.
11866 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11868         * scripts/bench.pl: Skip over blank lines.
11870 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11872         [BZ #926]
11873         * manual/time.texi (Calendar Time): Clarify what timezone functions
11874         use.
11876 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11880 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
11882         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11883         implementation.
11884         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11885         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11886         * debug/memset_chk.c (__memset_chk): Likewise.
11887         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11888         * debug/strncpy_chk.c: Likewise.
11890 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
11892         [BZ #15268]
11893         [BZ #15425]
11894         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11895         (__ieee754_exp): For possibly underflowing results, check size of
11896         result and force underflow exception if required.
11897         * math/auto-libm-test-in: Add more tests of exp.
11898         * math/auto-libm-test-out: Regenerated.
11899         * sysdeps/i386/fpu/libm-test-ulps: Update.
11900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11902         [BZ #16283]
11903         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11904         * math/w_exp2f.c (__exp2f): Likewise.
11905         * math/w_exp2l.c (__exp2l): Likewise.
11906         * math/auto-libm-test-in: Do not allow missing errno on exp2
11907         underflow.
11908         * math/auto-libm-test-out: Regenerated.
11910 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
11912         [BZ #16274]
11913         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11914         handle filename validation.
11915         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11916         (do_open): Delete.
11918 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
11920         [BZ #6786]
11921         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11922         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11923         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11924         <float.h>.
11925         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11926         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11927         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11928         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11929         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11930         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11931         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11932         * math/auto-libm-test-in: Don't allow missing errno from erfc.
11933         Add more erfc tests.
11934         * math/auto-libm-test-out: Regenerated.
11935         * sysdeps/i386/fpu/libm-test-ulps: Update.
11936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11938         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11939         exp2, expm1, j0 and j1.
11940         * math/auto-libm-test-out: Regenerated.
11941         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11942         (erfc_test_data): Likewise.
11943         (exp_test_data): Likewise.
11944         (exp_tonearest_test_data): Likewise.
11945         (exp_towardzero_test_data): Likewise.
11946         (exp_downward_test_data): Likewise.
11947         (exp_upward_test_data): Likewise.
11948         (exp10_test_data): Likewise.
11949         (exp2_test_data): Likewise.
11950         (expm1_test_data): Likewise.
11951         (j0_test_data): Likewise.
11952         (j1_test_data): Likewise.
11953         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11954         (input_flag_type): Add flag_xfail_rounding.
11955         (input_flags): Add xfail-rounding.
11956         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11957         (output_for_one_input_case): Handle flag_xfail_rounding.
11958         * sysdeps/i386/fpu/libm-test-ulps: Update.
11959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11961 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
11963         [BZ #16289]
11964         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11965         division by 0.
11967 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11969         [BZ #16195]
11970         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11971         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11972         (STAP_PROBE0): New macro.
11973         (STAP_PROBE1): Likewise.
11974         (STAP_PROBE2): Likewise.
11975         (STAP_PROBE3): Likewise.
11976         (STAP_PROBE4): Likewise.
11978 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
11980         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11982 2013-12-02  Steve Ellcey  <sellcey@mips.com>
11984         * benchtests/Makefile (bench): Add sqrt.
11985         (LDLIBS-bench-sqrt): New.
11986         * benchtests/sqrt-input: New.
11988 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
11990         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11991         (GAIH_EAI): Likewise.
11992         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11993         (gaih_inet): Likewise.
11994         (getaddrinfo): Don't use GAIH_EAI.
11996         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11997         (struct gaih): Remove definition.
11999 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12001         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12002         Use HERRNOP directly.
12004 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12008 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12010         * math/gen-auto-libm-tests.c (test_functions): Add more
12011         single-argument functions.
12012         (special_fill_pi_2): New function.
12013         (special_fill_minus_pi_2): Likewise.
12014         (special_fill_pi_6): Likewise.
12015         (special_fill_minus_pi_6): Likewise.
12016         (special_fill_pi_3): Likewise.
12017         (special_fill_2pi_3): Likewise.
12018         (special_fill_e): Likewise.
12019         (special_fill_1_e): Likewise.
12020         (special_fill_e_minus_1): Likewise.
12021         (special_real_inputs): Add more special inputs.
12022         (output_for_one_input_case): Do not require ERANGE on underflow to
12023         zero if round-to-nearest result does not underflow to zero, unless
12024         exact results required.
12025         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12026         atan, atanh, cbrt, cos and cosh.
12027         * math/auto-libm-test-out: Regenerated.
12028         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12029         (acos_tonearest_test_data): Likewise.
12030         (acos_towardzero_test_data): Likewise.
12031         (acos_downward_test_data): Likewise.
12032         (acos_upward_test_data): Likewise.
12033         (acosh_test_data): Likewise.
12034         (asin_test_data): Likewise.
12035         (asin_tonearest_test_data): Likewise.
12036         (asin_towardzero_test_data): Likewise.
12037         (asin_upward_test_data): Likewise.
12038         (asinh_test_data): Likewise.
12039         (atan_test_data): Likewise.
12040         (atanh_test_data): Likewise.
12041         (cbrt_test_data): Likewise.
12042         (cos_test_data): Likewise.
12043         (cos_tonearest_test_data): Likewise.
12044         (cos_towardzero_test_data): Likewise.
12045         (cos_downward_test_data): Likewise.
12046         (cos_upward_test_data): Likewise.
12047         (cosh_test_data): Likewise.
12048         (cosh_tonearest_test_data): Likewise.
12049         (cosh_towardzero_test_data): Likewise.
12050         (cosh_downward_test_data): Likewise.
12051         (cosh_upward_test_data): Likewise.
12052         * sysdeps/i386/fpu/libm-test-ulps: Update.
12053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12055 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12057         [BZ #6787]
12058         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12059         * math/w_exp10f.c (__exp10f): Likewise.
12060         * math/w_exp10l.c (__exp10l): Likewise.
12061         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12062         errno settings in existing tests.
12064         [BZ #14032]
12065         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12066         precision control set to double precision.
12067         * sysdeps/i386/fpu/w_sqrt.c: New file.
12068         * math/auto-libm-test-in: Add more tests.
12069         * math/auto-libm-test-out: Update.
12071         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12072         (sqrt_test_tonearest): New function.
12073         (sqrt_towardzero_test_data): New variable.
12074         (sqrt_test_towardzero): New function.
12075         (sqrt_downward_test_data): New variable.
12076         (sqrt_test_downward): New function.
12077         (sqrt_upward_test_data): New variable.
12078         (sqrt_test_upward): New function.
12079         (main): Call the new functions.
12081         * math/gen-auto-libm-tests.c: New file.
12082         * math/auto-libm-test-in: Likewise.
12083         * math/auto-libm-test-out: New generated file.
12084         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12085         variables.
12086         (%beautify): Add generated representations of zero.
12087         (top level): Set $auto_input and call parse_auto_input.
12088         (beautify): Remove trailing "f" from hex float constants.
12089         (parse_args): Handle XFAIL_TEST.
12090         (convert_condition): New function.
12091         (or_value): Likewise.
12092         (or_cond_value): Likewise.
12093         (generate_testfile): Handle AUTO_TESTS_* lines.
12094         (parse_auto_input): New function.
12095         * math/libm-test.inc (XFAIL_TEST): New macro.
12096         (ERRNO_UNCHANGED): Update value.
12097         (ERRNO_EDOM): Likewise.
12098         (ERRNO_ERANGE): Likewise.
12099         (IGNORE_RESULT): Likewise.
12100         (TEST_COND_flt_32): New macro.
12101         (TEST_COND_dbl_64): Likewise.
12102         (TEST_COND_ldbl_96_intel): Likewise.
12103         (TEST_COND_ldbl_96_m68k): Likewise.
12104         (TEST_COND_ldbl_128): Likewise.
12105         (TEST_COND_ldbl_128ibm): Likewise.
12106         (TEST_COND_long32): Likewise.
12107         (TEST_COND_long64): Likewise.
12108         (TEST_COND_before_rounding): Likewise.
12109         (TEST_COND_after_rounding): Likewise.
12110         (enable_test): Handle XFAIL_TEST flag.
12111         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12112         with finite results.
12113         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12114         auto-libm-test-out.
12116 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12117             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12119         [BZ #16214]
12120         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12121         __tls_get_addr_internal instead of __tls_get_offset in order to
12122         avoid GOT pointer dependency.  Make rtld export
12123         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12124         __tls_get_addr since we are a __tls_get_offset platform.
12125         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12126         GOT pointer being set up before.
12127         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12129 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
12131         * manual/math.texi (Errors in Math Functions): Document accuracy
12132         goals.
12134         [BZ #15004]
12135         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12136         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12137         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12138         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12139         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12140         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12141         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12142         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12143         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12144         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12145         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12146         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12147         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12148         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12149         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12150         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12152         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12153         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12154         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12155         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12156         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12157         Likewise.
12158         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12159         Likewise.
12160         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12161         Likewise.
12162         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12163         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12164         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12165         atomic-feupdateenv and flt-rounds.
12166         * sysdeps/powerpc/nofpu/Versions (libc): Add
12167         __atomic_feholdexcept, __atomic_feclearexcept,
12168         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12169         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12170         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12171         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12172         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12173         here.
12174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12175         Update.
12177         * manual/arith.texi (FP Exceptions): Document that exceptions may
12178         not be raised when matherr is used.
12179         (Math Error Reporting): Document overflow in directed rounding
12180         modes.  Document that errno may not be set when finite values are
12181         returned on overflow.  Document intent to set errno on underflow
12182         only for underflow to zero.
12184         [BZ #16271]
12185         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12186         round-to-nearest then adjust result for other rounding modes.
12187         * include/fenv.h (fegetround): Use libm_hidden_proto.
12188         * math/fegetround.c (fegetround): Use libm_hidden_def.
12189         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12190         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12191         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12192         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12193         Likewise.
12194         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12195         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12196         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12197         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12199 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12201         [BZ #16077]
12202         * nss/Versions (libnss_files): Add
12203         _nss_files_gethostbyname3_r.
12204         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12205         New function.
12206         (HOST_DB_LOOKUP): Remove macro.
12207         (_nss_files_gethostbyname_r): Implement function without the
12208         HOST_DB_LOOKUP macro.
12209         (_nss_files_gethostbyname2_r): Likewise.
12211 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
12213         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12215 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
12217         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12218         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12219         warning.
12221 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12223         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12224         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12225         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12226         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12227         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12228         __fe_nomask_env_priv and attribute_hidden.
12229         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12230         (libc_feupdateenv_test_ppc): Likewise.
12231         (libc_feresetround_ppc): Likewise.
12232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12233         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12234         compat_symbol macro.
12235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12236         (__fe_nomask_env): Likewise.
12237         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12239 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12241         * string/Makefile: Remove ifunc tests.
12242         * string/test-string.h: Define TEST_IFUNC.
12243         * string/test-bcopy-ifunc.c: Remove.
12244         * string/test-bzero-ifunc.c: Likewise.
12245         * string/test-memccpy-ifunc.c: Likewise.
12246         * string/test-memchr-ifunc.c: Likewise.
12247         * string/test-memcmp-ifunc.c: Likewise.
12248         * string/test-memcpy-ifunc.c: Likewise.
12249         * string/test-memmem-ifunc.c: Likewise.
12250         * string/test-memmove-ifunc.c: Likewise.
12251         * string/test-mempcpy-ifunc.c: Likewise.
12252         * string/test-memrchr-ifunc.c: Likewise.
12253         * string/test-memset-ifunc.c: Likewise.
12254         * string/test-rawmemchr-ifunc.c: Likewise.
12255         * string/test-stpcpy-ifunc.c: Likewise.
12256         * string/test-stpncpy-ifunc.c: Likewise.
12257         * string/test-strcasecmp-ifunc.c: Likewise.
12258         * string/test-strcasestr-ifunc.c: Likewise.
12259         * string/test-strcat-ifunc.c: Likewise.
12260         * string/test-strchr-ifunc.c: Likewise.
12261         * string/test-strchrnul-ifunc.c: Likewise.
12262         * string/test-strcmp-ifunc.c: Likewise.
12263         * string/test-strcpy-ifunc.c: Likewise.
12264         * string/test-strcspn-ifunc.c: Likewise.
12265         * string/test-strlen-ifunc.c: Likewise.
12266         * string/test-strncasecmp-ifunc.c: Likewise.
12267         * string/test-strncat-ifunc.c: Likewise.
12268         * string/test-strncmp-ifunc.c: Likewise.
12269         * string/test-strncpy-ifunc.c: Likewise.
12270         * string/test-strnlen-ifunc.c: Likewise.
12271         * string/test-strpbrk-ifunc.c: Likewise.
12272         * string/test-strrchr-ifunc.c: Likewise.
12273         * string/test-strspn-ifunc.c: Likewise.
12274         * string/test-strstr-ifunc.c: Likewise.
12276 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12278         * benchtests/Makefile: Remove ifunc tests.
12279         * benchtests/bench-string.h: Define TEST_IFUNC.
12280         * benchtests/bench-bcopy-ifunc.c: Remove.
12281         * benchtests/bench-bzero-ifunc.c: Likewise.
12282         * benchtests/bench-memccpy-ifunc.c: Likewise.
12283         * benchtests/bench-memchr-ifunc.c: Likewise.
12284         * benchtests/bench-memcmp-ifunc.c: Likewise.
12285         * benchtests/bench-memcpy-ifunc.c: Likewise.
12286         * benchtests/bench-memmem-ifunc.c: Likewise.
12287         * benchtests/bench-memmove-ifunc.c: Likewise.
12288         * benchtests/bench-mempcpy-ifunc.c: Likewise.
12289         * benchtests/bench-memrchr-ifunc.c: Likewise.
12290         * benchtests/bench-memset-ifunc.c: Likewise.
12291         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12292         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12293         * benchtests/bench-stpcpy-ifunc.c: Likewise.
12294         * benchtests/bench-stpncpy-ifunc.c: Likewise.
12295         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12296         * benchtests/bench-strcasestr-ifunc.c: Likewise.
12297         * benchtests/bench-strcat-ifunc.c: Likewise.
12298         * benchtests/bench-strchr-ifunc.c: Likewise.
12299         * benchtests/bench-strchrnul-ifunc.c: Likewise.
12300         * benchtests/bench-strcmp-ifunc.c: Likewise.
12301         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12302         * benchtests/bench-strcpy-ifunc.c: Likewise.
12303         * benchtests/bench-strcspn-ifunc.c: Likewise.
12304         * benchtests/bench-strlen-ifunc.c: Likewise.
12305         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12306         * benchtests/bench-strncat-ifunc.c: Likewise.
12307         * benchtests/bench-strncmp-ifunc.c: Likewise.
12308         * benchtests/bench-strncpy-ifunc.c: Likewise.
12309         * benchtests/bench-strnlen-ifunc.c: Likewise.
12310         * benchtests/bench-strpbrk-ifunc.c: Likewise.
12311         * benchtests/bench-strrchr-ifunc.c: Likewise.
12312         * benchtests/bench-strsep-ifunc.c: Likewise.
12313         * benchtests/bench-strspn-ifunc.c: Likewise.
12314         * benchtests/bench-strstr-ifunc.c: Likewise.
12316 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12318         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12320 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12322         * resolv/netdb.h: Use __glibc_reserved instead __unused.
12323         * rt/aio.h: Likewise.
12324         * sysdeps/gnu/bits/utmp.h: Likewise.
12325         * sysdeps/gnu/bits/utmpx.h: Likewise.
12326         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12327         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12328         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12329         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12330         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12331         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12332         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12333         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12334         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12335         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12336         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12337         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12338         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12340         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12341         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12342         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12343         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12344         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12345         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12346         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12347         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12348         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12349         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12350         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12351         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12352         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12353         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12354         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12355         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12356         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12357         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12358         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12359         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12360         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12361         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12362         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12363         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12364         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12365         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12366         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12367         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12369 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
12371         [BZ #16245]
12372         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12373         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12375 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
12377         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12378         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12379         Likewise.
12381 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12383         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12384         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12385         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12386         (__fesetround): Remove define.
12387         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12388         rounding and exceptions handling.
12389         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12390         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12391         (__fe_nomask_env): Likewise.
12392         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12393         __fegetround instead of fegetround.
12394         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12395         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12397 2013-11-21  Roland McGrath  <roland@hack.frob.com>
12399         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12400         it's there.
12402         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12404 2013-11-21  Meador Inge  <meadori@codesourcery.com>
12406         [BZ #11157]
12407         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12408         (encrypt_r): Likewise.
12409         * malloc/obstack.h (obstack_free): Likewise.
12410         * posix/unistd.h (encrypt): Likewise.
12412 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
12414         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12415         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12416         DL_CALL_DT_FINI() that call the functions directly.
12417         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12418         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12419         * elf/dl-fini.c: Likewise.
12421 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
12423         * malloc/hooks.c (memalign_check): Add alignment rounding.
12424         * malloc/malloc.c (_mid_memalign): New function.
12425         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12426         Implement by calling _mid_memalign.
12427         * manual/probes.texi (Memory Allocation Probes): Remove
12428         memory_valloc_retry and memory_pvalloc_retry.
12430 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12432         * locale/programs/locarchive.c (open_archive): Add const
12433         qualifier to ARCHIVEFNAME and copy default fname to
12434         DEFAULT_FNAME.
12436         [BZ #15601]
12437         * libio/tst-widetext.input: Rename Oriya to Odia.
12438         * locale/iso-639.def: Likewise.
12440         * manual/probes.texi (Mathematical Function Probes): Add
12441         documentation for sin, cos, asin and acos probes.
12442         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12443         (__sin32): Add slowasin probe.
12444         (__cos32): Add slowacos probe.
12445         (__mpsin): Add slowsin probe.
12446         (__mpcos): Add slowcos probe.
12448 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
12450         [BZ #15483]
12451         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12452         thread-local __sim_exceptions_thread and global
12453         __sim_exceptions_global.
12454         (__sim_disabled_exceptions): Change to thread-local
12455         __sim_disabled_exceptions_thread and global
12456         __sim_disabled_exceptions_global.
12457         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12458         and global __sim_round_mode_global.
12459         (__simulate_exceptions): Use thread-local floating-point state and
12460         set global state from it as needed.
12461         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12462         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12463         __sim_round_mode_thread.
12464         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12465         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12466         and global __sim_exceptions_global.
12467         (__sim_disabled_exceptions): Change to thread-local
12468         __sim_disabled_exceptions_thread and global
12469         __sim_disabled_exceptions_global.
12470         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12471         and global __sim_round_mode_global.
12472         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12473         (SIM_SET_GLOBAL): Likewise.
12474         * sysdeps/powerpc/soft-fp/sfp-machine.h
12475         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12476         __sim_round_mode_thread.
12477         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12478         __sim_disabled_exceptions_thread.
12479         (__sim_exceptions): Change to __sim_exceptions_thread.
12480         (__sim_disabled_exceptions): Change to
12481         __sim_disabled_exceptions_thread.
12482         (__sim_round_mode): Change to __sim_round_mode_thread.
12483         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12484         thread-local floating-point state and set global state from it as
12485         needed.
12486         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12487         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12488         (__sim_disabled_exceptions): Remove extern declaration.
12489         (feenableexcept): Use thread-local floating-point state and set
12490         global state from it as needed.
12491         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12492         extern declaration.
12493         (__sim_disabled_exceptions): Likewise.
12494         (__sim_round_mode): Likewise.
12495         (__fegetenv): Use thread-local floating-point state.
12496         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12497         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12498         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12499         floating-point state and set global state from it as needed.
12500         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12501         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12502         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12503         Likewise.
12504         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12505         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12506         Likewise.
12507         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12508         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12509         Use __sim_round_mode_thread.
12510         * math/test-fenv-tls.c: New file.
12511         * math/Makefile (tests): Add test-fenv-tls.
12512         ($(objpfx)test-fenv-tls): Depend on
12513         $(common-objpfx)nptl/libpthread.so.
12515 2013-11-19  Andreas Schwab  <schwab@suse.de>
12517         * locale/programs/locale.c (show_info): Decode wordarray elements.
12518         * locale/categories.def (LC_MONETARY): Add element for
12519         _NL_MONETARY_CRNCYSTR.
12520         * locale/C-monetary.c (conversion_rate): New variable.
12521         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12522         element.
12524 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
12526         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12527         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12529 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12531         * elf/Makefile (tst-auxv): New test.
12532         * elf/tst-auxv.c: New
12533         * elf/rtld.c (dl_main): Adjust AT_EXECFN
12535 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
12537         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12538         (hidden_proto): Caller changed.
12539         (hidden_tls_proto): New macro.
12540         (libc_hidden_tls_proto): Likewise.
12541         (rtld_hidden_tls_proto): Likewise.
12542         (libm_hidden_tls_proto): Likewise.
12543         (libresolv_hidden_tls_proto): Likewise.
12544         (librt_hidden_tls_proto): Likewise.
12545         (libdl_hidden_tls_proto): Likewise.
12546         (libnss_files_hidden_tls_proto): Likewise.
12547         (libnsl_hidden_tls_proto): Likewise.
12548         (libnss_nisplus_hidden_tls_proto): Likewise.
12549         (libutil_hidden_tls_proto): Likewise.
12551 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
12553         [BZ #10253]
12554         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12555         (decompose_rpath): Defer expansion to fillin_rpath.
12556         (_dl_init_paths): Pass linkmap to fillin_rpath.
12558 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12560         * benchtests/Makefile: Add strsep.
12561         * benchtests/bench-strsep.c: New file: strsep benchtest.
12562         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12564 2013-11-18  Andreas Schwab  <schwab@suse.de>
12566         * locale/programs/locale.c (show_info) [case byte]: Check for
12567         '\377' instead of '\177'.
12568         * locale/C-monetary.c (not_available): Always use "\377".
12569         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12570         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
12571         detect unavailable sign_posn locale elements.
12572         * locale/localeconv.c (__localeconv): For grouping and
12573         mon_grouping handle "\177" and "\377" like no grouping.
12574         (INT_ELEM): New macro.  Use it to set all numeric members.
12575         * locale/programs/ld-monetary.c (monetary_read)
12576         <tok_mon_grouping>: Normalize single -1 to the empty string.
12577         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12578         Likewise.
12580 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12582         [BZ #16055]
12583         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12584         when we match (nil).
12585         * stdio-common/tst-sscanf.c (struct test): Add testcase.
12587 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
12589         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12590         (NO_TEST_INLINE): Update value.
12591         (ERRNO_UNCHANGED): Likewise.
12592         (ERRNO_EDOM): Likewise.
12593         (ERRNO_ERANGE): Likewise.
12594         (IGNORE_RESULT): Likewise.
12595         (check_float_internal): Check signs of NaN results if
12596         TEST_NAN_SIGN used.
12597         (check_complex): Pass TEST_NAN_SIGN flag through to second
12598         check_float_internal call.
12599         (copysign_test_data): Add tests with quiet NaNs as second
12600         argument.  Use TEST_NAN_SIGN.
12601         (fabs_test_data): Add test of negative quiet NaN argument.  Use
12602         TEST_NAN_SIGN.
12603         (signbit_test_data): Add tests of quiet NaN argument.
12604         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12606         * math/gen-libm-test.pl (show_exceptions): Take extra argument
12607         $ignore_result.
12608         (parse_args): Handle function results specified as IGNORE.
12609         * math/libm-test.inc (IGNORE_RESULT): New macro.
12610         (check_float_internal): Do not check numerical result if flag
12611         IGNORE_RESULT set.
12612         (check_complex): Pass through IGNORE_RESULT to second
12613         check_float_internal call.
12614         (check_int): Do not check numerical result if flag IGNORE_RESULT
12615         set.
12616         (check_long): Likewise.
12617         (check_bool): Likewise.
12618         (check_longlong): Likewise.
12619         (lrint_test_data): Add tests of infinite and NaN arguments.
12620         (lrint_tonearest_test_data): Likewise.
12621         (lrint_towardzero_test_data): Likewise.
12622         (lrint_downward_test_data): Likewise.
12623         (lrint_upward_test_data): Likewise.
12624         (llrint_test_data): Likewise.
12625         (llrint_tonearest_test_data): Likewise.
12626         (llrint_towardzero_test_data): Likewise.
12627         (llrint_downward_test_data): Likewise.
12628         (llrint_upward_test_data): Likewise.
12629         (lround_test_data): Likewise.
12630         (llround_test_data): Likewise.
12632         * math/libm-test.inc (NO_TEST_INLINE): New macro.
12633         (ERRNO_UNCHANGED): Update value.
12634         (ERRNO_EDOM): Likewise.
12635         (ERRNO_ERANGE): Likewise.
12636         (NO_TEST_INLINE_FLOAT): New macro.
12637         (NO_TEST_INLINE_DOUBLE): Likewise.
12638         (enable_test): New function.
12639         (RUN_TEST_f_f): Check enable_test before running test.
12640         (RUN_TEST_2_f): Likewise.
12641         (RUN_TEST_fff_f): Likewise.
12642         (RUN_TEST_c_f): Likewise.
12643         (RUN_TEST_f_f1): Likewise.
12644         (RUN_TEST_fF_f1): Likewise.
12645         (RUN_TEST_fI_f1): Likewise.
12646         (RUN_TEST_ffI_f1): Likewise.
12647         (RUN_TEST_c_c): Likewise.
12648         (RUN_TEST_cc_c): Likewise.
12649         (RUN_TEST_f_i): Likewise.
12650         (RUN_TEST_f_i_tg): Likewise.
12651         (RUN_TEST_ff_i_tg): Likewise.
12652         (RUN_TEST_f_b): Likewise.
12653         (RUN_TEST_f_b_tg): Likewise.
12654         (RUN_TEST_f_l): Likewise.
12655         (RUN_TEST_f_L): Likewise.
12656         (RUN_TEST_fFF_11): Likewise.
12657         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12658         conditionals.
12659         (cosh_test_data): Likewise.
12660         (exp_test_data): Likewise.
12661         (expm1_test_data): Likewise.
12662         (hypot_test_data): Likewise.
12663         (pow_test_data): Likewise.
12664         (sinh_test_data): Likewise.
12665         (tanh_test_data): Likewise.
12666         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12667         flags argument.
12669         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12670         tests with quiet NaN input and output.
12671         (acosh_test_data): Likewise.
12672         (asin_test_data): Likewise.
12673         (asinh_test_data): Likewise.
12674         (atan_test_data): Likewise.
12675         (atanh_test_data): Likewise.
12676         (atan2_test_data): Likewise.
12677         (cbrt_test_data): Likewise.
12678         (cos_test_data): Likewise.
12679         (cosh_test_data): Likewise.
12680         (erf_test_data): Likewise.
12681         (erfc_test_data): Likewise.
12682         (exp_test_data): Likewise.
12683         (exp10_test_data): Likewise.
12684         (exp2_test_data): Likewise.
12685         (expm1_test_data): Likewise.
12686         (hypot_test_data): Likewise.
12687         (j0_test_data): Likewise.
12688         (j1_test_data): Likewise.
12689         (jn_test_data): Likewise.
12690         (lgamma_test_data): Likewise.
12691         (log_test_data): Likewise.
12692         (log10_test_data): Likewise.
12693         (log1p_test_data): Likewise.
12694         (log2_test_data): Likewise.
12695         (pow_test_data): Likewise.
12696         (scalb_test_data): Likewise.
12697         (sin_test_data): Likewise.
12698         (sincos_test_data): Likewise.
12699         (sinh_test_data): Likewise.
12700         (tan_test_data): Likewise.
12701         (tanh_test_data): Likewise.
12702         (tgamma_test_data): Likewise.
12703         (y0_test_data): Likewise.
12704         (y1_test_data): Likewise.
12705         (yn_test_data): Likewise.
12707         [BZ #16167]
12708         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12709         argument being NaN and avoid computations with second argument in
12710         that case.
12711         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12712         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12713         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12715 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
12717         * locale/iso-639.def: Add Chitwani Tharu (the).
12719 2013-11-14  Andreas Schwab  <schwab@suse.de>
12721         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12722         word instead of empty string.
12724 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12727         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12729         (__fe_nomask_env): Likewise.
12731 2013-11-13  Steve Ellcey  <sellcey@mips.com>
12733         * benchtests/bench-timing.h: Include time.h.
12735 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
12737         [BZ #15997]
12738         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12739         to 3.4.0 for x32.
12740         * sysdeps/unix/sysv/linux/configure: Regenerated.
12742 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
12744         [BZ #16151]
12745         * stdlib/strtod_l.c (round_and_return): Do not consider
12746         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12747         exponent one less than half the least subnormal exponent.
12748         * stdlib/test-strtod-round-data: Add more tests.
12749         * stdlib/tst-strtod-round.c (tests): Regenerated.
12751 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12753         [BZ #14143]
12754         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12755         (__fe_mask_env): Likewise.
12756         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12757         libm_hidden_proto and add function prototype.
12758         (__fe_mask_env): Add function prototype.
12759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12760         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12762         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12764         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12766 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12768         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12769         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12771 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12773         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12774         of htab_find_slot().
12776 2013-11-11  David S. Miller  <davem@davemloft.net>
12778         [BZ #16150]
12779         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12780         symbol in the non-vis3 case in static builds.
12781         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12782         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12783         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12784         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12786 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
12788         [BZ #387]
12789         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12790         it is empty.
12792 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12794         * benchtests/Makefile: Add bench-strtod.
12795         * benchtests/bench-strtod.c: New file: strtod benchtest
12797 2013-11-11  Andreas Schwab  <schwab@suse.de>
12799         [BZ #16153]
12800         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12801         terminating NUL in key length.
12803 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12805         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12806         Add artificial ODP entry for vDSO symbol for PPC64.
12807         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12808         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12810 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12812         [BZ #15374]
12813         * nss/getent.c (services_keys): Recognize services starting with digit.
12815 2013-11-06  David S. Miller  <davem@davemloft.net>
12817         [BZ #15985]
12818         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12819         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12821 2013-11-06  Will Newton  <will.newton@linaro.org>
12823         * manual/memory.texi (Malloc Examples): Remove register
12824         keyword from examples.
12826 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
12828         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
12830 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
12832         [BZ #6981]
12833         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12834         depending on [__GCC_IEC_559 > 0].
12835         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12836         depending on [__GCC_IEC_559_COMPLEX > 0].
12838 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
12840         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12841         to iso-639.def.
12843 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
12845         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12847 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
12849         [BZ #16112]
12850         * malloc/malloc (malloc_info): Do not handle first bin as
12851         special case.
12853 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
12855         * locale/iso-639.def: Add Central Nahuatl (nhn).
12857 2013-11-01  Bruno Haible  <bruno@clisp.org>
12859         [BZ #7003]
12860         * manual/math.texi (BSD Random): Specify range upper bound as
12861         in POSIX.
12863 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
12865         * locale/iso-639.def: Add Meadow Mari (mhr).
12867 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
12869         [BZ #14752], [BZ #15763]
12870         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12871         Validate name.
12872         * rt/tst_shm.c: Add test for escaping directory.
12874 2013-10-31  Andreas Schwab  <schwab@suse.de>
12876         [BZ #15917]
12877         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12878         followed by 'x' as part of digit sequence.
12879         * stdio-common/tst-sscanf.c (double_tests2): New tests.
12881 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12883         [BZ #16037]
12884         * configure.ac: allow GNU Make 4.0 and greater.
12885         * configure: Regenerated.
12887 2013-10-30  Will Newton  <will.newton@linaro.org>
12889         [BZ #16038]
12890         * malloc/hooks.c (memalign_check): Limit alignment to the
12891         maximum representable power of two.
12892         * malloc/malloc.c (__libc_memalign): Likewise.
12893         * malloc/tst-memalign.c (do_test): Add test for very
12894         large alignment values.
12895         * malloc/tst-posix_memalign.c (do_test): Likewise.
12897 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
12899         [BZ #11087]
12900         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12901         (munmap_chunk): Likewise.
12902         (mremap_chunk): Likewise.
12904 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
12906         [BZ #15799]
12907         * stdlib/div.c (div): Remove obsolete code.
12908         * stdlib/ldiv.c (ldiv): Likewise.
12909         * stdlib/lldiv.c (lldiv): Likewise.
12911 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12913         [BZ #16071]
12914         * nss/nss_files/files-XXX.c (get_contents_ret): New
12915         enumerator.
12916         (get_contents): New function.
12917         (internal_getent): Use it.  Expand size of LINEBUFLEN.
12919 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
12921         * configure.in: Moved to ...
12922         * configure.ac: ... here. Change reference to configure.in
12923         to configure.ac.
12924         * sysdeps/arm/preconfigure.ac: ... here.
12925         configure.in to configure.ac.
12926         * sysdeps/gnu/configure.in: Moved to ...
12927         * sysdeps/gnu/configure.ac: ... here.
12928         * sysdeps/i386/configure.in: Moved to ...
12929         * sysdeps/i386/configure.ac: ... here.
12930         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12931         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12932         * sysdeps/mach/configure.in: Moved to ...
12933         * sysdeps/mach/configure.ac: ... here.
12934         * sysdeps/mach/hurd/configure.in: Moved to ...
12935         * sysdeps/mach/hurd/configure.ac: ... here.
12936         * sysdeps/powerpc/configure.in: Moved to ...
12937         * sysdeps/powerpc/configure.ac: ... here.
12938         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12939         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12940         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12941         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12942         * sysdeps/s390/s390-32/configure.in: Moved to ...
12943         * sysdeps/s390/s390-32/configure.ac: ... here.
12944         * sysdeps/s390/s390-64/configure.in: Moved to ...
12945         * sysdeps/s390/s390-64/configure.ac: ... here.
12946         * sysdeps/sh/configure.in: Moved to ...
12947         * sysdeps/sh/configure.ac: ... here.
12948         * sysdeps/sparc/configure.in: Moved to ...
12949         * sysdeps/sparc/configure.ac: ... here.
12950         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12951         * sysdeps/unix/sysv/linux/configure.ac: ... here.
12952         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12953         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12954         * sysdeps/x86_64/configure.in: Moved to ...
12955         * sysdeps/x86_64/configure.ac: ... here.
12956         * sysdeps/x86_64/preconfigure.in: Moved to ...
12957         * sysdeps/x86_64/preconfigure.ac: ... here.
12958         * aclocal.m4: Change reference to configure.in to configure.ac.
12959         * config.h.in: Likewise.
12960         * manual/install.texi: Likewise.
12961         * manual/maint.texi: Likewise.
12962         * Makefile: Likewise.
12963         * malloc/Makefile: Likewise.
12964         * nscd/Makefile: Likewise.
12965         * Makeconfig: Change reference to configure.in and
12966         preconfigure.in to configure.ac and preconfigure.ac
12967         respectively.
12968         * INSTALL: Regenerated.
12969         * configure: Likewise.
12970         * sysdeps/gnu/configure: Likewise.
12971         * sysdeps/i386/configure: Likewise.
12972         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12973         * sysdeps/mach/configure: Likewise.
12974         * sysdeps/mach/hurd/configure: Likewise.
12975         * sysdeps/powerpc/configure: Likewise.
12976         * sysdeps/powerpc/powerpc32/configure: Likewise.
12977         * sysdeps/powerpc/powerpc64/configure: Likewise.
12978         * sysdeps/s390/s390-32/configure: Likewise.
12979         * sysdeps/s390/s390-64/configure: Likewise.
12980         * sysdeps/sh/configure: Likewise.
12981         * sysdeps/sparc/configure: Likewise.
12982         * sysdeps/unix/sysv/linux/configure: Likewise.
12983         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12984         * sysdeps/x86_64/configure: Likewise.
12985         * sysdeps/x86_64/preconfigure: Likewise.
12987 2013-10-29  Andreas Schwab  <schwab@suse.de>
12989         * stdio-common/Makefile (tst-swscanf-ENV): Define.
12991 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12993         * benchtests/pow-inputs: Add new inputs.
12995         * benchtests/exp-inputs: Add new inputs.
12997         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12998         conditional check for return value.
12999         (__cos32): Likewise.
13001 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13003         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13004         to provide a boost for large inputs with word alignment.
13005         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13006         implementation based on optimized PPC64 strcpy.
13007         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13008         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13009         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13010         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13012 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13014         [BZ #2801]
13015         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13017 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13019         [BZ #14876]
13020         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13021         * time/tst-strptime.c (day_tests): Add testcase.
13023 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13025         [BZ #14029]
13026         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13028 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13030         [BZ #16074]
13031         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13032         MAP_FAILED on error.
13034 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13036         [BZ #16072]
13037         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13038         heap for large requests.
13040 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13042         [BZ #9954]
13043         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13044         result if the result has no associated interface.
13045         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13046         interface for all 127.X.Y.Z addresses.
13048 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13050         * locale/iso-639.def: Add Ligurian (lij)
13052 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13054         [BZ #15825]
13055         * sunrpc/rpc_main.c: Document rpcgen -5.
13057 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13059         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13061 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13063         [BZ #10278]
13064         * posix/glob.c: Match only directories when trailing slash is present.
13065         * posix/tst-gnuglob.c (my_opendir): Do not open files.
13066         (main): Add testcase.
13068 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13070         [BZ #15670]
13071         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13073 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
13075         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13076         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13077         AUTH_DES and cindex for FIPS 140-2.
13078         (DES Encryption): Add cindex FIPS 46-3.
13080         * locale/locarchive.h (struct locarhandle): Add fname.
13081         * locale/programs/localedef.c (main): Pass ARGV[remaining]
13082         if an optional argument was specified to --list-archive,
13083         otherwise NULL.
13084         * locale/programs/locarchive.c (show_archive_content): Take new
13085         argument fname and pass it via ah.fname to open_archive.
13086         * locale/programs/localedef.h: Update decl.
13087         (open_archive): If AH->fname is non-null, open that file
13088         rather than the default file name, and don't ignore ENOENT.
13089         (create_archive): Set AH.fname to NULL.
13090         (delete_locales_from_archive): Likewise.
13091         (add_locales_to_archive): Likewise.
13092         * locale/programs/locfile.c (write_all_categories): Likewise.
13094 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
13095             Aldy Hernandez  <aldyh@redhat.com>
13097         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13098         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13099         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13100         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13101         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13102         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13103         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13104         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13105         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13106         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13107         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13108         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13109         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13110         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13111         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13112         Likewise.
13113         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13114         Likewise.
13115         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13116         Likewise.
13117         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13118         Likewise.
13119         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13120         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13121         Likewise.
13122         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13123         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13124         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13125         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13126         Likewise.
13127         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13128         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13129         * sysdeps/powerpc/preconfigure: Likewise.
13130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13131         Likewise.
13132         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13133         Replace contents of file by #include of <fenv_libc.h>.
13134         * sysdeps/powerpc/soft-fp/sfp-machine.h
13135         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13136         and <sys/prctl.h>.
13137         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13138         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13139         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13140         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13141         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13142         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13143         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13144         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13145         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13146         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13147         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13148         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13150         Allow copysignl PLT reference to be missing.
13152 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
13153             Joseph Myers  <joseph@codesourcery.com
13155         [BZ #15948]
13156         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13157         single character.
13158         (add_to_tablewc): Assert sequence of wide characters is nonempty.
13160 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13162         * elf/tst-tls-dlinfo.c: Don't include tls.h.
13163         * elf/tst-tls1.c: Likewise.
13164         * elf/tst-tls10.h: Likewise.
13165         * elf/tst-tls14.c: Likewise.
13166         * elf/tst-tls2.c: Likewise.
13167         * elf/tst-tls3.c: Likewise.
13168         * elf/tst-tls4.c: Likewise.
13169         * elf/tst-tls5.c: Likewise.
13170         * elf/tst-tls6.c: Likewise.
13171         * elf/tst-tls7.c: Likewise.
13172         * elf/tst-tls8.c: Likewise.
13173         * elf/tst-tls9.c: Likewise.
13174         * elf/tst-tlsmod1.c: Likewise.
13175         * elf/tst-tlsmod13.c: Likewise.
13176         * elf/tst-tlsmod13a.c: Likewise.
13177         * elf/tst-tlsmod14a.c: Likewise.
13178         * elf/tst-tlsmod16a.c: Likewise.
13179         * elf/tst-tlsmod16b.c: Likewise.
13180         * elf/tst-tlsmod2.c: Likewise.
13181         * elf/tst-tlsmod3.c: Likewise.
13182         * elf/tst-tlsmod4.c: Likewise.
13183         * elf/tst-tlsmod5.c: Likewise.
13184         * elf/tst-tlsmod6.c: Likewise.
13186 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
13188         [BZ #12486]
13189         * malloc/malloc.c: remove checks for statistics.
13191 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13193         [BZ #15277]
13194         * inet/inet_net.c (inet_network): Detect additional invalid strings.
13195         * inet/tst-network.c: Add testcase.
13197 2013-10-17  Andreas Schwab  <schwab@suse.de>
13199         [BZ #15218]
13200         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13201         to determine canonical name.
13203 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13205         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13206         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13207         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13208         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13209         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13210         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13211         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13212         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13213         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13214         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13215         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13216         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13217         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13218         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13219         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13220         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13221         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13222         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13223         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13224         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13225         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13226         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13227         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13228         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13229         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13230         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13231         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13232         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13233         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13234         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13235         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13236         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13237         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13238         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13239         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13240         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13241         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13242         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13243         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13244         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13245         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13246         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13247         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13248         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13249         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13250         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13251         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13252         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13253         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13254         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13255         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13256         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13257         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13258         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13259         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13260         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13261         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13262         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13264 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
13266         [BZ #16041]
13267         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13268         make result into a quiet NaN.
13270 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
13272         * soft-fp/adddf3.c: Fix horizontal whitespace.
13273         * soft-fp/addsf3.c: Likewise.
13274         * soft-fp/addtf3.c: Likewise.
13275         * soft-fp/divdf3.c: Likewise.
13276         * soft-fp/divsf3.c: Likewise.
13277         * soft-fp/divtf3.c: Likewise.
13278         * soft-fp/double.h: Likewise.
13279         * soft-fp/eqdf2.c: Likewise.
13280         * soft-fp/eqsf2.c: Likewise.
13281         * soft-fp/eqtf2.c: Likewise.
13282         * soft-fp/extenddftf2.c: Likewise.
13283         * soft-fp/extended.h: Likewise.
13284         * soft-fp/extendsfdf2.c: Likewise.
13285         * soft-fp/extendsftf2.c: Likewise.
13286         * soft-fp/extendxftf2.c: Likewise.
13287         * soft-fp/fixdfdi.c: Likewise.
13288         * soft-fp/fixdfsi.c: Likewise.
13289         * soft-fp/fixdfti.c: Likewise.
13290         * soft-fp/fixsfdi.c: Likewise.
13291         * soft-fp/fixsfsi.c: Likewise.
13292         * soft-fp/fixsfti.c: Likewise.
13293         * soft-fp/fixtfdi.c: Likewise.
13294         * soft-fp/fixtfsi.c: Likewise.
13295         * soft-fp/fixtfti.c: Likewise.
13296         * soft-fp/fixunsdfdi.c: Likewise.
13297         * soft-fp/fixunsdfsi.c: Likewise.
13298         * soft-fp/fixunsdfti.c: Likewise.
13299         * soft-fp/fixunssfdi.c: Likewise.
13300         * soft-fp/fixunssfsi.c: Likewise.
13301         * soft-fp/fixunssfti.c: Likewise.
13302         * soft-fp/fixunstfdi.c: Likewise.
13303         * soft-fp/fixunstfsi.c: Likewise.
13304         * soft-fp/fixunstfti.c: Likewise.
13305         * soft-fp/floatdidf.c: Likewise.
13306         * soft-fp/floatdisf.c: Likewise.
13307         * soft-fp/floatditf.c: Likewise.
13308         * soft-fp/floatsidf.c: Likewise.
13309         * soft-fp/floatsisf.c: Likewise.
13310         * soft-fp/floatsitf.c: Likewise.
13311         * soft-fp/floattidf.c: Likewise.
13312         * soft-fp/floattisf.c: Likewise.
13313         * soft-fp/floattitf.c: Likewise.
13314         * soft-fp/floatundidf.c: Likewise.
13315         * soft-fp/floatundisf.c: Likewise.
13316         * soft-fp/floatunditf.c: Likewise.
13317         * soft-fp/floatunsidf.c: Likewise.
13318         * soft-fp/floatunsisf.c: Likewise.
13319         * soft-fp/floatunsitf.c: Likewise.
13320         * soft-fp/floatuntidf.c: Likewise.
13321         * soft-fp/floatuntisf.c: Likewise.
13322         * soft-fp/floatuntitf.c: Likewise.
13323         * soft-fp/fmadf4.c: Likewise.
13324         * soft-fp/fmasf4.c: Likewise.
13325         * soft-fp/fmatf4.c: Likewise.
13326         * soft-fp/gedf2.c: Likewise.
13327         * soft-fp/gesf2.c: Likewise.
13328         * soft-fp/getf2.c: Likewise.
13329         * soft-fp/ledf2.c: Likewise.
13330         * soft-fp/lesf2.c: Likewise.
13331         * soft-fp/letf2.c: Likewise.
13332         * soft-fp/muldf3.c: Likewise.
13333         * soft-fp/mulsf3.c: Likewise.
13334         * soft-fp/multf3.c: Likewise.
13335         * soft-fp/negdf2.c: Likewise.
13336         * soft-fp/negsf2.c: Likewise.
13337         * soft-fp/negtf2.c: Likewise.
13338         * soft-fp/op-1.h: Likewise.
13339         * soft-fp/op-2.h: Likewise.
13340         * soft-fp/op-4.h: Likewise.
13341         * soft-fp/op-8.h: Likewise.
13342         * soft-fp/op-common.h: Likewise.
13343         * soft-fp/quad.h: Likewise.
13344         * soft-fp/single.h: Likewise.
13345         * soft-fp/soft-fp.h: Likewise.
13346         * soft-fp/sqrtdf2.c: Likewise.
13347         * soft-fp/sqrtsf2.c: Likewise.
13348         * soft-fp/sqrttf2.c: Likewise.
13349         * soft-fp/subdf3.c: Likewise.
13350         * soft-fp/subsf3.c: Likewise.
13351         * soft-fp/subtf3.c: Likewise.
13352         * soft-fp/truncdfsf2.c: Likewise.
13353         * soft-fp/trunctfdf2.c: Likewise.
13354         * soft-fp/trunctfsf2.c: Likewise.
13355         * soft-fp/trunctfxf2.c: Likewise.
13356         * soft-fp/unorddf2.c: Likewise.
13357         * soft-fp/unordsf2.c: Likewise.
13358         * soft-fp/unordtf2.c: Likewise.
13360 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
13362         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13363         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13365 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
13367         * elf/dl-libc.c: Clear initfini list after freeing.
13369 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
13371         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13372         * soft-fp/addsf3.c: Likewise.
13373         * soft-fp/addtf3.c: Likewise.
13374         * soft-fp/divdf3.c: Likewise.
13375         * soft-fp/divsf3.c: Likewise.
13376         * soft-fp/divtf3.c: Likewise.
13377         * soft-fp/double.h: Likewise.
13378         * soft-fp/eqdf2.c: Likewise.
13379         * soft-fp/eqsf2.c: Likewise.
13380         * soft-fp/eqtf2.c: Likewise.
13381         * soft-fp/extenddftf2.c: Likewise.
13382         * soft-fp/extended.h: Likewise.
13383         * soft-fp/extendsfdf2.c: Likewise.
13384         * soft-fp/extendsftf2.c: Likewise.
13385         * soft-fp/extendxftf2.c: Likewise.
13386         * soft-fp/fixdfdi.c: Likewise.
13387         * soft-fp/fixdfsi.c: Likewise.
13388         * soft-fp/fixdfti.c: Likewise.
13389         * soft-fp/fixsfdi.c: Likewise.
13390         * soft-fp/fixsfsi.c: Likewise.
13391         * soft-fp/fixsfti.c: Likewise.
13392         * soft-fp/fixtfdi.c: Likewise.
13393         * soft-fp/fixtfsi.c: Likewise.
13394         * soft-fp/fixtfti.c: Likewise.
13395         * soft-fp/fixunsdfdi.c: Likewise.
13396         * soft-fp/fixunsdfsi.c: Likewise.
13397         * soft-fp/fixunsdfti.c: Likewise.
13398         * soft-fp/fixunssfdi.c: Likewise.
13399         * soft-fp/fixunssfsi.c: Likewise.
13400         * soft-fp/fixunssfti.c: Likewise.
13401         * soft-fp/fixunstfdi.c: Likewise.
13402         * soft-fp/fixunstfsi.c: Likewise.
13403         * soft-fp/fixunstfti.c: Likewise.
13404         * soft-fp/floatdidf.c: Likewise.
13405         * soft-fp/floatdisf.c: Likewise.
13406         * soft-fp/floatditf.c: Likewise.
13407         * soft-fp/floatsidf.c: Likewise.
13408         * soft-fp/floatsisf.c: Likewise.
13409         * soft-fp/floatsitf.c: Likewise.
13410         * soft-fp/floattidf.c: Likewise.
13411         * soft-fp/floattisf.c: Likewise.
13412         * soft-fp/floattitf.c: Likewise.
13413         * soft-fp/floatundidf.c: Likewise.
13414         * soft-fp/floatundisf.c: Likewise.
13415         * soft-fp/floatunsidf.c: Likewise.
13416         * soft-fp/floatunsisf.c: Likewise.
13417         * soft-fp/floatuntidf.c: Likewise.
13418         * soft-fp/floatuntisf.c: Likewise.
13419         * soft-fp/floatuntitf.c: Likewise.
13420         * soft-fp/fmadf4.c: Likewise.
13421         * soft-fp/fmasf4.c: Likewise.
13422         * soft-fp/fmatf4.c: Likewise.
13423         * soft-fp/gedf2.c: Likewise.
13424         * soft-fp/gesf2.c: Likewise.
13425         * soft-fp/getf2.c: Likewise.
13426         * soft-fp/ledf2.c: Likewise.
13427         * soft-fp/lesf2.c: Likewise.
13428         * soft-fp/letf2.c: Likewise.
13429         * soft-fp/muldf3.c: Likewise.
13430         * soft-fp/mulsf3.c: Likewise.
13431         * soft-fp/multf3.c: Likewise.
13432         * soft-fp/negdf2.c: Likewise.
13433         * soft-fp/negsf2.c: Likewise.
13434         * soft-fp/negtf2.c: Likewise.
13435         * soft-fp/op-1.h: Likewise.
13436         * soft-fp/op-2.h: Likewise.
13437         * soft-fp/op-4.h: Likewise.
13438         * soft-fp/op-8.h: Likewise.
13439         * soft-fp/op-common.h: Likewise.
13440         * soft-fp/quad.h: Likewise.
13441         * soft-fp/single.h: Likewise.
13442         * soft-fp/soft-fp.h: Likewise.
13443         * soft-fp/sqrtdf2.c: Likewise.
13444         * soft-fp/sqrtsf2.c: Likewise.
13445         * soft-fp/sqrttf2.c: Likewise.
13446         * soft-fp/subdf3.c: Likewise.
13447         * soft-fp/subsf3.c: Likewise.
13448         * soft-fp/subtf3.c: Likewise.
13449         * soft-fp/truncdfsf2.c: Likewise.
13450         * soft-fp/trunctfdf2.c: Likewise.
13451         * soft-fp/trunctfsf2.c: Likewise.
13452         * soft-fp/trunctfxf2.c: Likewise.
13453         * soft-fp/unorddf2.c: Likewise.
13454         * soft-fp/unordsf2.c: Likewise.
13455         * soft-fp/unordtf2.c: Likewise.
13457 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
13459         [BZ #15672]
13460         * misc/error.c (error_tail): Fix possible buffer overflow.
13462 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
13464         [BZ #13028]
13465         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13466         address.
13468 2013-10-14  P. J. McDermott  <pj@pehjota.net>
13470         [BZ #832]
13471         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
13472         testing pipefail option.
13474 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13476         * soft-fp/double.h: Indent preprocessor directives inside #if.
13477         * soft-fp/extended.h: Likewise.
13478         * soft-fp/op-2.h: Likewise.
13479         * soft-fp/op-4.h: Likewise.
13480         * soft-fp/op-common.h: Likewise.
13481         * soft-fp/quad.h: Likewise.
13482         * soft-fp/single.h: Likewise.
13483         * soft-fp/soft-fp.h: Likewise.
13485 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
13487         * iconv/iconv_prog.c: Fix typos.
13488         * stdio-common/psiginfo-data.h: Likewise.
13490 2013-10-12   Reuben Thomas <rrt@sc3d.org>
13492         [BZ #15764]
13493         * locale/setlocale.c: Fix typo.
13495 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13497         [BZ #16036]
13498         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13499         signaling NaN arguments.
13500         * soft-fp/unordsf2.c (__unordsf2): Likewise.
13501         * soft-fp/unordtf2.c (__unordtf2): Likewise.
13503         [BZ #14910]
13504         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13505         unordered operands.
13506         * soft-fp/gesf2.c (__gesf2): Likewise.
13507         * soft-fp/getf2.c (__getf2): Likewise.
13508         * soft-fp/ledf2.c (__ledf2): Likewise.
13509         * soft-fp/lesf2.c (__lesf2): Likewise.
13510         * soft-fp/letf2.c (__letf2): Likewise.
13512         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13513         * soft-fp/eqsf2.c (__eqsf2): Likewise.
13514         * soft-fp/eqtf2.c (__eqtf2): Likewise.
13515         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13516         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13517         * soft-fp/fixdfti.c (__fixdfti): Likewise.
13518         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13519         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13520         * soft-fp/fixsfti.c (__fixsfti): Likewise.
13521         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13522         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13523         * soft-fp/fixtfti.c (__fixtfti): Likewise.
13524         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13525         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13526         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13527         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13528         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13529         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13530         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13531         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13532         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13533         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13534         * soft-fp/floatdisf.c (__floatdisf): Likewise.
13535         * soft-fp/floatsisf.c (__floatsisf): Likewise.
13536         * soft-fp/floattidf.c (__floattidf): Likewise.
13537         * soft-fp/floattisf.c (__floattisf): Likewise.
13538         * soft-fp/floattitf.c (__floattitf): Likewise.
13539         * soft-fp/floatundidf.c (__floatundidf): Likewise.
13540         * soft-fp/floatundisf.c (__floatundisf): Likewise.
13541         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13542         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13543         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13544         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13545         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13546         * soft-fp/gesf2.c (__gesf2): Likewise.
13547         * soft-fp/getf2.c (__getf2): Likewise.
13548         * soft-fp/ledf2.c (__ledf2): Likewise.
13549         * soft-fp/lesf2.c (__lesf2): Likewise.
13550         * soft-fp/letf2.c (__letf2): Likewise.
13552         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13553         Undefine and redefine.
13554         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13555         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13556         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13557         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13558         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13559         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13560         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13561         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13562         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13563         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13564         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13565         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13566         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13567         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13568         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13570         [BZ #16032]
13571         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13572         without decrementing exponent if mantissa >= that for the
13573         denominator, not >.
13574         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13575         denominator, not >.  Decrement exponent in < case instead of
13576         incrementing in >= case.
13577         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13578         without decrementing exponent if mantissa >= that for the
13579         denominator, not >.
13581         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13582         computing saturated result for unsigned overflow.
13584 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13585             Jeff Law  <law@redhat.com>
13587         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13588         (atan2Mp): Add systemtap probe marker.
13589         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13590         (__ieee754_log): Add systemtap probe marker.
13591         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13592         (atanMp): Add systemtap probe marker.
13593         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13594         (tanMp): Add systemtap probe marker.
13595         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13596         (__slowexp): Add systemtap probe marker.
13597         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13598         (__slowpow): Add systemtap probe marker.
13599         * manual/probes.texi: Document probes.
13601 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
13603         [BZ #15362]
13604         * libio/fileops.c (_IO_new_file_write): Return count of bytes
13605         written.
13606         (_IO_new_file_xsputn): Don't return EOF if nothing has been
13607         written.
13608         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13609         written to buffer but not flushed.
13610         * libio/iofwrite_u.c:  Likewise.
13611         * libio/iopadn.c:  Return bytes returned even if EOF was
13612         encountered.
13613         * libio/iowpadn.c:  Likewise.
13614         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13615         if _IO_padn does not write the whole buffer.
13616         [!COMPILE_WPRINTF] (PAD): Likewise.
13618 2013-10-10  David S. Miller  <davem@davemloft.net>
13620         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13621         directory block.
13623 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13625         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
13626         instead of FSF address.
13627         * soft-fp/fixdfti.c: Likewise.
13628         * soft-fp/fixsfti.c: Likewise.
13629         * soft-fp/fixtfti.c: Likewise.
13630         * soft-fp/fixunsdfti.c: Likewise.
13631         * soft-fp/fixunssfti.c: Likewise.
13632         * soft-fp/fixunstfti.c: Likewise.
13633         * soft-fp/floattidf.c: Likewise.
13634         * soft-fp/floattisf.c: Likewise.
13635         * soft-fp/floattitf.c: Likewise.
13636         * soft-fp/floatuntidf.c: Likewise.
13637         * soft-fp/floatuntisf.c: Likewise.
13638         * soft-fp/floatuntitf.c: Likewise.
13639         * soft-fp/trunctfxf2.c: Likewise.
13641         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
13642         * soft-fp/fixdfti.c: Likewise.
13643         * soft-fp/fixsfti.c: Likewise.
13644         * soft-fp/fixtfti.c: Likewise.
13645         * soft-fp/fixunsdfti.c: Likewise.
13646         * soft-fp/fixunssfti.c: Likewise.
13647         * soft-fp/fixunstfti.c: Likewise.
13648         * soft-fp/floattidf.c: Likewise.
13649         * soft-fp/floattisf.c: Likewise.
13650         * soft-fp/floattitf.c: Likewise.
13651         * soft-fp/floatuntidf.c: Likewise.
13652         * soft-fp/floatuntisf.c: Likewise.
13653         * soft-fp/floatuntitf.c: Likewise.
13654         * soft-fp/trunctfxf2.c: Likewise.
13656 2013-10-10  David S. Miller  <davem@davemloft.net>
13658         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13660 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
13662         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13663         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13664         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13665         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13666         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13667         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13668         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13670         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13671         for NaNs before doing comparisons on argument.
13672         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13673         Likewise.
13675 2013-10-10  Will Newton  <will.newton@linaro.org>
13677         * malloc/hooks.c (memalign_check): Ensure the value of bytes
13678         passed to _int_memalign does not overflow.
13680 2013-10-10  Torvald Riegel  <triegel@redhat.com>
13682         * scripts/bench.pl: Add include-sources directive.
13683         * benchtests/README: Update documentation.
13685 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13687         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13688         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13689         instead of FP_INIT_ROUNDMODE.
13690         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13691         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13693         [BZ #16034]
13694         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
13695         copy class of input value.
13696         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
13697         not handle exceptions.
13698         * soft-fp/negsf2.c (__negsf2): Likewise.
13699         * soft-fp/negtf2.c (__negtf2): Likewise.
13700         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13702 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
13704         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13705         semicolon.  From Linux kernel.
13707 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
13709         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13711 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
13713         [BZ #156]
13714         * manual/socket.texi: Added statement about buffer
13715         for gethostbyname2_r.
13717 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
13719         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13720         Use .p2align directive instead, throughout.
13721         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13722         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13723         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13724         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13725         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13726         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13727         * sysdeps/x86_64/strchr.S: Likewise.
13728         * sysdeps/x86_64/strrchr.S: Likewise.
13730 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13732         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13734         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13736         * sysdeps/generic/math_private.h (__mpsin1): Remove
13737         declaration.
13738         (__mpcos1): Likewise.
13739         (__mpsin): New argument __range_reduce.
13740         (__mpcos): Likewise.
13741         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13742         (slow): Use __mpsin and __mpcos.
13743         (slow1): Likewise.
13744         (slow2): Likewise.
13745         (sloww): Likewise.
13746         (sloww1): Likewise.
13747         (sloww2): Likewise.
13748         (bsloww): Likewise.
13749         (bsloww1): Likewise.
13750         (bsloww2): Likewise.
13751         (cslow2): Likewise.
13752         (csloww): Likewise.
13753         (csloww1): Likewise.
13754         (csloww2): Likewise.
13755         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13756         range_reduce.  Merge in __mpsin1.
13757         (__mpcos): Likewise.
13758         (__mpsin1): Remove.
13759         (__mpcos1): Likewise.
13761 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
13763         * locale/loadlocale.c (_nl_intern_locale_data): Use
13764         LOCFILE_ALIGNED_P.
13765         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13766         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13767         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13768         obstack data is appropriately aligned.
13769         (obstack_int32_grow_fast): Likewise.
13770         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13771         * locale/programs/locfile.c (add_locale_uint32): Likewise.
13772         (add_locale_uint32_array): Likewise.
13774 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
13776         * benchtests/Makefile: Remove ARGLIST and RET variables.
13777         ($(objpfx)bench-%.c): Pass only function name to the script.
13778         * benchtests/README: Update documentation.
13779         * benchtests/acos-inputs: Add new directives.
13780         * benchtests/acosh-inputs: Likewise.
13781         * benchtests/asin-inputs: Likewise.
13782         * benchtests/asinh-inputs: Likewise.
13783         * benchtests/atan-inputs: Likewise.
13784         * benchtests/atanh-inputs: Likewise.
13785         * benchtests/cos-inputs: Likewise.
13786         * benchtests/cosh-inputs: Likewise.
13787         * benchtests/exp-inputs: Likewise.
13788         * benchtests/log-inputs: Likewise.
13789         * benchtests/pow-inputs: Likewise.
13790         * benchtests/rint-inputs: Likewise.
13791         * benchtests/sin-inputs: Likewise.
13792         * benchtests/sinh-inputs: Likewise.
13793         * benchtests/tan-inputs: Likewise.
13794         * benchtests/tanh-inputs: Likewise.
13795         * scripts/bench.pl: Add support for new directives.
13797 2013-10-07  Alan Modra  <amodra@gmail.com>
13799         * README: Fix careless merge.
13801 2013-10-05  Alan Modra  <amodra@gmail.com>
13803         * NEWS: Mention powerpc64le support and bugs fixed.
13804         * README: Both big-endian and little-endian powerpc64 supported.
13806 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13808         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13809         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
13810         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13811         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13813 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
13815         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13816         match prototype.
13818 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
13820         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13821         Move -mhard-float appending from
13822         ports/sysdeps/powerpc/powerpc32/Makefile.
13823         [$(with-fp) = yes] (ASFLAGS): Likewise.
13824         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13825         * sysdeps/powerpc/nofpu: Move directory from
13826         ports/sysdeps/powerpc/nofpu.
13827         * sysdeps/powerpc/soft-fp: Move directory from
13828         ports/sysdeps/powerpc/soft-fp.
13829         * sysdeps/powerpc/powerpc32/405: Move directory from
13830         ports/sysdeps/powerpc/powerpc32/405.
13831         * sysdeps/powerpc/powerpc32/440: Move directory from
13832         ports/sysdeps/powerpc/powerpc32/440.
13833         * sysdeps/powerpc/powerpc32/464: Move directory from
13834         ports/sysdeps/powerpc/powerpc32/464.
13835         * sysdeps/powerpc/powerpc32/476: Move directory from
13836         ports/sysdeps/powerpc/powerpc32/476.
13837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13838         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13840         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13842         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13844         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13846         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13847         * README: Update for powerpc-*-linux-gnu software floating point
13848         support in libc.
13850         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13851         case to powerpc/powerpc32*.
13852         * sysdeps/unix/sysv/linux/configure: Regenerated.
13854         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13855         (_FPU_MASK_OM): Define as 0x04.
13856         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13857         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13858         0x00c10080.
13859         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13860         0x0000003c.
13861         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13864         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13865         getcontext_e500.
13866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13867         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13868         setcontext_e500.
13869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13870         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13871         and setcontext_e500.
13873 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
13875         * locale/iso-3166.def: Update iso-1366.def and related occurrences
13877 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13879         * manual/threads.texi (Default Thread Attributes): Fix typo.
13881 2013-10-04  Will Newton  <will.newton@linaro.org>
13883         * malloc/Makefile: Add tst-memalign.
13884         * malloc/tst-memalign.c: New file.
13886         * malloc/tst-posix_memalign.c: Add comments.
13887         (do_test): Add comments and call free on all potentially
13888         allocated pointers. Add space after cast.
13890         * malloc/tst-pvalloc.c: Add comments.
13891         (do_test): Add comments and call free on all potentially
13892         allocated pointers. Remove duplicate check for NULL pointer.
13893         Add space after cast.
13895         * malloc/tst-valloc.c: Add comments.
13896         (do_test): Add comments and call free on all potentially
13897         allocated pointers. Remove duplicate check for NULL pointer.
13898         Add space after cast.
13900 2013-10-04  Alan Modra  <amodra@gmail.com>
13902         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13903         Use stdint types in rather than __attribute__((mode())).
13904         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13906 2013-10-04  Alan Modra  <amodra@gmail.com>
13908         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13909         Correct handling of unaligned relocs for little-endian.
13910         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13912 2013-10-04  Alan Modra  <amodra@gmail.com>
13914         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13915         * configure: Regenerate.
13916         * nptl/shlib-versions: Powerpc*le starts at 2.18.
13917         * shlib-versions: Likewise.
13919 2013-10-04  Alan Modra  <amodra@gmail.com>
13921         * string/tester.c (test_memrchr): Increment reported test cycle.
13923 2013-10-04  Alan Modra  <amodra@gmail.com>
13925         * string/test-memcpy.c (do_one_test): When reporting errors, print
13926         string address and don't overrun end of string.
13928 2013-10-04  Alan Modra  <amodra@gmail.com>
13930         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13931         insrdi.  Make better use of reg selection to speed exit slightly.
13932         Schedule entry path a little better.  Remove useless "are we done"
13933         checks on entry to main loop.  Handle wrapping around zero address.
13934         Correct main loop count.  Handle single left-over word from main
13935         loop inline rather than by using loop_small.  Remove extra word
13936         case in loop_small caused by wrong loop count.  Add little-endian
13937         support.
13938         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13939         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
13940         cache hint.
13941         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13942         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13943         support.  Avoid rlwimi.
13944         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13946 2013-10-04  Alan Modra  <amodra@gmail.com>
13948         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13949         insrdi.  Formatting.
13950         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13951         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13952         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13953         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13954         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13955         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13957 2013-10-04  Alan Modra  <amodra@gmail.com>
13959         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13960         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13961         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13962         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13963         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13964         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13965         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13966         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13967         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
13968         use of regs.  Use power7 mtocrf.  Tidy function tails.
13970 2013-10-04  Alan Modra  <amodra@gmail.com>
13972         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13973         Formatting.  Consistently use rXXX register defines or rN defines.
13974         Use early exit labels that avoid restoring unused non-volatile regs.
13975         Make cr field use more consistent with rWORDn compares.  Rename
13976         regs used as shift registers for unaligned loop, using rN defines
13977         for short lifetime/multiple use regs.
13978         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13979         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
13980         addi 1,1,64 to pop stack frame.  Simplify return value code.
13981         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13983 2013-10-04  Alan Modra  <amodra@gmail.com>
13985         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13986         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
13987         rather than rlwimi.
13988         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13989         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13990         little-endian support.  Correct typos.
13991         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
13992         rather than rlwimi.
13993         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
13994         in loop and entry code to keep "and." results.
13995         (strchr): Add little-endian support.  Comment.  Move cntlzd
13996         earlier in tail.
13997         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13999 2013-10-04  Alan Modra  <amodra@gmail.com>
14001         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14002         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14003         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14004         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14006 2013-10-04  Alan Modra  <amodra@gmail.com>
14008         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14009         (rTMP): Define as r11.
14010         (strcmp): Add little-endian support.  Optimise tail.
14011         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14012         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14013         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14014         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14015         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14016         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14017         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14019 2013-10-04  Alan Modra  <amodra@gmail.com>
14021         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14022         little-endian support.  Remove unnecessary "are we done" tests.
14023         Handle "s" wrapping around zero and extremely large "size".
14024         Correct main loop count.  Handle single left-over word from main
14025         loop inline rather than by using small_loop.  Correct comments.
14026         Delete "zero" tail, use "end_max" instead.
14027         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14029 2013-10-04  Alan Modra  <amodra@gmail.com>
14031         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14032         support.  Don't branch over align.
14033         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14034         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14035         support.  Rearrange tmp reg use to suit.  Comment.
14036         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14038 2013-10-04  Alan Modra  <amodra@gmail.com>
14040         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14042 2013-10-04  Alan Modra  <amodra@gmail.com>
14044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14045         conditional form of branch and link when obtaining pc.
14046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14048 2013-10-04  Alan Modra  <amodra@gmail.com>
14050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14051         HIWORD/LOWORD.
14052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14055 2013-10-04  Alan Modra  <amodra@gmail.com>
14057         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14058         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14059         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14060         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14061         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14062         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14063         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14064         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14065         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14066         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14068 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14069             Alistair Popple <alistair@ozlabs.au.ibm.com>
14070             Alan Modra <amodra@gmail.com>
14072         [BZ #15723]
14073         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14074         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14075         _dl_hwcap access for little-endian.
14076         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
14077         destroy vmx regs when saving unaligned.
14078         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14079         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
14080         destroy vmx regs when saving unaligned.
14082 2013-10-04  Alan Modra  <amodra@gmail.com>
14084         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14085         Don't use a union to pack hi/low value.
14087 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14089         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14090         for little-endian.
14091         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14092         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14093         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14094         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14095         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14097 2013-10-04  Alan Modra  <amodra@gmail.com>
14099         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14100         constants to usual value for .cst8 section, and remove redundant
14101         high address load.
14102         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14103         constant for 0x1p52.  Load little-endian words of double from
14104         correct stack offsets.
14106 2013-10-04  Alan Modra  <amodra@gmail.com>
14108         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14109         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14110         words of double from correct stack offsets.
14111         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14112         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14113         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14114         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14115         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14116         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14117         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14118         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14119         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14120         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14121         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14122         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14123         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14124         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14125         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14126         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14127         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14129 2013-10-04  Alan Modra  <amodra@gmail.com>
14131         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14132         64-bit int/double union.
14133         (_FPU_SETCW): Likewise.
14134         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14135         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14137 2013-10-04  Alan Modra  <amodra@gmail.com>
14139         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14140         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14142 2013-10-04  Alan Modra  <amodra@gmail.com>
14144         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14145         use vector int constants.
14146         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14148 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14150         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14151         array with long long.
14152         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14153         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14154         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14155         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14156         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14157         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14158         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14159         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14160         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14161         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14162         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14163         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14164         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14166 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14168         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14169         (__signbit): Likewise.  Correct for little-endian.
14170         (__signbitl): Call __signbit.
14171         (lrint): Correct for little-endian.
14172         (lrintf): Call lrint.
14174 2013-10-04  Alan Modra  <amodra@gmail.com>
14176         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14177         union 32-bit int array member with 64-bit int array.
14178         (t515, tm256): Double rather than long double.
14179         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14181 2013-10-04  Alan Modra  <amodra@gmail.com>
14183         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14184         Delete.
14185         (IEEE854_LONG_DOUBLE_BIAS): Delete.
14186         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14187         version of math_ldbl.h.
14189 2013-10-04  Alan Modra  <amodra@gmail.com>
14191         [BZ #15734], [BZ #15735]
14192         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14193         all uses of ieee875 long double macros and unions.  Simplify test
14194         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
14195         ldbl_extract_mantissa value for ix,iy exponents.  Properly
14196         normalize after ldbl_extract_mantissa, and don't add hidden bit
14197         already handled.  Don't treat low word of ieee854 mantissa like
14198         low word of IBM long double and mask off bit when testing for
14199         zero.
14200         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14201         all uses of ieee875 long double macros and unions.  Simplify tests
14202         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
14203         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
14204         two1022, instead use their values.  Recognise that tests for large
14205         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
14206         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14207         Rewrite all uses of ieee875 long double macros and unions.  Simplify
14208         test for 0.0L and nan.  Correct negation.
14209         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14210         ieee875 long double macros and unions.  Correct output for large
14211         magnitude x.  Correct absolute value calculation.
14212         (__erfcl): Likewise.
14213         * math/libm-test.inc: Add tests for errors discovered in IBM long
14214         double versions of fmodl, remainderl, erfl and erfcl.
14216 2013-10-04  Alan Modra  <amodra@gmail.com>
14218         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14219         all uses of ieee854 long double macros and unions.  Simplify tests
14220         for long doubles that are fully specified by the high double.
14221         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14222         Likewise.
14223         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14224         Remove dead code too.
14225         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14226         (__ieee754_ynl): Likewise.
14227         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14228         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14229         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14230         Remove dead code too.
14231         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14232         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14233         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14234         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14235         Simplify.
14236         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14237         Simplify.
14238         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14239         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14240         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14241         Comment on variable precision.
14242         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14243         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14244         Likewise.
14245         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14246         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14247         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14248         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14249         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14251 2013-10-04  Alan Modra  <amodra@gmail.com>
14253         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14254         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14255         all uses of ieee854 long double macros and unions.
14256         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14257         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14258         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14259         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14260         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14261         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14262         Likewise.
14263         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14264         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14265         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14266         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14267         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14268         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14269         Simplify sign and nan test too.
14270         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14271         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14272         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14273         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14274         Likewise.
14275         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14276         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14277         Likewise.
14278         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14279         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14280         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14281         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14282         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14283         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14285 2013-10-04  Alan Modra  <amodra@gmail.com>
14287         * stdio-common/printf_size.c (__printf_size): Don't use
14288         union ieee854_long_double in fpnum union.
14289         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
14290         signbit macro to retrieve sign from long double.
14291         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14292         retrieve sign from long double.
14293         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14294         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14295         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14296         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14297         * math/test-misc.c (main): Don't use union ieee854_long_double.
14299 2013-10-04  Alan Modra  <amodra@gmail.com>
14301         [BZ #15680]
14302         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14303         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14304         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14305         calculation.  Remove unnecessary test for denormal exponent.
14306         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14307         Correct handling of denormals.  Avoid undefined shift behaviour.
14308         Correct normalisation of low mantissa when low double is denormal.
14309         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14310         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
14311         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14312         Correct normalisation of low mantissa.  Test for overflow of high
14313         mantissa and normalise.
14314         (ldbl_nearbyint): Use more readable constant for two52.
14315         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14316         (__mpn_construct_long_double): Fix test for overflow of high
14317         mantissa and correct normalisation.  Avoid undefined shift.
14319 2013-10-04  Alan Modra  <amodra@gmail.com>
14321         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14322         (union ibm_extended_long_double): Define as an array of ieee754_double.
14323         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14324         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14325         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14326         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14327         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14328         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14329         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14330         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14331         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14332         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14333         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14335 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
14337         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14338         page size instead of calling getpagesize.
14340         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14341         (LOCFILE_ALIGN_MASK): Likewise.
14342         (LOCFILE_ALIGN_UP): Likewise.
14343         (LOCFILE_ALIGNED_P): Likewise.
14344         * locale/programs/ld-collate.c (collate_output): Use the new
14345         macros instead of __alignof__ (int32_t).
14346         * locale/weight.h (findidx): Likewise.
14348 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
14350         [BZ #431]
14351         * manual/string.texi: Fix strncat and wcsncat.
14353 2013-10-03  Brooks Moses  <bmoses@google.com>
14355         [BZ #15915]
14356         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14357         * Makerules: ...here, and adjust associated comments.
14359 2013-10-02  Will Newton  <will.newton@linaro.org>
14361         * malloc/Makefile: Add tst-pvalloc.
14362         * malloc/tst-pvalloc.c: New file.
14364 2013-10-02  Will Newton  <will.newton@linaro.org>
14366         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14367         improve test coverage.
14369 2013-10-02  Will Newton  <will.newton@linaro.org>
14371         * malloc/Makefile: Add tst-posix_memalign.
14372         * malloc/tst-posix_memalign.c: New file.
14374 2013-10-01  Eric Blake  <eblake@redhat.com>
14376         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14377         Use __THROWNL rather than __THROW on static functions.
14379 2013-09-30  Petr Machata  <pmachata@redhat.com>
14381         * elf/elf.h (R_AARCH64_ABS16): New macro.
14382         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14383         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14384         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14385         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14386         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14387         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14388         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14389         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14390         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14391         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14392         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14393         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14394         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14395         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14396         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14397         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14398         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14399         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14400         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14401         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14402         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14403         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14404         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14405         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14406         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14407         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14408         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14409         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14410         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14411         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14412         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14413         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14414         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14415         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14416         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14417         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14418         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14419         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14420         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14421         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14422         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14423         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14424         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14425         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14426         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14427         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14428         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14429         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14430         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14431         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14432         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14433         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14434         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14435         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14436         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14437         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14438         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14439         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14440         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14441         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14442         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14443         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14444         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14445         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14446         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14447         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14448         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14449         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14450         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14451         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14452         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14453         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14454         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14455         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14456         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14457         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14458         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14459         (R_AARCH64_TLSDESC_LDR): Likewise.
14460         (R_AARCH64_TLSDESC_ADD): Likewise.
14461         (R_AARCH64_TLSDESC_CALL): Likewise.
14463 2013-09-30  Andreas Schwab  <schwab@suse.de>
14465         [BZ #15048]
14466         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14467         the nss database lookup.
14468         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14469         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14471 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
14473         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14475 2013-09-28  P. J. McDermott  <pj@pehjota.net>
14477         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14478         ${Bash-specific parameter/pattern/string} parameter expansion.
14479         * sysdeps/unix/make-syscalls.sh: Likewise.
14481 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14483         * sysdeps/sh/stackguard-macros.h: New file.
14485 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
14487         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14488         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14489         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14490         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14491         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14492         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14494 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14496         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14497         Fix thread ID register.
14499 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
14501         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14502         [POSIX || UNIX98]: Require rather than permitting all symbols from
14503         <time.h>.
14504         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14505         element of struct sched_param.
14506         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14507         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14508         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14509         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14510         constant.
14512 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
14514         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14515         argument calculation.
14517 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14519         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14520         Expect macro.
14521         [POSIX] (pthread_attr_t): Do not require type.
14522         [POSIX] (pthread_cond_t): Likewise.
14523         [POSIX] (pthread_condattr_t): Likewise.
14524         [POSIX] (pthread_key_t): Likewise.
14525         [POSIX] (pthread_mutex_t): Likewise.
14526         [POSIX] (pthread_mutexattr_t): Likewise.
14527         [POSIX] (pthread_once_t): Likewise.
14528         [POSIX] (pthread_t): Likewise.
14529         [POSIX-based standards] (pthread_atfork): Expect function.
14531 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14532             Richard Sandiford  <richard@codesourcery.com>
14534         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14535         (swap_endianness_p): New extern variable.
14536         (set_big_endian): New inline function.
14537         (maybe_swap_uint32): Likewise.
14538         (maybe_swap_uint32_array): Likewise.
14539         (maybe_swap_uint32_obstack): Likewise.
14540         * locale/programs/locfile.c: Include <stdbool.h>.
14541         (swap_endianness_p): New variable.
14542         (add_locale_uint32): Call maybe_swap_uint32.
14543         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14544         (write_locale_data): Call maybe_swap_uint32_array.
14545         * locale/programs/ld-collate.c (obstack_int32_grow): Call
14546         maybe_swap_uint32.
14547         (obstack_int32_grow_fast): Likewise.
14548         (output_weightwc): Call maybe_swap_uint32_obstack.
14549         (collate_output): Likewise.
14550         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14551         (OPT_LITTLE_ENDIAN): Likewise.
14552         (options): Add --little-endian and --big-endian options.
14553         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14554         * locale/programs/locarchive.c: Include "locfile.h".
14555         (GET): New macro.
14556         (SET): Likewise.
14557         (INC): Likewise.
14558         (create_archive): Use the new macros to access fields of
14559         structures directly mapped from or written to locale archives.
14560         (oldlocrecentcmp): Likewise.
14561         (enlarge_archive): Likewise.
14562         (insert_name): Likewise.
14563         (add_alias): Likewise.
14564         (add_locale): Likewise.
14565         (delete_locales_from_archive): Likewise.
14566         (show_archive_content): Likewise.
14567         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
14568         locale data.
14570 2013-09-24  Roland McGrath  <roland@hack.frob.com>
14572         * manual/freemanuals.texi: Updated from (newly) canonical copy at
14573         http://www.gnu.org/doc/freemanuals.texi.
14574         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14576 2013-09-24  Will Newton  <will.newton@linaro.org>
14578         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14579         macro.
14581 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
14583         * locale/hashval.h (compute_hashval): Interpret bytes of key as
14584         unsigned char.
14586 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
14588         * manual/threads.texi (POSIX Threads): Fix a typo.
14590 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14592         [BZ #14547]
14593         * string/tst-strcoll-overflow.c: New test case.
14594         * string/Makefile (xtests): Add tst-strcoll-overflow.
14595         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14596         cache if string sizes may cause integer overflow.
14598         [BZ #14547]
14599         * string/strcoll_l.c (coll_seq): New members rule, idx,
14600         save_idx and back_us.
14601         (get_next_seq_nocache): New function.
14602         (do_compare_nocache): New function.
14603         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14604         when malloc fails.
14606 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
14608         [BZ #15754]
14609         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14610         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14611         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14613         [BZ #15754]
14614         * elf/Makefile (tests): Add tst-ptrguard1.
14615         (tests-static): Add tst-ptrguard1-static.
14616         (tst-ptrguard1-ARGS): Define.
14617         (tst-ptrguard1-static-ARGS): Define.
14618         * elf/tst-ptrguard1.c: New file.
14619         * elf/tst-ptrguard1-static.c: New file.
14620         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14621         * sysdeps/i386/stackguard-macros.h: Likewise.
14622         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14623         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14624         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14625         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14626         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14627         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14629 2013-09-23  Hector Marco  <hecmargi@upv.es>
14630             Ismael Ripoll  <iripoll@disca.upv.es>
14631             Carlos O'Donell  <carlos@redhat.com>
14633         [BZ #15754]
14634         * sysdeps/generic/stackguard-macros.h: Define
14635         __pointer_chk_guard_local and POINTER_CHK_GUARD.
14636         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14637         Define __pointer_chk_guard_local.
14638         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14639         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14641 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
14643         [BZ #15859]
14644         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14646 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
14648         * include/string.h (__ffs): Declare as hidden.
14649         * string/ffs.c (__ffs): Define as hidden.
14650         * sysdeps/i386/ffs.c (__ffs): Likewise.
14651         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14652         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14653         * sysdeps/s390/ffs.c (__ffs): Likewise.
14654         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14656 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
14658         * NEWS: Mention malloc probes.
14660         * malloc/arena.c (new_heap): New memory_heap_new probe.
14661         (grow_heap): New memory_heap_more probe.
14662         (shrink_heap): New memory_heap_less probe.
14663         (heap_trim): New memory_heap_free probe.
14664         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14665         (systrim): New memory_sbrk_less probe.
14666         * manual/probes.texi: Document them.
14668         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14669         * manual/probes.texi: Document it.
14671         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14672         (__libc_realloc): Add memory_realloc_retry probe.
14673         (__libc_memalign): Add memory_memalign_retry probe.
14674         (__libc_valloc): Add memory_valloc_retry probe.
14675         (__libc_pvalloc): Add memory_pvalloc_retry probe.
14676         (__libc_calloc): Add memory_calloc_retry probe.
14677         * manual/probes.texi: Document them.
14679         * malloc/arena.c (get_free_list): Add probe
14680         memory_arena_reuse_free_list.
14681         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14682         and memory_arena_reuse.
14683         (arena_get2) [!PER_THREAD]: Likewise.
14684         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14685         memory_arena_reuse_realloc.
14686         * manual/probes.texi: Document them.
14688         * malloc/malloc.c (__libc_free): Add
14689         memory_mallopt_free_dyn_thresholds probe.
14690         (__libc_mallopt): Add multiple memory_mallopt probes.
14691         * manual/probes.texi: Document them.
14693         * malloc/malloc.c: Include stap-probe.h.
14694         (__libc_mallopt): Add memory_mallopt probe.
14695         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14696         * manual/probes.texi: New.
14697         * manual/Makefile (chapters): Add probes.
14698         * manual/threads.texi: Set next node.
14700 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
14702         [BZ #15963, #13985]
14703         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14704         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14705         Add `Chinese' to `nan' entry name.
14707 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14709         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14710         (POLYNOMIAL): Likewise.
14711         (TAYLOR_SINCOS): Likewise.
14712         (TAYLOR_SLOW): Likewise.
14713         (__sin): Use TAYLOR_SINCOS.
14714         (__cos): Likewise.
14715         (slow): Use TAYLOR_SLOW.
14716         (sloww): Likewise.
14717         (bsloww): Likewise.
14718         (csloww): Likewise.
14720 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14722         * stdlib/strtod_l.c: Fix buffer overrun.
14724 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14726         * benchtests/Makefile (bench): Add sincos.
14727         * benchtests/bench-sincos.c: New file.
14729         * math/libm-test.inc (cos_test_data): New test inputs.
14730         (sin_test_data): Likewise.
14732         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14733         macro.
14734         (__sin): Use it.
14735         (__cos): Likewise.
14736         (slow1): Likewise.
14737         (slow2): Likewise.
14738         (sloww1): Likewise.
14739         (sloww2): Likewise.
14740         (bsloww1): Likewise.
14741         (bsloww2): Likewise.
14742         (cslow2): Likewise.
14743         (csloww1): Likewise.
14744         (csloww2): Likewise.
14746         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14747         function.
14748         (__sin): Use it.
14749         (__cos): Likewise.
14751         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14752         gotos.
14753         (__cos): Likewise.
14755 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
14757         * config.h.in (HAVE_MIPS_NAN2008): New macro.
14758         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14759         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14760         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14761         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14762         * elf/cache.c (print_entry): Handle the new cache flags.
14764 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
14765             Aldy Hernandez  <aldyh@redhat.com>
14767         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14768         Change condition to [_SOFT_FLOAT].
14769         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14770         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14771         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14772         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14773         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14774         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14775         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14776         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14777         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14780         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14781         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14782         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14783         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14784         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14785         declaration.
14787 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
14789         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14790         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14791         (__longjmp): Use LOAD_GP to load saved GPRs.
14792         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14793         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14794         (__sigsetjmp): Use SAVE_GP to save GPRs.
14796         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14797         Do not append -msoft-float.
14798         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14800 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14802         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14804 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
14806         [BZ #15966]
14807         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14808         (_FPU_GETCW): Use initial "__" on variable and field names but not
14809         on macro parameter name.
14810         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
14811         parentheses around reference to macro parameter.
14813 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
14815         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14816         prototype.
14817         (ctype_startup): Use uint32_t in cast and sizeof for
14818         ctype->charnames.
14820 2013-09-11  Jia Liu  <proljc@gmail.com>
14822         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14823         __daddr_t_defined.
14824         [__FreeBSD__]: Likewise.
14826 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
14828         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14829         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14830         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14831         (strchr): Remove __strchr_sse42 ifunc selection.
14832         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14833         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14835 2013-09-11  Will Newton  <will.newton@linaro.org>
14837         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14838         parameter to RES. Remove hardcoded 1000 value.
14839         * benchtests/bench-skeleton.c (main): Pass RES parameter
14840         to TIMING_INIT and multiply result by 1000.
14842 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14846 2013-09-11  Andreas Schwab  <schwab@suse.de>
14848         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14849         if not defined.
14850         (O_TMPFILE) [__USE_GNU]: Define.
14851         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14852         Define.
14854 2013-09-11  Will Newton  <will.newton@linaro.org>
14856         [BZ #15857]
14857         * malloc/malloc.c (__libc_memalign): Check the value of bytes
14858         does not overflow.
14860 2013-09-11  Will Newton  <will.newton@linaro.org>
14862         [BZ #15856]
14863         * malloc/malloc.c (__libc_valloc): Check the value of bytes
14864         does not overflow.
14866 2013-09-11  Will Newton  <will.newton@linaro.org>
14868         [BZ #15855]
14869         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14870         does not overflow.
14872 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
14874         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14875         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14876         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14877         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14878         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14880 2013-09-10  Allan McRae  <allan@archlinux.org>
14882         [BZ #15748]
14883         * manual/arith.texi (Parsing of Floats): Clarify
14884         cross-reference.
14886         [BZ #15849]
14887         * manual/install.texi (Running make install): Mention
14888         --enable-pt-chown.
14889         * INSTALL: Regenerated.
14891 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
14893         * csu/init-first.c (_init): Remove the !SHARED condition around
14894         FPU control word initialization.
14895         * elf/dl-support.c (_dl_fpu_control): New variable.
14896         (_dl_aux_init) <AT_FPUCW>: Initialize it.
14897         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14898         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14899         * math/test-fpucw-static.c: New file.
14900         * math/test-fpucw-ieee.c: New file.
14901         * math/test-fpucw-ieee-static.c: New file.
14902         * math/Makefile (tests): Add `test-fpucw-ieee' and
14903         `$(tests-static)'.
14904         (tests-static): New variable.
14905         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14906         dependency to...
14907         [($(build-shared),yes)]
14908         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14909         ... this.
14910         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14911         New dependency.
14913 2013-09-09  Allan McRae  <allan@archlinux.org>
14915         [BZ #15939]
14916         * manual/string.texi (Collation Functions): Fix typo in
14917         strcoll example.
14918         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14920         [BZ #15893]
14921         * stdlib/isomac.c (get_null_defines): Fix memory leak.
14923         [BZ #15892]
14924         * libio/memstream.c (open_memstream): Fix memory leak.
14925         * libio/wmemstream.c (open_wmemstream): Likewise.
14927         [BZ #15895]
14928         * nscd/netgroupcache.c: Fix nesting of ifdefs.
14930 2013-09-09  Will Newton  <will.newton@linaro.org>
14932         * malloc/Makefile: Add tst-realloc to tests.
14933         * malloc/tst-realloc.c: New file.
14935 2013-09-09  Allan McRae  <allan@archlinux.org>
14937         [BZ #15844]
14938         * COPYING: Update from GNU website to fix FSF address.
14939         * COPYING.LIB: Likewise.
14941 2013-09-06  David S. Miller  <davem@davemloft.net>
14943         * po/zh_TW.po: Update Chinese (traditional) translation from
14944         translation project.
14946 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
14947             Joseph Myers  <joseph@codesourcery.com>
14949         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14950         "localeinfo.h".
14951         (obstack_chunk_alloc): New macro.
14952         (obstack_chunk_free): Likewise.
14953         (record_offset): New function.
14954         (init_locale_data): Likewise.
14955         (align_locale_data): Likewise.
14956         (add_locale_empty): Likewise.
14957         (add_locale_raw_data): Likewise.
14958         (add_locale_raw_obstack): Likewise.
14959         (add_locale_string): Likewise.
14960         (add_locale_wstring): Likewise.
14961         (add_locale_uint32): Likewise.
14962         (add_locale_uint32_array): Likewise.
14963         (add_locale_char): Likewise.
14964         (start_locale_structure): Likewise.
14965         (end_locale_structure): Likewise.
14966         (start_locale_prelude): Likewise.
14967         (end_locale_prelude): Likewise.
14968         (write_locale_data): Take locale_file structure rather than an
14969         iovec.
14970         * locale/programs/locfile.h: Include "obstack.h".
14971         (struct locale_file): Change to store locale file contents instead
14972         of header.
14973         (init_locale_data): New prototype.
14974         (align_locale_data): Likewise.
14975         (add_locale_empty): Likewise.
14976         (add_locale_raw_data): Likewise.
14977         (add_locale_raw_obstack): Likewise.
14978         (add_locale_string): Likewise.
14979         (add_locale_wstring): Likewise.
14980         (add_locale_uint32): Likewise.
14981         (add_locale_uint32_array): Likewise.
14982         (add_locale_char): Likewise.
14983         (start_locale_structure): Likewise.
14984         (end_locale_structure): Likewise.
14985         (start_locale_prelude): Likewise.
14986         (end_locale_prelude): Likewise.
14987         (write_locale_data): Update prototype.
14988         * locale/programs/3level.h (struct TABLE): Remove result field.
14989         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14990         Use new locale_file interface.
14991         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14992         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14993         * locale/programs/ld-address.c (address_output): Use new
14994         locale_file interface.
14995         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14996         NO_ADD_LOCALE.
14997         (collate_finish): Don't call collseq_table_finalize.
14998         (collate_output): Use new locale_file interface.
14999         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15000         in file.
15001         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15002         (TABLE): Move defines earlier in file.
15003         (ELEMENT): Likewise.
15004         (DEFAULT): Likewise.
15005         (wctrans_table_add): Move macro and inline function earlier in
15006         file.
15007         (struct wctype_table): Move type earlier in file.
15008         (add_locale_wctype_table): New static prototype.
15009         (struct locale_ctype_t): Use logical types instead of struct iovec
15010         pointers for members.
15011         (ctype_output): Use new locale_file interface.
15012         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15013         new locale_file interface.
15014         (allocate_arrays): Update for use of new locale_file interface.
15015         * locale/programs/ld-identification.c (identification_output): Use
15016         new locale_file interface.
15017         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15018         * locale/programs/ld-messages.c (messages_output): Likewise.
15019         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15020         * locale/programs/ld-name.c (name_output): Likewise.
15021         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15022         * locale/programs/ld-paper.c (paper_output): Likewise.
15023         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15024         * locale/programs/ld-time.c (time_output): Likewise.
15026 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15028         * benchtests/Makefile: Add memrchr benchmark.
15029         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15030         benchmark as memrchr.
15031         * benchtests/bench-memrchr-ifunc.c: New file.
15032         * benchtests/bench-memrchr.c: New file.
15034 2013-09-06   Will Newton  <will.newton@linaro.org>
15036         * benchtests/Makefile (string-bench): Add memcpy.
15038 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15039             Cong Wang  <amwang@redhat.com>
15041         [BZ #15850]
15042         * sysdeps/unix/sysv/linux/bits/in.h
15043         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15044         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15045         before __USE_KERNEL_IPV6_DEFS uses.
15046         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15047         IPPROTO_BEETPH.
15048         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15049         sockaddr_in6, or ipv6_mreq.
15051 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15053         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15054         memory access for final bytes in some large inputs.
15055         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15057 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15059         * string/test-memrchr.c: New file.
15060         * string/test-memrchr-ifunc.c: New file.
15061         * string/Makefile: Add new memrchr testcase.
15063 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
15065         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15066         fanotify_init returns EPERM.
15068 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15070         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15071         errors.
15072         (top level): Treat second token from macro or constant entries for
15073         allowed headers as allowed.
15074         * include/complex.h: Condition internal declarations on
15075         [!_ISOMAC].
15076         * include/fenv.h: Condition include of <stdbool.h> and internal
15077         declarations on [!_ISOMAC].
15079 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
15081         [BZ #15923]
15082         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15084 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15086         * configure.in (--enable-versioning): Remove configure option.
15087         (libc_cv_asm_symver_directive): Remove configure test.
15088         (libc_cv_ld_version_script_option): Likewise.
15089         (VERSIONING): Remove variable and AC_SUBST.
15090         (DO_VERSIONING): Remove AC_DEFINE.
15091         * configure: Regenerated.
15092         * config.h.in (DO_VERSIONING): Remove macro.
15093         * Makerules [$(versioning) = yes]: Change conditionals to
15094         [$(build-shared) = yes].
15095         * config.make.in (versioning): Remove variable.
15096         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15097         [$(build-shared) = yes].
15098         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15099         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15100         * elf/Makefile [$(versioning) = yes]: Change conditionals to
15101         [$(build-shared) = yes].
15102         * extra-lib.mk [$(versioning) = yes]: Likewise.
15103         * hurd/Makefile [$(versioning) = yes]: Likewise.
15104         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15105         [SHARED].
15106         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15107         [SHARED].
15108         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15109         [SHARED && !NO_HIDDEN].
15110         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15111         [SHARED].
15112         [SHARED && DO_VERSIONING]: Likewise..
15113         * libio/Makefile [$(versioning) = yes]: Change conditionals to
15114         [$(build-shared) = yes].
15115         * manual/install.texi (--disable-versioning): Remove
15116         documentation.
15117         * INSTALL: Regenerated.
15118         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15119         to [SHARED].
15120         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15121         [$(build-shared) = yes].
15122         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15123         * sysdeps/i386/i686/multiarch/strstr-c.c
15124         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15125         [SHARED && !NO_HIDDEN].
15126         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15127         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15128         * sysdeps/powerpc/powerpc32/dl-machine.c
15129         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15130         * sysdeps/powerpc/powerpc32/sysdep.h
15131         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15132         to [SHARED && PIC && !NO_HIDDEN].
15133         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15134         conditional to [SHARED].
15136 2013-09-04   Will Newton  <will.newton@linaro.org>
15138         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15139         * benchtests/bench-string.h: Include bench-timing.h instead
15140         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15141         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15142         call to HP_TIMING_DIFF_INIT.
15143         * benchtests/bench-memccpy.c: Use bench-timing.h macros
15144         instead of hp-timing.h macros.
15145         * benchtests/bench-memchr.c: Likewise.
15146         * benchtests/bench-memcmp.c: Likewise.
15147         * benchtests/bench-memcpy.c: Likewise.
15148         * benchtests/bench-memmem.c: Likewise.
15149         * benchtests/bench-memmove.c: Likewise.
15150         * benchtests/bench-memset.c: Likewise.
15151         * benchtests/bench-rawmemchr.c: Likewise.
15152         * benchtests/bench-strcasecmp.c: Likewise.
15153         * benchtests/bench-strcasestr.c: Likewise.
15154         * benchtests/bench-strcat.c: Likewise.
15155         * benchtests/bench-strchr.c: Likewise.
15156         * benchtests/bench-strcmp.c: Likewise.
15157         * benchtests/bench-strcpy.c: Likewise.
15158         * benchtests/bench-strcpy_chk.c: Likewise.
15159         * benchtests/bench-strlen.c: Likewise.
15160         * benchtests/bench-strncasecmp.c: Likewise.
15161         * benchtests/bench-strncat.c: Likewise.
15162         * benchtests/bench-strncmp.c: Likewise.
15163         * benchtests/bench-strncpy.c: Likewise.
15164         * benchtests/bench-strnlen.c: Likewise.
15165         * benchtests/bench-strpbrk.c: Likewise.
15166         * benchtests/bench-strrchr.c: Likewise.
15167         * benchtests/bench-strspn.c: Likewise.
15168         * benchtests/bench-strstr.c: Likewise.
15170 2013-09-04  Will Newton  <will.newton@linaro.org>
15172         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15174 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
15176         [BZ #15427]
15177         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15178         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15179         * math/libm-test.inc (lgamma_test_data): Add more tests.
15180         * sysdeps/i386/fpu/libm-test-ulps: Update.
15181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15183 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
15185         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15186         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15187         Add ifunc.
15188         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15189         Add strcmp-sse2-unaligned
15190         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15192 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15194         * Versions.def (libc): Add GLIBC_2.19.
15196 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15198         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15199         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15201 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
15203         [BZ #14155]
15204         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15205         intermediate calculations in recurrence.
15206         (__ieee754_ynf): Likewise.
15207         * math/libm-test.inc (jn_test_data): Do not allow spurious
15208         underflow exception.  Add more tests.
15209         (yn_test_data): Add more tests.
15210         * sysdeps/i386/fpu/libm-test-ulps: Update.
15211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15213 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
15215         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15217 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15219         * csu/init-first.c: Fix then/than typos.
15220         * locale/programs/ld-collate.c: Likewise.
15221         * locale/programs/linereader.h: Likewise.
15222         * manual/charset.texi: Likewise.
15223         * manual/filesys.texi: Likewise.
15224         * manual/stdio.texi: Likewise.
15225         * manual/string.texi: Likewise.
15226         * stdlib/fmtmsg.c: Likewise.
15227         * sysdeps/i386/stpncpy.S: Likewise.
15228         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15229         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15230         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15231         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15233 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15235         * elf/dl-open.c: Fix typos.
15236         * iconvdata/gbbig5.c: Likewise.
15237         * iconvdata/iso-2022-jp.c: Likewise.
15238         * iconv/gconv_int.h: Likewise.
15239         * iconv/loop.c: Likewise.
15240         * nis/rpcsvc/nis.h: Likewise.
15241         * resolv/ns_name.c: Likewise.
15242         * stdio-common/vfscanf.c: Likewise.
15243         * streams/stropts.h: Likewise.
15244         * sunrpc/rpc_thread.c: Likewise.
15245         * sysdeps/i386/strpbrk.S: Likewise.
15246         * sysdeps/ieee754/k_standard.c: Likewise.
15247         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15248         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15249         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15250         * sysdeps/mach/hurd/profil.c: Likewise.
15251         * sysdeps/s390/dl-procinfo.h: Likewise.
15252         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15253         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15254         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15255         * sysdeps/x86_64/dl-trampoline.S: Likewise.
15256         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15258 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
15260         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15261         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15263 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
15265         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15266         aix specific files.
15267         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15268         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15269         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15270         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15271         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15272         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15273         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15274         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15276 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15277             Roland McGrath  <roland@hack.frob.com>
15279         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15280         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15282 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15284         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15285         __executable_start symbol instead of _start.
15287 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15289         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15290         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15291         Move macros to...
15292         * sysdeps/gnu/ldsodefs.h: ... this new file.
15294         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15295         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15296         instead of ELFOSABI_LINUX.
15298         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15299         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15300         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15301         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15302         Likewise.
15303         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15304         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15305         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15306         Likewise.
15307         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15308         (ibm_extended_long_double): Add ieee_nan member.
15309         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15310         (do_test): New function.
15312         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15313         TEST_TRUNC.
15314         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15315         functions, renamed from truncdfsf_test, trunctfsf_test,
15316         trunctfdf_test.
15317         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15318         functions.
15319         (do_test): Run all these.
15321 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
15323         * argp/argp-help.c: Fix typos.
15324         * argp/argp-parse.c: Likewise.
15325         * debug/backtracesyms.c: Likewise.
15326         * elf/elf.h: Likewise.
15327         * malloc/malloc.c: Likewise.
15328         * nis/nis_print.c: Likewise.
15329         * resolv/res_comp.c: Likewise.
15330         * stdlib/stdlib.h: Likewise.
15331         * sunrpc/clnt_tcp.c: Likewise.
15332         * sunrpc/clnt_udp.c: Likewise.
15333         * sunrpc/clnt_unix.c: Likewise.
15334         * sysdeps/unix/bsd/ptsname.c: Likewise.
15335         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15336         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15338         Likewise.
15339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15340         Likewise.
15341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15342         Likewise.
15343         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15345 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15347         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15348         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15350 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
15352         [BZ #15897]
15353         * dlfcn/Makefile (tests): Add bug-dl-leaf.
15354         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15355         ($(objpfx)bug-dl-leaf): New rule.
15356         ($(objpfx)bug-dl-leaf.so): Likewise.
15357         ($(objpfx)bug-dl-leaf.out): Likewise.
15358         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15359         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15360         * dlfcn/bug-dl-leaf.c: New test.
15361         * dlfcn/bug-dl-leaf-lib.c: Likewise.
15362         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15363         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15364         (dlclose): Likewise.
15365         (dlmopen): Likewise.
15367 2013-08-27  Roland McGrath  <roland@hack.frob.com>
15369         * include/netdb.h [!_ISOMAC]:
15370         Don't include <tls.h>.
15371         (h_errno, __libc_h_errno): Move declaration and macros out of
15372         [_LIBC_REENTRANT].
15374         * include/resolv.h [_RESOLV_H_]:
15375         Don't include <tls.h>.
15376         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15377         * resolv/res_libc.c: Don't include <tls.h>.
15378         (_res): Use __attribute__ ((nocommon)) in place of
15379         __attribute__ ((section (".bss"))).
15381         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15382         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15384         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15386         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15387         only under [SIOCGIFCONF && SIOCGIFNETMASK].
15389         * resolv/res_mkquery.c: Include <sys/time.h>.
15391         * inet/ifreq.c: Moved to ...
15392         * sysdeps/unix/ifreq.c: ... here.
15393         * inet/ifreq.c: New file, true stub version.
15395         * socket/sa_len.c: New file.
15396         * socket/Makefile (aux): Add it.
15397         * sysdeps/unix/sysv/linux/Makefile
15398         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15399         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15400         and #include <socket/sa_len.c>.
15401         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15402         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15404         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15405         * bits/socket.h: ... here.
15407         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15408         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15409         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15411 2013-08-27  Andreas Schwab  <schwab@suse.de>
15413         [BZ #15736]
15414         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15415         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15416         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15417         * string/test-strcasecmp.c (test_main): Run tests in several
15418         locales.
15419         * string/test-strncasecmp.c (test_main): Likewise.
15421         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15422         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15423         to __strcasecmp_nonascii and __strncasecmp_nonascii.
15424         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15425         (__strncasecmp_ssse3) [PIC]: Likewise.
15427 2013-08-26  Roland McGrath  <roland@hack.frob.com>
15429         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15431         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15432         instead of explicitly declaring xdecrypt.
15433         * nis/nss_nis/nis-publickey.c: Likewise.
15435 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15437         [BZ #15890]
15438         * nscd/aicache.c: Include res_hconf.h.
15439         (addhstaiX): Initialize res_hconf.
15441 2013-08-26  Andreas Schwab  <schwab@suse.de>
15443         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15444         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15446 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15448         * nscd/aicache.c (addhstaiX): Fix indentation.
15450 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
15452         * configure.ac: Quote $build_pt_chown test.
15453         * configure: Regenerated.
15455 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
15457         [BZ #15532]
15458         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15459         * math/s_cexpf.c (__cexpf): Likewise.
15460         * math/s_cexpl.c (__cexpl): Likewise.
15461         * math/libm-test.inc (cexp_test_data): Correct expected return
15462         value for NaN + i0.  Add another test.
15464 2013-08-22  David S. Miller  <davem@davemloft.net>
15466         * po/ca.po: Update Catalan translation from translation project.
15467         * po/uk.po: Add Ukrainian translations from translation project.
15469 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
15471         [BZ #15797]
15472         * math/s_fdim.c (__fdim): Check for infinite arguments if result
15473         is infinite, not alongside NaN test.
15474         * math/s_fdimf.c (__fdimf): Likewise.
15475         * math/s_fdiml.c (__fdiml): Likewise.
15476         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
15477         errno is unchanged.
15479 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
15481         * argp/argp-help.c: Fix typos.
15482         * crypt/speeds.c: Likewise.
15483         * csu/check_fds.c: Likewise.
15484         * elf/dl-load.c: Likewise.
15485         * elf/dl-open.c: Likewise.
15486         * elf/reldep3.c: Likewise.
15487         * elf/reldep.c: Likewise.
15488         * elf/sprof.c: Likewise.
15489         * iconv/iconv_charmap.c: Likewise.
15490         * iconv/skeleton.c: Likewise.
15491         * iconv/strtab.c: Likewise.
15492         * io/lockf64.c: Likewise.
15493         * libio/libioP.h: Likewise.
15494         * resolv/gai_notify.c: Likewise.
15495         * resolv/ns_name.c: Likewise.
15496         * resolv/ns_samedomain.c: Likewise.
15497         * resolv/res_send.c: Likewise.
15498         * stdlib/random.c: Likewise.
15499         * sunrpc/rpc/xdr.h: Likewise.
15500         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15501         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15502         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15503         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15504         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15505         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15506         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15507         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15508         * sysdeps/mach/hurd/check_fds.c: Likewise.
15509         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15510         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15511         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15512         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15513         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15514         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15515         * sysdeps/pthread/aio_notify.c: Likewise.
15516         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15517         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15518         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15519         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15520         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15522 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15524         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15525         version if bit_Slow_SSE4_2 is set.
15526         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15527         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15529 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15531         [BZ #15867]
15532         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15533         trampoline stack frame information.
15534         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15535         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15536         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15537         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15538         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15539         * sysdeps/unix/sysv/linux/powerpc/init-first.c
15540         (_libc_vdso_platform_setup): Initialize the signal trampolines.
15541         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15542         sa_flags value.
15543         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15544         interrupting a syscall and set with option SA_SIGINFO.
15546 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15548         [BZ #15531]
15549         * math/s_cproj.c (__cproj): Only return an infinity if one part of
15550         argument is infinite.
15551         * math/s_cprojf.c (__cprojf): Likewise.
15552         * math/s_cprojl.c (__cprojl): Likewise.
15553         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15554         * math/libm-test.inc (cproj_test_data): Add more tests.
15556         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15558         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15559         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15560         size.  Use __ffs to determine corresponding shift.
15562 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15563             Roland McGrath  <roland@hack.frob.com>
15565         * Makefile (INSTALL): Remove trailing blank lines from output of
15566         makeinfo.
15568 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15570         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15571         Align 32 bit compat elf_greg to 8 bytes.
15573 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15575         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15577 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15579         * string/strcoll_l.c (coll_seq): New structure.
15580         (get_next_seq_cached): New function.
15581         (get_next_seq): New function.
15582         (do_compare): New function.
15583         (STRCOLL): Use GNU style definition.  Simplify implementation
15584         by using get_next_seq, get_next_seq_cached and do_compare.
15586 2013-08-16  Florian Weimer  <fweimer@redhat.com>
15588         [BZ #14699]
15589         CVE-2013-4237
15590         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15591         member.
15592         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15593         member.
15594         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15595         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15596         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
15597         conditional.
15598         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15599         GETDENTS_64BIT_ALIGNED.
15600         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15601         * manual/filesys.texi (Reading/Closing Directory): Document
15602         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
15603         strongly.
15604         * manual/conf.texi (Limits for Files): Add portability note to
15605         NAME_MAX, PATH_MAX.
15606         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15608 2013-08-13  Andreas Schwab  <schwab@suse.de>
15610         [BZ #15749]
15611         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15612         of fabs.
15613         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15614         LDBL_MAX_EXP >= 16384]: Add tests for it.
15616 2013-08-12  David S. Miller  <davem@davemloft.net>
15618         * version.h (RELEASE): Set to "development".
15619         (VERSION): Set to "2.18.90".
15620         * NEWS: Add 2.19 section.
15622 2013-08-03  David S. Miller  <davem@davemloft.net>
15624         * po/ko.po: Update Korean translation from translation project.
15626 2013-08-01  David S. Miller  <davem@davemloft.net>
15628         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
15629         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15630         Bilka.
15632 2013-07-30  David S. Miller  <davem@davemloft.net>
15634         * po/fr.po: Update French translation from translation project.
15636 2013-07-28  David S. Miller  <davem@davemloft.net>
15638         * po/cs.po: Update Czech translation from translation project.
15640         * po/sv.po: Update Swedish translation from translation project.
15642 2013-07-27  David S. Miller  <davem@davemloft.net>
15644         * po/eo.po: Update Esperanto translation from translation project.
15646         * po/vi.po: Update Vietnamese translation from translation project.
15648         * po/de.po: Update German translation from translation project.
15650 2013-07-26  David S. Miller  <davem@davemloft.net>
15652         * po/bg.po: Update Bulgarian translation from translation project.
15654         * po/nl.po: Update Dutch translation from translation project.
15655         * po/pl.po: Update Polish translation from translation project.
15656         * po/ru.po: Update Russian translation from translation project.
15658 2013-07-24  David S. Miller  <davem@davemloft.net>
15660         * po/libc.pot: Update.
15662 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15664         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15665         variable page size.
15666         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15667         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15668         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15670 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15672         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15674 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15675             Andreas Schwab  <schwab@suse.de>
15676             Roland McGrath  <roland@hack.frob.com>
15677             Joseph Myers  <joseph@codesourcery.com>
15678             Carlos O'Donell  <carlos@redhat.com>
15680         [BZ #15755]
15681         * config.h.in: Define HAVE_PT_CHOWN.
15682         * config.make.in (build-pt-chown): New variable.
15683         * configure.in (--enable-pt_chown): New configure option.
15684         * configure: Regenerate.
15685         * login/Makefile: Include Makeconfig.  Build pt_chown only if
15686         build-pt-chown is enabled.
15687         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15688         pt_chown to fix pty ownership.
15689         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15690         CLOSE_ALL_FDS.
15691         * manual/install.texi (Configuring and compiling): Mention
15692         --enable-pt_chown. Add @findex for grantpt.
15693         * INSTALL: Regenerate.
15695 2013-07-20  David S. Miller  <davem@davemloft.net>
15697         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15698         difference between 32-bit and 64-bit.
15700 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
15702         [BZ #15711]
15703         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15704         Avoid system header dependency with -ffreestanding.
15705         ($(objpfx)bits/syscall%d): Likewise.
15707 2013-07-13  David S. Miller  <davem@davemloft.net>
15709         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15710         underflows from atanl/atan2l due to bug 15319.
15711         (casinh_test_data): Likewise.
15713 2013-07-07  David S. Miller  <davem@davemloft.net>
15715         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15717 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
15719         * sysdeps/i386/fpu/libm-test-ulps: Update.
15720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15722 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15724         * configure.in (--enable-lock-elision): Fix message text.
15725         * INSTALL: Regenerate.
15726         * configure: Regenerate.
15728 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15732 2013-07-03  Andreas Jaeger  <aj@suse.de>
15734         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15735         define.
15736         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15737         (ptrace_peeksiginfo_args): Add.
15738         (__ptrace_peeksiginfo_flags): Add.
15739         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15740         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15741         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15743 2013-07-03  Allan McRae  <allan@archlinux.org>
15745         * sysdeps/i386/fpu/libm-test-ulps: Update.
15747 2013-07-02  David S. Miller  <davem@davemloft.net>
15749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15751 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
15753         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15755 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
15757         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15760 2013-07-02  Andi Kleen <ak@linux.intel.com>
15762         * config.h.in (ENABLE_LOCK_ELISION): Add.
15763         * configure.in (--enable-lock-elision): Add option.
15764         * manual/install.texi: Document --enable lock elision.
15765         * configure: Regenerate
15766         * INSTALL: Regenerate.
15768 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
15770         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15771         SSE4.2 strcasecmp for libc.a.
15772         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15774 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
15776         [BZ #13304]
15777         * soft-fp/op-common.h (_FP_FMA): New macro.
15778         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15779         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
15780         (_FP_MUL_MEAT_1_imm): ... here.
15781         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
15782         (_FP_MUL_MEAT_1_wide): ... here.
15783         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
15784         (_FP_MUL_MEAT_1_hard): ... here.
15785         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15786         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
15787         (_FP_MUL_MEAT_2_wide): ... here.
15788         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
15789         (_FP_MUL_MEAT_2_wide_3mul): ... here.
15790         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
15791         (_FP_MUL_MEAT_2_gmp): ... here.
15792         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15793         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
15794         (_FP_MUL_MEAT_4_wide): ... here.
15795         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
15796         (_FP_MUL_MEAT_4_gmp): ... here.
15797         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15798         (_FP_WFRACBITS_DW_S): Likewise.
15799         (_FP_WFRACXBITS_DW_S): Likewise.
15800         (_FP_HIGHBIT_DW_S): Likewise.
15801         (FP_FMA_S): Likewise.
15802         (_FP_FRAC_HIGH_DW_S): Likewise.
15803         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15804         (_FP_WFRACBITS_DW_D): Likewise.
15805         (_FP_WFRACXBITS_DW_D): Likewise.
15806         (_FP_HIGHBIT_DW_D): Likewise.
15807         (FP_FMA_D): Likewise.
15808         (_FP_FRAC_HIGH_DW_D): Likewise.
15809         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15810         (_FP_WFRACBITS_DW_E): Likewise.
15811         (_FP_WFRACXBITS_DW_E): Likewise.
15812         (_FP_HIGHBIT_DW_E): Likewise.
15813         (FP_FMA_E): Likewise.
15814         (_FP_FRAC_HIGH_DW_E): Likewise.
15815         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15816         (_FP_WFRACBITS_DW_Q): Likewise.
15817         (_FP_WFRACXBITS_DW_Q): Likewise.
15818         (_FP_HIGHBIT_DW_Q): Likewise.
15819         (FP_FMA_Q): Likewise.
15820         (_FP_FRAC_HIGH_DW_Q): Likewise.
15821         * soft-fp/fmasf4.c: New file.
15822         * soft-fp/fmadf4.c: Likewise.
15823         * soft-fp/fmatf4.c: Likewise.
15825 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15827         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15828         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15829         Silvermont.
15830         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15831         macro.
15832         (index_Slow_SSE4_2): Likewise.
15833         (index_Prefer_PMINUB_for_stringop): Likewise.
15834         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15835         bit_Slow_SSE4_2 is set.
15836         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15837         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15839 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15841         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15842         rtld_global._dl_hwcap2.
15843         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15844         POWER8.
15845         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15846         POWER8 feature descriptions defined in _dl_hwcap2.
15847         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15848         string handling for POWER8 feature bits.
15849         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15850         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15851         _dl_powerpc_cap_flags.
15852         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15853         * sysdeps/powerpc/rtld-global-offsets.sym
15854         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15855         _dl_hwcap2 in the rtld_global_ro structure.
15857 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15859         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15860         hardware capabilities in support of AT_HWCAP2.
15861         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15862         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15863         GLRO(dl_hwcap2).
15864         (_dl_show_auxv): Add support for calling _dl_procinfo to display
15865         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
15866         explicitly the unknown a_type display mechanism is used.
15867         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15868         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15869         struct member.
15870         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15871         to macro prototype for AT_HWCAP2 support.
15872         * sysdeps/i386/dl-procinfo.h: Likewise.
15873         * sysdeps/s390/dl-procinfo.h: Likewise.
15874         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15875         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
15876         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
15877         return -1 for unknown a_type display fallback.
15878         * sysdeps/sparc/dl-procinfo.h: Likewise.
15879         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15880         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15882 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
15884         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15885         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15887 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
15889         [BZ #12492]
15890         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15891         mprotect making __stack_prot writable.
15893 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
15894             Joseph Myers  <joseph@codesourcery.com>
15896         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15897         as being properly aligned.
15899 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
15901         * dlfcn/modstatic5.c: New file.
15902         * dlfcn/tststatic5.c: New file.
15903         * dlfcn/Makefile (tests): Add tststatic5.
15904         (tests-static): Likewise.
15905         (modules-names): Add modstatic5.
15906         (tststatic5-ENV): New variable.
15907         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15909         [BZ #15022]
15910         * elf/dl-support.c (_dl_main_map): New variable.
15911         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15912         (_dl_nns, _dl_load_adds): Set to 1.
15913         (_dl_initial_searchlist): Refer to _dl_main_map.
15914         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15915         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15916         call to _dl_get_origin.
15917         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15918         around call_map.
15919         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15920         * dlfcn/modstatic3.c: New file.
15921         * dlfcn/tststatic3.c: New file.
15922         * dlfcn/tststatic4.c: New file.
15923         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15924         (tests-static): Likewise.
15925         (modules-names): Add modstatic3.
15926         (tststatic3-ENV, tststatic4-ENV): New variables.
15927         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15928         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15930 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
15932         * configure.in (CC): Require GCC version 4.4 or later.
15933         * configure: Regenerated.
15934         * manual/install.texi (Tools for Compilation): Update GCC version
15935         requirement.
15936         * INSTALL: Regenerated.
15938 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15940         [BZ #15674]
15941         * string/test-memcmp.c (check2): New.
15942         (main): Call check2.
15944         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15946 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
15948         [BZ #15022]
15949         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15950         over to...
15951         (dl_open_worker) [!SHARED]: ... here.
15953 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15955         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15957 2013-06-25  Richard Henderson  <rth@redhat.com>
15959         * locale/programs/locarchive.c: Include <libc-internal.h>
15961 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
15963         * manual/texinfo.tex: Update to version 2013-06-21.17, with
15964         trailing whitespace removed.
15966 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
15968         [BZ #10283]
15969         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15970         * locale/programs/locarchive.c: Include libc-mmap.h.
15971         (prepare_address_space): Take two new outputs (the mmap base and len).
15972         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
15973         values.
15974         (create_archive): Declare new mmap base and len values for
15975         prepare_address_space, and store the result in ah.
15976         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15977         (enlarge_archive): If ah->mmap_base is not NULL, use that and
15978         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15979         Declare new mmap base and len values for
15980         prepare_address_space, and store the result in new_ah.
15981         (open_archive): Declare new mmap base and len values for
15982         prepare_address_space, and store the result in ah.
15983         (close_archive): If ah->mmap_base is not NULL, use that and
15984         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15985         * sysdeps/generic/libc-mmap.h: New file.
15987 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
15989         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15990         (ALIGN_UP): Likewise.
15991         (PTR_ALIGN_DOWN): Likewise.
15992         (PTR_ALIGN_UP): Likewise.
15994 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15996         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15997         entry mapped to PPC_PLATFORM_POWER8.
15998         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15999         POWER8.
16000         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16001         (_dl_string_platform): Add case for exporting platform position for
16002         POWER8.
16003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16004         search path to sysdeps/powerpc/powerpc32/power8 directory.
16005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16006         search path to sysdeps/powerpc/powerpc64/power8 directory.
16007         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16008         power7 directories.
16009         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16010         power7 directories.
16012 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16014         * INSTALL: Regenerate.
16016         * nscd/connections.c (nscd_init): Fix comment.
16018 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16020         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16022         [BZ #15667]
16023         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16024         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16026 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16028         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16029         DL_DST_REQ_STATIC.
16030         (DL_DST_REQ_STATIC): Remove macro.
16032 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16034         [BZ #7006]
16035         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16036         with a shift of 0 bits.
16038 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16040         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16041         $(tststatic-ENV).
16043 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16045         [BZ #15655]
16046         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16048 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16050         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16051         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16052         accepts -fno-tree-loop-distribute-patterns.
16053         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16054         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16055         recursive call.
16056         * string/memset.c (memset): Likewise.
16057         * string/test-memmove.c (simple_memmove): Disable loop transformation
16058         to library calls.
16059         * string/test-memset.c (simple_memset): Likewise.
16060         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16061         * benchtests/bench-memset.c (simple_memset): Likewise.
16062         * configure: Regenerated.
16064 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
16066         * math/test-misc.c (main): Ignore fesetround failure when failures
16067         of subsequent rounding tests would be ignored.
16069         [BZ #15654]
16070         * math/fedisblxcpt.c (fedisableexcept): Return 0.
16071         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16072         * math/fegetenv.c (__fegetenv): Return 0.
16073         * math/fegetexcept.c (fegetexcept): Return 0.
16074         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16075         FE_TONEAREST.
16076         * math/feholdexcpt.c (feholdexcept): Return 0.
16077         * math/fesetenv.c (__fesetenv): Return 0.
16078         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16079         argument FE_TONEAREST.
16080         * math/feupdateenv.c (__feupdateenv): Return 0.
16081         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16083 2013-06-18  Roland McGrath  <roland@hack.frob.com>
16085         * elf/rtld-Rules (rtld-compile-command.S): New variable.
16086         (rtld-compile-command.s, rtld-compile-command.c): New variables.
16087         ($(objpfx)rtld-%.os rules): Use them.
16089 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16091         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16092         fields.
16094 2013-06-17  Roland McGrath  <roland@hack.frob.com>
16096         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16097         length of target pattern, then descending length of dependency pattern.
16098         * configure.in (AWK): Require gawk 3.1.2 or newer.
16099         * manual/install.texi (Tools for Compilation): Say that we do.
16100         * configure: Regenerated.
16102         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16103         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16104         * scripts/sysd-rules.awk: ... this new script.
16105         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16106         than a glob-style pattern.
16108 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
16110         * math/test-misc.c (main): Do not treat incorrectly rounded
16111         conversions as failure unless ROUNDING_TESTS passes.
16113 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
16115         [BZ #15631]
16116         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16117         restore exception state around main square root computation, then
16118         check for inexactness explicitly.
16120         * math/libm-test.inc (fma_test_data): Add another test.
16122 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16124         * manual/threads.texi (Non-POSIX Extensions): New document
16125         node.  Document pthread_getattr_default_np and
16126         pthread_setattr_default_np.
16128         * Versions.def (libpthread): Add GLIBC_2.18.
16129         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16131         Likewise.
16132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16133         Likewise.
16134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16135         Likewise.
16136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16137         Likewise.
16138         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16139         Likewise.
16140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16141         Likewise.
16142         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16143         Likewise.
16144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16145         Likewise.
16146         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16147         Likewise.
16149 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16151         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16152         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16154 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16155             H.J. Lu  <hjl.tools@gmail.com>
16157         [BZ #15627]
16158         * sysdeps/x86_64/rtld-memset.c: Remove file.
16159         * sysdeps/x86_64/rtld-memset.S: New file.
16161 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
16163         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16164         (test_in_one_mode): Take arguments for whether the rounding mode
16165         is supported for each floating-point type.
16166         (do_test): Pass new arguments to test_in_one_mode using
16167         ROUNDING_TESTS.
16169 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16171         * posix/tst-waitid.c (do_test): Distinguish different instances of
16172         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
16173         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16174         before entering the kernel for waitpid.
16176 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16178         * NEWS: Fix note on clock function precision.  Text by Roland
16179         McGrath.
16181 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16183         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16184         it into place only when and if the sanity check passes.
16186 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
16188         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16189         output for whether conversion result is exact.  Take argument
16190         indicating whether type is IBM long double.
16191         (round_for_all): Change need_exact field to ibm_ld.
16192         * stdlib/tst-strtod-round.c (struct exactness): New type.
16193         (struct test): Change bool ld_ok field to struct exactness exact.
16194         (TEST): Update all definitions for change to field.
16195         (tests): Regenerate array contents.
16196         (test_in_one_mode): Take pointer to new field instead of old ld_ok
16197         field value.  Check for IBM long double here.
16198         (do_test): Update calls to test_in_one_mode.
16200 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16202         [BZ #12515]
16203         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16204         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16206 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16208         [BZ #15605]
16209         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16210         generated by the compiler on loop optimizations.
16211         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16212         general definitions.
16214 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
16216         * math/bug-nextafter.c: Include <math-tests.h>.
16217         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16218         the relevant type.
16219         * math/bug-nexttoward.c: Include <math-tests.h>.
16220         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16221         the relevant type.
16222         * math/test-misc.c: Include <math-tests.h>.
16223         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16224         the relevant type.
16226 2013-06-12  Andreas Jaeger  <aj@suse.de>
16228         * po/ia.po: Update Interlingua translation from translation
16229         project.
16231 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16233         * include/fenv.h: Include stdbool.h.
16234         (struct rm_ctx): New structure.
16235         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16236         Define macro.
16237         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16238         (SET_RESTORE_ROUNDF): Likewise.
16239         (SET_RESTORE_ROUNDL): Likewise.
16240         (SET_RESTORE_ROUND_NOEX): Likewise.
16241         (SET_RESTORE_ROUND_NOEXF): Likewise.
16242         (SET_RESTORE_ROUND_NOEXL): Likewise.
16243         (SET_RESTORE_ROUND_53BIT): Likewise.
16244         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16245         (libc_feresetround_noexf_ctx): Likewise.
16246         (libc_feresetround_noexl_ctx): Likewise.
16247         (libc_feholdsetround_53bit_ctx): Likewise.
16248         (libc_feresetround_53bit_ctx): Likewise.
16249         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16250         (libc_feholdexcept_setround_sse_ctx): New function.
16251         (libc_fesetenv_sse_ctx): Likewise.
16252         (libc_feupdateenv_sse_ctx): Likewise.
16253         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16254         (libc_feholdexcept_setround_387_ctx): Likewise.
16255         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16256         (libc_feholdsetround_387_prec_ctx): Likewise.
16257         (libc_feholdsetround_387_ctx): Likewise.
16258         (libc_feholdsetround_387_53bit_ctx): Likewise.
16259         (libc_feholdsetround_sse_ctx): Likewise.
16260         (libc_feresetround_sse_ctx): Likewise.
16261         (libc_feresetround_387_ctx): Likewise.
16262         (libc_feupdateenv_387_ctx): Likewise.
16263         (libc_feholdexcept_setroundf_ctx): Define macro.
16264         (libc_fesetenvf_ctx): Likewise.
16265         (libc_feupdateenvf_ctx): Likewise.
16266         (libc_feholdsetroundf_ctx): Likewise.
16267         (libc_feresetroundf_ctx): Likewise.
16268         (libc_feholdexcept_setround_ctx): Likewise.
16269         (libc_fesetenv_ctx): Likewise.
16270         (libc_feupdateenv_ctx): Likewise.
16271         (libc_feholdsetround_ctx): Likewise.
16272         (libc_feresetround_ctx): Likewise.
16273         (libc_feholdexcept_setroundl_ctx): Likewise.
16274         (libc_feupdateenvl_ctx): Likewise.
16275         (libc_feholdsetroundl_ctx): Likewise.
16276         (libc_feresetroundl_ctx): Likewise.
16277         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16278         (libc_feresetround_53bit_ctx): Likewise.
16280 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16282         * locale/iso-639.def: Convert to UTF-8.
16284 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
16286         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16287         (EXCEPTION_TESTS_double): Likewise.
16288         (EXCEPTION_TESTS_long_double): Likewise.
16289         (EXCEPTION_TESTS): Likewise.
16290         * math/libm-test.inc (test_exceptions): Only test exceptions if
16291         EXCEPTION_TESTS (FLOAT).
16293 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16295         * benchtests/Makefile (string-bench): Add strcpy_chk and
16296         stpcpy_chk.
16297         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16298         * benchtests/bench-stpcpy_chk.c: New file.
16299         * benchtests/bench-strcpy_chk-ifunc.c: New file.
16300         * benchtests/bench-strcpy_chk.c: New file.
16301         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16302         code.
16303         (do_test): Likewise.
16305 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16307         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16308         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16309         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16310         with tabs where appropriate.
16311         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16312         dl-procinfo.h.
16313         [PPC_PLATFORM_PPC440]: Likewise.
16314         [PPC_PLATFORM_PPC464]: Likewise.
16315         [PPC_PLATFORM_PPC476]: Likewise.
16316         (_dl_string_platform): Add support for detecting ppc405, ppc440,
16317         ppc464, and ppc476 platform strings merging from ports/
16318         dl-procinfo.h.
16320 2013-06-11  Andreas Schwab  <schwab@suse.de>
16322         [BZ #14991]
16323         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16324         (from_ucs4_idx): Regenerate.
16325         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16326         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16327         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16328         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16329         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16330         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16331         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16332         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16333         from FROM_LOOP and TO_LOOP specific macros.
16334         (BODY): Handle combining characters.
16335         * iconvdata/BIG5HKSCS.irreversible: Update.
16336         * iconvdata/BIG5HKSCS.precomposed: New file.
16337         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16338         characters.
16339         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16341 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16343         * include/sys/time.h: Fix indentation and add copyright header.
16345         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16346         (do_test): Likewise.
16347         * string/test-memchr.c (do_one_test): Likewise.
16348         (do_test): Likewise.
16349         * string/test-memcmp.c (do_one_test): Likewise.
16350         (do_test): Likewise.
16351         * string/test-memcpy.c (do_one_test): Likewise.
16352         (do_test): Likewise.
16353         * string/test-memmem.c (do_one_test): Likewise.
16354         (do_test): Likewise.
16355         (do_random_tests): Likewise.
16356         * string/test-memmove.c (do_one_test): Likewise.
16357         (do_test): Likewise.
16358         * string/test-memset.c (do_one_test): Likewise.
16359         (do_test): Likewise.
16360         * string/test-rawmemchr.c (do_one_test): Likewise.
16361         (do_test): Likewise.
16362         * string/test-strcasecmp.c (do_one_test): Likewise.
16363         (do_test): Likewise.
16364         * string/test-strcasestr.c (do_one_test): Likewise.
16365         (do_test): Likewise.
16366         * string/test-strcat.c (do_one_test): Likewise.
16367         (do_test): Likewise.
16368         * string/test-strchr.c (do_one_test): Likewise.
16369         (do_test): Likewise.
16370         * string/test-strcmp.c (do_one_test): Likewise.
16371         (do_test): Likewise.
16372         * string/test-strcpy.c (do_one_test): Likewise.
16373         (do_test): Likewise.
16374         * string/test-string.h: Likewise.
16375         (test_init): Likewise.
16376         * string/test-strlen.c (do_one_test): Likewise.
16377         (do_test): Likewise.
16378         * string/test-strncasecmp.c (do_one_test): Likewise.
16379         (do_test): Likewise.
16380         * string/test-strncat.c (do_one_test): Likewise.
16381         (do_test): Likewise.
16382         * string/test-strncmp.c (do_one_test): Likewise.
16383         (do_test_limit): Likewise.
16384         (do_test): Likewise.
16385         * string/test-strncpy.c (do_one_test): Likewise.
16386         (do_test): Likewise.
16387         * string/test-strnlen.c (do_one_test): Likewise.
16388         (do_test): Likewise.
16389         * string/test-strpbrk.c (do_one_test): Likewise.
16390         (do_test): Likewise.
16391         * string/test-strrchr.c (do_one_test): Likewise.
16392         (do_test): Likewise.
16393         * string/test-strspn.c (do_one_test): Likewise.
16394         (do_test): Likewise.
16395         * string/test-strstr.c (do_one_test): Likewise.
16396         (do_test): Likewise.
16398         * benchtests/Makefile (string-bench): Add string benchmarks.
16399         * benchtests/bench-bcopy-ifunc.c: New file.
16400         * benchtests/bench-bcopy.c: New file.
16401         * benchtests/bench-bzero-ifunc.c: New file.
16402         * benchtests/bench-bzero.c: New file.
16403         * benchtests/bench-memccpy-ifunc.c: New file.
16404         * benchtests/bench-memccpy.c: New file.
16405         * benchtests/bench-memchr-ifunc.c: New file.
16406         * benchtests/bench-memchr.c: New file.
16407         * benchtests/bench-memcmp-ifunc.c: New file.
16408         * benchtests/bench-memcmp.c: New file.
16409         * benchtests/bench-memmem-ifunc.c: New file.
16410         * benchtests/bench-memmem.c: New file.
16411         * benchtests/bench-memmove-ifunc.c: New file.
16412         * benchtests/bench-memmove.c: New file.
16413         * benchtests/bench-mempcpy-ifunc.c: New file.
16414         * benchtests/bench-mempcpy.c: New file.
16415         * benchtests/bench-memset-ifunc.c: New file.
16416         * benchtests/bench-memset.c: New file.
16417         * benchtests/bench-rawmemchr-ifunc.c: New file.
16418         * benchtests/bench-rawmemchr.c: New file.
16419         * benchtests/bench-stpcpy-ifunc.c: New file.
16420         * benchtests/bench-stpcpy.c: New file.
16421         * benchtests/bench-stpncpy-ifunc.c: New file.
16422         * benchtests/bench-stpncpy.c: New file.
16423         * benchtests/bench-strcasecmp-ifunc.c: New file.
16424         * benchtests/bench-strcasecmp.c: New file.
16425         * benchtests/bench-strcasestr-ifunc.c: New file.
16426         * benchtests/bench-strcasestr.c: New file.
16427         * benchtests/bench-strcat-ifunc.c: New file.
16428         * benchtests/bench-strcat.c: New file.
16429         * benchtests/bench-strchr-ifunc.c: New file.
16430         * benchtests/bench-strchr.c: New file.
16431         * benchtests/bench-strchrnul-ifunc.c: New file.
16432         * benchtests/bench-strchrnul.c: New file.
16433         * benchtests/bench-strcmp-ifunc.c: New file.
16434         * benchtests/bench-strcmp.c: New file.
16435         * benchtests/bench-strcpy-ifunc.c: New file.
16436         * benchtests/bench-strcpy.c: New file.
16437         * benchtests/bench-strcspn-ifunc.c: New file.
16438         * benchtests/bench-strcspn.c: New file.
16439         * benchtests/bench-strlen-ifunc.c: New file.
16440         * benchtests/bench-strlen.c: New file.
16441         * benchtests/bench-strncasecmp-ifunc.c: New file.
16442         * benchtests/bench-strncasecmp.c: New file.
16443         * benchtests/bench-strncat-ifunc.c: New file.
16444         * benchtests/bench-strncat.c: New file.
16445         * benchtests/bench-strncmp-ifunc.c: New file.
16446         * benchtests/bench-strncmp.c: New file.
16447         * benchtests/bench-strncpy-ifunc.c: New file.
16448         * benchtests/bench-strncpy.c: New file.
16449         * benchtests/bench-strnlen-ifunc.c: New file.
16450         * benchtests/bench-strnlen.c: New file.
16451         * benchtests/bench-strpbrk-ifunc.c: New file.
16452         * benchtests/bench-strpbrk.c: New file.
16453         * benchtests/bench-strrchr-ifunc.c: New file.
16454         * benchtests/bench-strrchr.c: New file.
16455         * benchtests/bench-strspn-ifunc.c: New file.
16456         * benchtests/bench-strspn.c: New file.
16457         * benchtests/bench-strstr-ifunc.c: New file.
16458         * benchtests/bench-strstr.c: New file.
16460         * benchtests/Makefile: Disable parallel execution of targets.
16461         (string-bench): Add memcpy.
16462         (benchset): New variable to store a list of benchmark sets.
16463         (bench-func): Renamed from bench.
16464         (bench-set): New target.
16465         (bench): Depend on bench-func and bench-set.
16466         * benchtests/README: Add section on benchmark sets.
16467         * benchtests/bench-memcpy-ifunc.c: New file.
16468         * benchtests/bench-memcpy.c: New file.
16469         * benchtests/bench-string.h: New file.
16471 2013-06-11  Andreas Schwab  <schwab@suse.de>
16473         [BZ #15577]
16474         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16475         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16476         values in the triple.
16477         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16478         terminator in the group key.
16480 2013-06-11  Andreas Jaeger  <aj@suse.de>
16482         * po/zh_TW.po: Update Chinese (traditional) translation from
16483         translation project.
16485 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16487         * include/time.h (__clock_gettime): Add libc_hidden_proto.
16488         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16489         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
16490         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16491         (clock_getcpuclockid): Likewise.
16492         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16493         Add weak_alias and libc_hidden_def.
16494         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16495         * rt/clock_gettime.c (clock_gettime): Rename to
16496         __clock_gettime.  Add weak_alias and libc_hidden_def.
16497         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16498         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16499         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
16500         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16501         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16502         Likewise.
16503         * rt/clock_settime.c (clock_settime): Rename to
16504         __clock_settime.  Add weak_alias and libc_hidden_def.
16505         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16507 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
16509         * mach/err_boot.sub: Remove trailing whitespace.
16510         * mach/err_ipc.sub: Likewise.
16511         * mach/err_mach.sub: Likewise.
16513         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16514         (ROUNDING_TESTS_double): Likewise.
16515         (ROUNDING_TESTS_long_double): Likewise.
16516         (ROUNDING_TESTS): Likewise.
16517         * math/libm-test.inc: Include <math-tests.h>.
16518         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16519         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16520         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16521         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16523 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16525         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16526         of assigning.
16528 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
16530         * sysdeps/gnu/errlist.awk: Do not generate space at end of
16531         otherwise empty TRANS lines.
16532         * sysdeps/gnu/errlist.c: Regenerated.
16534         * catgets/gencat.c (error_print): Use (void) in function
16535         definition.
16536         * crypt/crypt_util.c (__init_des): Likewise.
16537         * crypt/speeds.c (Stop): Likewise.
16538         (main): Likewise.
16539         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16540         * inet/ruserpass.c (token): Likewise.
16541         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16542         * intl/localealias.c (extend_alias_table): Likewise.
16543         * intl/plural-exp.c (init_germanic_plural): Likewise.
16544         * libio/fcloseall.c (__fcloseall): Likewise.
16545         * libio/genops.c (_IO_flush_all): Likewise.
16546         (_IO_flush_all_linebuffered): Likewise.
16547         (_IO_cleanup): Likewise.
16548         (_IO_iter_begin): Likewise.
16549         (_IO_iter_end): Likewise.
16550         (_IO_list_lock): Likewise.
16551         (_IO_list_unlock): Likewise.
16552         (_IO_list_resetlock): Likewise.
16553         * libio/getchar.c (getchar): Likewise.
16554         * libio/getchar_u.c (getchar_unlocked): Likewise.
16555         * libio/getwchar.c (getwchar): Likewise.
16556         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16557         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16558         * login/getpt.c (__getpt): Likewise.
16559         * login/tst-utmp.c (main): Likewise.
16560         * malloc/hooks.c (__malloc_check_init): Likewise.
16561         * malloc/malloc.c (__malloc_stats): Likewise.
16562         * malloc/mtrace.c (tr_break): Likewise.
16563         (mtrace): Likewise.
16564         (muntrace): Likewise.
16565         * misc/fstab.c (endfsent): Likewise.
16566         * misc/getclktck.c (__getclktck): Likewise.
16567         * misc/getdtsz.c (__getdtablesize): Likewise.
16568         * misc/gethostid.c (gethostid): Likewise.
16569         * misc/getpagesize.c (__getpagesize): Likewise.
16570         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16571         (__get_nprocs): Likewise.
16572         (__get_phys_pages): Likewise.
16573         (__get_avphys_pages): Likewise.
16574         * misc/getttyent.c (getttyent): Likewise.
16575         (setttyent): Likewise.
16576         (endttyent): Likewise.
16577         * misc/getusershell.c (getusershell): Likewise.
16578         (endusershell): Likewise.
16579         (setusershell): Likewise.
16580         (initshells): Likewise.
16581         * misc/hsearch.c (__hdestroy): Likewise.
16582         * misc/sync.c (sync): Likewise.
16583         * misc/syslog.c (closelog_internal): Likewise.
16584         (closelog): Likewise.
16585         * misc/ttyslot.c (ttyslot): Likewise.
16586         * misc/vhangup.c (vhangup): Likewise.
16587         * posix/fork.c (__fork): Likewise.
16588         * posix/getegid.c (__getegid): Likewise.
16589         * posix/geteuid.c (__geteuid): Likewise.
16590         * posix/getgid.c (__getgid): Likewise.
16591         * posix/getpid.c (__getpid): Likewise.
16592         * posix/getppid.c (__getppid): Likewise.
16593         * posix/getuid.c (__getuid): Likewise.
16594         * posix/pause.c (pause): Likewise.
16595         * posix/setpgrp.c (setpgrp): Likewise.
16596         * posix/setsid.c (__setsid): Likewise.
16597         * posix/test-vfork.c (noop): Likewise.
16598         * resolv/gethnamaddr.c (_endhtent): Likewise.
16599         (_gethtent): Likewise.
16600         (ht_endhostent): Likewise.
16601         (gethostent): Likewise.
16602         (dns_service): Likewise.
16603         * stdlib/drand48.c (drand48): Likewise.
16604         * stdlib/lrand48.c (lrand48): Likewise.
16605         * stdlib/mrand48.c (mrand48): Likewise.
16606         * stdlib/rand.c (rand): Likewise.
16607         * stdlib/random.c (__random): Likewise.
16608         * stdlib/setenv.c (clearenv): Likewise.
16609         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16610         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16611         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16612         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16613         (__get_nprocs): Likewise.
16614         (__get_phys_pages): Likewise.
16615         (__get_avphys_pages): Likewise.
16616         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16617         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16618         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16619         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16620         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16621         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16622         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16623         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16624         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16625         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16626         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16627         * sysdeps/mach/hurd/sync.c (sync): Likewise.
16628         * sysdeps/posix/clock.c (clock): Likewise.
16629         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16630         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16631         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16632         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16633         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16634         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16635         (__get_nprocs_conf): Likewise.
16636         (__get_phys_pages): Likewise.
16637         (__get_avphys_pages): Likewise.
16638         * time/clock.c (clock): Likewise.
16639         * time/tzset.c (__tzname_max): Likewise.
16641 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
16643         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16644         (__bswap_32): Do not use "register".
16645         * crypt/crypt.c (_ufc_doit_r): Likewise.
16646         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16647         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16648         * gmon/gmon.c (__monstartup): Likewise.
16649         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16650         * hurd/hurdmalloc.c (more_memory): Likewise.
16651         (malloc): Likewise.
16652         (free): Likewise.
16653         (realloc): Likewise.
16654         (malloc_fork_prepare): Likewise.
16655         (malloc_fork_parent): Likewise.
16656         (malloc_fork_child): Likewise.
16657         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16658         (_svcauth_des): Likewise.
16659         * inet/inet_lnaof.c (inet_lnaof): Likewise.
16660         * inet/inet_net.c (inet_network): Likewise.
16661         * inet/inet_netof.c (inet_netof): Likewise.
16662         * inet/rcmd.c (__validuser2_sa): Likewise.
16663         * io/fts.c (fts_open): Likewise.
16664         (fts_load): Likewise.
16665         (fts_close): Likewise.
16666         (fts_read): Likewise.
16667         (fts_children): Likewise.
16668         (fts_build): Likewise.
16669         (fts_stat): Likewise.
16670         (fts_sort): Likewise.
16671         (fts_alloc): Likewise.
16672         (fts_lfree): Likewise.
16673         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16674         (_IO_file_xsgetn): Likewise.
16675         (_IO_file_xsgetn_mmap): Likewise.
16676         * libio/iofopncook.c (_IO_cookie_read): Likewise.
16677         (_IO_cookie_write): Likewise.
16678         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16679         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16680         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16681         * malloc/obstack.c (_obstack_begin): Likewise.
16682         (_obstack_begin_1): Likewise.
16683         (_obstack_newchunk): Likewise.
16684         (_obstack_allocated_p): Likewise.
16685         (obstack_free): Likewise.
16686         (_obstack_memory_used): Likewise.
16687         * misc/getttyent.c (getttynam): Likewise.
16688         (getttyent): Likewise.
16689         (skip): Likewise.
16690         (value): Likewise.
16691         * misc/getusershell.c (initshells): Likewise.
16692         * misc/syslog.c (__vsyslog_chk): Likewise.
16693         * misc/ttyslot.c (ttyslot): Likewise.
16694         * nis/nis_hash.c (__nis_hash): Likewise.
16695         * posix/fnmatch_loop.c (FCT): Likewise.
16696         * posix/getconf.c (print_all): Likewise.
16697         (main): Likewise.
16698         * posix/getopt.c (exchange): Likewise.
16699         * posix/glob.c (globfree): Likewise.
16700         (prefix_array): Likewise.
16701         (__glob_pattern_type): Likewise.
16702         * resolv/arpa/nameser.h (NS_GET16): Likewise.
16703         (NS_GET32): Likewise.
16704         (NS_PUT16): Likewise.
16705         (NS_PUT32): Likewise.
16706         * resolv/gethnamaddr.c (getanswer): Likewise.
16707         (gethostbyname2): Likewise.
16708         (gethostbyaddr): Likewise.
16709         (_gethtent): Likewise.
16710         (_gethtbyname2): Likewise.
16711         (_gethtbyaddr): Likewise.
16712         * resolv/ns_print.c (dst_s_get_int16): Likewise.
16713         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16714         * resolv/res_init.c (__res_vinit): Likewise.
16715         (net_mask): Likewise.
16716         * resolv/res_mkquery.c (outchar): Likewise.
16717         (PRINT): Likewise.
16718         * stdio-common/printf_fp.c (outchar): Likewise.
16719         (PRINT): Likewise.
16720         * stdio-common/printf_fphex.c (outchar): Likewise.
16721         (PRINT): Likewise.
16722         * stdio-common/printf_size.c (outchar): Likewise.
16723         (PRINT): Likewise.
16724         * stdio-common/test_rdwr.c (main): Likewise.
16725         * stdio-common/tfformat.c (matches): Likewise.
16726         * stdio-common/vfprintf.c (outchar): Likewise.
16727         (printf_unknown): Likewise.
16728         (buffered_vfprintf): Likewise.
16729         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16730         * stdio-common/xbug.c (AppendToBuffer): Likewise.
16731         (ReadFile): Likewise.
16732         * stdlib/qsort.c (SWAP): Likewise.
16733         (_quicksort): Likewise.
16734         * stdlib/setenv.c (__add_to_environ): Likewise.
16735         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16736         * stdlib/strtol_l.c (__strtol_l): Likewise.
16737         * stdlib/tst-strtod.c (main): Likewise.
16738         * stdlib/tst-strtol.c (main): Likewise.
16739         * stdlib/tst-strtoll.c (main): Likewise.
16740         * string/bits/string2.h (__strcmp_cc): Likewise.
16741         (__strcmp_cg): Likewise.
16742         (__strcspn_c1): Likewise.
16743         (__strcspn_c2): Likewise.
16744         (__strcspn_c3): Likewise.
16745         (__strspn_c1): Likewise.
16746         (__strspn_c2): Likewise.
16747         (__strspn_c3): Likewise.
16748         (__strsep_1c): Likewise.
16749         (__strsep_2c): Likewise.
16750         (__strsep_3c): Likewise.
16751         * string/memccpy.c (__memccpy): Likewise.
16752         * string/stpcpy.c (__stpcpy): Likewise.
16753         * string/strcmp.c (strcmp): Likewise.
16754         * string/strrchr.c (strrchr): Likewise.
16755         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16756         Likewise.
16757         * sysdeps/mach/hurd/getcwd.c
16758         (_hurd_canonicalize_directory_name_internal): Likewise.
16759         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16760         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16761         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16762         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16763         Likewise, in both definitions.
16764         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16765         definitions.
16766         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16767         64] (__bswap_64): Likewise.
16768         * time/test_time.c (main): Likewise.
16769         * time/tzfile.c (__tzfile_read): Likewise.
16770         (__tzfile_compute): Likewise.
16771         * time/tzset.c (__tzset_parse_tz): Likewise.
16772         (tzset_internal): Likewise.
16773         (compute_change): Likewise.
16774         * wcsmbs/wcscat.c (__wcscat): Likewise.
16775         * wcsmbs/wcschr.c (wcschr): Likewise.
16776         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16777         * wcsmbs/wcscspn.c (wcscspn): Likewise.
16778         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16779         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16780         * wcsmbs/wcsspn.c (wcsspn): Likewise.
16781         * wcsmbs/wcsstr.c (wcsstr): Likewise.
16782         * wcsmbs/wmemchr.c (wmemchr): Likewise.
16783         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16784         * wcsmbs/wmemset.c (wmemset): Likewise.
16786 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
16788         * scripts/config.guess: Update to version 2013-05-16.
16789         * scripts/config.sub: Update to version 2013-04-24.
16790         * scripts/install-sh: Update to version 2011-11-20.07.
16791         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16792         * scripts/move-if-change: Update to version 2012-01-06 07:23.
16794 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
16796         * debug/fgetws_u_chk.c: Fix leading whitespaces.
16797         * elf/sln.c: Likewise.
16798         * hurd/hurd/ioctl.h: Likewise.
16799         * hurd/hurdmalloc.c: Likewise.
16800         * hurd/xattr.c: Likewise.
16801         * include/shlib-compat.h: Likewise.
16802         * inet/ruserpass.c: Likewise.
16803         * libio/iofgets_u.c: Likewise.
16804         * libio/iofgetws_u.c: Likewise.
16805         * locale/programs/ld-identification.c: Likewise.
16806         * locale/programs/ld-time.c: Likewise.
16807         * mach/msg-destroy.c: Likewise.
16808         * nss/nss_files/files-netgrp.c: Likewise.
16809         * resolv/res_data.c: Likewise.
16810         * soft-fp/op-1.h: Likewise.
16811         * soft-fp/op-2.h: Likewise.
16812         * soft-fp/op-4.h: Likewise.
16813         * soft-fp/op-common.h: Likewise.
16814         * stdio-common/printf_fphex.c: Likewise.
16815         * stdlib/strtod_l.c: Likewise.
16816         * sunrpc/rpc/clnt.h: Likewise.
16817         * sysdeps/generic/framestate.c: Likewise.
16818         * sysdeps/i386/bsd-_setjmp.S: Likewise.
16819         * sysdeps/i386/bsd-setjmp.S: Likewise.
16820         * sysdeps/i386/__longjmp.S: Likewise.
16821         * sysdeps/i386/setjmp.S: Likewise.
16822         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16823         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16824         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16825         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16826         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16827         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16828         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16829         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16830         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16831         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16832         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16833         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16834         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16835         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16836         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16837         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16838         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16839         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16840         * sysdeps/ieee754/support.c: Likewise.
16841         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16842         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16843         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16844         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16845         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16846         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16847         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16848         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16849         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16850         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16851         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16852         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16853         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16854         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16855         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16856         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16857         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16860 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
16862         * posix/transbug.c: Remove executable mode.
16864 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
16866         * crypt/speeds.c: Remove trailing whitespace.
16867         * dlfcn/default.c: Likewise.
16868         * elf/ifuncdep2.c: Likewise.
16869         * elf/ifuncmain1.c: Likewise.
16870         * elf/ifuncmain1vis.c: Likewise.
16871         * elf/testobj.h: Likewise.
16872         * elf/tst-stackguard1.c: Likewise.
16873         * gmon/sys/gmon.h: Likewise.
16874         * hurd/hurdmsg.c: Likewise.
16875         * hurd/new-fd.c: Likewise.
16876         * hurd/ports-get.c: Likewise.
16877         * iconvdata/ibm1008_420.c: Likewise.
16878         * inet/tst-getni1.c: Likewise.
16879         * inet/tst-getni2.c: Likewise.
16880         * libio/ioungetc.c: Likewise.
16881         * libio/wfiledoalloc.c: Likewise.
16882         * manual/libm-err-tab.pl: Likewise.
16883         * math/w_dremf.c: Likewise.
16884         * misc/ftruncate.c: Likewise.
16885         * posix/bug-glob2.c: Likewise.
16886         * posix/tst-pcre.c: Likewise.
16887         * posix/wait4.c: Likewise.
16888         * resolv/README: Likewise.
16889         * resolv/res_debug.h: Likewise.
16890         * resolv/tst-inet_ntop.c: Likewise.
16891         * setjmp/bug269-setjmp.c: Likewise.
16892         * soft-fp/extended.h: Likewise.
16893         * soft-fp/op-1.h: Likewise.
16894         * soft-fp/op-2.h: Likewise.
16895         * soft-fp/op-4.h: Likewise.
16896         * soft-fp/op-8.h: Likewise.
16897         * soft-fp/testit.c: Likewise.
16898         * stdio-common/bug16.c: Likewise.
16899         * stdlib/random.c: Likewise.
16900         * sunrpc/rpcsvc/rquota.x: Likewise.
16901         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16902         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16903         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16904         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16905         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16906         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16907         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16908         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16909         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16910         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16911         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16912         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16913         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16914         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16915         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16916         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16917         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16918         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16919         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16920         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16921         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16922         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16923         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16924         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16925         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16926         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16927         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16928         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16929         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16930         * sysdeps/ieee754/s_lib_version.c: Likewise.
16931         * sysdeps/mach/hurd/check_fds.c: Likewise.
16932         * sysdeps/mach/hurd/getsockname.c: Likewise.
16933         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16934         * sysdeps/mach/hurd/recvfrom.c: Likewise.
16935         * sysdeps/powerpc/bits/link.h: Likewise.
16936         * sysdeps/powerpc/dl-procinfo.c: Likewise.
16937         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16938         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16939         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16940         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16941         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16942         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16943         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16944         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16945         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16946         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16947         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16948         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16949         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16950         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16951         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16952         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16953         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16954         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16955         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16956         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16957         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16958         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16959         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16960         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16961         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16962         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16963         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16964         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16965         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16966         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16967         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16968         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16969         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16970         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16971         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16972         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16973         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16974         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16975         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16976         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16977         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16978         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16979         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16980         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16981         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16982         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16983         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16984         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16985         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16986         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16987         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16988         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16989         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16990         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16991         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16992         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16993         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16994         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16995         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16996         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16997         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16998         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16999         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17000         * sysdeps/powerpc/sysdep.h: Likewise.
17001         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17002         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17003         * sysdeps/sh/dl-trampoline.S: Likewise.
17004         * sysdeps/sh/memset.S: Likewise.
17005         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17006         * sysdeps/sh/strlen.S: Likewise.
17007         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17008         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17009         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17010         * sysdeps/sparc/sparc32/rem.S: Likewise.
17011         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17012         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17013         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17014         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17015         * sysdeps/sparc/sparc32/urem.S: Likewise.
17016         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17017         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17018         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17019         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17020         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17021         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17022         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17023         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17024         * sysdeps/unix/bsd/times.c: Likewise.
17025         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17026         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17030         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17031         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17032         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17033         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17034         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17035         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17036         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17037         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17038         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17039         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17040         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17041         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17042         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17043         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17044         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17045         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17046         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17047         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17048         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17049         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17050         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17051         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17052         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17053         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17054         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17055         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17056         * sysdeps/x86_64/strcspn.S: Likewise.
17058 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17060         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17061         generated file.  Regenerate properly from gen-translit.pl.
17062         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
17063         locale/C-translit.h.
17065 2013-06-05  Andreas Schwab  <schwab@suse.de>
17067         [BZ #15100]
17068         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17069         week as 6 instead of -1.
17070         * time/tst-strptime.c (day_tests): Add test case.
17072 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17074         * sysdeps/generic/math_private.h
17075         (libc_feholdexcept_setround_53bit): Replace with
17076         libc_feholdsetround_53bit.
17077         (libc_feupdateenv_53bit): Replace with
17078         libc_feresetround_53bit.
17079         (SET_RESTORE_ROUND_53BIT): Adjust.
17081 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17083         * string/test-strchrnul.c: Add copyright header.
17085         * posix/tst-getaddrinfo4.c: Increase test timeout.
17087 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
17089         [BZ #15536]
17090         * math/libm-test.inc (MAX_EXP): Remove
17091         (MIN_EXP): Define.
17092         (ulp): Use MIN_EXP - MANT_DIG.
17093         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17095 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
17097         * po/be.po: Revert last change.
17098         * po/zh_CN.po: Likewise.
17099         * po/header.pot: Likewise.
17101 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
17103         * Makefile ($(common-objpfx)linkobj/libc.so): Define
17104         link-libc-deps to empty as target-specific variable.
17105         * Makerules (link-libc-args): New variable.
17106         (libc-for-link): Likewise.
17107         (link-libc-deps): Likewise.
17108         (lib%.so): Depend on $(link-libc-deps).  Link with
17109         $(link-libc-args).
17110         (build-module): Link with $(link-libc-args).
17111         (build-module-asneeded): Likewise.
17112         (build-module-helper-objlist): Filter out $(link-libc-deps) from
17113         list of objects.
17114         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17115         target-specific variable.
17116         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17117         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17118         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17119         libc.
17120         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17121         libc and ld.so.
17122         ($(objpfx)libpcprofile.so): Likewise.
17123         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17124         libc_nonshared.a.
17125         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17126         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17127         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17128         $(link-libc-deps).
17129         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17130         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17131         * login/Makefile ($(objpfx)libutil.so): Likewise.
17132         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17133         * math/Makefile ($(objpfx)libm.so): Likewise.
17134         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17135         $(objpfx)libnsl.so): Define libc-for-link as target-specific
17136         variable instead of depending directly on libc.
17137         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17138         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17139         $(link-libc-deps).
17140         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17141         libc.
17142         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17143         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17144         ($(objpfx)libanl.so): Likewise.
17145         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17146         ld.so.
17147         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17148         $(link-libc-deps).
17149         * sysdeps/i386/fpu/Makefile: Remove file.
17150         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17151         ($(objpfx)libm.so): Remove dependency on ld.so.
17153 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
17155         [BZ # 15553]
17156         * nis/yp_xdr.c (XDRMAXNAME): Define.
17157         (XDRMAXRECORD): Define.
17158         (xdr_domainname): Use XDRMAXNAME.
17159         (xdr_mapname): Likewise.
17160         (xdr_peername): Likewise.
17161         (xdr_keydat): Use XDRMAXRECORD.
17162         (xdr_valdat): Likewise.
17164 2013-05-30  Jeff Law  <law@redhat.com>
17166         [BZ #14256]
17167         * manual/errno.texi (ESTALE): Update to account for more than
17168         just NFS file systems.
17169         * sysdeps/gnu/errlist.c: Regenerated.
17171 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17173         [BZ #15465]
17174         * elf/Makefile (tests): Add tst-null-argv.
17175         (modules-names):  Add tst-null-argv-lib.
17176         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17177         (tst-null-argv-ENV): Set environment for tst-null-argv.
17178         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17179         (RTLD_PROGNAME): New macro.
17180         * elf/tst-null-argv.c: New test case.
17181         * elf/tst-null-argv-lib.c: Library for test case.
17182         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17183         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17184         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17185         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17186         * elf/dl-init.c (call_init): Likewise.
17187         (_dl_init): Likewise.
17188         * elf/dl-load.c (print_search_path): Likewise.
17189         (_dl_map_object): Likewise.
17190         * elf/dl-lookup.c (do_lookup_x): Likewise.
17191         (add_dependency): Likewise.
17192         (_dl_lookup_symbol_x): Likewise.
17193         (_dl_debug_bindings): Likewise.
17194         * elf/dl-open.c (_dl_show_scope): Likewise.
17195         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17196         * elf/dl-version.c (match_symbol): Likewise.
17197         (_dl_check_map_versions): Likewise.
17198         * elf/rtld.c (dl_main): Likewise.
17199         (print_unresolved): Use RTLD_PROGNAME.
17200         (print_missing_version): Likewise.
17201         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17202         (elf_machine_rela): Likewise.
17203         * sysdeps/powerpc/powerpc32/dl-machine.c
17204         (__process_machine_rela): Likewise.
17205         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17206         Likewise.
17207         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17208         Likewise.
17209         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17210         Likewise.
17211         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17212         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17213         Likewise.
17214         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17215         Likewise.
17216         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17218 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
17220         * po/be.po: Add descriptive title.
17221         * po/zh_CN.po: Likewise.
17222         * po/header.pot: Likewise.
17224 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
17226         * locale/programs/locarchive.c (create_archive): Inlucde fname in
17227         error message.
17228         (enlarge_archive): Likewise.
17230 2013-05-28  Ben North  <ben@redfrontdoor.org>
17232         * manual/arith.texi (frexp): It is the magnitude of the return
17233         value which lies in [0.5, 1), not the return value itself.
17235 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17239 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
17241         * stdio-common/bug26.c (main): Correct fscanf template.
17243         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17244         declare _dl_skip_args.
17246         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17247         Don't declare.
17249         * manual/platform.texi: Add missing @end deftypefun.
17251 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17253         [BZ #15529]
17254         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17255         bit of mantissa of 2^16382.
17256         * math/libm-test.inc (hypot_test_data): Add more tests.
17258         * math/libm-test.inc: Add drem and pow10 to list of tested
17259         functions.
17260         (pow10_test): New function.
17261         (drem_test): Likewise.
17262         (drem_test_tonearest): Likewise.
17263         (drem_test_towardzero): Likewise.
17264         (drem_test_downward): Likewise.
17265         (drem_test_upward): Likewise.
17266         (main): Call the new functions.
17268         * math/libm-test.inc (finite_test_data): Remove.
17269         (finite_test): Run tests from isfinite_test_data.
17270         (gamma_test_data): Remove.
17271         (gamma_test): Run tests from lgamma_test_data.
17272         * sysdeps/i386/fpu/libm-test-ulps: Update.
17273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17275 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17277         * manual/platform.texi: Add PowerPC PPR function set documentation.
17278         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17279         implementation.
17281 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
17283         * math/libm-test.inc (MAX_EXP): Define.
17284         (ULPDIFF): Define.
17285         (ulp): New function.
17286         (check_float_internal): Use ULPDIFF.
17287         (cpow_test): Disable failing test.
17288         (check_ulp): Test ulp() implemetnation.
17289         (main): Call check_ulp before starting tests.
17291 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17293         * math/gen-libm-test.pl (generate_testfile): Do not handle
17294         START_DATA and END_DATA.
17295         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17296         END_DATA.
17297         (acos_tonearest_test_data): Likewise.
17298         (acos_towardzero_test_data): Likewise.
17299         (acos_downward_test_data): Likewise.
17300         (acos_upward_test_data): Likewise.
17301         (acosh_test_data): Likewise.
17302         (asin_test_data): Likewise.
17303         (asin_tonearest_test_data): Likewise.
17304         (asin_towardzero_test_data): Likewise.
17305         (asin_downward_test_data): Likewise.
17306         (asin_upward_test_data): Likewise.
17307         (asinh_test_data): Likewise.
17308         (atan_test_data): Likewise.
17309         (atanh_test_data): Likewise.
17310         (atan2_test_data): Likewise.
17311         (cabs_test_data): Likewise.
17312         (cacos_test_data): Likewise.
17313         (cacosh_test_data): Likewise.
17314         (carg_test_data): Likewise.
17315         (casin_test_data): Likewise.
17316         (casinh_test_data): Likewise.
17317         (catan_test_data): Likewise.
17318         (catanh_test_data): Likewise.
17319         (cbrt_test_data): Likewise.
17320         (ccos_test_data): Likewise.
17321         (ccosh_test_data): Likewise.
17322         (ceil_test_data): Likewise.
17323         (cexp_test_data): Likewise.
17324         (cimag_test_data): Likewise.
17325         (clog_test_data): Likewise.
17326         (clog10_test_data): Likewise.
17327         (conj_test_data): Likewise.
17328         (copysign_test_data): Likewise.
17329         (cos_test_data): Likewise.
17330         (cos_tonearest_test_data): Likewise.
17331         (cos_towardzero_test_data): Likewise.
17332         (cos_downward_test_data): Likewise.
17333         (cos_upward_test_data): Likewise.
17334         (cosh_test_data): Likewise.
17335         (cosh_tonearest_test_data): Likewise.
17336         (cosh_towardzero_test_data): Likewise.
17337         (cosh_downward_test_data): Likewise.
17338         (cosh_upward_test_data): Likewise.
17339         (cpow_test_data): Likewise.
17340         (cproj_test_data): Likewise.
17341         (creal_test_data): Likewise.
17342         (csin_test_data): Likewise.
17343         (csinh_test_data): Likewise.
17344         (csqrt_test_data): Likewise.
17345         (ctan_test_data): Likewise.
17346         (ctan_tonearest_test_data): Likewise.
17347         (ctan_towardzero_test_data): Likewise.
17348         (ctan_downward_test_data): Likewise.
17349         (ctan_upward_test_data): Likewise.
17350         (ctanh_test_data): Likewise.
17351         (ctanh_tonearest_test_data): Likewise.
17352         (ctanh_towardzero_test_data): Likewise.
17353         (ctanh_downward_test_data): Likewise.
17354         (ctanh_upward_test_data): Likewise.
17355         (erf_test_data): Likewise.
17356         (erfc_test_data): Likewise.
17357         (exp_test_data): Likewise.
17358         (exp_tonearest_test_data): Likewise.
17359         (exp_towardzero_test_data): Likewise.
17360         (exp_downward_test_data): Likewise.
17361         (exp_upward_test_data): Likewise.
17362         (exp10_test_data): Likewise.
17363         (exp2_test_data): Likewise.
17364         (expm1_test_data): Likewise.
17365         (fabs_test_data): Likewise.
17366         (fdim_test_data): Likewise.
17367         (finite_test_data): Likewise.
17368         (floor_test_data): Likewise.
17369         (fma_test_data): Likewise.
17370         (fma_towardzero_test_data): Likewise.
17371         (fma_downward_test_data): Likewise.
17372         (fma_upward_test_data): Likewise.
17373         (fmax_test_data): Likewise.
17374         (fmin_test_data): Likewise.
17375         (fmod_test_data): Likewise.
17376         (fpclassify_test_data): Likewise.
17377         (frexp_test_data): Likewise.
17378         (gamma_test_data): Likewise.
17379         (hypot_test_data): Likewise.
17380         (ilogb_test_data): Likewise.
17381         (isfinite_test_data): Likewise.
17382         (isgreater_test_data): Likewise.
17383         (isgreaterequal_test_data): Likewise.
17384         (isinf_test_data): Likewise.
17385         (isless_test_data): Likewise.
17386         (islessequal_test_data): Likewise.
17387         (islessgreater_test_data): Likewise.
17388         (isnan_test_data): Likewise.
17389         (isnormal_test_data): Likewise.
17390         (issignaling_test_data): Likewise.
17391         (isunordered_test_data): Likewise.
17392         (j0_test_data): Likewise.
17393         (j1_test_data): Likewise.
17394         (jn_test_data): Likewise.
17395         (ldexp_test_data): Likewise.
17396         (lgamma_test_data): Likewise.
17397         (lrint_test_data): Likewise.
17398         (lrint_tonearest_test_data): Likewise.
17399         (lrint_towardzero_test_data): Likewise.
17400         (lrint_downward_test_data): Likewise.
17401         (lrint_upward_test_data): Likewise.
17402         (llrint_test_data): Likewise.
17403         (llrint_tonearest_test_data): Likewise.
17404         (llrint_towardzero_test_data): Likewise.
17405         (llrint_downward_test_data): Likewise.
17406         (llrint_upward_test_data): Likewise.
17407         (log_test_data): Likewise.
17408         (log10_test_data): Likewise.
17409         (log1p_test_data): Likewise.
17410         (log2_test_data): Likewise.
17411         (logb_test_data): Likewise.
17412         (logb_downward_test_data): Likewise.
17413         (lround_test_data): Likewise.
17414         (llround_test_data): Likewise.
17415         (modf_test_data): Likewise.
17416         (nearbyint_test_data): Likewise.
17417         (nextafter_test_data): Likewise.
17418         (nexttoward_test_data): Likewise.
17419         (pow_test_data): Likewise.
17420         (pow_tonearest_test_data): Likewise.
17421         (pow_towardzero_test_data): Likewise.
17422         (pow_downward_test_data): Likewise.
17423         (pow_upward_test_data): Likewise.
17424         (remainder_test_data): Likewise.
17425         (remainder_tonearest_test_data): Likewise.
17426         (remainder_towardzero_test_data): Likewise.
17427         (remainder_downward_test_data): Likewise.
17428         (remainder_upward_test_data): Likewise.
17429         (remquo_test_data): Likewise.
17430         (rint_test_data): Likewise.
17431         (rint_tonearest_test_data): Likewise.
17432         (rint_towardzero_test_data): Likewise.
17433         (rint_downward_test_data): Likewise.
17434         (rint_upward_test_data): Likewise.
17435         (round_test_data): Likewise.
17436         (scalb_test_data): Likewise.
17437         (scalbn_test_data): Likewise.
17438         (scalbln_test_data): Likewise.
17439         (signbit_test_data): Likewise.
17440         (sin_test_data): Likewise.
17441         (sin_tonearest_test_data): Likewise.
17442         (sin_towardzero_test_data): Likewise.
17443         (sin_downward_test_data): Likewise.
17444         (sin_upward_test_data): Likewise.
17445         (sincos_test_data): Likewise.
17446         (sinh_test_data): Likewise.
17447         (sinh_tonearest_test_data): Likewise.
17448         (sinh_towardzero_test_data): Likewise.
17449         (sinh_downward_test_data): Likewise.
17450         (sinh_upward_test_data): Likewise.
17451         (sqrt_test_data): Likewise.
17452         (tan_test_data): Likewise.
17453         (tan_tonearest_test_data): Likewise.
17454         (tan_towardzero_test_data): Likewise.
17455         (tan_downward_test_data): Likewise.
17456         (tan_upward_test_data): Likewise.
17457         (tanh_test_data): Likewise.
17458         (tgamma_test_data): Likewise.
17459         (trunc_test_data): Likewise.
17460         (y0_test_data): Likewise.
17461         (y1_test_data): Likewise.
17462         (yn_test_data): Likewise.
17463         (significand_test_data): Likewise.
17465         * math/gen-libm-test.pl (@functions): Remove variable.
17466         (generate_testfile): Don't handle START and END lines.
17467         * math/libm-test.inc (START): New macro.
17468         (END): Likewise.
17469         (END_COMPLEX): Likewise.
17470         (acos_test): Use END macro without arguments.
17471         (acos_test_tonearest): Likewise.
17472         (acos_test_towardzero): Likewise.
17473         (acos_test_downward): Likewise.
17474         (acos_test_upward): Likewise.
17475         (acosh_test): Likewise.
17476         (asin_test): Likewise.
17477         (asin_test_tonearest): Likewise.
17478         (asin_test_towardzero): Likewise.
17479         (asin_test_downward): Likewise.
17480         (asin_test_upward): Likewise.
17481         (asinh_test): Likewise.
17482         (atan_test): Likewise.
17483         (atanh_test): Likewise.
17484         (atan2_test): Likewise.
17485         (cabs_test): Likewise.
17486         (cacos_test): Use END_COMPLEX macro without arguments.
17487         (cacosh_test): Likewise.
17488         (carg_test): Use END macro without arguments.
17489         (casin_test): Use END_COMPLEX macro without arguments.
17490         (casinh_test): Likewise.
17491         (catan_test): Likewise.
17492         (catanh_test): Likewise.
17493         (cbrt_test): Use END macro without arguments.
17494         (ccos_test): Use END_COMPLEX macro without arguments.
17495         (ccosh_test): Likewise.
17496         (ceil_test): Use END macro without arguments.
17497         (cexp_test): Use END_COMPLEX macro without arguments.
17498         (cimag_test): Use END macro without arguments.
17499         (clog_test): Use END_COMPLEX macro without arguments.
17500         (clog10_test): Likewise.
17501         (conj_test): Likewise.
17502         (copysign_test): Use END macro without arguments.
17503         (cos_test): Likewise.
17504         (cos_test_tonearest): Likewise.
17505         (cos_test_towardzero): Likewise.
17506         (cos_test_downward): Likewise.
17507         (cos_test_upward): Likewise.
17508         (cosh_test): Likewise.
17509         (cosh_test_tonearest): Likewise.
17510         (cosh_test_towardzero): Likewise.
17511         (cosh_test_downward): Likewise.
17512         (cosh_test_upward): Likewise.
17513         (cpow_test): Use END_COMPLEX macro without arguments.
17514         (cproj_test): Likewise.
17515         (creal_test): Use END macro without arguments.
17516         (csin_test): Use END_COMPLEX macro without arguments.
17517         (csinh_test): Likewise.
17518         (csqrt_test): Likewise.
17519         (ctan_test): Likewise.
17520         (ctan_test_tonearest): Likewise.
17521         (ctan_test_towardzero): Likewise.
17522         (ctan_test_downward): Likewise.
17523         (ctan_test_upward): Likewise.
17524         (ctanh_test): Likewise.
17525         (ctanh_test_tonearest): Likewise.
17526         (ctanh_test_towardzero): Likewise.
17527         (ctanh_test_downward): Likewise.
17528         (ctanh_test_upward): Likewise.
17529         (erf_test): Use END macro without arguments.
17530         (erfc_test): Likewise.
17531         (exp_test): Likewise.
17532         (exp_test_tonearest): Likewise.
17533         (exp_test_towardzero): Likewise.
17534         (exp_test_downward): Likewise.
17535         (exp_test_upward): Likewise.
17536         (exp10_test): Likewise.
17537         (exp2_test): Likewise.
17538         (expm1_test): Likewise.
17539         (fabs_test): Likewise.
17540         (fdim_test): Likewise.
17541         (finite_test): Likewise.
17542         (floor_test): Likewise.
17543         (fma_test): Likewise.
17544         (fma_test_towardzero): Likewise.
17545         (fma_test_downward): Likewise.
17546         (fma_test_upward): Likewise.
17547         (fmax_test): Likewise.
17548         (fmin_test): Likewise.
17549         (fmod_test): Likewise.
17550         (fpclassify_test): Likewise.
17551         (frexp_test): Likewise.
17552         (gamma_test): Likewise.
17553         (hypot_test): Likewise.
17554         (ilogb_test): Likewise.
17555         (isfinite_test): Likewise.
17556         (isgreater_test): Likewise.
17557         (isgreaterequal_test): Likewise.
17558         (isinf_test): Likewise.
17559         (isless_test): Likewise.
17560         (islessequal_test): Likewise.
17561         (islessgreater_test): Likewise.
17562         (isnan_test): Likewise.
17563         (isnormal_test): Likewise.
17564         (issignaling_test): Likewise.
17565         (isunordered_test): Likewise.
17566         (j0_test): Likewise.
17567         (j1_test): Likewise.
17568         (jn_test): Likewise.
17569         (ldexp_test): Likewise.
17570         (lgamma_test): Likewise.
17571         (lrint_test): Likewise.
17572         (lrint_test_tonearest): Likewise.
17573         (lrint_test_towardzero): Likewise.
17574         (lrint_test_downward): Likewise.
17575         (lrint_test_upward): Likewise.
17576         (llrint_test): Likewise.
17577         (llrint_test_tonearest): Likewise.
17578         (llrint_test_towardzero): Likewise.
17579         (llrint_test_downward): Likewise.
17580         (llrint_test_upward): Likewise.
17581         (log_test): Likewise.
17582         (log10_test): Likewise.
17583         (log1p_test): Likewise.
17584         (log2_test): Likewise.
17585         (logb_test): Likewise.
17586         (logb_test_downward): Likewise.
17587         (lround_test): Likewise.
17588         (llround_test): Likewise.
17589         (modf_test): Likewise.
17590         (nearbyint_test): Likewise.
17591         (nextafter_test): Likewise.
17592         (nexttoward_test): Likewise.
17593         (pow_test): Likewise.
17594         (pow_test_tonearest): Likewise.
17595         (pow_test_towardzero): Likewise.
17596         (pow_test_downward): Likewise.
17597         (pow_test_upward): Likewise.
17598         (remainder_test): Likewise.
17599         (remainder_test_tonearest): Likewise.
17600         (remainder_test_towardzero): Likewise.
17601         (remainder_test_downward): Likewise.
17602         (remainder_test_upward): Likewise.
17603         (remquo_test): Likewise.
17604         (rint_test): Likewise.
17605         (rint_test_tonearest): Likewise.
17606         (rint_test_towardzero): Likewise.
17607         (rint_test_downward): Likewise.
17608         (rint_test_upward): Likewise.
17609         (round_test): Likewise.
17610         (scalb_test): Likewise.
17611         (scalbn_test): Likewise.
17612         (scalbln_test): Likewise.
17613         (signbit_test): Likewise.
17614         (sin_test): Likewise.
17615         (sin_test_tonearest): Likewise.
17616         (sin_test_towardzero): Likewise.
17617         (sin_test_downward): Likewise.
17618         (sin_test_upward): Likewise.
17619         (sincos_test): Likewise.
17620         (sinh_test): Likewise.
17621         (sinh_test_tonearest): Likewise.
17622         (sinh_test_towardzero): Likewise.
17623         (sinh_test_downward): Likewise.
17624         (sinh_test_upward): Likewise.
17625         (sqrt_test): Likewise.
17626         (tan_test): Likewise.
17627         (tan_test_tonearest): Likewise.
17628         (tan_test_towardzero): Likewise.
17629         (tan_test_downward): Likewise.
17630         (tan_test_upward): Likewise.
17631         (tanh_test): Likewise.
17632         (tgamma_test): Likewise.
17633         (trunc_test): Likewise.
17634         (y0_test): Likewise.
17635         (y1_test): Likewise.
17636         (yn_test): Likewise.
17637         (significand_test): Likewise.
17639 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
17641         [BZ #15381]
17642         * libio/genops.c (_IO_no_init): Initialize wide struct info.
17644 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17646         [BZ #14894]
17647         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17648         __ppc_mdoio and __ppc_mdoom.
17649         * manual/platform.texi: Document new functions __ppc_yield,
17650         __ppc_mdoio and __ppc_mdoom.
17652 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
17654         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17655         (main): Mention "tls" pseudo-hwcap is legacy.
17656         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17658 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17660         * math/gen-libm-test.pl (parse_args): Output only string of
17661         arguments as text for test name, not full call or descriptions of
17662         tests for extra outputs.
17663         (generate_testfile): Do not pass function name to parse_args.
17664         Generate this_func variable from START.
17665         * math/libm-test.inc (struct test_f_f_data): Rename test_name
17666         field to arg_str.
17667         (struct test_ff_f_data): Likewise.
17668         (test_ff_f_data_nexttoward): Likewise.
17669         (struct test_fi_f_data): Likewise.
17670         (struct test_fl_f_data): Likewise.
17671         (struct test_if_f_data): Likewise.
17672         (struct test_fff_f_data): Likewise.
17673         (struct test_c_f_data): Likewise.
17674         (struct test_f_f1_data): Likewise.  Remove field extra_name.
17675         (struct test_fF_f1_data): Likewise.
17676         (struct test_ffI_f1_data): Likewise.
17677         (struct test_c_c_data): Rename test_name field to arg_str.
17678         (struct test_cc_c_data): Likewise.
17679         (struct test_f_i_data): Likewise.
17680         (struct test_ff_i_data): Likewise.
17681         (struct test_f_l_data): Likewise.
17682         (struct test_f_L_data): Likewise.
17683         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
17684         and extra2_name.
17685         (COMMON_TEST_SETUP): New macro.
17686         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17687         (COMMON_TEST_CLEANUP): Likewise.
17688         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17689         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
17690         macros.
17691         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17692         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
17693         macros.
17694         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17695         (RUN_TEST_fff_f): Take argument string.  Call new setup and
17696         cleanup macros.
17697         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17698         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
17699         macros.
17700         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17701         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
17702         macros.
17703         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17704         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
17705         cleanup macros.
17706         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17707         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
17708         cleanup macros.
17709         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17710         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
17711         cleanup macros.
17712         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17713         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
17714         macros.
17715         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17716         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
17717         macros.
17718         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17719         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
17720         macros.
17721         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17722         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
17723         cleanup macros.
17724         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17725         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
17726         cleanup macros.
17727         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17728         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
17729         macros.
17730         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17731         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
17732         cleanup macros.
17733         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17734         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
17735         macros.
17736         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17737         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
17738         macros.
17739         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17740         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
17741         cleanup macros.
17742         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17744 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
17746         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17747         to _sifields.sigfault.
17748         (si_addr_lsb): Define new macro.
17749         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17750         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17751         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17753 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
17755         [BZ #15441]
17756         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17757         returns -1.
17758         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17759         null return -1.
17760         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17761         loading the domain.
17763 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17765         * math/gen-libm-test.pl (parse_args): Do not include expected
17766         result in test name.
17767         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17768         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17769         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17770         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17771         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17774 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17776         * benchtests/Makefile: Sort function entries.
17778         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17779         tanh, asinh, acosh, atanh.
17780         * benchtests/acos-inputs: New file.
17781         * benchtests/acosh-inputs: New file.
17782         * benchtests/asin-inputs: New file.
17783         * benchtests/asinh-inputs: New file.
17784         * benchtests/atanh-inputs: New file.
17785         * benchtests/cosh-inputs: New file.
17786         * benchtests/log-inputs: New file.
17787         * benchtests/sinh-inputs: New file.
17788         * benchtests/tanh-inputs: New file.
17790 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
17792         [BZ #15339]
17793         * posix/tst-getaddrinfo4.c: New test.
17794         * posix/Makefile (tests): Add it.
17796 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17798         [BZ #15339]
17799         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17800         when no services were used.
17801         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17802         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17804 2013-05-21  Andreas Schwab  <schwab@suse.de>
17806         [BZ #15014]
17807         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17808         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17809         successful.
17810         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17811         redundant variable declarations and reallocation of buffer when
17812         parsing as IPv6 address.  Always set NSS status when called from
17813         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
17814         buffer too small.  Correct computation of needed size.
17815         * nss/Makefile (tests): Add test-digits-dots.
17816         * nss/test-digits-dots.c: New test.
17818 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17820         * benchtests/Makefile: Remove instructions for adding
17821         benchmark tests.
17822         * benchtests/README: New file to explain how to execute and
17823         enhance the benchmark tests.
17825 2013-05-21  Andreas Schwab  <schwab@suse.de>
17827         [BZ #15493]
17828         * setjmp/Makefile (tests): Add tst-sigsetjmp.
17829         * setjmp/tst-sigsetjmp.c: New test.
17831 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
17833         * sysdeps/x86_64/memset.S (memset): New implementation.
17834         (__bzero): Likewise.
17835         (__memset_tail): New function.
17837 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
17839         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17840         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17841         __memcpy_sse2_unaligned ifunc selection.
17842         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17843         Add memcpy-sse2-unaligned.S.
17844         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17845         Add: __memcpy_sse2_unaligned.
17847 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
17849         [BZ #15490]
17850         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17851         math_force_eval before restoring floating-point envrionment.
17852         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17853         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17854         Likewise.
17855         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17856         <math_private.h>.
17857         (__nearbyintl): Use math_force_eval before restoring
17858         floating-point environment.
17859         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17861         * math/gen-libm-test.pl (special_functions): Remove.
17862         (parse_args): Don't handle TEST_extra.  Handle functions with no
17863         return value.
17864         * math/libm-test.inc (struct test_sincos_data): Replace with
17865         struct test_fFF_11_data.
17866         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17867         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17868         (sincos_test_data): Change element type to struct
17869         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
17870         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17871         RUN_TEST_LOOP_sincos.
17872         * math/README.libm-test: Don't mention special handling of
17873         individual functions.
17874         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17875         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17876         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17877         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17878         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17881         * math/gen-libm-test.pl (get_variable): Remove function.
17882         (parse_args): Don't show pointer parameters to call in test
17883         names.  Use "extra output N" in test names for extra outputs
17884         rather than naming variables.
17886 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
17888         [BZ #15488]
17889         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17890         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17891         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17892         double tests.
17893         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17894         disable.
17895         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17896         check_long_double.
17898         * math/gen-libm-test.pl (@tests): Remove variable.
17899         ($count): Likewise.
17900         (new_test): Remove function.
17901         (show_exceptions): New function.
17902         (special_functions): Use show_exceptions instead of new_test.
17903         (parse_args): Likewise.
17904         (generate_testfile): Pass only function name in generated call to
17905         print_max_error or print_complex_max_error.
17906         (get_ulps): Do not handle complex tests specially.
17907         (output_test): Rename to ...
17908         (get_all_ulps_for_test): ... this.  Return a string rather than
17909         printing to a file.  Require ulps to be present.
17910         (output_ulps): Generate arrays rather than #defines.
17911         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17912         (struct ulp_data): New type.
17913         (BUILD_COMPLEX_ULP): Remove macro.
17914         (compare_ulp_data): New function.
17915         (find_ulps): Likewise.
17916         (find_test_ulps): Likewise.
17917         (find_function_ulps): Likewise.
17918         (find_complex_function_ulps): Likewise.
17919         (print_max_error): Determine allowed ulps using
17920         find_function_ulps.
17921         (print_complex_max_error): Determine allowed ulps using
17922         find_complex_function_ulps.
17923         (check_float_internal): Determine max ulps using find_test_ulps.
17924         (check_float): Do not take max_ulp parameter.  Update call to
17925         check_float_internal.
17926         (check_complex): Likewise.
17927         (check_int): Do not take max_ulp parameter.
17928         (check_long): Likewise.
17929         (check_bool): Likewise.
17930         (check_longlong): Likewise.
17931         (struct test_f_f_data): Remove max_ulp field.
17932         (struct test_ff_f_data): Likewise.
17933         (struct test_ff_f_data_nexttoward): Likewise.
17934         (struct test_fi_f_data): Likewise.
17935         (struct test_fl_f_data): Likewise.
17936         (struct test_if_f_data): Likewise.
17937         (struct test_fff_f_data): Likewise.
17938         (struct test_c_f_data): Likewise.
17939         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17940         (struct test_fF_f1_data): Likewise.
17941         (struct test_ffI_f1_data): Likewise.
17942         (struct test_c_c_data): Remove max_ulp field.
17943         (struct test_cc_c_data): Likewise.
17944         (struct test_f_i_data): Likewise.
17945         (struct test_ff_i_data): Likewise.
17946         (struct test_f_l_data): Likewise.
17947         (struct test_f_L_data): Likewise.
17948         (struct test_sincos_data): Likewise.
17949         (RUN_TEST_f_f): Do not handle ulps.
17950         (RUN_TEST_LOOP_f_f): Likewise.
17951         (RUN_TEST_2_f): Likewise.
17952         (RUN_TEST_LOOP_2_f): Likewise.
17953         (RUN_TEST_fff_f): Likewise.
17954         (RUN_TEST_LOOP_fff_f): Likewise.
17955         (RUN_TEST_c_f): Likewise.
17956         (RUN_TEST_LOOP_c_f): Likewise.
17957         (RUN_TEST_f_f1): Likewise.
17958         (RUN_TEST_LOOP_f_f1): Likewise.
17959         (RUN_TEST_fF_f1): Likewise.
17960         (RUN_TEST_LOOP_fF_f1): Likewise.
17961         (RUN_TEST_fI_f1): Likewise.
17962         (RUN_TEST_LOOP_fI_f1): Likewise.
17963         (RUN_TEST_ffI_f1): Likewise.
17964         (RUN_TEST_LOOP_ffI_f1): Likewise.
17965         (RUN_TEST_c_c): Likewise.
17966         (RUN_TEST_LOOP_c_c): Likewise.
17967         (RUN_TEST_cc_c): Likewise.
17968         (RUN_TEST_LOOP_cc_c): Likewise.
17969         (RUN_TEST_f_i): Likewise.
17970         (RUN_TEST_LOOP_f_i): Likewise.
17971         (RUN_TEST_f_i_tg): Likewise.
17972         (RUN_TEST_LOOP_f_i_tg): Likewise.
17973         (RUN_TEST_ff_i_tg): Likewise.
17974         (RUN_TEST_LOOP_ff_i_tg): Likewise.
17975         (RUN_TEST_f_b): Likewise.
17976         (RUN_TEST_LOOP_f_b): Likewise.
17977         (RUN_TEST_f_b_tg): Likewise.
17978         (RUN_TEST_LOOP_f_b_tg): Likewise.
17979         (RUN_TEST_f_l): Likewise.
17980         (RUN_TEST_LOOP_f_l): Likewise.
17981         (RUN_TEST_f_L): Likewise.
17982         (RUN_TEST_LOOP_f_L): Likewise.
17983         (RUN_TEST_sincos): Likewise.
17984         (RUN_TEST_LOOP_sincos): Likewise.
17986 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
17988         [BZ #15480]
17989         [BZ #15485]
17990         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17991         main case of finite arguments, set rounding mode to FE_TONEAREST
17992         and discard exceptions.
17993         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17994         exceptions.
17995         (remainder_tonearest_test_data): New variable.
17996         (remainder_test_tonearest): New function.
17997         (remainder_towardzero_test_data): New variable.
17998         (remainder_test_towardzero): New function.
17999         (remainder_downward_test_data): New variable.
18000         (remainder_test_downward): New function.
18001         (remainder_upward_test_data): New variable.
18002         (remainder_test_upward): New function.
18003         (main): Call the new test functions.
18005         * math/libm-test.inc (struct test_f_f1_data): Remove field
18006         extra_init.
18007         (struct test_fF_f1_data): Likewise.
18008         (struct test_ffI_f1_data): Likewise.
18009         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18010         based on value of EXTRA_EXPECTED.
18011         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18012         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18013         EXTRA_VAR based on value of EXTRA_EXPECTED.
18014         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18015         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18016         EXTRA_VAR based on value of EXTRA_EXPECTED.
18017         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18018         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18019         EXTRA_VAR based on value of EXTRA_EXPECTED.
18020         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18021         * math/gen-libm-test.pl (parse_args): Don't output initializers
18022         for extra output values.
18024         * math/libm-test.inc (check_int): Expect result to be exactly
18025         equal to expected value and do not handle ulps.
18026         (check_long): Likewise.
18027         (check_longlong): Likewise.
18029         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18030         exceptions.
18031         (cimag_test_data): Likewise.
18032         (conj_test_data): Likewise.
18033         (copysign_test_data): Likewise.
18034         (cproj_test_data): Likewise.
18035         (creal_test_data): Likewise.
18036         (fabs_test_data): Likewise.
18037         (fdim_test_data): Likewise.
18038         (finite_test_data): Likewise.
18039         (floor_test_data): Likewise.
18040         (fmax_test_data): Likewise.
18041         (fmin_test_data): Likewise.
18042         (fmod_test_data): Likewise.
18043         (fpclassify_test_data): Likewise.
18044         (frexp_test_data): Likewise.
18045         (ilogb_test_data): Likewise.
18046         (isfinite_test_data): Likewise.
18047         (isgreater_test_data): Likewise.
18048         (isgreaterequal_test_data): Likewise.
18049         (isinf_test_data): Likewise.
18050         (isless_test_data): Likewise.
18051         (islessequal_test_data): Likewise.
18052         (islessgreater_test_data): Likewise.
18053         (isnan_test_data): Likewise.
18054         (isnormal_test_data): Likewise.
18055         (issignaling_test_data): Likewise.
18056         (isunordered_test_data): Likewise.
18057         (ldexp_test_data): Likewise.
18058         (lrint_test_data): Likewise.
18059         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18060         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18061         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18062         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18063         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18064         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18065         test input.
18066         (lrint_towardzero_test_data): Test for "inexact" exceptions.
18067         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18068         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18069         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18070         that test input.
18071         (lrint_downward_test_data): Test for "inexact" exceptions.
18072         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18073         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18074         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18075         test input.
18076         (lrint_upward_test_data): Test for "inexact" exceptions.
18077         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18078         test input.
18079         (llrint_test_data): Test for "inexact" exceptions.
18080         (llrint_test_data) [TEST_FLOAT]: Disable one test.
18081         (llrint_tonearest_test_data): Test for "inexact" exceptions.
18082         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18083         (llrint_towardzero_test_data): Test for "inexact" exceptions.
18084         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18085         (llrint_downward_test_data): Test for "inexact" exceptions.
18086         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18087         (llrint_upward_test_data): Test for "inexact" exceptions.
18088         (logb_test_data): Likewise.
18089         (logb_downward_test_data): Likewise.
18090         (nextafter_test_data): Likewise.
18091         (nexttoward_test_data): Likewise.
18092         (remainder_test_data): Likewise.
18093         (remquo_test_data): Likewise.
18094         (scalbn_test_data): Likewise.
18095         (scalbln_test_data): Likewise.
18096         (signbit_test_data): Likewise.
18097         (sqrt_test_data): Likewise.
18098         (significand_test_data): Likewise.
18100 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18102         [BZ #15424]
18103         * benchtests/bench-modf.c (struct args): Mark arg0 as
18104         volatile.
18105         * scripts/bench.pl: Mark members of struct args as volatile.
18107 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18109         [BZ # 15497]
18110         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18111         negative infinity on POWER6 or lower.
18112         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18114 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18116         [BZ #15442]
18117         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18118         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18119         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18120         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18121         (_FP_SETQNAN): New macro.
18122         (_FP_SETQNAN_SEMIRAW): Likewise.
18123         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18124         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18125         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18126         (FP_EXTEND): Use _FP_FRAC_SNANP.
18127         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18128         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18129         into account.
18130         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18131         New macro.
18132         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18133         Likewise.
18135 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18137         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18138         with DIVIDE_BY_ZERO_EXCEPTION.
18139         (gamma_test_data): Likewise.
18140         (lgamma_test_data): Likewise.
18141         (log_test_data): Likewise.
18142         (log10_test_data): Likewise.
18143         (log2_test_data): Likewise.
18144         (tgamma_test_data): Likewise.
18146         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18147         (acos_test_tonearest): Likewise.
18148         (acos_test_towardzero): Likewise.
18149         (acos_test_downward): Likewise.
18150         (acos_test_upward): Likewise.
18151         (acosh_test): Likewise.
18152         (asin_test): Likewise.
18153         (asin_test_tonearest): Likewise.
18154         (asin_test_towardzero): Likewise.
18155         (asin_test_downward): Likewise.
18156         (asin_test_upward): Likewise.
18157         (asinh_test): Likewise.
18158         (atan_test): Likewise.
18159         (atanh_test): Likewise.
18160         (atan2_test): Likewise.
18161         (cabs_test): Likewise.
18162         (cacos_test): Likewise.
18163         (cacosh_test): Likewise.
18164         (casin_test): Likewise.
18165         (casinh_test): Likewise.
18166         (catan_test): Likewise.
18167         (catanh_test): Likewise.
18168         (cbrt_test): Likewise.
18169         (ccos_test): Likewise.
18170         (ccosh_test): Likewise.
18171         (cexp_test): Likewise.
18172         (clog_test): Likewise.
18173         (clog10_test): Likewise.
18174         (cos_test): Likewise.
18175         (cos_test_tonearest): Likewise.
18176         (cos_test_towardzero): Likewise.
18177         (cos_test_downward): Likewise.
18178         (cos_test_upward): Likewise.
18179         (cosh_test): Likewise.
18180         (cosh_test_tonearest): Likewise.
18181         (cosh_test_towardzero): Likewise.
18182         (cosh_test_downward): Likewise.
18183         (cosh_test_upward): Likewise.
18184         (cpow_test): Likewise.
18185         (csin_test): Likewise.
18186         (csinh_test): Likewise.
18187         (csqrt_test): Likewise.
18188         (ctan_test): Likewise.
18189         (ctan_test_tonearest): Likewise.
18190         (ctan_test_towardzero): Likewise.
18191         (ctan_test_downward): Likewise.
18192         (ctan_test_upward): Likewise.
18193         (ctanh_test): Likewise.
18194         (ctanh_test_tonearest): Likewise.
18195         (ctanh_test_towardzero): Likewise.
18196         (ctanh_test_downward): Likewise.
18197         (ctanh_test_upward): Likewise.
18198         (erf_test): Likewise.
18199         (erfc_test): Likewise.
18200         (exp_test): Likewise.
18201         (exp_test_tonearest): Likewise.
18202         (exp_test_towardzero): Likewise.
18203         (exp_test_downward): Likewise.
18204         (exp_test_upward): Likewise.
18205         (exp10_test): Likewise.
18206         (exp2_test): Likewise.
18207         (expm1_test): Likewise.
18208         (fmod_test): Likewise.
18209         (gamma_test): Likewise.
18210         (hypot_test): Likewise.
18211         (j0_test): Likewise.
18212         (j1_test): Likewise.
18213         (jn_test): Likewise.
18214         (lgamma_test): Likewise.
18215         (log_test): Likewise.
18216         (log10_test): Likewise.
18217         (log1p_test): Likewise.
18218         (log2_test): Likewise.
18219         (logb_test_downward): Likewise.
18220         (pow_test): Likewise.
18221         (pow_test_tonearest): Likewise.
18222         (pow_test_towardzero): Likewise.
18223         (pow_test_downward): Likewise.
18224         (pow_test_upward): Likewise.
18225         (remainder_test): Likewise.
18226         (remquo_test): Likewise.
18227         (sin_test): Likewise.
18228         (sin_test_tonearest): Likewise.
18229         (sin_test_towardzero): Likewise.
18230         (sin_test_downward): Likewise.
18231         (sin_test_upward): Likewise.
18232         (sincos_test): Likewise.
18233         (sinh_test): Likewise.
18234         (sinh_test_tonearest): Likewise.
18235         (sinh_test_towardzero): Likewise.
18236         (sinh_test_downward): Likewise.
18237         (sinh_test_upward): Likewise.
18238         (sqrt_test): Likewise.
18239         (tan_test): Likewise.
18240         (tan_test_tonearest): Likewise.
18241         (tan_test_towardzero): Likewise.
18242         (tan_test_downward): Likewise.
18243         (tan_test_upward): Likewise.
18244         (tanh_test): Likewise.
18245         (tgamma_test): Likewise.
18246         (y0_test): Likewise.
18247         (y1_test): Likewise.
18248         (yn_test): Likewise.
18250         * math/gen-libm-test.pl (adjust_arg): Remove function.
18251         (special_function): Remove argument $in_func.  Only handle
18252         generating output for tables of tests, not inside functions.
18253         (parse_args): Likewise.
18254         (generate_testfile): Remove variable $in_func.  Update call to
18255         parse_args.
18256         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18257         (MINUS_ZERO_INIT): Rename macro to minus_zero.
18258         (PLUS_INFTY_INIT): Rename macro to plus_infty.
18259         (MINUS_INFTY_INIT): Rename macro to minus_infty.
18260         (QNAN_VALUE_INIT): Rename macro to qnan_value.
18261         (MAX_VALUE_INIT): Rename macro to max_value.
18262         (MIN_VALUE_INIT): Rename macro to min_value.
18263         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18264         (plus_zero): Remove variable.
18265         (minus_zero): Likewise.
18266         (plus_infty): Likewise.
18267         (minus_infty): Likewise.
18268         (qnan_value): Likewise.
18269         (max_value): Likewise.
18270         (min_value): Likewise.
18271         (min_subnorm_value): Likewise.
18273 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18275         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18276         uint64_t or uint32_t usage.
18277         * crypt/sha256-block.c: Likewise.
18278         * crypt/sha256-crypt.c: Likewise.
18279         * crypt/sha256.c: Likewise.
18280         * crypt/sha512-block.c: Likewise.
18281         * crypt/sha512-crypt.c: Likewise.
18282         * crypt/sha512.c: Likewise.
18283         * debug/backtrace-tst.c: Likewise.
18284         * debug/pcprofiledump.c: Likewise.
18285         * elf/cache.c: Likewise.
18286         * elf/dl-cache.c: Likewise.
18287         * elf/dl-misc.c: Likewise.
18288         * elf/dl-profile.c: Likewise.
18289         * elf/dl-support.c: Likewise.
18290         * elf/ldconfig.c: Likewise.
18291         * elf/sprof.c: Likewise.
18292         * iconv/dummy-repertoire.c: Likewise.
18293         * iconv/iconv_charmap.c: Likewise.
18294         * iconv/skeleton.c: Likewise.
18295         * iconvdata/8bit-generic.c: Likewise.
18296         * iconvdata/cp737.h: Likewise.
18297         * iconvdata/cp775.h: Likewise.
18298         * iconvdata/ibm1008.h: Likewise.
18299         * iconvdata/ibm1025.h: Likewise.
18300         * iconvdata/ibm1046.h: Likewise.
18301         * iconvdata/ibm1097.h: Likewise.
18302         * iconvdata/ibm1112.h: Likewise.
18303         * iconvdata/ibm1122.h: Likewise.
18304         * iconvdata/ibm1123.h: Likewise.
18305         * iconvdata/ibm1124.h: Likewise.
18306         * iconvdata/ibm1129.h: Likewise.
18307         * iconvdata/ibm1130.h: Likewise.
18308         * iconvdata/ibm1132.h: Likewise.
18309         * iconvdata/ibm1133.h: Likewise.
18310         * iconvdata/ibm1137.h: Likewise.
18311         * iconvdata/ibm1140.h: Likewise.
18312         * iconvdata/ibm1141.h: Likewise.
18313         * iconvdata/ibm1142.h: Likewise.
18314         * iconvdata/ibm1143.h: Likewise.
18315         * iconvdata/ibm1144.h: Likewise.
18316         * iconvdata/ibm1145.h: Likewise.
18317         * iconvdata/ibm1146.h: Likewise.
18318         * iconvdata/ibm1147.h: Likewise.
18319         * iconvdata/ibm1148.h: Likewise.
18320         * iconvdata/ibm1149.h: Likewise.
18321         * iconvdata/ibm1153.h: Likewise.
18322         * iconvdata/ibm1154.h: Likewise.
18323         * iconvdata/ibm1155.h: Likewise.
18324         * iconvdata/ibm1156.h: Likewise.
18325         * iconvdata/ibm1157.h: Likewise.
18326         * iconvdata/ibm1158.h: Likewise.
18327         * iconvdata/ibm1160.h: Likewise.
18328         * iconvdata/ibm1161.h: Likewise.
18329         * iconvdata/ibm1162.h: Likewise.
18330         * iconvdata/ibm1163.h: Likewise.
18331         * iconvdata/ibm1164.h: Likewise.
18332         * iconvdata/ibm1166.h: Likewise.
18333         * iconvdata/ibm1167.h: Likewise.
18334         * iconvdata/ibm12712.h: Likewise.
18335         * iconvdata/ibm1390.h: Likewise.
18336         * iconvdata/ibm1399.h: Likewise.
18337         * iconvdata/ibm16804.h: Likewise.
18338         * iconvdata/ibm4517.h: Likewise.
18339         * iconvdata/ibm4899.h: Likewise.
18340         * iconvdata/ibm4909.h: Likewise.
18341         * iconvdata/ibm4971.h: Likewise.
18342         * iconvdata/ibm5347.h: Likewise.
18343         * iconvdata/ibm803.h: Likewise.
18344         * iconvdata/ibm856.h: Likewise.
18345         * iconvdata/ibm901.h: Likewise.
18346         * iconvdata/ibm902.h: Likewise.
18347         * iconvdata/ibm9030.h: Likewise.
18348         * iconvdata/ibm9066.h: Likewise.
18349         * iconvdata/ibm921.h: Likewise.
18350         * iconvdata/ibm922.h: Likewise.
18351         * iconvdata/ibm9448.h: Likewise.
18352         * iconvdata/isiri-3342.h: Likewise.
18353         * iconvdata/jis0201.h: Likewise.
18354         * include/link.h: Likewise.
18355         * include/netdb.h: Likewise.
18356         * inet/check_native.c: Likewise.
18357         * inet/check_pf.c: Likewise.
18358         * inet/getipv4sourcefilter.c: Likewise.
18359         * inet/getnameinfo.c: Likewise.
18360         * inet/getsourcefilter.c: Likewise.
18361         * inet/htonl.c: Likewise.
18362         * inet/setipv4sourcefilter.c: Likewise.
18363         * inet/setsourcefilter.c: Likewise.
18364         * inet/test-inet6_opt.c: Likewise.
18365         * inet/tst-network.c: Likewise.
18366         * locale/C-collate.c: Likewise.
18367         * locale/C-ctype.c: Likewise.
18368         * locale/C-time.c: Likewise.
18369         * locale/C-translit.h: Likewise.
18370         * locale/loadarchive.c: Likewise.
18371         * locale/programs/3level.h: Likewise.
18372         * locale/programs/charmap.c: Likewise.
18373         * locale/programs/charmap.h: Likewise.
18374         * locale/programs/ld-address.c: Likewise.
18375         * locale/programs/ld-collate.c: Likewise.
18376         * locale/programs/ld-ctype.c: Likewise.
18377         * locale/programs/ld-identification.c: Likewise.
18378         * locale/programs/ld-measurement.c: Likewise.
18379         * locale/programs/ld-messages.c: Likewise.
18380         * locale/programs/ld-monetary.c: Likewise.
18381         * locale/programs/ld-name.c: Likewise.
18382         * locale/programs/ld-numeric.c: Likewise.
18383         * locale/programs/ld-paper.c: Likewise.
18384         * locale/programs/ld-telephone.c: Likewise.
18385         * locale/programs/ld-time.c: Likewise.
18386         * locale/programs/linereader.c: Likewise.
18387         * locale/programs/locale.c: Likewise.
18388         * locale/programs/locarchive.c: Likewise.
18389         * locale/programs/locfile.h: Likewise.
18390         * locale/programs/repertoire.c: Likewise.
18391         * locale/programs/simple-hash.c: Likewise.
18392         * locale/programs/simple-hash.h: Likewise.
18393         * malloc/memusage.c: Likewise.
18394         * malloc/memusagestat.c: Likewise.
18395         * nis/nis_defaults.c: Likewise.
18396         * nis/nis_hash.c: Likewise.
18397         * nis/nis_print.c: Likewise.
18398         * nis/nis_xdr.c: Likewise.
18399         * nscd/connections.c: Likewise.
18400         * nscd/hstcache.c: Likewise.
18401         * nscd/nscd_gethst_r.c: Likewise.
18402         * nscd/nscd_getserv_r.c: Likewise.
18403         * nscd/nscd_helper.c: Likewise.
18404         * nscd/servicescache.c: Likewise.
18405         * nss/makedb.c: Likewise.
18406         * nss/nss_db/db-XXX.c: Likewise.
18407         * nss/nss_db/db-initgroups.c: Likewise.
18408         * nss/nss_db/db-netgrp.c: Likewise.
18409         * nss/nss_files/files-network.c: Likewise.
18410         * nss/nss_files/files-parse.c: Likewise.
18411         * posix/bug-regex5.c: Likewise.
18412         * posix/fnmatch_loop.c: Likewise.
18413         * posix/regcomp.c: Likewise.
18414         * posix/regexec.c: Likewise.
18415         * posix/tst-rfc3484-2.c: Likewise.
18416         * posix/tst-rfc3484-3.c: Likewise.
18417         * posix/tst-rfc3484.c: Likewise.
18418         * resolv/nss_dns/dns-canon.c: Likewise.
18419         * resolv/nss_dns/dns-network.c: Likewise.
18420         * resolv/res_init.c: Likewise.
18421         * resolv/res_mkquery.c: Likewise.
18422         * resolv/tst-aton.c: Likewise.
18423         * stdlib/cxa_atexit.c: Likewise.
18424         * stdlib/cxa_finalize.c: Likewise.
18425         * stdlib/gen-fpioconst.c: Likewise.
18426         * stdlib/strtol_l.c: Likewise.
18427         * string/tst-endian.c: Likewise.
18428         * sunrpc/auth_des.c: Likewise.
18429         * sunrpc/clnt_udp.c: Likewise.
18430         * sunrpc/rtime.c: Likewise.
18431         * sunrpc/svcauth_des.c: Likewise.
18432         * sunrpc/xdr.c: Likewise.
18433         * sunrpc/xdr_intXX_t.c: Likewise.
18434         * sunrpc/xdr_rec.c: Likewise.
18435         * sysdeps/generic/ldconfig.h: Likewise.
18436         * sysdeps/generic/ldsodefs.h: Likewise.
18437         * sysdeps/generic/memusage.h: Likewise.
18438         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18439         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18440         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18441         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18442         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18443         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18444         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18445         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18446         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18447         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18448         * sysdeps/posix/getaddrinfo.c: Likewise.
18449         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18450         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18451         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18452         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18453         * sysdeps/powerpc/test-gettimebase.c: Likewise.
18454         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18455         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18456         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18457         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18458         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18459         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18460         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18461         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18462         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18463         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18464         * sysdeps/x86_64/dl-tls.h: Likewise.
18465         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18466         * time/alt_digit.c: Likewise.
18467         * time/era.c: Likewise.
18468         * wcsmbs/tst-c16c32-1.c: Likewise.
18470 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18472         * math/libm-test.inc (struct test_sincos_data): New type.
18473         (RUN_TEST_LOOP_sincos): New macro.
18474         (sincos_test_data): New variable.
18475         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18477 2013-05-16  Richard Henderson  <rth@redhat.com>
18479         * math/atest-exp2.c (LIMB64): New macro.
18480         (CONSTSZ): New macro.
18481         (mp_exp1, mp_exp_m1, mp_log2): New variables.
18482         (hexdig): Move ...
18483         (print_mpn_fp): ... to function scope.
18484         (read_mpn_hex): Remove.
18485         (get_log2): Remove.
18486         (exp2_mpn): Use mp_log2.
18487         (main): Use mp_exp1.
18489 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18491         * math/libm-test.inc: Remove comment about not testing "inexact"
18492         exceptions.
18493         (INEXACT_EXCEPTION): New macro.
18494         (NO_INEXACT_EXCEPTION): Likewise.
18495         (INVALID_EXCEPTION_OK): Update value.
18496         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18497         (OVERFLOW_EXCEPTION_OK): Likewise.
18498         (UNDERFLOW_EXCEPTION_OK): Likewise.
18499         (IGNORE_ZERO_INF_SIGN): Likewise.
18500         (ERRNO_UNCHANGED): Likewise.
18501         (ERRNO_EDOM): Likewise.
18502         (ERRNO_ERANGE): Likewise.
18503         (test_exceptions): Handle testing "inexact" exceptions.
18504         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18505         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18506         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18507         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18508         INEXACT_EXCEPTION.
18509         (rint_towardzero_test_data): Likewise.
18510         (rint_downward_test_data): Likewise.
18511         (rint_upward_test_data): Likewise.
18513         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18514         with OVERFLOW_EXCEPTION.
18515         (exp10_test_data): Likewise.
18516         (exp2_test_data): Likewise.
18517         (expm1_test_data): Likewise.
18518         (lgamma_test_data): Likewise.
18519         (pow_test_data): Likewise.
18520         (tgamma_test_data): Likewise.
18521         (yn_test_data): Remove duplicate test of overflow.
18523         * math/libm-test.inc (struct test_cc_c_data): New type.
18524         (RUN_TEST_LOOP_cc_c): New macro.
18525         (cpow_test_data): New variable.
18526         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18528         * math/libm-test.inc (struct test_f_L_data): New type.
18529         (RUN_TEST_LOOP_f_L): New macro.
18530         (llrint_test_data): New variable.
18531         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18532         (llrint_tonearest_test_data): New variable.
18533         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18534         (llrint_towardzero_test_data): New variable.
18535         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18536         (llrint_downward_test_data): New variable.
18537         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18538         (llrint_upward_test_data): New variable.
18539         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18540         (llround_test_data): New variable.
18541         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18543 2013-05-13  Peter Collingbourne  <pcc@google.com>
18545         * math/atest-exp2.c (get_log2): Remove const attribute.
18547 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18549         * math/libm-test.inc (struct test_f_l_data): New type.
18550         (RUN_TEST_LOOP_f_l): New macro.
18551         (lrint_test_data): New variable.
18552         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18553         (lrint_tonearest_test_data): New variable.
18554         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18555         (lrint_towardzero_test_data): New variable.
18556         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18557         (lrint_downward_test_data): New variable.
18558         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18559         (lrint_upward_test_data): New variable.
18560         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18561         (lround_test_data): New variable.
18562         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18564 2013-05-15  Peter Collingbourne  <pcc@google.com>
18566         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18567         (EXTRACT_WORDS64) Use where appropriate.
18568         (INSERT_WORDS64) Likewise.
18570         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18571         constraints with x constraints.
18572         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18574         * malloc/obstack.c (_obstack_compat): Add initializer.
18576 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18578         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18579         si_trapno and add si_addr_lsb to _sifields.sigfault.
18580         (si_trapno): Remove macro.
18581         (si_addr_lsb): Define new macro.
18582         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18584 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18586         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18587         instead of TEST_f_l.
18588         (llrint_test_tonearest): Likewise.
18589         (llrint_test_towardzero): Likewise.
18590         (llrint_test_downward): Likewise.
18591         (llrint_test_upward): Likewise.
18592         (llround_test): Likewise.
18594         * math/libm-test.inc (struct test_f_i_data): Add comment.
18595         (RUN_TEST_LOOP_f_b): New macro.
18596         (RUN_TEST_LOOP_f_b_tg): Likewise.
18597         (finite_test_data): New variable.
18598         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18599         (isfinite_test_data): New variable.
18600         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18601         (isinf_test_data): New variable.
18602         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18603         (isnan_test_data): New variable.
18604         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18605         (isnormal_test_data): New variable.
18606         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18607         (issignaling_test_data): New variable.
18608         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18609         (signbit_test_data): New variable.
18610         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18612         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18613         with INVALID_EXCEPTION.
18614         (acosh_test_data): Likewise.
18615         (asin_test_data): Likewise.
18616         (atanh_test_data): Likewise.
18617         (fmod_test_data): Likewise.
18618         (log_test_data): Likewise.
18619         (log10_test_data): Likewise.
18620         (log2_test_data): Likewise.
18621         (pow_test_data): Likewise.
18622         (sqrt_test_data): Likewise.
18623         (y0_test_data): Likewise.
18624         (y1_test_data): Likewise.
18625         (yn_test_data): Likewise.
18627         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18628         function contents.
18630         * math/libm-test.inc (struct test_ff_i_data): New type.
18631         (RUN_TEST_LOOP_ff_i_tg): New macro.
18632         (isgreater_test_data): New variable.
18633         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18634         (isgreaterequal_test_data): New variable.
18635         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18636         (isless_test_data): New variable.
18637         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18638         (islessequal_test_data): New variable.
18639         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18640         (islessgreater_test_data): New variable.
18641         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18642         (isunordered_test_data): New variable.
18643         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18645 2013-05-14  David S. Miller  <davem@davemloft.net>
18647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18649 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
18651         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18653         * math/libm-test.inc (struct test_fF_f1_data): Change type of
18654         extra_test to int.
18655         (struct test_f_i_data): Change type of max_ulp to int.
18657         * math/libm-test.inc (test_ffI_f1_data): New type.
18658         (RUN_TEST_LOOP_ffI_f1): New macro.
18659         (remquo_test_data): New variable.
18660         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18662         * setjmp/tst-setjmp-fp.c: New file.
18663         * setjmp/Makefile (tests): Add tst-setjmp-fp.
18664         (link-libm): New variable.
18665         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18667         * math/libm-test.inc (struct test_f_i_data): New type.
18668         (RUN_TEST_LOOP_f_i): New macro.
18669         (RUN_TEST_LOOP_f_i_tg): Likewise.
18670         (fpclassify_test_data): New variable.
18671         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18672         (ilogb_test_data): New variable.
18673         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18675         * math/libm-test.inc (scalbln_test): Correct function name in END
18676         call.
18678         * math/libm-test.inc (struct test_f_f1_data): Add comment.
18679         (RUN_TEST_LOOP_fI_f1): New macro.
18680         (frexp_test_data): New variable.
18681         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18683         * math/libm-test.inc (struct test_fF_f1_data): New type.
18684         (RUN_TEST_LOOP_fF_f1): New macro.
18685         (modf_test_data): New variable.
18686         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18688         * math/libm-test.inc (struct test_f_f1_data): New type.
18689         (RUN_TEST_LOOP_f_f1): New macro.
18690         (gamma_test_data): New variable.
18691         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18692         (lgamma_test_data): New variable.
18693         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18695 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
18697         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18698         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18699         (main): Comment "tls" pseudo-hwcap.
18701 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
18703         * math/libm-test.inc (struct test_fl_f_data): New type.
18704         (RUN_TEST_LOOP_fl_f): New variable.
18705         (scalbln_test_data): New variable.
18706         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18708         * math/libm-test.inc (struct test_fi_f_data): New type.
18709         (RUN_TEST_LOOP_fi_f): New macro.
18710         (ldexp_test_data): New variable.
18711         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18712         (scalbn_test_data): New variable.
18713         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18715         * math/libm-test.inc (struct test_c_f_data): New type.
18716         (RUN_TEST_LOOP_c_f): New macro.
18717         (cabs_test_data): New variable.
18718         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18719         (carg_test_data): New variable.
18720         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18721         (cimag_test_data): New variable.
18722         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18723         (creal_test_data): New variable.
18724         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18726         * math/libm-test.inc (struct test_if_f_data): New type.
18727         (RUN_TEST_LOOP_if_f): New macro.
18728         (jn_test_data): New variable.
18729         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18730         (yn_test_data): New variable.
18731         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18733         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18735 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18737         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18738         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18740 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18742         * benchtests/Makefile (CPPFLAGS-nonlib): Add
18743         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18744         (bench-deps): Add bench-timing.h.
18745         * benchtests-bench-skeleton.c: Include bench-timing.h.
18746         (main): Use TIMING_* macros instead of clock_gettime.
18747         * benchtests/bench-timing.h: New file.
18749         [BZ #14582]
18750         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18751         Renamed from _LIB_VERSION.
18752         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18754 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
18756         * math/libm-test.inc (struct test_fff_f_data): New type.
18757         (RUN_TEST_LOOP_fff_f): New macro.
18758         (fma_test_data): New variable.
18759         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18760         (fma_towardzero_test_data): New variable.
18761         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18762         (fma_downward_test_data): New variable.
18763         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18764         (fma_upward_test_data): New variable.
18765         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18767         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18768         (struct test_c_c_data): New type.
18769         (RUN_TEST_LOOP_c_c): New macro.
18770         (cacos_test_data): New variable.
18771         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18772         (cacosh_test_data): New variable.
18773         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18774         (casin_test_data): New variable.
18775         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18776         (casinh_test_data): New variable.
18777         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18778         (catan_test_data): New variable.
18779         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18780         (catanh_test_data): New variable.
18781         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18782         (ccos_test_data): New variable.
18783         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18784         (ccosh_test_data): New variable.
18785         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18786         (cexp_test_data): New variable.
18787         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18788         (clog_test_data): New variable.
18789         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18790         (clog10_test_data): New variable.
18791         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18792         (conj_test_data): New variable.
18793         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18794         (cproj_test_data): New variable.
18795         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18796         (csin_test_data): New variable.
18797         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18798         (csinh_test_data): New variable.
18799         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18800         (csqrt_test_data): New variable.
18801         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18802         (ctan_test_data): New variable.
18803         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18804         (ctan_tonearest_test_data): New variable.
18805         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18806         (ctan_towardzero_test_data): New variable.
18807         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18808         (ctan_downward_test_data): New variable.
18809         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18810         (ctan_upward_test_data): New variable.
18811         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18812         (ctanh_test_data): New variable.
18813         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18814         (ctanh_tonearest_test_data): New variable.
18815         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18816         (ctanh_towardzero_test_data): New variable.
18817         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18818         (ctanh_downward_test_data): New variable.
18819         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18820         (ctanh_upward_test_data): New variable.
18821         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18822         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18823         of BUILD_COMPLEX.
18825         * math/libm-test.inc (struct test_ff_f_data): New type.
18826         (struct test_ff_f_data_nexttoward): Likewise.
18827         (RUN_TEST_LOOP_2_f): New macro.
18828         (RUN_TEST_LOOP_ff_f): Likewise.
18829         (atan2_test_data): New variable.
18830         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18831         (copysign_test_data): New variable.
18832         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18833         (fdim_test_data): New variable.
18834         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18835         (fmax_test_data): New variable.
18836         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18837         (fmin_test_data): New variable.
18838         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18839         (fmod_test_data): New variable.
18840         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18841         (hypot_test_data): New variable.
18842         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18843         (nextafter_test_data): New variable.
18844         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18845         (nexttoward_test_data): New variable.
18846         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18847         (pow_test_data): New variable.
18848         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18849         (pow_tonearest_test_data): New variable.
18850         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18851         (pow_towardzero_test_data): New variable.
18852         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18853         (pow_downward_test_data): New variable.
18854         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18855         (pow_upward_test_data): New variable.
18856         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18857         (remainder_test_data): New variable.
18858         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18859         (scalb_test_data): New variable.
18860         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18861         * sysdeps/i386/fpu/libm-test-ulps: Update.
18863 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
18865         * math/libm-test.inc (fma_test): Use max_value instead of local
18866         variable fltmax.
18867         (nextafter_test): Likewise.
18869         * math/libm-test.inc (acos_towardzero_test_data): New variable.
18870         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18871         (acos_downward_test_data): New variable.
18872         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18873         (acos_upward_test_data): New variable.
18874         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18875         (acosh_test_data): New variable.
18876         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18877         (asin_test_data): New variable.
18878         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18879         (asin_tonearest_test_data): New variable.
18880         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18881         (asin_towardzero_test_data): New variable.
18882         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18883         (asin_downward_test_data): New variable.
18884         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18885         (asin_upward_test_data): New variable.
18886         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18887         (asinh_test_data): New variable.
18888         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18889         (atan_test_data): New variable.
18890         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18891         (atanh_test_data): New variable.
18892         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18893         (cbrt_test_data): New variable.
18894         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18895         (ceil_test_data): New variable.
18896         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18897         (cos_test_data): New variable.
18898         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18899         (cos_tonearest_test_data): New variable.
18900         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18901         (cos_towardzero_test_data): New variable.
18902         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18903         (cos_downward_test_data): New variable.
18904         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18905         (cos_upward_test_data): New variable.
18906         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18907         (cosh_test_data): New variable.
18908         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18909         (cosh_tonearest_test_data): New variable.
18910         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18911         (cosh_towardzero_test_data): New variable.
18912         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18913         (cosh_downward_test_data): New variable.
18914         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18915         (cosh_upward_test_data): New variable.
18916         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18917         (erf_test_data): New variable.
18918         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18919         (erfc_test_data): New variable.
18920         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18921         (exp_test_data): New variable.
18922         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18923         (exp_tonearest_test_data): New variable.
18924         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18925         (exp_towardzero_test_data): New variable.
18926         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18927         (exp_downward_test_data): New variable.
18928         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18929         (exp_upward_test_data): New variable.
18930         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18931         (exp10_test_data): New variable.
18932         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18933         (exp2_test_data): New variable.
18934         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18935         (expm1_test_data): New variable.
18936         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18937         (fabs_test_data): New variable.
18938         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18939         (floor_test_data): New variable.
18940         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18941         (j0_test_data): New variable.
18942         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18943         (j1_test_data): New variable.
18944         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18945         (log_test_data): New variable.
18946         (log_test): Run tests with RUN_TEST_LOOP_f_f.
18947         (log10_test_data): New variable.
18948         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18949         (log1p_test_data): New variable.
18950         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18951         (log2_test_data): New variable.
18952         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18953         (logb_test_data): New variable.
18954         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18955         (logb_downward_test_data): New variable.
18956         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18957         (nearbyint_test_data): New variable.
18958         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18959         (rint_test_data): New variable.
18960         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18961         (rint_tonearest_test_data): New variable.
18962         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18963         (rint_towardzero_test_data): New variable.
18964         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18965         (rint_downward_test_data): New variable.
18966         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18967         (rint_upward_test_data): New variable.
18968         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18969         (round_test_data): New variable.
18970         (round_test): Run tests with RUN_TEST_LOOP_f_f.
18971         (sin_test_data): New variable.
18972         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18973         (sin_tonearest_test_data): New variable.
18974         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18975         (sin_towardzero_test_data): New variable.
18976         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18977         (sin_downward_test_data): New variable.
18978         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18979         (sin_upward_test_data): New variable.
18980         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18981         (sinh_test_data): New variable.
18982         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18983         (sinh_tonearest_test_data): New variable.
18984         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18985         (sinh_towardzero_test_data): New variable.
18986         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18987         (sinh_downward_test_data): New variable.
18988         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18989         (sinh_upward_test_data): New variable.
18990         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18991         (sqrt_test_data): New variable.
18992         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18993         (tan_test_data): New variable.
18994         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18995         (tan_tonearest_test_data): New variable.
18996         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18997         (tan_towardzero_test_data): New variable.
18998         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18999         (tan_downward_test_data): New variable.
19000         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19001         (tan_upward_test_data): New variable.
19002         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19003         (tanh_test_data): New variable.
19004         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19005         (tgamma_test_data): New variable.
19006         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19007         (trunc_test_data): New variable.
19008         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19009         (y0_test_data): New variable.
19010         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19011         (y1_test_data): New variable.
19012         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19013         (significand_test_data): New variable.
19014         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19016 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19018         [BZ #12387]
19019         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19021 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19023         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19025 2013-05-10  Andreas Jaeger  <aj@suse.de>
19027         [BZ #15448]
19028         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19029         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19031 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19033         * math/gen-libm-test.pl (adjust_arg): New function.
19034         (special_functions): Handle generating output in both functions
19035         and arrays.
19036         (parse_args): Likewise.
19037         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19038         $in_func argument to parse_args.
19039         * math/libm-test.inc (struct test_f_f_data): New type.
19040         (IF_ROUND_INIT_): New macro.
19041         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19042         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19043         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19044         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19045         (ROUND_RESTORE_): Likewise.
19046         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19047         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19048         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19049         (ROUND_RESTORE_FE_UPWARD): Likewise.
19050         (RUN_TEST_LOOP_f_f): New macro.
19051         (acos_test_data): New variable.
19052         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19053         (acos_tonearest_test_data): New variable.
19054         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19056 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19058         * benchtests/bench-skeleton.c (startup): Fix coding style.
19060 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19062         [BZ #6809]
19063         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19064         negative infinity argument.
19065         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19066         negative infinity argument.
19067         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19068         negative infinity argument.
19069         * math/libm-test.inc (tgamma_test): Expect errno to be set for
19070         domain errors.
19072 2013-05-10  Florian Weimer  <fweimer@redhat.com>
19074         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19075         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19076         * iconv/iconv_prog.c (main): Likewise.
19077         * locale/programs/charmap-dir.c (charmap_readdir)
19078         (fopen_uncompressed): Likewise.
19079         * locale/programs/locfile.c (siblings_uncached)
19080         (write_locale_data): Use lstat64 instead of lstat.
19081         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19082         stat.
19084 2013-05-10  Andreas Jaeger  <aj@suse.de>
19086         [BZ #15395]
19087         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19088         localization.
19089         Include <locale.h>.
19091 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
19093         * elf/dl-close.c (_dl_close_worker): Add comments.
19095 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
19097         [BZ #15359]
19098         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19099         high part of pi/2.
19100         (__ieee754_rem_pio2l): Update comments.
19102         [BZ #15429]
19103         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19104         high part of pi/2.
19105         (__ieee754_rem_pio2l): Update comments.
19107         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19108         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19110         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19111         M_PI_4l.
19113         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19114         (M_PI_34_LOG10El): Likewise.
19115         (M_PI2_LOG10El): Likewise.
19116         (M_PI4_LOG10El): Likewise.
19117         (M_PI_LOG10El): Likewise.
19119 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19123 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
19125         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19126         (MINUS_ZERO_INIT): Likewise.
19127         (PLUS_INFTY_INIT): Likewise.
19128         (MINUS_INFTY_INIT): Likewise.
19129         (QNAN_VALUE_INIT): Likewise.
19130         (MAX_VALUE_INIT): Likewise.
19131         (MIN_VALUE_INIT): Likewise.
19132         (MIN_SUBNORM_VALUE_INIT): Likewise.
19133         (plus_zero): Initialize with PLUS_ZERO_INIT.
19134         (minus_zero): Initialize with MINUS_ZERO_INIT.
19135         (plus_infty): Initialize with PLUS_INFTY_INIT.
19136         (minus_infty): Initialize with MINUS_INFTY_INIT.
19137         (qnan_value): Initialize with QNAN_VALUE_INIT.
19138         (max_value): Initialize with MAX_VALUE_INIT.
19139         (min_value): Initialize with MIN_VALUE_INIT.
19140         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19142         * math/libm-test.inc (RUN_TEST_if_f): New macro.
19143         (jn_test): Use TEST_if_f instead of TEST_ff_f.
19144         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19145         (yn_test): Use TEST_if_f instead of TEST_ff_f.
19147         * math/libm-test.inc (RUN_TEST_f_f): New macro.
19148         (RUN_TEST_2_f): Likewise.
19149         (RUN_TEST_ff_f): Likewise.
19150         (RUN_TEST_fi_f): Likewise.
19151         (RUN_TEST_fl_f): Likewise.
19152         (RUN_TEST_fff_f): Likewise.
19153         (RUN_TEST_c_f): Likewise.
19154         (RUN_TEST_f_f1): Likewise.
19155         (RUN_TEST_fF_f1): Likewise.
19156         (RUN_TEST_fI_f1): Likewise.
19157         (RUN_TEST_ffI_f1): Likewise.
19158         (RUN_TEST_c_c): Likewise.
19159         (RUN_TEST_cc_c): Likewise.
19160         (RUN_TEST_f_i): Likewise.
19161         (RUN_TEST_f_i_tg): Likewise.
19162         (RUN_TEST_ff_i_tg): Likewise.
19163         (RUN_TEST_f_b): Likewise.
19164         (RUN_TEST_f_b_tg): Likewise.
19165         (RUN_TEST_f_l): Likewise.
19166         (RUN_TEST_f_L): Likewise.
19167         (RUN_TEST_sincos): Likewise.
19168         * math/gen-libm-test.pl (new_test): Take new argument to indicate
19169         whether to show exceptions.  Do not include ");\n" in return
19170         value.
19171         (special_functions): Output call to RUN_TEST_sincos instead of
19172         check_float calls.  Update calls to new_test.
19173         (parse_args): Output call to single RUN_TEST_* macro instead of
19174         check_* calls and other assignments.  Update calls to new_test.
19176         [BZ #2546]
19177         [BZ #2560]
19178         [BZ #5159]
19179         [BZ #15426]
19180         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19181         input to result for tgamma overflow.
19182         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19183         (gamma_coeff): New variable.
19184         (NCOEFF): New macro.
19185         (gamma_positive): New function.
19186         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19187         underflow here.  Use gamma_positive instead of exp (lgamma) for
19188         other arguments.
19189         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19190         (gamma_coeff): New variable.
19191         (NCOEFF): New macro.
19192         (gammaf_positive): New function.
19193         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19194         underflow here.  Use gamma_positive instead of exp (lgamma) for
19195         other arguments.
19196         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19197         (gamma_coeff): New variable.
19198         (NCOEFF): New macro.
19199         (gammal_positive): New function.
19200         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19201         underflow here.  Use gamma_positive instead of exp (lgamma) for
19202         other arguments.
19203         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19204         (gamma_coeff): New variable.
19205         (NCOEFF): New macro.
19206         (gammal_positive): New function.
19207         (__ieee754_gammal_r): Handle positive infinity, overflow and
19208         underflow here.  Handle NaN the same as positive infinity.  Remove
19209         check x < 0xffffffff for negative integers.  Use gamma_positive
19210         instead of exp (lgamma) for other arguments.
19211         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19212         (gamma_coeff): New variable.
19213         (NCOEFF): New macro.
19214         (gammal_positive): New function.
19215         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19216         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19217         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19218         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19219         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19220         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19221         * sysdeps/generic/math_private.h (__gamma_productf): New
19222         prototype.
19223         (__gamma_product): Likewise.
19224         (__gamma_productl): Likewise.
19225         * math/Makefile (libm-calls): Add gamma_product.
19226         * math/libm-test.inc (tgamma_test): Add more tests.
19227         * sysdeps/i386/fpu/libm-test-ulps: Update.
19228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19230 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
19232         * benchtests/bench-skeleton.c (main): Preheat CPU.
19234 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
19236         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19238 2013-05-07  Roland McGrath  <roland@hack.frob.com>
19240         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19241         and _dl_skip_args_internal.
19243 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
19245         * manual/message.texi (Message Translation): Talk about users.
19246         Message to key mapping impacts design.
19248 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19250         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19252         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19254         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19255         * sysdeps/wordsize-64/glob64.c: ... here.
19257         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19258         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19259         New macros.
19261         * debug/getlogin_r_chk.c: Moved to ...
19262         * login/getlogin_r_chk.c: ... here.
19263         * debug/Makefile (routines): Move getlogin_r_chk to ...
19264         * login/Makefile (routines): ... here.
19265         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19266         * login/Versions (libc: GLIBC_2.4): ... here.
19268         * io/poll.c (__poll): Renamed from poll.
19269         Add libc_hidden_def.
19270         (poll): Define as weak alias.
19272         * debug/ptsname_r_chk.c: Moved to ...
19273         * login/ptsname_r_chk.c: ... here.
19274         * debug/Makefile (routines): Move ptsname_r_chk to ...
19275         * login/Makefile (routines): ... here.
19276         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19277         * login/Versions (libc: GLIBC_2.4): ... here.
19279         * posix/getlogin.c: Moved to ...
19280         * login/getlogin.c: ... here.
19281         * posix/getlogin_r.c: Moved to ...
19282         * login/getlogin_r.c: ... here.
19283         * posix/getlogin_r.c: Moved to ...
19284         * login/getlogin_r.c: ... here.
19285         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19286         * login/Makefile (routines): ... here.
19287         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19288         * login/Versions (libc: GLIBC_2.0): ... here.
19290         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19291         (setrlimit): Define as weak alias.
19293         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19294         Call __ names for open, ftruncate, and close.
19295         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19296         (truncate): Define as weak alias.
19298 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
19300         * math/gen-libm-test.pl (parse_args): Initialize x before each
19301         test of frexp, modf and remquo.
19303         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19304         test signgam value.
19306 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19308         [BZ #15418]
19309         [BZ #15419]
19310         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19311         internal tests.
19312         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19314 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19316         * elf/dl-writev.h: New file.
19317         * elf/dl-misc.c: Include it.
19318         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19319         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19321 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
19323         * math/libm-test.inc (noXFails): Remove variable.
19324         (noXPasses): Likewise.
19325         (BUILD_COMPLEX_INT): Remove macro.
19326         (print_screen): Remove xfail argument.
19327         (print_screen_max_error): Likewise.
19328         (update_stats): Likewise.
19329         (print_max_error): Likewise.  Update calls to other affected
19330         functions.
19331         (print_complex_max_error): Likewise.
19332         (test_single_exception): Update calls to print_screen.
19333         (test_single_errno): Likewise.
19334         (check_float_internal): Remove xfail argument.  Update calls to
19335         other affected functions.
19336         (check_float): Likewise.
19337         (check_complex): Likewise.
19338         (check_int): Likewise.
19339         (check_long): Likewise.
19340         (check_bool): Likewise.
19341         (check_longlong): Likewise.
19342         (main): Don't print noXFails and noXPasses.
19343         * math/gen-libm-test.pl (top level): Don't mention expected
19344         failure handling in comment.
19345         (new_test): Don't handle expected failures.
19346         (parse_args): Don't mention expected failure handling in comment.
19347         (generate_testfile): Don't handle expected failures.
19348         (parse_ulps): Likewise.
19349         (print_ulps_file): Likewise.
19350         (get_failure): Remove function.
19351         (output_test): Don't handle expected failures.
19352         * make/README.libm-test: Don't mention expected failure handling.
19354         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
19355         (minus_zero): Likewise.
19356         (plus_infty): Likewise.
19357         (minus_infty): Likewise.
19358         (qnan_value): Likewise.
19359         (max_value): Likewise.
19360         (min_value): Likewise.
19361         (min_subnorm_value): Likewise.
19362         (initialize): Do not initialize those variables dynamically.
19364 2013-05-03  Roland McGrath  <roland@hack.frob.com>
19366         * io/open.c (__open_2): Moved to ...
19367         * io/open_2.c: ... this new file.
19368         * io/open64.c (__open64_2): Moved to ...
19369         * io/open64_2.c: ... this new file.
19370         * io/openat.c (__openat_2): Moved to ...
19371         * io/openat_2.c: ... this new file.
19372         * io/openat64.c (__openat64_2): Moved to ...
19373         * io/openat64_2.c: ... this new file.
19374         * io/Makefile (routines): Add them.
19375         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19376         * sysdeps/unix/sysv/linux/open_2.c: File removed.
19377         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19378         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19379         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19380         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19381         (__openat64): Add hidden_ver.
19382         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19383         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19385         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19386         Separately conditionalize setting of GLRO(dl_sysinfo) so
19387         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19388         as well, but the actual setting is only under [NEED_DL_SYSINFO].
19390 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19392         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19393         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19394         definition.
19395         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19396         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19397         (_libc_vdso_platform_setup): Add __vdso_time initialization.
19398         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19399         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19401 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
19403         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19404         test signgam value.
19406         * math/libm-test.inc (hypot_test): Do not use
19407         IGNORE_ZERO_INF_SIGN.
19409 2013-05-03  Andreas Jaeger  <aj@suse.de>
19411         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19412         Linux 3.9.
19413         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19414         (PF_MAX): Adjust for VSOCK change.
19416 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19420 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
19422         [BZ #15264]
19423         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19424         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19425         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19427 2013-05-02  David S. Miller  <davem@davemloft.net>
19429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19431 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
19433         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19435 2013-05-01  Roland McGrath  <roland@hack.frob.com>
19437         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19439 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
19441         [BZ #14952]
19442         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19443         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19444         Use __attribute__ ((__gnu_inline__)).
19445         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19446         Don't use __attribute__ ((__gnu_inline__)).
19448 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
19450         [BZ #15423]
19451         * math/s_catan.c (__catan): Handle small real or imaginary part of
19452         input specially to avoid spurious underflow.
19453         * math/s_catanf.c (__catanf): Likewise.
19454         * math/s_catanh.c (__catanh): Likewise.
19455         * math/s_catanhf.c (__catanhf): Likewise.
19456         * math/s_catanhl.c (__catanhl): Likewise.
19457         * math/s_catanl.c (__catanl): Likewise.
19458         * math/libm-test.inc (catan_test): Add more tests.
19459         (catanh_test): Likewise.
19460         * sysdeps/i386/fpu/libm-test-ulps: Update.
19461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19463 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19467 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
19469         [BZ #15416]
19470         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19471         accurately for denominator in atan2.
19472         * math/s_catanf.c (__catanf): Likewise.
19473         * math/s_catanh.c (__catanh): Likewise.
19474         * math/s_catanhf.c (__catanhf): Likewise.
19475         * math/s_catanhl.c (__catanhl): Likewise.
19476         * math/s_catanl.c (__catanl): Likewise.
19477         * math/libm-test.inc (catan_test): Add more tests.
19478         (catanh_test): Likewise.
19479         * sysdeps/i386/fpu/libm-test-ulps: Update.
19480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19482 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19484         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19486         * benchtests/Makefile (bench): Remove slow benchmarks.
19487         * benchtests/atan-inputs: Add slow benchmark inputs.
19488         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19489         (BENCH_FUNC): Accept variant offset.
19490         (VARIANT): Define.
19491         * benchtests/bench-skeleton.c (main): Run benchmark for each
19492         variant.
19493         * benchtests/cos-inputs: Add slow benchmark inputs.
19494         * benchtests/exp-inputs: Likewise.
19495         * benchtests/pow-inputs: Likewise.
19496         * benchtests/sin-inputs: Likewise.
19497         * benchtests/slowatan-inputs: Remove.
19498         * benchtests/slowatan.c: Remove.
19499         * benchtests/slowcos-inputs: Remove.
19500         * benchtests/slowcos.c: Remove.
19501         * benchtests/slowexp-inputs: Remove.
19502         * benchtests/slowexp.c: Remove.
19503         * benchtests/slowpow-inputs: Remove.
19504         * benchtests/slowpow.c: Remove.
19505         * benchtests/slowsin-inputs: Remove.
19506         * benchtests/slowsin.c: Remove.
19507         * benchtests/slowtan-inputs: Remove.
19508         * benchtests/slowtan.c: Remove.
19509         * benchtests/tan-inputs: Add slow benchmark inputs.
19510         * scripts/bench.pl: Parse comments and directives.
19512         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
19513         in CPPFLAGS.
19514         ($(objpfx)bench-%.c): Remove *-ITER.
19515         * benchtests/bench-modf.c: Remove definition of ITER.
19516         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19517         (main): Loop for DURATION seconds instead of fixed number of
19518         iterations.
19519         * scripts/bench.pl: Don't expect iterations in parameters.
19521 2013-04-29  Roland McGrath  <roland@hack.frob.com>
19523         * io/fchdir.c (__fchdir): Renamed from fchdir.
19524         (fchdir): Define as weak alias.
19526 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19528         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19529         (ERRNO_EDOM): Likewise.
19530         (ERRNO_ERANGE): Likewise.
19531         (noErrnoTests): New variable.
19532         (init_max_error): Set errno to 0.
19533         (test_single_errno): New function.
19534         (test_errno): Likewise.
19535         (check_float_internal): Call test_errno.  Set errno to 0.
19536         (check_complex): Refer to errno tests in comment.
19537         (check_int): Call test_errno.  Set errno to 0.
19538         (check_long): Likewise.
19539         (check_bool): Likewise.
19540         (check_longlong): Likewise.
19541         (cos_test): Use ERRNO_* flags for errno tests instead of
19542         check_int.
19543         (expm1_test): Likewise.
19544         (fmod_test): Likewise.
19545         (ilogb_test): Likewise.
19546         (lgamma_test): Likewise.
19547         (pow_test): Likewise.
19548         (remainder_test): Likewise.
19549         (sin_test): Likewise.
19550         (tan_test): Likewise.
19551         (yn_test): Likewise.
19552         (initialize): Set errno to 0.
19553         (main): Print number of errno tests.
19554         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19556 2013-04-29  Andreas Jaeger  <aj@suse.de>
19558         [BZ #15084]
19559         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19560         and RES_USEVC.
19562         [BZ #15085]
19563         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19564         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19565         unimplemented.
19567         [BZ #15380]
19568         * stdlib/random.c (__initstate): Return NULL if
19569         __initstate fails.
19571         [BZ #15086]
19572         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19573         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19574         RES_SNGLKUPREOP.
19576 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19580 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19582         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19583         of individual tests.
19584         (casin_test): Likewise.
19585         (casinh_test): Likewise.
19587 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
19589         [BZ #15409]
19590         * math/s_catan.c (__catan): Handle arguments with large real or
19591         imaginary part separately without squaring.
19592         * math/s_catanf.c (__catanf): Likewise.
19593         * math/s_catanh.c (__catanh): Likewise.
19594         * math/s_catanhf.c (__catanhf): Likewise.
19595         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19596         and redefine.
19597         (__catanhl): Handle arguments with large real or imaginary part
19598         separately without squaring.
19599         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19600         and redefine.
19601         (__catanl): Handle arguments with large real or imaginary part
19602         separately without squaring.
19603         * math/libm-test.inc (catan_test): Add more tests.
19604         (catanh_test): Likewise.
19605         * sysdeps/i386/fpu/libm-test-ulps: Update.
19606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19608 2013-04-27  Andreas Jaeger  <aj@suse.de>
19610         [BZ #15007]
19611         * stdlib/stdlib.h: Update guards for qecvt.
19612         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19613         <stdlib.h>.
19615 2013-04-27  Allan McRae  <allan@archlinux.org>
19617         * sysdeps/i386/fpu/libm-test-ulps: Update.
19619 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
19621         [BZ #15406]
19622         * math/s_catan.c: Include <float.h>.
19623         (__catan): Ensure underflow exception occurs for underflowed
19624         result.
19625         * math/s_catanf.c: Include <float.h>.
19626         (__catanf): Ensure underflow exception occurs for underflowed
19627         result.
19628         * math/s_catanh.c: Include <float.h>.
19629         (__catanh): Ensure underflow exception occurs for underflowed
19630         result.
19631         * math/s_catanhf.c: Include <float.h>.
19632         (__catanhf): Ensure underflow exception occurs for underflowed
19633         result.
19634         * math/s_catanhl.c: Include <float.h>.
19635         (__catanhl): Ensure underflow exception occurs for underflowed
19636         result.
19637         * math/s_catanl.c: Include <float.h>.
19638         (__catanl): Ensure underflow exception occurs for underflowed
19639         result.
19640         * math/libm-test.inc (catan_test): Add more tests.
19641         (catanh_test): Likewise.
19643         [BZ #15405]
19644         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19645         underflowed result.
19646         * math/s_ccoshf.c (__ccoshf): Likewise.
19647         * math/s_ccoshl.c (__ccoshl): Likewise.
19648         * math/s_csin.c (__csin): Likewise.
19649         * math/s_csinf.c (__csinf): Likewise.
19650         * math/s_csinh.c (__csinh): Likewise.
19651         * math/s_csinhf.c (__csinhf): Likewise.
19652         * math/s_csinhl.c (__csinhl): Likewise.
19653         * math/s_csinl.c (__csinl): Likewise.
19654         * math/libm-test.inc (ccos_test): Add more tests.
19655         (ccosh_test): Likewise.
19656         (csin_test): Likewise.
19657         (csinh_test): Likewise.
19659 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19661         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19662         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19663         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19664         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19665         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19666         powerpc/power5+/fpu folders.
19667         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19670 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19672         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19674 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
19676         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19677         additions to variable.
19678         [$(config-machine) = x86_64] (modules-names): Likewise.
19679         ($(objpfx)tst-audit3): Remove dependency.
19680         ($(objpfx)tst-audit3.out): Likewise.
19681         ($(objpfx)tst-audit4): Likewise.
19682         ($(objpfx)tst-audit4.out): Likewise.
19683         ($(objpfx)tst-audit5): Likewise.
19684         ($(objpfx)tst-audit5.out): Likewise.
19685         ($(objpfx)tst-audit6): Likewise.
19686         ($(objpfx)tst-audit6.out): Likewise.
19687         ($(objpfx)tst-audit7): Likewise.
19688         ($(objpfx)tst-audit7.out): Likewise.
19689         (tst-audit3-ENV): Remove variable.
19690         (tst-audit4-ENV): Likewise.
19691         (tst-audit5-ENV): Likewise.
19692         (tst-audit6-ENV): Likewise.
19693         (tst-audit7-ENV): Likewise.
19694         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19695         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19696         addition to variable.
19697         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19698         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19699         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19700         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19701         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19702         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19703         tst-audit3, tst-audit4 and tst-audit5.
19704         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19705         tst-audit6 and tst-audit7.
19706         [$(subdir) = elf] (modules-names): Add audit modules for those
19707         tests.
19708         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19709         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19710         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19711         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19712         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19713         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19714         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19715         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19716         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19717         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19718         [$(subdir) = elf] (tst-audit3-ENV): New variable.
19719         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19720         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19721         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19722         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19723         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19724         Likewise.
19725         [$(subdir) = elf && $(config-cflags-avx) = yes]
19726         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19727         [$(subdir) = elf && $(config-cflags-avx) = yes]
19728         (CFLAGS-tst-auditmod4a.c): Likewise.
19729         [$(subdir) = elf && $(config-cflags-avx) = yes]
19730         (CFLAGS-tst-auditmod4b.c): Likewise.
19731         [$(subdir) = elf && $(config-cflags-avx) = yes]
19732         (CFLAGS-tst-auditmod6b.c): Likewise.
19733         [$(subdir) = elf && $(config-cflags-avx) = yes]
19734         (CFLAGS-tst-auditmod6c.c): Likewise.
19735         [$(subdir) = elf && $(config-cflags-avx) = yes]
19736         (CFLAGS-tst-auditmod7b.c): Likewise.
19737         * elf/tst-audit3.c: Move to ...
19738         * sysdeps/x86_64/tst-audit3.c: ... here.
19739         * elf/tst-audit4.c: Move to ...
19740         * sysdeps/x86_64/tst-audit4.c: ... here.
19741         * elf/tst-audit5.c: Move to ...
19742         * sysdeps/x86_64/tst-audit5.c: ... here.
19743         * elf/tst-audit6.c: Move to ...
19744         * sysdeps/x86_64/tst-audit6.c: ... here.
19745         * elf/tst-audit7.c: Move to ...
19746         * sysdeps/x86_64/tst-audit7.c: ... here.
19747         * elf/tst-auditmod3a.c: Move to ...
19748         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19749         * elf/tst-auditmod3b.c: Move to ...
19750         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19751         * elf/tst-auditmod4a.c: Move to ...
19752         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19753         * elf/tst-auditmod4b.c: Move to ...
19754         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19755         * elf/tst-auditmod5a.c: Move to ...
19756         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19757         * elf/tst-auditmod5b.c: Move to ...
19758         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19759         * elf/tst-auditmod6a.c: Move to ...
19760         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19761         * elf/tst-auditmod6b.c: Move to ...
19762         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19763         * elf/tst-auditmod6c.c: Move to ...
19764         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19765         * elf/tst-auditmod7a.c: Move to ...
19766         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19767         * elf/tst-auditmod7b.c: Move to ...
19768         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19770 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
19772         [BZ #15366]
19773         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19774         define unconditionally.
19775         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19776         define unconditionally.
19777         (INT8_C, INT16_C, etc.): Likewise.
19779 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
19781         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19782         __ehdr_start with hidden visibility.
19784         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19786 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
19788         * math/libm-test.inc (cos_test): Use accurate hex constants.
19789         (sincost_test): Likewise.
19791 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
19793         * math/libm-test.inc (catan_test): Add more tests.
19794         (catanh_test): Likewise.
19796         * math/s_catanf.c (__catanf): Use suffixed floating-point
19797         constants.
19798         * math/s_catanhf.c (__catanhf): Likewise.
19799         * math/s_catanhl.c (__catanhl): Likewise.
19800         * math/s_catanl.c (__catanl): Likewise.
19802         [BZ #15394]
19803         * math/s_catan.c (__catan): Calculate imaginary part of result
19804         with log1p not log unless computing log of number close to 0.
19805         * math/s_catanf.c (__catanf): Likewise.
19806         * math/s_catanl.c (__catanl): Likewise.
19807         * math/s_catanh.c (__catanh): Calculate real part of result with
19808         log1p not log unless computing log of number close to 0.
19809         * math/s_catanhf.c (__catanhf): Likewise.
19810         * math/s_catanhl.c (__catanhl): Likewise.
19811         * math/libm-test.inc (catan_test): Add more tests.
19812         (catanh_test): Likewise.
19813         * sysdeps/i386/fpu/libm-test-ulps: Update.
19814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19816 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19818         * benchtests/Makefile: Mention files in which fast and slow
19819         paths of math functions are implemented.
19821 2013-04-23  Roland McGrath  <roland@hack.frob.com>
19823         * sysdeps/posix/timespec_get.c: New file.
19825 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19827         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19828         POWER.
19829         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19830         for POWER.
19831         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19832         powerpc/power5/fpu folders.
19833         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19834         * benchtests/Makefile: Add modf testcase.
19835         * benchtests/bench-modf.c: New file: Benchmark test for mo
19837 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19839         [BZ #14888]
19840         * time/Makefile (tests): Add tst-strptime-whitespace.
19841         * time/strptime_l.c (get_number): Use ISSPACE.
19842         (__strptime_internal): Likewise.
19843         * time/tst-strptime-whitespace.c: New test case.
19845 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
19847         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19848         member.
19849         (_nss_files_init): Set it here.
19851 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
19853         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19854         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19855         unsigned.
19857 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
19859         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19861 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19863         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19864         size just once.
19866 2013-04-21  David S. Miller  <davem@davemloft.net>
19868         * po/ru.po: Update Russion translation from translation project.
19870 2013-04-17  Adam Conrad  <adconrad@0c3.net>
19872         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19873         and setfsgid.
19875 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
19877         * configure.in: Remove i386 configure warning. Remove i386 case.
19878         * configure: Regenerate.
19879         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
19880         Add example to error message.
19881         * sysdeps/i386/configure: Regenerate.
19883 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19885         * benchtests/Makefile (bench): Add cos, tan, slowcos and
19886         slowtan.
19887         * benchtests/cos-inputs: New file.
19888         * benchtests/slowcos-inputs: New file.
19889         * benchtests/slowcos.c: New file.
19890         * benchtests/slowtan-inputs: New file.
19891         * benchtests/slowtan.c: New file.
19892         * benchtests/tan-inputs: New file.
19894 2013-04-16  Roland McGrath  <roland@hack.frob.com>
19896         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19897         considered kosher.
19899 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19901         * benchtests/Makefile: Include cppflags-iterator.mk to add
19902         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19904         * Makefile.in (bench-clean): New target.
19905         * benchtests/Makefile (bench-clean): Likewise.
19907 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
19909         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19911 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
19913         * stdio-common/tstdiomisc.c: Fix coding-style violation.
19915 2013-04-15  Andreas Schwab  <schwab@suse.de>
19917         * nscd/grpcache.c (cache_addgr): Properly check for short write.
19918         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19919         * nscd/pwdcache.c (cache_addpw): Likewise.
19920         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
19921         more than recsize.
19923 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19925         * benchtests/Makefile (bench): Write all output to
19926         bench-out.tmp together.
19928 2013-04-15  Andreas Schwab  <schwab@suse.de>
19930         * nscd/nscd.c (main): Don't fork again after closing files.
19932 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19934         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19936         * benchtests/Rules (bench-deps): Collect dependencies into a
19937         single variable.  Add Makefile to dependencies.
19938         ($(objpfx)bench-%.c): Depend on bench-deps.
19940 2013-04-12  Roland McGrath  <roland@hack.frob.com>
19941             Xavier Roche  <roche+kml2@exalead.com>
19943         [BZ #15361]
19944         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19945         just that it's a file descriptor.
19946         * manual/llio.texi (Synchronizing AIO Operations): Update description
19947         for EBADF error from aio_fsync.
19949 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19951         * Rules (bench): Move target definition...
19952         * benchtests/Makefile: ... here.
19954 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
19956         * math/libm-test.inc (cos_test): Fix PI/2 test.
19957         (sincos_test): Likewise.
19958         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19959         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19961 2013-04-11  Andreas Schwab  <schwab@suse.de>
19963         [BZ #13988]
19964         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19965         accept exponent character only when digits were seen.
19966         * stdio-common/Makefile (tests): Add bug26.
19967         * stdio-common/bug26.c: New file.
19969         [BZ #14293]
19970         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19971         non-freeable.
19973 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19975         * Makeconfig (rtld-prefix): Define built linker prefix.
19976         * Rules (run-bench): Use it.
19977         * math/Makefile (run-regen-ulps): Likewise.
19979         * Rules (bench): Remove eval.
19981 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19982             Roland McGrath  <roland@hack.frob.com>
19983             Ondrej Bilka  <neleai@seznam.cz>
19985         [BZ #15346]
19986         * time/getdate.c: Include ctype.h and alloca.h.
19987         (__getdate_r): Trim leading and trailing spaces of input.
19988         * time/tst-getdate.c (tests): Add tests with leading and
19989         trailing spaces.
19991 2013-04-08  Roland McGrath  <roland@hack.frob.com>
19993         [BZ #14280]
19994         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19995         when computing value.
19997 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19999         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20000         Use testrun.sh to run libm tests.
20002         [BZ #15309]
20003         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20005 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20007         [BZ #15264]
20008         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20010 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20012         * Makefile.in (regen-ulps): New target.
20013         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20014         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20015         [ifneq (no,$(PERL)] (regen-ulps): New target.
20016         [ifeq (no,$(PERL)] (regen-ulps): New target.
20017         * math/libm-test.inc (ulps_file_name): Define.
20018         (output_dir): New variable.
20019         (options): Add "output-dir" option.
20020         (parse_opt): Handle 'o' case.
20021         (main): If output_dir is non-NULL use it as a prefix
20022         otherwise use "".
20023         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20025 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20027         [BZ #10060, #10062]
20028         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20029         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20030         fail configure if __sync_val_compare_and_swap is not inlined.
20031         * sysdeps/i386/configure: Regenerate.
20032         * configure.in: Build for i686 when configured for i386.
20033         * configure: Regenerate.
20034         * README: Remove i386 reference.
20036 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20038         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20039         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20041 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20043         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20044         (lmsnanval): New variables.
20045         (F): Add conversion tests.
20046         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20047         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20049         * stdio-common/tstdiomisc.c (F): Properly collect individual
20050         tests' results.
20052         [BZ #14686, #15336]
20053         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20054         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20055         Instead, use input NaN values or generate a qNaN by arithmetic
20056         operation.  Also fix bugs to comply with the standard.
20057         * math/libm-test.inc (remainder_test): Add more tests.
20059         [BZ #15335, #15342]
20060         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20061         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20062         input NaN values or generate a qNaN by arithmetic operation.
20064         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20065         unreachable code.
20067         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20068         definitions.
20070 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
20072         [BZ #14478]
20073         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20074         underflowed result.
20075         * math/s_cexpf.c (__cexpf): Likewise.
20076         * math/s_cexpl.c (__cexpl): Likewise.
20077         * math/libm-test.inc (cexp_test): Add more tests.
20079 2013-04-03  Andreas Schwab  <schwab@suse.de>
20081         [BZ #15330]
20082         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20083         order arrays from heap if bigger than alloca cutoff.
20085 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
20087         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20088         (SNAN_TESTS_double): Refer to GCC PR56831.
20089         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20090         GCC PR56828.
20092 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20094         * Rules (bench): Move bench.out after the run is complete.
20096         * Rules (bench): Echo currently running benchmark.
20098         * benchtests/Makefile (bench): Add atan and slowatan.
20099         * benchtests/atan-inputs: New file.
20100         * benchtests/slowatan-inputs: New file.
20101         * benchtests/slowatan.c: New file.
20103         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20104         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20105         its value.
20107         [BZ #15305]
20108         * sysdeps/unix/sysv/linux/kernel-features.h
20109         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20110         __ASSUME_XFS_RESTRICTED_CHOWN.
20111         * sysdeps/unix/sysv/linux/pathconf.c
20112         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20113         Save and restore errno.
20115 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
20117         [BZ #15327]
20118         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20119         arguments using __kernel_casinh.
20120         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20121         arguments using __kernel_casinhf.
20122         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20123         arguments using __kernel_casinhl.
20124         * math/libm-test.inc (cacosh_test): Add more tests.
20125         * sysdeps/i386/fpu/libm-test-ulps: Update.
20126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20128 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20130         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20131         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20133         * bench/Makefile (bench): Add sin and slowsin.
20134         * benchtests/sin-inputs: New file.
20135         * benchtests/slowsin-inputs: New file.
20136         * benchtests/slowsin.c: New file.
20138         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20139         (bench): Add slowexp and slowpow.
20140         (exp-ITER): Increase iterations.
20141         (pow-ITER): Likewise.
20142         * benchtests/exp-inputs: Change input.
20143         * benchtests/pow-inputs: Likewise.
20144         * benchtests/slowexp-inputs: New file.
20145         * benchtests/slowexp.c: New file.
20146         * benchtests/slowpow-inputs: New file.
20147         * benchtests/slowpow.c: New file.
20149 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20151         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20152         instructions.
20153         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20154         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20155         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20156         * benchtests/Makefile: Add rint benchtest.
20157         * benchtests/rint-inputs: Input for rint benchtest.
20159 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20161         * Versions.def (libm): Add GLIBC_2.18.
20162         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20163         hidden libm prototypes.
20164         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20165         * math/Makefile (libm-calls): Add s_issignaling.
20166         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20167         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
20168         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20169         declaration.
20170         * math/math.h [__USE_GNU] (issignaling): New macro.
20171         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20172         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20173         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20174         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20175         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20176         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20177         * manual/arith.texi (issignaling): New section.
20178         * manual/libm-err-tab.pl (@all_functions): Update comment.
20179         * math/gen-libm-test.pl (parse_args): Apply special handling for
20180         issignaling.
20181         * math/libm-test.inc (print_float, issignaling_test): New
20182         functions.
20183         (check_float_internal): Add issignaling checks.
20184         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20185         default definition.
20186         * sysdeps/powerpc/math-tests.h: New file.
20187         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20188         tests.
20189         * math/test-snan.c (TEST_FUNC): Likewise.
20191 2013-03-30  David S. Miller  <davem@davemloft.net>
20193         * po/de.po: Update from translation team.
20195 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
20197         [BZ #10357]
20198         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20199         imaginary part less than 1.0 and real part less than 0.5
20200         specially.
20201         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20202         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20203         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20204         (cacos_test): Add more tests.
20205         (casin_test): Likewise.
20206         (casinh_test): Likewise.
20207         * sysdeps/i386/fpu/libm-test-ulps: Update.
20208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20210 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20212         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20213         ONE with its value.
20215         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20216         (__pow_mp): Replace ONE and MONE with their values.
20217         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20218         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20219         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20220         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20221         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20222         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20224         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20226         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20227         (__pow_mp): Replace ZERO and MZERO with their values.
20228         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20229         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20230         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20231         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20232         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20233         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20234         (__sqr): Likewise.
20236         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20238         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20240 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20242         * include/stdlib.h [!SHARED] (__call_tls_dtors):
20243         Declare with __attribute__ ((weak)).
20244         * stdlib/exit.c (__libc_atexit) [!SHARED]:
20245         Call __call_tls_dtors only if it's not NULL.
20247 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20249         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20250         didn't do it already, then set _dl_phdr and _dl_phnum based on the
20251         magic __ehdr_start linker symbol if it's defined.
20252         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20253         them up here if it was already done.
20255         * elf/dl-support.c (_dl_phdr): Make pointer to const.
20256         (_dl_aux_init): Use const in cast when setting it.
20257         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20258         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20259         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20261         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20262         Declare them here.
20263         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20264         * csu/libc-tls.c: Nor here.
20265         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20267         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20268         (__libc_message): Never call vsyslog.
20270 2013-03-28  Alan Modra  <amodra@gmail.com>
20272         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20273         Define as empty.
20274         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20275         Likewise.
20277 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20279         [BZ #15214]
20280         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20281         underflow.
20282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20284 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20286         [BZ #15304]
20287         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20288         Don't add gid passed as argument.
20290         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20292 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
20294         [BZ #15307]
20295         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20296         imaginary part between 1.0 and 1.5 and real part less than 0.5
20297         specially.
20298         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20299         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20300         * math/libm-test.inc (cacos_test): Add more tests.
20301         (casin_test): Likewise.
20302         (casinh_test): Likewise.
20303         * sysdeps/i386/fpu/libm-test-ulps: Update.
20304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20306 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20308         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20309         constants.
20310         (norm): Likewise.
20311         (denorm): Likewise.
20312         (__dbl_mp): Likewise.
20313         (add_magnitudes): Likewise.
20314         (sub_magnitudes): Likewise.
20315         (__add): Likewise.
20316         (__sub): Likewise.
20317         (__mul): Likewise.
20318         (__sqr): Likewise.
20319         (__inv): Likewise.
20320         (__dvd): Likewise.
20322         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20323         commented code.
20324         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20325         (__dubcos): Likewise.
20326         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20327         (__ieee754_acos): Likewise.
20328         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20329         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20330         (__exp1): Likewise.
20331         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20332         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20333         (log1): Likewise.
20334         (my_log2): Likewise.
20335         (checkint): Likewise.
20336         * sysdeps/ieee754/dbl-64/e_remainder.c
20337         (__ieee754_remainder): Likewise.
20338         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20339         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20340         (bsloww): Likewise.
20341         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20343         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20344         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20345         MANTISSA_STORE_T to store computations on mantissa.  Use
20346         macros for rounding and division.
20347         (denorm): Likewise.
20348         (__dbl_mp): Likewise.
20349         (add_magnitudes): Likewise.
20350         (sub_magnitudes): Likewise.
20351         (__mul): Likewise.
20352         (__sqr): Likewise.
20353         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20354         powers of two in terms of TWOPOW macro.
20355         (mp_no): Make type of mantissa as MANTISSA_T.
20356         [!RADIXI]: Define RADIXI.
20357         [!TWO52]: Define TWO52.
20358         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20360 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20362         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20363         llroundl symbol when building for PPC32.
20365 2013-03-24  Mark H Weaver  <mhw@netris.org>
20367         * manual/arith.texi (Normalization Functions): Fix prototypes for
20368         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20370 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20372         [BZ #13889]
20373         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20374         high value to check if expl overflow.
20375         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20376         to check for underflow and overflow.
20377         * math/libm-test.inc: Add exp test.
20379 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
20381         [BZ #11120]
20382         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20383         with NOT_IN_libc.
20385 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20387         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20388         symbol.
20390 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20392         * math/gen-libm-test.pl (parse_args, special_functions): Properly
20393         wrap blocks consisting of several statements.
20395         * sysdeps/generic/math-tests.h: New file.
20396         * sysdeps/i386/fpu/math-tests.h: Likewise.
20397         * math/test-snan.c: Include it.
20398         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20400 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20402         [BZ #15285]
20403         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20404         (__ieee754_j0l): Do not improve calculations using cos of twice
20405         input for inputs above LDBL_MAX / 2.0L.
20406         (__ieee754_y0l): Likewise.
20407         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20408         (__ieee754_j1l): Do not improve calculations using cos of twice
20409         input for inputs above LDBL_MAX / 2.0L.
20410         (__ieee754_y1l): Likewise.
20411         * math/libm-test.inc (j0_test): Add another test.
20412         (j1_test): Likewise.
20413         (y0_test): Likewise.
20414         (y1_test): Likewise.
20415         * sysdeps/i386/fpu/libm-test-ulps: Update.
20417 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20419         * Rules ($(objpfx)bench-%.c): Include code from a C source
20420         file.
20422 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20424         [BZ #15287]
20425         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20426         imaginary part 1.0 and real part less than 0.5 specially.
20427         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20428         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20429         * math/libm-test.inc (cacos_test): Add more tests.
20430         (casin_test): Likewise.
20431         (casinh_test): Likewise.
20432         * sysdeps/i386/fpu/libm-test-ulps: Update.
20433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20435 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20437         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20438         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20440 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
20442         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20443         * config.make.in (config-cflags-sse4): Remove variable.
20444         (config-cflags-avx): Likewise.
20445         (config-cflags-sse2avx): Likewise.
20446         (config-cflags-novzeroupper): Likewise.
20447         (config-asflags-i686): Likewise.
20448         (have-mfma4): Likewise.
20449         (have-as-vis3): Likewise.
20450         (MIG): Likewise.
20451         * configure.in (MIG): Do not AC_SUBST.
20452         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20453         (libc_cv_cc_sse4): Do not AC_SUBST.
20454         (libc_cv_cc_avx): Likewise.
20455         (libc_cv_cc_sse2avx): Likewise.
20456         (libc_cv_cc_novzeroupper): Likewise.
20457         (libc_cv_cc_fma4): Likewise.
20458         (libc_cv_as_i686): Likewise.
20459         (libc_cv_sparc_as_vis3): Likewise.
20460         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20461         LIBC_CONFIG_VAR.
20462         (config-asflags-i686): Likewise.
20463         (config-cflags-avx): Likewise.
20464         (config-cflags-sse2avx): Likewise.
20465         (have-mfma4): Likewise.
20466         (config-cflags-novzeroupper): Likewise.
20467         * sysdeps/mach/configure.in (MIG): Likewise.
20468         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20469         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20470         LIBC_CONFIG_VAR.
20471         (config-cflags-avx): Likewise.
20472         (config-cflags-sse2avx): Likewise.
20473         (have-mfma4): Likewise.
20474         (config-cflags-novzeroupper): Likewise.
20475         * configure: Regenerated.
20476         * sysdeps/i386/configure: Likewise.
20477         * sysdeps/mach/configure: Likewise.
20478         * sysdeps/sparc/configure: Likewise.
20479         * sysdeps/x86_64/configure: Likewise.
20481 2013-03-20  Roland McGrath  <roland@hack.frob.com>
20483         [BZ #14812]
20484         * locale/programs/localedef.c (options): Put N_ translation marker
20485         on argument names, not just descriptions.
20487 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20489         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20491 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
20493         [BZ #14176]
20494         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20496 2013-03-19  Roland McGrath  <roland@hack.frob.com>
20498         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20499         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20500         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20501         [!BEFORE_ABORT] (before_abort): New function.
20502         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20503         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20504         (writev_for_fatal): New function.
20505         (WRITEV_FOR_FATAL): New macro; call that.
20506         (backtrace_and_maps): New function.
20507         (BEFORE_ABORT): New macro; call that.
20508         (struct str_list): Type removed.
20509         (__libc_message, __libc_fatal): Functions removed.
20510         Include <sysdeps/posix/libc_fatal.c> instead.
20512 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
20514         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20515         constants.
20516         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20517         double constants.
20519 2013-03-19  Andreas Schwab  <schwab@suse.de>
20521         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20522         * sysdeps/gnu/configure: Regenerate.
20524         * configure.in: Substitute libc_cv_rtlddir.
20525         * configure: Regenerate.
20526         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20527         * Makeconfig (rtlddir, inst_rtlddir): New variables.
20528         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20529         * elf/Makefile (install-others, CFLAGS-interp.c)
20530         (ldso_install, common-ldd-rewrite): Likewise.
20531         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20532         $(inst_slibdir)/$(rtld-installed-name).
20533         * scripts/rellns-sh: Add -p option.
20534         * Makerules (make-shlib-link): Use rellns-sh to get relative name
20535         for source.
20537 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20539         * manual/nptl.texi: Renamed to ...
20540         * manual/threads.texi: ... this.
20541         * manual/Makefile (chapters): Update.
20543 2013-03-18  Roland McGrath  <roland@hack.frob.com>
20545         [BZ #14812]
20546         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20547         on argument names, not just descriptions.
20548         * malloc/memusagestat.c (options): Likewise.
20549         * nss/getent.c (options): Likewise.
20551 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
20553         [BZ #14812]
20554         * iconv/iconv_prog.c (options): Put N_ translation marker
20555         on argument names, not just descriptions.
20556         * iconv/iconvconfig.c (options): Likewise.
20558 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
20560         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20561         implementation which is faster on all x86_64 architectures.
20562         Tested on AMD, Intel Nehalem, SNB, IVB.
20563         * sysdeps/x86_64/strnlen.S: Likewise.
20565         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20566         Remove all multiarch strlen and strnlen versions.
20567         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20568         Remove strlen and strnlen related parts.
20570         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20571         Inline strlen part.
20572         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20574         * sysdeps/x86_64/multiarch/strlen.S: Remove.
20575         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20576         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20577         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20578         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20579         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20581 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
20583         * manual/memory.texi (Malloc Tunable Parameters):
20584         Sort parameters alphabetically. Add comments for missing entries.
20586 2013-03-17  David S. Miller  <davem@davemloft.net>
20588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20590 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
20592         [BZ #15283]
20593         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20594         for arguments at most half maximum finite value.
20595         * math/libm-test.inc (j0_test): Add more tests.
20596         (j1_test): Likewise.
20597         (y0_test): Likewise.
20598         (y1_test): Likewise.
20599         * sysdeps/i386/fpu/libm-test-ulps: Update.
20600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20602         [BZ #14155]
20603         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20604         1 / x and functions P and Q for arguments above 0x1p256L.
20605         (__ieee754_y0l): Likewise.
20606         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20607         (__ieee754_y1l): Likewise.
20608         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20609         (j1_test): Likewise.
20610         (y0_test): Likewise.
20611         (y1_test): Likewise.
20613 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
20615         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20616         variable.
20618 2013-03-15  Roland McGrath  <roland@hack.frob.com>
20620         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20621         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20622         zero since it's initialized to EXEC_PAGESIZE.
20624         * sysdeps/unix/sysv/linux/ldsodefs.h
20625         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20626         * sysdeps/generic/ldsodefs.h: ... here.
20628 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
20630         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20632         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20633         math/test-snan.c.
20634         * math/test-snan.c: Renamed from
20635         sysdeps/powerpc/fpu/test-powerpc-snan.c.
20636         * math/Makefile (tests): Add test-snan.
20637         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20638         test-powerpc-snan.
20640         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20641         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
20642         functions.
20643         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
20644         __builtin_nan family of functions.
20645         * math/libm-test.inc (initialize): Initialize qnan_value with
20646         __builtin_nan family of functions.
20647         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20648         Remove variables.
20649         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20650         Remove functions.
20651         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
20652         storage class.  Initialize qNaN_var and sNaN_var with
20653         __builtin_nan and __builtin_nans families of functions,
20654         respectively.
20656         * math/libm-test.inc (acosh_test): Also test with qNaN input.
20657         (sqrt_test): Remove duplicate test with qNaN input.
20658         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20659         (round_test, signbit_test, significand_test): Note missing +/-Inf
20660         as well as qNaN tests.
20662         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20663         qNaN_var.  Fix a few strings, too.
20664         * math/libm-test.inc (nan_value): Rename to qnan_value.
20665         * math/gen-libm-test.pl (%beautify): Adjust to that.
20666         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20667         * math/test-misc.c (main): Likewise.
20668         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20669         to __qnan_bytes, and __qnan_union, respectively.
20670         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20671         Likewise.
20672         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20673         and lqnanval, respectively.
20674         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20675         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20676         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20677         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20679         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20680         * math/test-misc.c (main) [__x86_64__]: Enable test for long
20681         doubles.
20683         * math/test-misc.c (main): Fix copy'n'pastos.
20684         * misc/tst-efgcvt.c (special): Likewise.
20686         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20687         Remove declarations.
20689 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20691         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20692         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20693         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20694         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20696 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20698         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20699         macro to return vdso values correctly in IFUNC implementations.
20700         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20701         Optimization by using IFUNC.
20703 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20704             Richard Henderson  <rth@redhat.com>
20705             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20707         * Makefile.in (bench): New target.
20708         * NEWS: Mention the benchmark framework.
20709         * Rules (bench): Likewise.
20710         (binaries-bench): Generate binaries for functions to
20711         benchmark.
20712         * benchtests/Makefile: New makefile for benchmark tests.
20713         * benchtests/bench-skeleton.c: New skeleton file for benchmark
20714         programs.
20715         * benchtests/exp-inputs: New input file for EXP function.
20716         * benchtests/pow-inputs: New input file for POW function.
20717         * scripts/bench.pl: New script to generate source files for
20718         benchmark programs.
20720 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20722         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20723         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20724         computations on mantissa.  Use macros for rounding and
20725         division.
20726         (denorm): Likewise.
20727         (__dbl_mp): Likewise.
20728         (add_magnitudes): Likewise.
20729         (sub_magnitudes): Likewise.
20730         (__mul): Likewise.
20731         (__sqr): Likewise.
20732         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20733         powers of two in terms of TWOPOW macro.
20734         (mp_no): Make type of mantissa as MANTISSA_T.
20735         [!RADIXI]: Define RADIXI.
20736         [!TWO52]: Define TWO52.
20737         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20739         * manual/nptl.texi (cindex): Modify threads to pthreads.
20741 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
20743         * sysdeps/x86_64/preconfigure: Regenerated.
20745 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
20747         [BZ #14155]
20748         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20749         0x1p28 and above.
20750         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20751         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20752         0x1p28 and above.
20753         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20754         * math/libm-test.inc (j0_test): Do not allow one spurious
20755         underflow exception.
20756         (y1_test): Likewise.
20758 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20760         * manual/Makefile (chapters): Add nptl.
20761         * manual/debug.texi (Debugging Support): Add link to Threads
20762         chapter.
20763         * manual/nptl.texi: New file.
20765         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20767 2013-03-14  Petr Baudis  <pasky@ucw.cz>
20769         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20770         for non-NULL pointer before the memory validity test. Pointed
20771         out by Holger Brunck <holger.brunck@keymile.com>.
20773 2013-03-13  Andreas Schwab  <schwab@suse.de>
20775         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20776         instead of .os.
20778 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
20780         * timezone/zic.c: Update from tzcode 2013b.
20782 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
20784         * manual/install.texi (Configuring and compiling):
20785         Mention i686 and i586.
20786         * INSTALL: Regenerate.
20788 2013-03-12  Roland McGrath  <roland@hack.frob.com>
20790         * sysdeps/init_array/elf-init.c: New file.
20791         * csu/elf-init.c
20792         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20793         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20795         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20796         __gmon_start__ as global, but as static with a .preinit_array pointer.
20797         * sysdeps/init_array/gmon-start.c: New file.  Use that.
20798         * sysdeps/init_array/crti.S: New file, empty except for comments.
20799         * sysdeps/init_array/crtn.S: Likewise.
20801 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
20803         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20804         definining bcopy.
20805         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20806         Remove Prefer_SSE_for_memop.
20807         * sysdeps/x86_64/multiarch/init-arch.h: Remove
20808         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20809         HAS_PREFER_SSE_FOR_MEMOP.
20810         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20811         memset-x86-64.
20812         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20813         Remove bzero, memset ifunc support.
20814         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20815         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20816         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20817         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20819 2013-03-11  Andreas Schwab  <schwab@suse.de>
20821         [BZ #15234]
20822         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20823         by SHLIB_COMPAT.
20824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20825         (GLIBC_2.16): Remove pthread_atfork.
20827 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20829         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20830         (ptestcases.h): Likewise.
20832 2013-03-08  Roland McGrath  <roland@hack.frob.com>
20834         * Makeconfig ($(common-objpfx)config.status): Depend on
20835         sysdeps/*/preconfigure{,.in} too.
20837 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
20839         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20840         (__free_hook): Use void * instead of __malloc_ptr_t.
20841         (__malloc_hook): Likewise.
20842         (__realloc_hook): Likewise.
20843         (__memalign_hook): Likewise.
20844         (__after_morecore_hook): Likewise.
20845         * malloc/arena.c (save_malloc_hook): Likewise.
20846         (save_free_hook): Likewise.
20847         * malloc/hooks.c (malloc_hook_ini): Likewise.
20848         (realloc_hook_ini): Likewise.
20849         (memalign_hook_ini): Likewise.
20850         * malloc/malloc.c (malloc_hook_ini): Likewise.
20851         (realloc_hook_ini): Likewise.
20852         (memalign_hook_ini): Likewise.
20853         (__free_hook): Likewise.
20854         (__malloc_hook): Likewise.
20855         (__realloc_hook): Likewise.
20856         (__memalign_hook): Likewise.
20857         (__libc_malloc): Likewise.
20858         (__libc_free): Likewise.
20859         (__libc_realloc): Likewise.
20860         (__libc_memalign): Likewise.
20861         (__libc_valloc): Likewise.
20862         (__libc_pvalloc): Likewise.
20863         (__libc_calloc): Likewise.
20864         (__posix_memalign): Likewise.
20865         * malloc/morecore.c (__sbrk): Likewise.
20866         (__default_morecore): Likewise.
20868         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20870         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20871         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20872         __malloc_ptrdiff_t.
20874         * malloc/malloc.h (__malloc_size_t): Remove macro.
20875         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20876         __malloc_size_t.
20877         (old_memalign_hook): Likewise.
20878         (old_realloc_hook): Likewise.
20879         (struct hdr): Likewise.
20880         (flood): Likewise.
20881         (mallochook): Likewise.
20882         (memalignhook): Likewise.
20883         (reallochook): Likewise.
20884         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20885         (tr_old_realloc_hook): Likewise.
20886         (tr_old_memalign_hook): Likewise.
20887         (tr_mallochook): Likewise.
20888         (tr_reallochook): Likewise.
20889         (tr_memalignhook): Likewise.
20891 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20893         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20894         default_ldbl_pack and using as default implementation.
20895         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20896         implementation.
20897         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20898         redundant definition.
20899         (ldbl_insert_mantissa): Likewise.
20900         (ldbl_canonicalize): Likewise.
20901         (ldbl_nearbyint): Likewise.
20902         (ldbl_pack): Rename to ldbl_pack_ppc.
20903         (ldbl_unpack): Rename to ldbl_unpack_ppc.
20904         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20905         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20907 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20909         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20910         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20911         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20912         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20913         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20914         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20915         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20916         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20918 2013-03-07  Andreas Jaeger  <aj@suse.de>
20920         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20921         bits/mman-linux.h.
20923 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20925         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20926         Include mpa.h and declare __MPEXP.
20927         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20928         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20929         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20930         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20931         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20932         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20933         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20935         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20936         (__slowpow): Use long double EXPL and LOGL functions to
20937         compute POW.
20938         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20939         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20940         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20941         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20942         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20943         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20945         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20946         intermediate variable to calculate exponent.
20947         (__sqr): Likewise.
20948         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20949         Likewise.
20950         (__sqr): Likewise.
20952         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20953         [!NO__SQR]: Define __sqr.
20954         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20955         and NO__SQR.  Remove all code except __mul and __sqr.  Include
20956         sysdeps/ieee754/dbl-64/mpa.c.
20957         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20959         [BZ #12723]
20960         * posix/Makefile (tests): Add tst-pathconf.
20961         * posix/tst-pathconf.c: New test case.
20962         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20963         _PC_PIPE_BUF.
20964         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20966 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
20968         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20970 2013-03-06  Andreas Jaeger  <aj@suse.de>
20972         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20973         definition via __MAP_ANONYMOUS.
20975         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20976         it's not part of Linux headers.
20978         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20979         (MAP_HUGE_MASK): Define.
20981         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20982         Define.
20983         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20984         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20985         Define.
20986         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20987         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20988         Define.
20989         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20990         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20991         Define.
20992         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20994         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20995         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20996         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20997         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20998         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20999         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21001         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21002         Handle f2fs.
21004         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21005         Handle f2fs and efivarfs.
21007         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21008         f2fs.
21010         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21011         (EFIVARFS_MAGIC): Add.
21012         (F2FS_LINK_MAX): Add.
21014 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21016         * stdio-common/vfprintf.c: Replace __builtin_expect with
21017         __glibc_unlikely.
21019 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21021         [BZ #13550]
21022         * sysdeps/generic/bp-sym.h: Remove file.
21023         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21024         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21025         <bp-sym.h> and <bp-asm.h>.
21026         (__longjmp): Don't use BP_SYM.
21027         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21028         and <bp-asm.h>.
21029         (memcpy): Don't use BP_SYM.
21030         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21031         <bp-sym.h> and <bp-asm.h>.
21032         (memcpy): Don't use BP_SYM.
21033         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21034         <bp-asm.h>.
21035         (memcpy): Don't use BP_SYM.
21036         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21037         <bp-asm.h>.
21038         (memset): Don't use BP_SYM.
21039         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21040         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21041         (__bzero): Don't use BP_SYM.
21042         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21043         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21044         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21045         <bp-sym.h> and <bp-asm.h>.
21046         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21047         pointers.
21048         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21049         <bp-sym.h> and <bp-asm.h>.
21050         (memcpy): Don't use BP_SYM.
21051         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21052         <bp-sym.h> and <bp-asm.h>.
21053         (memset): Don't use BP_SYM.
21054         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21055         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21056         (__bzero): Don't use BP_SYM.
21057         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21058         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21059         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21060         <bp-sym.h> and <bp-asm.h>.
21061         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21062         pointers.
21063         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21064         <bp-sym.h> and <bp-asm.h>.
21065         (memcpy): Don't use BP_SYM.
21066         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21067         <bp-sym.h> and <bp-asm.h>.
21068         (memset): Don't use BP_SYM.
21069         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21070         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21071         (__bzero): Don't use BP_SYM.
21072         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21073         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21074         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21075         <bp-sym.h> and <bp-asm.h>.
21076         (__memchr): Don't use BP_SYM.
21077         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21078         <bp-sym.h> and <bp-asm.h>.
21079         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21080         pointers.
21081         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21082         <bp-sym.h> and <bp-asm.h>.
21083         (memcpy): Don't use BP_SYM.
21084         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21085         <bp-sym.h> and <bp-asm.h>.
21086         (__mempcpy): Don't use BP_SYM.
21087         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21088         <bp-sym.h> and <bp-asm.h>.
21089         (__memrchr): Don't use BP_SYM.
21090         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21091         <bp-sym.h> and <bp-asm.h>.
21092         (memset): Don't use BP_SYM.
21093         (__bzero): Likewise.
21094         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21095         <bp-sym.h> and <bp-asm.h>.
21096         (__rawmemchr): Don't use BP_SYM.
21097         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21098         <bp-sym.h> and <bp-asm.h>.
21099         (__STRCMP): Don't use BP_SYM.
21100         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21101         <bp-sym.h> and <bp-asm.h>.
21102         (strchr): Don't use BP_SYM.
21103         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21104         <bp-sym.h> and <bp-asm.h>.
21105         (__strchrnul): Don't use BP_SYM.
21106         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21107         <bp-sym.h> and <bp-asm.h>.
21108         (strlen): Don't use BP_SYM.
21109         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21110         <bp-sym.h> and <bp-asm.h>.
21111         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21112         pointers.
21113         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21114         <bp-sym.h> and <bp-asm.h>.
21115         (__strnlen): Don't use BP_SYM.
21116         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21117         <bp-sym.h> and <bp-asm.h>.
21118         (__GI__setjmp): Don't use BP_SYM.
21119         (_setjmp): Likewise.
21120         (__sigsetjmp): Likewise.
21121         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21122         (L(start_addresses)): Don't use BP_SYM.
21123         (_start): Likewise.
21124         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21125         <bp-asm.h>.
21126         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21127         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21128         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21129         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21130         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21131         <bp-asm.h>.
21132         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21133         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
21134         about bounded pointers.
21135         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21136         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21137         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21138         <bp-asm.h>.
21139         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21140         about bounded pointers.  Remove GKM FIXME comments.
21141         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21142         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21143         <bp-asm.h>.
21144         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21145         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
21146         Remove GKM FIXME comments.
21147         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21148         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21149         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21150         <bp-asm.h>.
21151         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21152         about bounded pointers.  Remove GKM FIXME comment.
21153         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21154         and <bp-asm.h>.
21155         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21156         pointers.
21157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21158         <bp-sym.h> and <bp-asm.h>.
21159         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21161         <bp-sym.h> and <bp-asm.h>.
21162         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21163         comment.
21165 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21167         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21168         call free(NULL).
21170 2013-03-05  David S. Miller  <davem@davemloft.net>
21172         * po/es.po: Update from translation team.
21174 2013-03-05  Andreas Jaeger  <aj@suse.de>
21176         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21177         <bits/mman-linux.h>.
21178         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21179         is fine.
21180         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21181         <bits/mman-linux.h> to end of file.
21182         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21183         is fine.
21184         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21185         <bits/mman-linux.h> to end of file.
21186         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21187         is fine.
21188         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21189         <bits/mman-linux.h> to end of file.
21191         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21192         (MCL_CURRENT, MCL_FUTURE): Define here.
21194 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21196         [BZ #15232]
21197         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21198         attribute_hidden.
21199         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21201 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21203         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21204         fourth parameter needed for rt_sigprocmask syscall.
21205         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21206         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21207         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21208         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21209         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21210         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21212 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
21214         [BZ #13550]
21215         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21216         comment about bounded pointers.
21217         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21218         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21220 2013-03-04  Andreas Jaeger  <aj@suse.de>
21222         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21223         common definitions.
21225         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21226         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21227         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21228         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21229         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21230         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21232 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21234         [BZ #15055]
21235         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21236         __ieee754_sqrl instead of __sqrl.
21238 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
21240         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21241         * sysdeps/powerpc/fpu_control.h: ... here.
21242         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21243         * sysdeps/powerpc/bits/fenvinline.h: ... here.
21244         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21245         * sysdeps/powerpc/bits/mathinline.h: ... here.
21247 2013-03-01  Roland McGrath  <roland@hack.frob.com>
21249         * elf/dl-hwcaps.c (_dl_important_hwcaps):
21250         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21251         to just [NEED_DL_SYSINFO_DSO].
21252         * elf/dl-support.c: Likewise.
21253         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21254         * elf/rtld.c (dl_main): Likewise.
21255         * elf/setup-vdso.h (setup_vdso): Likewise.
21256         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21257         * sysdeps/unix/sysv/linux/dl-sysdep.c
21258         (_dl_discover_osversion): Likewise.
21260 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
21262         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21263         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21265 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21267         * NEWS: Mention libm performance improvements and non-x86 PI
21268         futex support.
21270         * csu/libc-start.c (__pthread_initialize_minimal): Change
21271         function arguments.
21272         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21274 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
21276         [BZ #13550]
21277         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21278         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21279         <bp-sym.h> and <bp-asm.h>.
21280         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21281         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21282         and <bp-asm.h>.
21283         (memcpy): Don't use BP_SYM.
21284         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21285         <bp-asm.h>.
21286         (__mpn_add_n): Don't use BP_SYM.
21287         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21288         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21289         and <bp-asm.h>.
21290         (__mpn_addmul_1): Don't use BP_SYM.
21291         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21292         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21293         <bp-sym.h>.
21294         (_setjmp): Don't use BP_SYM.
21295         (__novmx_setjmp): Likewise.
21296         (__GI__setjmp): Likewise.
21297         (__vmx_setjmp): Likewise.
21298         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21299         <bp-sym.h>.
21300         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21301         (__bzero): Don't use BP_SYM.
21302         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21303         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21304         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21305         <bp-sym.h> and <bp-asm.h>.
21306         (memcpy): Don't use BP_SYM.
21307         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21308         <bp-sym.h> and <bp-asm.h>.
21309         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21310         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21311         <bp-sym.h> and <bp-asm.h>.
21312         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21313         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21314         <bp-asm.h>.
21315         (__mpn_lshift): Don't use BP_SYM.
21316         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21317         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21318         <bp-asm.h>.
21319         (memset): Don't use BP_SYM.
21320         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21321         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21322         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21323         <bp-asm.h>.
21324         (__mpn_mul_1): Don't use BP_SYM.
21325         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21326         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21327         <bp-sym.h> and <bp-asm.h>.
21328         (memcmp): Don't use BP_SYM.
21329         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21330         <bp-sym.h> and <bp-asm.h>.
21331         (memcpy): Don't use BP_SYM.
21332         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21333         <bp-sym.h> and <bp-asm.h>.
21334         (memset): Don't use BP_SYM.
21335         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21336         <bp-sym.h> and <bp-asm.h>.
21337         (strncmp): Don't use BP_SYM.
21338         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21339         <bp-sym.h> and <bp-asm.h>.
21340         (memcpy): Don't use BP_SYM.
21341         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21342         <bp-sym.h> and <bp-asm.h>.
21343         (memset): Don't use BP_SYM.
21344         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21345         <bp-sym.h> and <bp-asm.h>.
21346         (__memchr): Don't use BP_SYM.
21347         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21348         <bp-sym.h> and <bp-asm.h>.
21349         (memcmp): Don't use BP_SYM.
21350         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21351         <bp-sym.h> and <bp-asm.h>.
21352         (memcpy): Don't use BP_SYM.
21353         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21354         <bp-sym.h> and <bp-asm.h>.
21355         (__mempcpy): Don't use BP_SYM.
21356         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21357         <bp-sym.h> and <bp-asm.h>.
21358         (__memrchr): Don't use BP_SYM.
21359         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21360         <bp-sym.h> and <bp-asm.h>.
21361         (memset): Don't use BP_SYM.
21362         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21363         <bp-sym.h> and <bp-asm.h>.
21364         (__rawmemchr): Don't use BP_SYM.
21365         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21366         <bp-sym.h> and <bp-asm.h>.
21367         (__STRCMP): Don't use BP_SYM.
21368         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21369         <bp-sym.h> and <bp-asm.h>.
21370         (strchr): Don't use BP_SYM.
21371         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21372         <bp-sym.h> and <bp-asm.h>.
21373         (__strchrnul): Don't use BP_SYM.
21374         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21375         <bp-sym.h> and <bp-asm.h>.
21376         (strlen): Don't use BP_SYM.
21377         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21378         <bp-sym.h> and <bp-asm.h>.
21379         (strncmp): Don't use BP_SYM.
21380         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21381         <bp-sym.h> and <bp-asm.h>.
21382         (__strnlen): Don't use BP_SYM.
21383         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21384         <bp-asm.h>.
21385         (__mpn_rshift): Don't use BP_SYM.
21386         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21387         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21388         <bp-sym.h> and <bp-asm.h>.
21389         (__sigsetjmp): Don't use BP_SYM.
21390         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21391         (L(start_addresses)): Don't use BP_SYM.
21392         (_start): Likewise.
21393         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21394         <bp-asm.h>.
21395         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21396         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21397         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21398         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21399         <bp-asm.h>.
21400         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21401         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21402         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21403         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21404         <bp-asm.h>.
21405         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21406         comments.
21407         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21408         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21409         <bp-asm.h>.
21410         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
21411         FIXME comments.
21412         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21413         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21414         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21415         <bp-asm.h>.
21416         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21417         comment.
21418         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21419         and <bp-asm.h>.
21420         (strncmp): Don't use BP_SYM,
21421         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21422         <bp-asm.h>.
21423         (__mpn_sub_n): Don't use BP_SYM.
21424         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21425         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21426         and <bp-asm.h>.
21427         (__mpn_submul_1): Don't use BP_SYM.
21428         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21430         <bp-sym.h> and <bp-asm.h>.
21431         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21433         <bp-sym.h> and <bp-asm.h>.
21434         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21435         comment.
21437 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21439         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21440         Use ZK to minimize writes to Z.
21441         (sub_magnitudes): Simplify code a bit.
21442         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21443         Use ZK to minimize writes to Z.
21444         (sub_magnitudes): Simplify code a bit.
21446 2013-02-27  Roland McGrath  <roland@hack.frob.com>
21448         * csu/gmon-start.c: Add special exception to license text.
21450 2013-02-27  Richard Henderson  <rth@redhat.com>
21452         * scripts/config.guess: Update from config.git.
21453         * scripts/config.sub: Likewise.
21455 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21457         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21459         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21461         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21463         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21465         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21467 2013-02-26  Roland McGrath  <roland@hack.frob.com>
21469         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21470         [$(build-shared = yes].
21472 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21474         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21475         (__mul): Reduce iterations for calculating mantissa.
21477         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21478         MPTWO.
21479         (__mpranred): Likewise.
21481         [BZ #15160]
21482         * malloc/memusagestat.c (main): Draw graphs for heap and stack
21483         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21485 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
21487         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21488         Define __attribute__.
21490 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21492         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21493         unused.
21494         * posix/regex_internal.h (__attribute): Remove.
21495         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21496         (re_string_context_at): Likewise.
21497         (bitset_not): Use __attribute__ and mark function as possibly
21498         unused.
21499         (bitset_merge): Likewise.
21500         (bitset_mask): Likewise.
21501         (re_string_char_size_at): Likewise.
21502         (re_string_wchar_at): Likewise.
21503         (re_string_elem_size_at): Likewise.
21505 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21507         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21508         code.
21509         (cc32): Likewise.
21511         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21512         (__acr): Likewise.
21513         (__cpy): Likewise.
21514         (norm): Likewise.
21515         (denorm): Likewise.
21516         (__dbl_mp): Likewise.
21517         (add_magnitudes): Likewise.
21518         (sub_magnitudes): Likewise.
21519         (__mul): Likewise.
21520         (__inv): Likewise.
21522         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21523         style.
21525         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21526         style.
21528         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21529         code.
21531         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21532         up changes with default code.
21533         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21534         Likewise.
21536 2013-02-24  Allan McRae  <allan@archlinux.org>
21538         * manual/socket.texi (The Internet Namespace): Order menu items
21539         to match that in the file.
21541         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21542         node listing of the info page menu.
21544 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
21546         [BZ #13550]
21547         * sysdeps/i386/bp-asm.h: Remove file.
21548         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21549         (PARMS): Do not use macros from bp-asm.h.
21550         (S1): Likewise.
21551         (S2): Likewise.
21552         (SIZE): Likewise.
21553         (__mpn_add_n): Do not use BP_SYM
21554         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21555         "bp-asm.h".
21556         (PARMS): Do not use macros from bp-asm.h.
21557         (S1): Likewise.
21558         (SIZE): Likewise.
21559         (__mpn_addmul_1): Do not use BP_SYM
21560         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21561         "bp-asm.h".
21562         (PARMS): Do not use macros from bp-asm.h.
21563         (SIGMSK): Likewise.
21564         (_setjmp): Likewise.  Do not use BP_SYM.
21565         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21566         "bp-asm.h".
21567         (PARMS): Do not use macros from bp-asm.h.
21568         (SIGMSK): Likewise.
21569         (setjmp): Likewise.  Do not use BP_SYM.
21570         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21571         "bp-asm.h".
21572         (PARMS): Do not use macros from bp-asm.h.
21573         (__frexp): Do not use BP_SYM.
21574         (frexp): Likewise.
21575         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21576         "bp-asm.h".
21577         (PARMS): Do not use macros from bp-asm.h.
21578         (__frexpf): Do not use BP_SYM.
21579         (frexpf): Likewise.
21580         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21581         "bp-asm.h".
21582         (PARMS): Do not use macros from bp-asm.h.
21583         (__frexpl): Do not use BP_SYM.
21584         (frexpl): Likewise.
21585         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21586         "bp-asm.h".
21587         (PARMS): Do not use macros from bp-asm.h.
21588         (__remquo): Do not use BP_SYM.
21589         (remquo): Likewise.
21590         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21591         "bp-asm.h".
21592         (PARMS): Do not use macros from bp-asm.h.
21593         (__remquof): Do not use BP_SYM.
21594         (remquof): Likewise.
21595         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21596         "bp-asm.h".
21597         (PARMS): Do not use macros from bp-asm.h.
21598         (__remquol): Do not use BP_SYM.
21599         (remquol): Likewise.
21600         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21601         "bp-asm.h".
21602         (PARMS): Do not use macros from bp-asm.h.
21603         (DEST): Likewise.
21604         (SRC): Likewise.
21605         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
21606         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21607         "bp-asm.h".
21608         (PARMS): Do not use macros from bp-asm.h.
21609         (strlen): Do not use BP_SYM.
21610         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21611         "bp-asm.h".
21612         (PARMS): Do not use macros from bp-asm.h.
21613         (S1): Likewise.
21614         (S2): Likewise.
21615         (SIZE): Likewise.
21616         (__mpn_add_n): Do not use BP_SYM.
21617         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21618         "bp-asm.h".
21619         (PARMS): Do not use macros from bp-asm.h.
21620         (S1): Likewise.
21621         (SIZE): Likewise.
21622         (__mpn_addmul_1): Do not use BP_SYM.
21623         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21624         weak_alias.
21625         (bzero): Likewise.
21626         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21627         "bp-asm.h".
21628         (PARMS): Do not use macros from bp-asm.h.
21629         (S): Likewise.
21630         (SIZE): Likewise.
21631         (__mpn_lshift): Do not use BP_SYM.
21632         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21633         "bp-asm.h".
21634         (PARMS): Do not use macros from bp-asm.h.
21635         (DEST): Likewise.
21636         (SRC): Likewise.
21637         (LEN): Likewise.
21638         (memcpy): Likewise.  Do not use BP_SYM.
21639         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21640         libc_hidden_def and weak_alias.
21641         (mempcpy): Do not use BP_SYM in weak_alias.
21642         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21643         "bp-asm.h".
21644         (PARMS): Do not use macros from bp-asm.h.
21645         (DEST): Likewise.
21646         (LEN): Likewise.
21647         [!BZERO_P] (CHR): Likewise.
21648         (memset): Likewise.  Do not use BP_SYM.
21649         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21650         "bp-asm.h".
21651         (PARMS): Do not use macros from bp-asm.h.
21652         (S1): Likewise.
21653         (SIZE): Likewise.
21654         (__mpn_mul_1): Do not use BP_SYM.
21655         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21656         "bp-asm.h".
21657         (PARMS): Do not use macros from bp-asm.h.
21658         (S): Likewise.
21659         (SIZE): Likewise.
21660         (__mpn_rshift): Do not use BP_SYM.
21661         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21662         "bp-asm.h".
21663         (PARMS): Do not use macros from bp-asm.h.
21664         (STR): Likewise.
21665         (CHR): Likewise.
21666         (strchr): Likewise.  Do not use BP_SYM.
21667         (index): Do not use BP_SYM in weak_alias.
21668         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21669         "bp-asm.h".
21670         (PARMS): Do not use macros from bp-asm.h.
21671         (DEST): Likewise.
21672         (SRC): Likewise.
21673         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
21674         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21675         "bp-asm.h".
21676         (PARMS): Do not use macros from bp-asm.h.
21677         (strlen): Do not use BP_SYM.
21678         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21679         "bp-asm.h".
21680         (PARMS): Do not use macros from bp-asm.h.
21681         (S1): Likewise.
21682         (S2): Likewise.
21683         (SIZE): Likewise.
21684         (__mpn_sub_n): Do not use BP_SYM.
21685         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21686         "bp-asm.h".
21687         (PARMS): Do not use macros from bp-asm.h.
21688         (S1): Likewise.
21689         (SIZE): Likewise.
21690         (__mpn_submul_1): Do not use BP_SYM.
21691         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21692         "bp-asm.h".
21693         (PARMS): Do not use macros from bp-asm.h.
21694         (S1): Likewise.
21695         (S2): Likewise.
21696         (SIZE): Likewise.
21697         (__mpn_add_n): Do not use BP_SYM.
21698         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21699         weak_alias.
21700         (bzero): Likewise.
21701         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21702         "bp-asm.h".
21703         (PARMS): Do not use macros from bp-asm.h.
21704         (BLK2): Likewise.
21705         (LEN): Likewise.
21706         (memcmp): Do not use BP_SYM.
21707         (bcmp): Do not use BP_SYM in weak_alias.
21708         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21709         "bp-asm.h".
21710         (PARMS): Do not use macros from bp-asm.h.
21711         (DEST): Likewise.
21712         (SRC): Likewise.
21713         (LEN): Likewise.
21714         (memcpy): Likewise.  Do not use BP_SYM.
21715         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21716         "bp-asm.h".
21717         (PARMS): Do not use macros from bp-asm.h.
21718         (DEST): Likewise.
21719         (SRC): Likewise.
21720         (LEN): Likewise.
21721         (memmove): Likewise.  Do not use BP_SYM.
21722         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21723         "bp-asm.h".
21724         (PARMS): Do not use macros from bp-asm.h.
21725         (DEST): Likewise.
21726         (SRC): Likewise.
21727         (LEN): Likewise.
21728         (__mempcpy): Likewise.  Do not use BP_SYM.
21729         (mempcpy): Do not use BP_SYM in weak_alias.
21730         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21731         "bp-asm.h".
21732         (PARMS): Do not use macros from bp-asm.h.
21733         (DEST): Likewise.
21734         (LEN): Likewise.
21735         [!BZERO_P] (CHR): Likewise.
21736         (memset): Likewise.  Do not use BP_SYM.
21737         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21738         "bp-asm.h".
21739         (PARMS): Do not use macros from bp-asm.h.
21740         (STR2): Likewise.
21741         (strcmp): Do not use BP_SYM.
21742         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21743         "bp-asm.h".
21744         (PARMS): Do not use macros from bp-asm.h.
21745         (STR): Likewise.
21746         (DELIM): Likewise.
21747         [USE_AS_STRTOK_R] (SAVE): Likewise.
21748         (FUNCTION): Likewise.  Do not use BP_SYM.
21749         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21750         aliases.
21751         (strtok_r): Likewise.
21752         (__GI___strtok_r): Likewise.
21753         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21754         (PARMS): Do not use macros from bp-asm.h.
21755         (S): Likewise.
21756         (SIZE): Likewise.
21757         (__mpn_lshift): Do not use BP_SYM.
21758         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21759         (PARMS): Do not use macros from bp-asm.h.
21760         (STR): Likewise.
21761         (CHR): Likewise.
21762         (__memchr): Do not use BP_SYM.
21763         (memchr): Do not use BP_SYM in weak_alias.
21764         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21765         (PARMS): Do not use macros from bp-asm.h.
21766         (BLK2): Likewise.
21767         (LEN): Likewise.
21768         (memcmp): Do not use BP_SYM.
21769         (bcmp): Do not use BP_SYM in weak_alias.
21770         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21771         (PARMS): Do not use macros from bp-asm.h.
21772         (S1): Likewise.
21773         (SIZE): Likewise.
21774         (__mpn_mul_1): Do not use BP_SYM.
21775         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21776         "bp-asm.h".
21777         (PARMS): Do not use macros from bp-asm.h.
21778         (STR): Likewise.
21779         (CHR): Likewise.
21780         (__rawmemchr): Do not use BP_SYM.
21781         (rawmemchr): Do not use BP_SYM in weak_alias.
21782         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21783         (PARMS): Do not use macros from bp-asm.h.
21784         (S): Likewise.
21785         (SIZE): Likewise.
21786         (__mpn_rshift): Do not use BP_SYM.
21787         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21788         (PARMS): Do not use macros from bp-asm.h.
21789         (SIGMSK): Likewise.
21790         (__sigsetjmp): Likewise.  Do not use BP_SYM.
21791         * sysdeps/i386/start.S: Do not include "bp-sym.h".
21792         (_start): Do not use BP_SYM.
21793         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21794         (PARMS): Do not use macros from bp-asm.h.
21795         (DEST): Likewise.
21796         (SRC): Likewise.
21797         (__stpcpy): Likewise.  Do not use BP_SYM.
21798         (stpcpy): Do not use BP_SYM in weak_alias.
21799         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21800         "bp-asm.h".
21801         (PARMS): Do not use macros from bp-asm.h.
21802         (DEST): Likewise.
21803         (SRC): Likewise.
21804         (LEN): Likewise.
21805         (__stpncpy): Likewise.  Do not use BP_SYM.
21806         (stpncpy): Do not use BP_SYM in weak_alias.
21807         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21808         (PARMS): Do not use macros from bp-asm.h.
21809         (STR): Likewise.
21810         (CHR): Likewise.
21811         (strchr): Likewise.  Do not use BP_SYM.
21812         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21813         "bp-asm.h".
21814         (PARMS): Do not use macros from bp-asm.h.
21815         (STR): Likewise.
21816         (CHR): Likewise.
21817         (__strchrnul): Likewise.  Do not use BP_SYM.
21818         (strchrnul): Do not use BP_SYM in weak_alias.
21819         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21820         "bp-asm.h".
21821         (PARMS): Do not use macros from bp-asm.h.
21822         (STOP): Likewise.
21823         (strcspn): Do not use BP_SYM.
21824         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21825         "bp-asm.h".
21826         (PARMS): Do not use macros from bp-asm.h.
21827         (STR): Likewise.
21828         (STOP): Likewise.
21829         (strpbrk): Likewise.  Do not use BP_SYM.
21830         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21831         "bp-asm.h".
21832         (PARMS): Do not use macros from bp-asm.h.
21833         (STR): Likewise.
21834         (CHR): Likewise.
21835         (strrchr): Likewise.  Do not use BP_SYM.
21836         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21837         (PARMS): Do not use macros from bp-asm.h.
21838         (SKIP): Likewise.
21839         (strspn): Do not use BP_SYM.
21840         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21841         (PARMS): Do not use macros from bp-asm.h.
21842         (STR): Likewise.
21843         (DELIM): Likewise.
21844         (SAVE): Likewise.
21845         (FUNCTION): Likewise.  Do not use BP_SYM.
21846         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21847         aliases.
21848         (strtok_r): Likewise.
21849         (__GI___strtok_r): Likewise.
21850         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21851         (PARMS): Do not use macros from bp-asm.h.
21852         (S1): Likewise.
21853         (S2): Likewise.
21854         (SIZE): Likewise.
21855         (__mpn_sub_n): Do not use BP_SYM.
21856         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21857         "bp-asm.h".
21858         (PARMS): Do not use macros from bp-asm.h.
21859         (S1): Likewise.
21860         (SIZE): Likewise.
21861         (__mpn_submul_1): Do not use BP_SYM.
21862         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21863         <bp-sym.h>.
21864         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21865         and <bp-asm.h>.
21866         (PARMS): Do not use macros from bp-asm.h.
21867         (FLAGS): Likewise.
21868         (PTID): Likewise.
21869         (TLS): Likewise.
21870         (CTID): Likewise.
21871         (__clone): Do not use BP_SYM.
21872         (clone): Do not use BP_SYM in weak_alias.
21873         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21874         and <bp-asm.h>.
21875         (PARMS): Do not use macros from bp-asm.h.
21876         (LEN): Likewise.
21877         (__mmap64): Do not use BP_SYM.
21878         (mmap64): Do not use BP_SYM in weak_alias.
21879         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21880         <bp-sym.h> and <bp-asm.h>.
21881         (PARMS): Do not use macros from bp-asm.h.
21882         (__posix_fadvise64_l64): Do not use BP_SYM.
21883         * sysdeps/unix/sysv/linux/i386/semtimedop.S
21884         (PARMS): Do not use macros from bp-asm.h.
21885         (NSOPS): Likewise.
21886         (semtimedop): Do not use BP_SYM.
21887         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21888         and <bp-asm.h>.
21890 2013-02-21  Allan McRae  <allan@archlinux.org>
21892         * manual/message.texi (Charset conversion in gettext):
21893         Move @end statement to beginning of line.
21895 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21897         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21898         static.
21899         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21900         Likewise.
21902         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21903         (denorm): Likewise.
21904         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21905         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21907 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21909         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21910         tail-call to the resolved function if pltexit isn't needed.
21912 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21914         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21915         or Y being zero as being unlikely.
21916         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21917         Likewise.
21919 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
21921         * manual/nss.texi (System Databases and Name Service Switch):
21922         Remove frobnicate @pxref.
21924 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
21926         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21927         __attribute__ ((unused)) to __attribute__ ((__unused__)).
21929 2013-02-20  Petr Machata  <pmachata@redhat.com>
21931         * elf/elf.h (R_ARM_TARGET1): New macro.
21932         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21933         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21934         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21935         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21936         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21937         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21938         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21939         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21940         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21941         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21942         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21943         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21944         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21945         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21946         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21947         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21948         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21949         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21950         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21951         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21952         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21953         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21954         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21955         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21956         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21957         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21958         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21959         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21960         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21961         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21962         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21963         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21964         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21965         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21966         (R_ARM_THM_GOT_BREL12): Likewise.
21967         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21968         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21969         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21970         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21971         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21972         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21973         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21974         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21975         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21977 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
21979         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21980         __attribute_used__ to __attribute__ ((unused)).
21982 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21984         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21985         powerpc mpa.c.
21986         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21987         comment formatting.
21988         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21990 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
21992         [BZ #13550]
21993         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21994         Remove macro.
21995         (ENTER): Remove both macro definitions.
21996         (LEAVE): Likewise.
21997         (CHECK_BOUNDS_LOW): Likewise.
21998         (CHECK_BOUNDS_HIGH): Likewise.
21999         (CHECK_BOUNDS_BOTH): Likewise.
22000         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22001         (RETURN_BOUNDED_POINTER): Likewise.
22002         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22003         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22004         (POP_ERRNO_LOCATION_RETURN): Likewise.
22005         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22006         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22007         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22008         macros.
22009         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22010         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22011         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22012         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22013         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22014         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22015         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22016         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22017         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22018         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22019         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22020         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22021         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22022         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22023         removed macros.
22024         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22025         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22026         macros.
22027         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22028         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22029         * sysdeps/i386/i586/memset.S (memset): Likewise.
22030         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22031         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22032         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22033         macros.
22034         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22035         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22036         Change uses of L(2) to L(out).
22037         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22038         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22039         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22040         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22041         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22042         removed macros.
22043         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22044         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22045         macros.
22046         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22047         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22048         (RETURN): Do not use macro LEAVE.
22049         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22050         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22051         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22052         * sysdeps/i386/i686/memset.S (memset): Likewise.
22053         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22054         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22055         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22056         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22057         Likewise.
22058         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22059         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22060         L(1_2) and L(1_3) into L(1).
22061         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22062         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22063         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22064         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22065         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22066         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22067         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22068         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22069         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22070         macros.
22071         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22072         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22073         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22074         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22075         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22076         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22077         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22078         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22079         * sysdeps/i386/strcspn.S (strcspn): Likewise.
22080         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22081         * sysdeps/i386/strrchr.S (strrchr): Likewise.
22082         * sysdeps/i386/strspn.S (strspn): Likewise.
22083         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22084         conditional code.
22085         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22086         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22087         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22088         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
22089         L(1_3) into L(1_1).
22090         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22091         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22092         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22093         macros.
22094         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22096 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
22098         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22099         macro.
22101 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22103         * math/atest-exp.c (exp_mpn): Remove ROUND.
22104         * math/atest-exp2.c (exp_mpn): Likewise.
22105         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22107         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22108         * stdlib/tst-tls-atexit-lib.c: Likewise.
22109         * stdlib/tst-tls-atexit.c: Likewise.
22111 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22113         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22114         and __attribute_alloc_size__.
22116 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22118         * include/programs/xmalloc.h: Change __attribute_alloc_size to
22119         __attribute_alloc_size__.
22120         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22121         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22123 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22125         * include/programs/xmalloc.h: New file.
22126         * catgets/gencat.c: Include it.
22127         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22128         * elf/pldd.c: Likewise.
22129         * iconv/iconv_charmap.c: Likewise.
22130         * iconv/iconvconfig.c: Likewise.
22131         * iconv/strtab.c: Likewise.
22132         * locale/programs/locale.c: Likewise.
22133         * locale/programs/localedef.h: Likewise.
22134         * locale/programs/simple-hash.c: Likewise.
22135         * nscd/nscd.h: Likewise.
22136         * nss/makedb.c: Likewise.
22137         * sysdeps/generic/ldconfig.h: Likewise.
22139 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22141         * Versions.def: Add GLIBC_2.18.
22142         * include/link.h (struct link_map): New member l_tls_dtor_count.
22143         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22144         (__call_tls_dtors): Likewise.
22145         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22146         __cxa_thread_atexit_impl.
22147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22148         Likewise.
22149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22150         Likewise.
22151         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22152         Likewise.
22153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22154         Likewise.
22155         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22156         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22157         Likewise.
22158         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22159         Likewise.
22160         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22161         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22162         Likewise.
22163         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22164         (tests): Add test case tst-tls-atexit.
22165         (modules-names): Add shared library for tst-tls-atexit.
22166         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22167         (GLIBC_PRIVATE): Add __call_tls_dtors.
22168         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22169         for libstdc++.
22170         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22171         * stdlib/tst-tls-atexit.c: New test case.
22172         * stdlib/tst-tls-atexit-lib.c: New test case.
22174         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22176         * elf/Versions (ld): Add _dl_find_dso_for_object.
22177         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22178         * elf/dl-open.c (_dl_find_dso_for_object): New function.
22179         (dl_open_worker): Use _dl_find_dso_for_object.
22180         * elf/dl-sym.c (do_sym): Likewise.
22181         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22183 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22185         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22186         Syntactic changes only.
22187         (_dl_runtime_profile): Do a tail-call to the resolved function.
22189 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
22191         [BZ #13550]
22192         * sysdeps/x86_64/bp-asm.h: Remove file.
22193         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22194         <bp-sym.h> and <bp-asm.h>.
22195         (__clone): Do not use BP_SYM.
22196         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22197         <bp-sym.h> and <bp-asm.h>.
22198         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22199         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22200         "bp-asm.h".
22201         (_setjmp): Do not use BP_SYM.
22202         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22203         "bp-asm.h".
22204         (setjmp): Do not use BP_SYM.
22205         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22206         libc_hidden_def.
22207         (mempcpy): Do not use BP_SYM in weak_alias.
22208         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22209         "bp-asm.h".
22210         (strchr): Do not use BP_SYM.
22211         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22212         "bp-asm.h".
22213         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22214         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22215         (_start): Do not use BP_SYM.
22216         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22217         "bp-asm.h".
22218         (strcat): Do not use BP_SYM.
22219         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22220         "bp-asm.h".
22221         (STRCMP): Do not use BP_SYM.
22222         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22223         "bp-asm.h".
22224         (STRCPY): Do not use BP_SYM.
22225         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22226         "bp-asm.h".
22227         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22228         "bp-asm.h".
22229         (FUNCTION): Do not use BP_SYM.
22230         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22231         weak_alias.
22232         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22234 2013-02-17  Andreas Jaeger  <aj@suse.de>
22236         * time/Versions: Sort entries.
22237         * string/Versions: Likewise.
22238         * resolv/Versions: Likewise.
22239         * posix/Versions: Likewise.
22240         * iconv/Versions: Likewise.
22241         * elf/Versions: Likewise.
22242         * wcsmbs/Versions: Likewise.
22244 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22246         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22247         loop termination condition.
22249         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22250         variable to calculate EZ.
22251         (__sqr): Likewise.
22253         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22254         the lower precision input.
22256 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
22258         [BZ #13550]
22259         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22260         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22261         (run-via-rtld-prefix): Do not handle %-bp tests.
22262         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22263         (all-object-suffixes): Remove .ob.
22264         (bppfx): Remove variable.
22265         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22266         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22267         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22268         [$(build-bounded) = yes] (libtype.ob): Likewise.
22269         * Makerules (elide-routines.ob): Remove variable.
22270         (do-tests-clean): Do not handle *-bp.out.
22271         (common-mostlyclean): Do not handle *-bp and *-bp.out.
22272         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22273         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22274         (tests): Do not include $(tests-bp.out).
22275         (xtests): Do not include $(xtests-bp.out).
22276         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22277         [$(build-bounded) = yes] ($(addprefix
22278         $(objpfx),$(binaries-bounded))): Remove rule.
22279         ($(objpfx)%-bp.out): Remove rule.
22280         * config.make.in (build-bounded): Remove variable.
22281         * crypt/Makefile [$(build-bounded) = yes]
22282         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22283         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22284         append to variable.
22285         [$(build-bounded) = yes] (install-lib): Likewise.
22286         [$(build-bounded) = yes] (generated): Likewise.
22287         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22288         Remove rule.
22289         * intl/Makefile [$(build-bounded) = yes]
22290         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22291         * math/Makefile [$(build-bounded) = yes]
22292         ($(tests:%=$(objpfx)%-bp): Likewise.
22293         * misc/Makefile [$(build-bounded) = yes]
22294         ($(objpfx)tst-tsearch-bp): Likewise.
22295         * nptl/Makeconfig (bounded-thread-library): Remove variable.
22296         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22297         Remove dependency.
22298         * string/Makefile (o-objects.ob): Remove variable.
22299         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22300         (CFLAGS-.ob): Remove variable.
22301         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22302         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22303         both definitions of variable.
22304         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22305         (ASFLAGS-.ob): Remove variable.
22307 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
22309         [BZ #13550]
22310         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22311         Remove __BOUNDED_POINTERS__ from condition.
22312         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22313         * string/bits/string2.h [!__NO_STRING_INLINES &&
22314         !__BOUNDED_POINTERS__]: Likewise.
22315         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22316         Likewise.
22317         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22318         Remove conditional code.
22319         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22320         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22321         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22322         condition.
22324         [BZ #13550]
22325         * csu/libc-start.c: Do not include <bp-sym.h>.
22326         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22327         * elf/dl-open.c: Do not include <bp-sym.h>.
22328         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22329         * math/fegetenv.c: Do not include <bp-sym.h>.
22330         (fegetenv): Do not use BP_SYM in versioned symbols.
22331         * nptl/sysdeps/pthread/bits/libc-lockP.h
22332         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22333         <bp-sym.h>.
22334         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22335         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22336         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22337         (__pthread_mutex_destroy): Likewise.
22338         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22339         (__pthread_mutex_lock): Likewise.
22340         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22341         (__pthread_mutex_trylock): Likewise.
22342         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22343         (__pthread_mutex_unlock): Likewise.
22344         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22345         (__pthread_mutexattr_init): Likewise.
22346         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22347         (__pthread_mutexattr_destroy): Likewise.
22348         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22349         (__pthread_mutexattr_settype): Likewise.
22350         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22351         (__pthread_rwlock_init): Likewise.
22352         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22353         (__pthread_rwlock_destroy): Likewise.
22354         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22355         (__pthread_rwlock_rdlock): Likewise.
22356         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22357         (__pthread_rwlock_tryrdlock): Likewise.
22358         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22359         (__pthread_rwlock_wrlock): Likewise.
22360         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22361         (__pthread_rwlock_trywrlock): Likewise.
22362         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22363         (__pthread_rwlock_unlock): Likewise.
22364         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22365         (__pthread_key_create): Likewise.
22366         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22367         (__pthread_setspecific): Likewise.
22368         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22369         (__pthread_getspecific): Likewise.
22370         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22371         Likewise.
22372         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22373         (_pthread_cleanup_push_defer): Likewise.
22374         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22375         (_pthread_cleanup_pop_restore): Likewise.
22376         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22377         (pthread_setcancelstate): Likewise.
22378         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22379         <bp-sym.h>.
22380         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22381         (memchr): Do not use BP_SYM in weak_alias.
22382         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22383         (fegetenv): Do not use BP_SYM in versioned symbols.
22384         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22385         (fesetenv): Do not use BP_SYM in versioned symbols.
22386         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22387         (feupdateenv): Do not use BP_SYM in versioned symbols.
22388         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22389         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22390         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22391         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22392         (open64): Do not use BP_SYM in weak_alias.
22393         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22394         (fegetenv): Do not use BP_SYM in versioned symbols.
22395         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22396         (fesetenv): Do not use BP_SYM in versioned symbols.
22397         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22398         (feupdateenv): Do not use BP_SYM in versioned symbols.
22399         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22400         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22401         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22402         (feraiseexcept): Do not use BP_SYM in versioned symbols.
22403         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22404         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22405         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22406         <bp-sym.h>.
22407         (__libc_start_main): Do not use BP_SYM.
22409 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22411         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22412         redundant return line.
22413         (norm): Likewise.
22414         (denorm): Likewise.
22415         (dbl_mp): Likewise.
22416         (sub_magnitudes): Likewise.
22417         (__add): Likewise.
22418         (__sub): Likewise.
22419         (__mul): Likewise.
22420         (__inv): Likewise.
22421         (__dvd): Likewise.
22422         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22423         (norm): Likewise.
22424         (denorm): Likewise.
22425         (dbl_mp): Likewise.
22426         (sub_magnitudes): Likewise.
22427         (__add): Likewise.
22428         (__sub): Likewise.
22429         (__mul): Likewise.
22430         (__inv): Likewise.
22431         (__dvd): Likewise.
22433         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22434         instead of __mul.
22435         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22436         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22437         (cc32): Likewise.
22439         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22440         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22441         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22442         of __mul for squares.
22443         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22444         function
22445         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22446         Likewise.
22447         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22448         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22450 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
22452         [BZ #13550]
22453         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22454         code.
22455         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22456         prototype or function definition.  Rename ubp_* variables and
22457         parameters.  Remove argv definitions conditional on
22458         [__BOUNDED_POINTERS__].
22459         * debug/backtrace.c (__backtrace): Do not use __unbounded.
22460         * elf/dl-runtime.c (_dl_fixup): Likewise.
22461         * include/set-hooks.h (RUN_HOOK): Likewise.
22462         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22463         definition.
22464         * string/strcpy.c (strcpy): Do not use __unbounded.
22465         * sysdeps/generic/frame.h (struct layout): Likewise.
22466         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22467         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22468         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22469         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22470         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22471         (__backtrace): Likewise.
22472         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22473         use __ptrvalue.
22474         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22475         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22476         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22477         Likewise.
22478         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22479         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22480         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22481         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22482         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22483         Do not use __unbounded.
22484         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22485         Rename __unboundedrlimits parameter to rlimits in prototype.
22486         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22487         Do not use __unbounded.
22488         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22489         not use __ptrvalue.
22490         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22491         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22492         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22493         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22494         __ptrvalue or __unbounded.
22495         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22496         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22497         use __unbounded.
22498         (__new_msgctl): Do not use __ptrvalue.
22499         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22500         __unbounded.
22501         (__libc_msgrcv): Do not use __ptrvalue.
22502         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22503         startup_info): Do not use __unbounded.
22504         (__libc_start_main): Likewise.  Rename ubp_* variables and
22505         parameters.  Remove argv definitions conditional on
22506         [__BOUNDED_POINTERS__].
22507         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22508         __ptrvalue.
22509         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22510         use __unbounded.
22511         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22512         or __ptrvalue.
22513         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22514         use __unbounded.
22515         (__new_shmctl): Do not use __ptrvalue.
22516         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22517         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22518         Likewise.
22519         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22520         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22521         (__libc_sigaction): Likewise.
22522         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22523         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22524         Likewise.
22525         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22527 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
22529         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22531         * string/mempcpy.c: Implement by calling memcpy.
22533 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22535         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22537         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22538         evaluation.
22540         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22541         values in the mantissa.
22543         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22544         minimize writes to Z.
22545         (sub_magnitudes): Simplify code a bit.
22547 2013-02-12  Roland McGrath  <roland@hack.frob.com>
22549         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22550         from the message.  The linker prefixes all warnings with that already.
22552 2013-02-12  Andreas Schwab  <schwab@suse.de>
22554         [BZ #15078]
22555         * posix/regexec.c (extend_buffers): Add parameter min_len.
22556         (check_matching): Pass minimum needed length.
22557         (clean_state_log_if_needed): Likewise.
22558         (get_subexp): Likewise.
22559         * posix/Makefile (tests): Add bug-regex34.
22560         (bug-regex34-ENV): Define.
22561         * posix/bug-regex34.c: New file.
22563         [BZ #11561]
22564         * posix/regcomp.c (parse_bracket_exp): When looking up collating
22565         elements compare against the byte sequence of it, not its name.
22566         * posix/Makefile (tests): Add bug-regex35.
22567         (bug-regex35-ENV): Define.
22568         * posix/bug-regex35.c: New file.
22570 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22572         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
22573         comment.
22574         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22575         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22576         (CHECK_EOL): Add undef.
22578 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
22580         * bits/stdlib-bsearch.h: New file.
22581         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22582         * stdlib/stdlib.h: Likewise.
22584 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22586         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22587         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22588         declaration.
22589         * manual/search.texi (Array Search Function): Add missing const in
22590         lfind prototype.
22591         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22592         declaration to use rlim_t.
22593         (Basic Scheduling Functions): Remove erroneous const from
22594         sched_getparam prototype.  Remove erroneous * from
22595         sched_get_priority_max and sched_get_priority_min prototypes.
22596         (Resource Usage): Fix summary @comment on vtimes to refer to
22597         sys/vtimes.h rather than vtimes.h.
22598         Add missing *s in vtimes prototype.
22599         (Limits on Resources): Fix ulimit prototype to return long int.
22600         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22601         prototypes to use long int rather than double.
22602         (BSD Random): Fix initstate and setstate to use char *, not void *.
22603         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22604         prototype to make second argument 'struct aiocb64 *const[]'.
22605         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22606         (Status of AIO Operations): Remove erroneous const in aio_return and
22607         aio_return64 prototypes.
22608         (Synchronizing I/O): Fix sync prototype to return void.
22609         * manual/startup.texi (Suboptions): Remove an erroneous const in
22610         getsubopt prototype.
22611         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22612         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22613         use size_t rather than int.
22614         (Scanning All Users): Likewise for getpwent_r.
22615         (Setting Groups): Add missing const to setgroups prototype.
22616         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22617         * manual/socket.texi (Host Names): Fix gethostbyaddr and
22618         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22619         'const void *' rather than 'const char *'.
22620         (Host Address Functions): Likewise for inet_ntop.
22621         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22622         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22623         ssize_t for return value.
22624         (Sending Data): Likewise for send, sendto, sendmsg.
22625         (Socket Option Functions): Add a missing const in setsockopt prototype.
22626         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22627         use wchar_t for the argument.
22628         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22629         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22630         take no arguments.
22631         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22632         double/float/long double for second argument.
22633         Fix return types of significand, significandf, significandl.
22634         * manual/filesys.texi (Setting Permissions): Use mode_t for second
22635         argument in fchmod prototype.
22636         (File Owner): Use uid_t and gid_t in fchown prototype.
22637         (File Times): Add const to utimes, futimes, and lutimes prototypes.
22638         (Making Special Files): Use mode_t and dev_t in mknod prototype.
22639         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22640         use 'const struct dirent **' as argument types to CMP function pointer
22641         argument.
22642         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22643         (File Times): Fix summary magic @comment for struct utimbuf and utime
22644         to refer to utime.h, not time.h.
22645         * manual/string.texi (Argz Functions): Add missing const in
22646         argz_extract and argz_next prototypes.
22647         (Finding Tokens in a String): Likewise for basename.
22648         (String/Array Comparison): Fix typo in wcscasecmp prototype.
22649         (Copying and Concatenation): Fix typo in wmemmove prototype.
22650         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22651         (Signal Stack): Remove erroneous const in sigstack prototype.
22652         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22653         prototype.
22654         (Simple Calendar Time): Likewise for stime.
22655         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22656         prototype.
22657         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22658         say sys/sysctl.h instead.
22659         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22660         and vsyslog prototypes.
22662 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22664         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22665         Remove.
22667 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22669         * misc/sys/mman.h: Fix typo in mremap comment.
22671 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22673         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22674         the '\0' terminator.
22676 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
22678         [BZ #13550]
22679         * debug/segfault.c: Don't include <bp-checks.h>.
22680         * sysdeps/generic/bp-checks.h: Remove file.
22681         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22682         (__GETDENTS): Don't use CHECK_N.
22683         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22684         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22685         (__getgroups): Don't use CHECK_N.
22686         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22687         (setgroups): Don't use CHECK_N.
22688         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22689         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22690         (__libc_msgrcv): Don't use CHECK_N.
22691         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22692         (__libc_msgsnd): Don't use CHECK_N.
22693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22694         <bp-checks.h>.
22695         (__libc_pread): Don't use CHECK_N.
22696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22697         include <bp-checks.h>.
22698         (__libc_pread64): Don't use CHECK_N.
22699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22700         include <bp-checks.h>.
22701         (__libc_pwrite): Don't use CHECK_N.
22702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22703         include <bp-checks.h>.
22704         (__libc_pwrite64): Don't use CHECK_N.
22705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22706         <bp-checks.h>.
22707         (__libc_pread): Don't use CHECK_N.
22708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22709         include <bp-checks.h>.
22710         (__libc_pread64): Don't use CHECK_N.
22711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22712         include <bp-checks.h>.
22713         (__libc_pwrite): Don't use CHECK_N.
22714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22715         include <bp-checks.h>.
22716         (__libc_pwrite64): Don't use CHECK_N.
22717         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22718         (do_pread): Don't use CHECK_N.
22719         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22720         (do_pread64): Don't use CHECK_N.
22721         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22722         (do_pwrite): Don't use CHECK_N.
22723         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22724         (do_pwrite64): Don't use CHECK_N.
22725         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22726         (__libc_readv): Don't use CHECK_N.
22727         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22728         (semop): Don't use CHECK_N.
22729         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22730         <bp-checks.h>.
22731         (semtimedop): Don't use CHECK_N.
22732         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22733         (__libc_pread): Don't use CHECK_N.
22734         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22735         <bp-checks.h>.
22736         (__libc_pread64): Don't use CHECK_N.
22737         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22738         <bp-checks.h>.
22739         (__libc_pwrite): Don't use CHECK_N.
22740         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22741         <bp-checks.h>.
22742         (__libc_pwrite64): Don't use CHECK_N.
22743         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22744         <bp-checks.h>.
22745         (__libc_msgrcv): Don't use CHECK_N.
22746         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22747         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
22748         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22749         (__libc_writev): Don't use CHECK_N.
22751 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22753         * string/strcpy.c: Removed unused variable.
22755         * Makeconfig (+sysdep-includes): Define with := rather than =.
22756         Use an existing include/ subdir of each sysdeps dir before it.
22758 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22760         * nscd/connection.c (register_traced_file): Comment function.
22761         [HAVE_INOTIFY] (union __inev): Define.
22762         [HAVE_INOTIFY] (inotify_check_files): New function.
22763         [HAVE_INOTIFY] (clear_db_cache): Likewise.
22764         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22765         clear_db_cache.
22766         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22768 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22770         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22771         loaded if not already and that a failure is permanent.
22773 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22775         [BZ #15006]
22776         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22777         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22779 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
22781         [BZ #13550]
22782         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22783         (CHECK_1_NULL_OK): Likewise.
22784         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22785         (__fxstat): Do not use CHECK_1.
22786         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22787         <bp-checks.h>.
22788         (___fxstat64): Do not use CHECK_1.
22789         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22790         <bp-checks.h>.
22791         (__fxstatat): Do not use CHECK_1.
22792         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22793         <bp-checks.h>.
22794         (__fxstatat64): Do not use CHECK_1.
22795         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22796         <bp-checks.h>.
22797         (__fxstat): Do not use CHECK_1.
22798         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22799         <bp-checks.h>.
22800         (__fxstatat): Do not use CHECK_1.
22801         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22802         <bp-checks.h>.
22803         (__getresgid): Do not use CHECK_1.
22804         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22805         <bp-checks.h>.
22806         (__getresuid): Do not use CHECK_1.
22807         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22808         <bp-checks.h>.
22809         (__lxstat): Do not use CHECK_1.
22810         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22811         <bp-checks.h>.
22812         (__old_msgctl): Do not use CHECK_1.
22813         (__new_msgctl): Likewise.
22814         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22815         <bp-checks.h>.
22816         (__new_setrlimit): Do not use CHECK_1.
22817         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22818         <bp-checks.h>.
22819         (__old_shmctl): Do not use CHECK_1.
22820         (__new_shmctl): Likewise.
22821         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22822         <bp-checks.h>.
22823         (__xstat): Do not use CHECK_1.
22824         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22825         (__lxstat): Do not use CHECK_1.
22826         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22827         <bp-checks.h>.
22828         (___lxstat64): Do not use CHECK_1.
22829         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22830         (__old_msgctl): Do not use CHECK_1.
22831         (__new_msgctl): Likewise.
22832         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22833         <bp-checks.h>.
22834         (__gettimeofday): Do not use CHECK_1.
22835         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22836         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22837         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22838         <bp-checks.h>.
22839         (__gettimeofday): Do not use CHECK_1.
22840         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22841         (__old_shmctl): Do not use CHECK_1_NULL_OK.
22842         (__new_shmctl): Do not use CHECK_1.
22843         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22844         <bp-checks.h>.
22845         (do_sigtimedwait): Do not use CHECK_1.
22846         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22847         <bp-checks.h>.
22848         (do_sigwaitinfo): Do not use CHECK_1.
22849         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22850         <bp-checks.h>.
22851         (msgctl): Do not use CHECK_1.
22852         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22853         <bp-checks.h>.
22854         (shmctl): Do not use CHECK_1.
22855         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22856         (ustat): Do not use CHECK_1.
22857         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22858         <bp-checks.h>.
22859         (__fxstat): Do not use CHECK_1.
22860         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22861         <bp-checks.h>.
22862         (__fxstatat): Do not use CHECK_1.
22863         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22864         <bp-checks.h>.
22865         (__lxstat): Do not use CHECK_1.
22866         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22867         <bp-checks.h>.
22868         (__xstat): Do not use CHECK_1.
22869         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22870         (__xstat): Do not use CHECK_1.
22871         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22872         (___xstat64): Do not use CHECK_1.
22874         [BZ #13550]
22875         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22876         definitions.
22877         (CHECK_BOUNDS_HIGH): Likewise.
22878         * string/strcpy.c: Do not include <bp-checks.h>.
22879         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22881 2013-02-07  Roland McGrath  <roland@hack.frob.com>
22883         * nscd/nscd-client.h (__nscd_drop_map_ref):
22884         Add __attribute__ ((unused)).
22885         * nis/nss-nisplus.h (niserr2nss): Likewise.
22887         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22888         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22890         * csu/libc-tls.c (init_static_tls, init_slotinfo):
22891         Remove inline keyword.
22892         * include/rounding-mode.h (round_away): Likewise.
22893         * libio/wfileops.c (adjust_wide_data): Likewise.
22894         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22895         (__m128i_strloadu_tolower): Likewise.
22896         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22897         (__m128i_strloadu_tolower): Likewise.
22898         * time/mktime.c (ydhms_diff): Likewise.
22899         * locale/elem-hash.h (elem_hash): Likewise.
22900         * locale/setlocale.c (setdata): Likewise.
22901         * posix/regex_internal.h (re_string_char_size_at): Likewise.
22902         (re_string_wchar_at): Likewise.
22903         (bitset_not, bitset_merge, bitset_mask): Likewise.
22904         [!(__GNUC__ > 3)] (inline): Remove macro.
22905         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22906         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22907         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22908         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22909         * string/memcmp.c (memcmp_bytes): Likewise.
22910         * locale/programs/locarchive.c (compute_hashval): Likewise.
22911         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22912         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22913         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22914         * nss/getent.c (print_rpc, print_protocols): Likewise.
22915         (print_passwd, print_group, print_aliases): Likewise.
22916         * nis/nss-nisplus.h (niserr2nss): Likewise.
22917         * nscd/connections.c (restart_p): Likewise.
22918         Change return type to bool.
22920 2013-02-05  Roland McGrath  <roland@hack.frob.com>
22922         * Makeconfig (all-Depend-files): Add existing
22923         $(sorted-subdirs:=/Depend) files.
22924         (all-subdirs): Remove nss.
22925         * sysdeps/unix/inet/Subdirs: Add it here instead.
22926         * hesiod/Depend: New file.
22928         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22929         instead of calling alloca.
22931         * io/lseek.c (__lseek): Rename to __libc_lseek.
22932         Define __lseek as an alias.
22934         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22936 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
22938         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22939         else clause and remove check for non-standard endianness.
22941 2013-02-04  David S. Miller  <davem@davemloft.net>
22943         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22945 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
22947         [BZ #13550]
22948         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22949         (__ubp_memchr): Remove prototype.
22950         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22951         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22952         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22953         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22954         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22955         Remove alias.
22956         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22957         (__ubp_memchr): Likewise.
22958         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22959         (__ubp_memchr): Likewise.
22960         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22961         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22962         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22963         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22964         CHECK_STRING.
22965         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22966         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22967         (__getcwd): Do not use CHECK_STRING.
22968         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22969         <bp-checks.h>.
22970         (__real_chown): Do not use CHECK_STRING.
22971         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22972         <bp-checks.h>.
22973         (fchownat): Do not use CHECK_STRING.
22974         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22975         CHECK_STRING.
22976         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22977         <bp-checks.h>.
22978         (__lchown): Do not use CHECK_STRING.
22979         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22980         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22981         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22982         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22984         include <bp-checks.h>.
22985         (truncate64): Do not use CHECK_STRING.
22986         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22987         <bp-checks.h>.
22988         (__real_chown): Do not use CHECK_STRING.
22989         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22990         <bp-checks.h>.
22991         (__lchown): Do not use CHECK_STRING.
22992         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22993         <bp-checks.h>.
22994         (__chown): Do not use CHECK_STRING.
22995         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22996         <bp-checks.h>.
22997         (truncate64): Do not use CHECK_STRING.
22998         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22999         Likewise.
23000         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23001         (__xmknod): Do not use CHECK_STRING.
23002         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23003         <bp-checks.h>.
23004         (__xmknodat): Do not use CHECK_STRING.
23005         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23006         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23008 2013-02-04  Andreas Schwab  <schwab@suse.de>
23010         [BZ #14142]
23011         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23012         * include/netdb.h: Likewise for h_errno.
23013         * elf/tst-stackguard1.c: Include <tls.h>.
23015 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23017         * elf/link.h (struct link_map): Extend the l_addr comment.
23018         * include/link.h (struct link_map): Likewise.
23020 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23022         [BZ #13550]
23023         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23024         (BOUNDED_1): Remove macro.
23025         * debug/backtrace.c: Don't include <bp-checks.h>.
23026         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23027         (__backtrace): Likewise.
23028         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23029         <bp-checks.h>.
23030         (__backtrace): Don't use BOUNDED_1.
23031         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23032         <bp-checks.h>.
23033         (__backtrace): Don't use BOUNDED_1.
23034         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23035         (__backtrace): Don't use BOUNDED_1.
23036         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23037         (shmat): Don't use BOUNDED_N.
23039 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23041         [BZ #13550]
23042         * sysdeps/generic/bp-start.h: Remove file.
23043         * csu/libc-start.c: Don't include <bp-start.h>.
23044         (LIBC_START_MAIN): Set up __environ directly instead of using
23045         INIT_ARGV_and_ENVIRON.
23046         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23047         <bp-start.h>.
23049         [BZ #13550]
23050         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23051         definitions.
23052         (CHECK_FCNTL): Likewise.
23053         (CHECK_N_PAGES): Likewise.
23055         [BZ #13550]
23056         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23057         definitions.
23058         (CHECK_SIGSET_NULL_OK): Likewise.
23059         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23060         <bp-checks.h>.
23061         (sigpending): Don't use CHECK_SIGSET.
23062         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23063         <bp-checks.h>.
23064         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23065         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23066         <bp-checks.h>.
23067         (do_sigsuspend): Don't use CHECK_SIGSET.
23068         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23069         use CHECK_SIGSET.
23070         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23071         (do_sigwait): Don't use CHECK_SIGSET.
23072         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23073         use CHECK_SIGSET.
23074         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23075         include <bp-checks.h>.
23076         (sigpending): Don't use CHECK_SIGSET.
23077         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23078         include <bp-checks.h>.
23079         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23080         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23081         <bp-checks.h>.
23082         (sigpending): Don't use CHECK_SIGSET.
23083         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23084         <bp-checks.h>.
23085         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23087         [BZ #13550]
23088         * sysdeps/generic/bp-semctl.h: Remove file.
23089         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23090         <bp-checks.h> and <bp-semctl.h>.
23091         (__old_semctl): Don't use CHECK_SEMCTL.
23092         (__new_semctl): Likewise.
23093         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23094         and <bp-semctl.h>.
23095         (__old_semctl): Don't use CHECK_SEMCTL.
23096         (__new_semctl): Likewise.
23097         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23098         <bp-checks.h> and <bp-semctl.h>.
23099         (__old_semctl): Don't use CHECK_SEMCTL.
23100         (__new_semctl): Likewise.
23101         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23102         <bp-checks.h> and <bp-semctl.h>.
23103         (semctl): Don't use CHECK_SEMCTL.
23105         [BZ #13550]
23106         * Makerules (elide-bp-thunks): Remove variable.
23107         (elide-routines.oS): Don't use $(elide-bp-thunks).
23108         (elide-routines.os): Likewise.
23109         (elide-routines.o): Likewise.
23110         (elide-routines.op): Likewise.
23111         (elide-routines.og): Likewise.
23112         (objects): Don't use $(bp-thunks).
23113         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23114         include.
23115         (common-generated): Do not add s-proto-bp.d.
23116         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23117         (int): Likewise.
23118         (typ): Likewise.
23119         Do not generate makefile rules for bounded-pointer thunks.
23120         * sysdeps/generic/bp-thunks.h: Remove file.
23121         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23122         * sysdeps/unix/s-proto-bp.S: Likewise.
23124         [BZ #15062]
23125         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23126         parts of result separately when argument is not close to line from
23127         -i to i and one part of argument is small.
23128         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23129         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23130         * math/libm-test.inc (cacos_test): Add more tests.
23131         (casin_test): Likewise.
23132         (casinh_test): Likewise.
23133         * sysdeps/i386/fpu/libm-test-ulps: Update.
23134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23136 2013-01-31  David S. Miller  <davem@davemloft.net>
23138         * po/de.po: Update from translation team.
23140 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
23142         * time/tzfile.c: Include stdint.h for SIZE_MAX.
23144 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
23146         * configure.in (_AC_PROG_CC_C89): New definition.
23147         * configure: Regenerate.
23149         * configure.in (AC_PROG_CPP): New definition.
23150         * configure: Regenerate.
23152 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23154         * debug/tst-backtrace.h: New file.
23155         * debug/tst-backtrace2.c: Include tst-backtrace.h.
23156         (ret): Remove variable.
23157         (x): Likewise.
23158         (FAIL): Remove macro.
23159         (NO_INLINE): Likewise.
23160         (fn1): Use match function instead of strstr.
23161         * debug/tst-backtrace3.c: Include tst-backtrace.h.
23162         (ret): Remove variable.
23163         (x): Likewise.
23164         (FAIL): Remove macro.
23165         (NO_INLINE): Likewise.
23166         (fn): Use match function instead of strstr.
23167         * debug/tst-backtrace4.c: Include tst-backtrace.h.
23168         (ret): Remove variable.
23169         (x): Likewise.
23170         (FAIL): Remove macro.
23171         (NO_INLINE): Likewise.
23172         (handle_signal): Use match function instead of strstr.
23173         * debug/tst-backtrace5.c: Include tst-backtrace.h.
23174         (ret): Remove variable.
23175         (x): Likewise.
23176         (FAIL): Remove macro.
23177         (NO_INLINE): Likewise.
23178         (handle_signal): Use match function instead of strstr.
23180 2013-01-23  Roland McGrath  <roland@hack.frob.com>
23182         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23184 2013-01-23  David S. Miller  <davem@davemloft.net>
23186         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23187         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23188         argument of CAS if possible.
23189         * sysdeps/sparc/sparc64/bits/atomic.h
23190         (__arch_compare_and_exchange_val_32_acq): Likewise.
23191         (__arch_compare_and_exchange_val_64_acq): Likewise.
23193 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
23195         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23196         * sysdeps/posix/ulimit.c: ... this.
23197         Include <limits.h>.
23198         * sysdeps/unix/bsd/ulimit.c: Remove file.
23200 2013-01-23  Adam Conrad  <adconrad@0c3.net>
23202         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23203         (LDFLAGS-tst-array5): Likewise.
23205 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23207         [BZ #15036]
23208         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23209         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23210         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23211         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23213 2013-01-21  David S. Miller  <davem@davemloft.net>
23215         * sysdeps/sparc/backtrace.c: New file.
23216         * sysdeps/sparc/sparc32/backtrace.h: New file.
23217         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23218         * sysdeps/sparc/sparc64/backtrace.h: New file.
23219         * sysdeps/sparc/sparc64/backtrace.c: Delete.
23220         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23221         -funwind-tables.
23223 2013-01-21  Andreas Schwab  <schwab@suse.de>
23225         [BZ #15020]
23226         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23227         closed its stdout.
23229 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
23231         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23232         "mpa2.h".
23233         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23235 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
23236             Mark Mitchell  <mark@codesourcery.com>
23237             Tom de Vries  <tom@codesourcery.com>
23238             Paul Pluzhnikov  <ppluzhnikov@google.com>
23240         * debug/tst-backtrace2.c: New file.
23241         * debug/tst-backtrace3.c: Likewise.
23242         * debug/tst-backtrace4.c: Likewise.
23243         * debug/tst-backtrace5.c: Likewise.
23244         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23245         (CFLAGS-tst-backtrace3.c): Likewise.
23246         (CFLAGS-tst-backtrace4.c): Likewise.
23247         (CFLAGS-tst-backtrace5.c): Likewise.
23248         (LDFLAGS-tst-backtrace2): Likewise.
23249         (LDFLAGS-tst-backtrace3): Likewise.
23250         (LDFLAGS-tst-backtrace4): Likewise.
23251         (LDFLAGS-tst-backtrace5): Likewise.
23252         (tests): Add new tests tst-backtrace2, tst-backtrace3,
23253         tst-backtrace4 and tst-backtrace5.
23255 2013-01-18  Anton Blanchard  <anton@samba.org>
23256             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23258         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23259         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23260         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23261         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23263         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23264         "+r" and remove output regs list as redundant.  Add explicit inline
23265         asm to specify register of return val to work around compiler codegen
23266         bug.  Remove (int) cast on return value.  Add return type parameter to
23267         use in macro so that this macro does not truncate return value for
23268         64-bit values.
23269         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23270         pass to INTERNAL_VSYSCALL_NCS.
23271         (INLINE_VSYSCALL): Add 'long int' as return type to
23272         INTERNAL_VSYSCALL_NCS macro invocation.
23273         (INTERNAL_VSYSCALL): Add 'long int' as return type to
23274         INTERNAL_VSYSCALL_NCS macro invocation.
23275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23277 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23279         [BZ #14496]
23280         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23281         Fix application of SIMD FP exception mask.
23283         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23284         mp_no from a power of two.
23285         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23286         __mpexp_twomm1.  Use __pow_mp.
23288         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23289         multiplication.
23291 2013-01-17  David S. Miller  <davem@davemloft.net>
23293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23295 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23297         [BZ #15023]
23298         * include/complex.h: Condition contents on [!_COMPLEX_H].
23299         (__kernel_casinhf): New prototype.
23300         (__kernel_casinh): Likewise.
23301         (__kernel_casinhl): Likewise.
23302         * math/Makefile (libm_calls): Add k_casinh.
23303         * math/k_casinh.c: New file.
23304         * math/k_casinhf.c: Likewise.
23305         * math/k_casinhl.c: Likewise.
23306         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23307         finite nonzero arguments.
23308         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23309         finite nonzero arguments.
23310         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23311         finite nonzero arguments.
23312         * math/s_casinh.c: Do not include <float.h>.
23313         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23314         * math/s_casinhf.c: Do not include <float.h>.
23315         (__casinhf): Move code for finite nonzero arguments to
23316         k_casinhf.c.
23317         * math/s_casinhl.c: Do not include <float.h>.
23318         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23319         redefine.
23320         (__casinhl): Move code for finite nonzero arguments to
23321         k_casinhl.c.
23322         * math/libm-test.inc (cacos_test): Add more tests.
23323         * sysdeps/i386/fpu/libm-test-ulps: Update.
23324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23326 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
23328         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23329         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23330         [!HAVE_MREMAP]: Remove [defined linux] case.
23331         * malloc/arena.c: Do not include <malloc-sysdep.h>.
23333 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23335         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23337 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
23339         * elf/elf.h (R_386_SIZE32): New relocation.
23340         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23341         R_386_SIZE32.
23342         (elf_machine_rela): Likewise.
23343         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23344         R_X86_64_SIZE64 and R_X86_64_SIZE32.
23346 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23348         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23349         (FP_FAST_FMA): Do not define.
23350         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23351         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23352         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23353         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23354         !_SOFT_FLOAT]: Likewise.
23355         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23356         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23357         value.
23358         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23359         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23360         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23361         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23362         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23363         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23364         file.
23366 2013-01-16  Andreas Schwab  <schwab@suse.de>
23368         [BZ #14327]
23369         * include/stdlib.h (__mktemp): Add declaration.
23370         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23371         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23373 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23375         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23376         definitions.
23377         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23378         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23379         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23380         definitions here.
23381         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23382         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23383         definitions.
23384         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23385         and ONE.
23386         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23387         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23388         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23389         definitions.
23390         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23391         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23392         definitions.
23393         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23395         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23397 2013-01-15  David S. Miller  <davem@davemloft.net>
23399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23400         trunc{,f} to libm-sysdep_routes.
23401         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23403         file.
23404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23406         file.
23407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23408         file.
23409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23411         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23412         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23413         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23414         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23415         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23416         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23419         nearbyint{,f} to libm-sysdep_routes.
23420         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23422         New file.
23423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23424         file.
23425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23426         New file.
23427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23428         file.
23429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23431         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23432         file.
23433         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23434         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23435         file.
23436         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23437         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23438         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23440         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23441         libc_feholdexcept and libc_fesetenv.
23443 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
23445         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23447 2013-01-14  David S. Miller  <davem@davemloft.net>
23449         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23450         (SPARC_ASM_VIS2_IFUNC): Likewise.
23451         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23453         use of 'siam' instruction.
23454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23455         Likewise.
23456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23457         Likewise.
23458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23459         Likewise.
23460         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23461         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23462         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23463         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23465         file.
23466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23467         file.
23468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23469         file.
23470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23471         file.
23472         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23473         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23474         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23475         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23477         new VIS2 routines.
23478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23481         Likewise.
23482         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23483         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23484         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23485         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23487         routines to libm-sysdep_routines.
23488         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23491         fdim/fdimf to libm-sysdep_routines.
23492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23493         file.
23494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23496         file.
23497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23498         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23499         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23500         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23501         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23502         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23503         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23505 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23507         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23508         to optimize copies.
23510         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23511         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23512         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23514         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23515         local variable MPTWO.
23516         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23517         Likewise.
23519 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23521         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23522         GLOB_NOESCAPE.
23524 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23526         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23528 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23530         * manual/pattern.texi (glob_t): Document gl_flags.
23531         (glob64_t): Likewise.
23533 2013-01-11  David S. Miller  <davem@davemloft.net>
23535         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23536         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23537         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
23538         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23539         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23540         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23541         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23542         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23543         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23544         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23545         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23546         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23547         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23549         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23550         sparc V9 rather than using V8 code.
23551         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23552         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23554         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23555         Move to...
23556         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23557         Here.
23559 2013-01-11  Roland McGrath  <roland@hack.frob.com>
23561         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23562         not in the main loop.
23563         * configure: Regenerated.
23565 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
23567         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23568         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23569         to just #else.
23570         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
23571         [!__GLIBC_HAVE_LONG_LONG] case.
23572         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23573         condition to just #else.
23574         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23575         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23576         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23577         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23578         unconditional.
23579         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23580         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23581         #elif condition to just #else.
23582         * sysdeps/unix/sysv/linux/sys/sysmacros.h
23583         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23584         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23585         #elif condition to just #else.
23587 2013-01-11  Steve Ellcey  <sellcey@mips.com>
23589         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23590         (EF_MIPS_ARCH_64): Fix value.
23591         (EF_MIPS_ARCH_32R2): New.
23592         (EF_MIPS_ARCH_64R2): New.
23594 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
23596         * Makeconfig (+link-pie-before-libc): New.
23597         (+link-pie-after-libc): Likewise.
23598         (+link-pie-tests): Likewise.
23599         (+link-pie): Rewritten.
23600         (link-before-libc): Remove $(config-LDFLAGS).
23601         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23602         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23603         (config-LDFLAGS): Renamed to ...
23604         (rtld-LDFLAGS): This.
23605         (rtld-tests-LDFLAGS): New macro.
23606         (link-libc-rpath-link): Likewise.
23607         (link-libc-tests-rpath-link): Likewise.
23608         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23609         (link-libc): Prepand $(link-libc-rpath-link).
23610         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23611         (test-program-prefix): New macro.
23612         (test-via-rtld-prefix): Likewise.
23613         (test-program-cmd): Likewise.
23614         (host-test-program-cmd): Likewise.
23615         * Makefile ($(common-objpfx)testrun.sh): Replace
23616         $(run-program-prefix) with $(test-program-prefix).
23617         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23618         $(rtld-LDFLAGS).
23619         ($(common-objpfx)shlib.lds): Likewise.
23620         (build-module-helper): Likewise.
23621         ($(common-objpfx)format.lds): Likewise.
23622         * Rules (binaries-pie-tests): New.
23623         (binaries-pie-notests): Likewise.
23624         (binaries-pie): Rewritten.
23625         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23626         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23627         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23628         (make-test-out): Replace $(host-built-program-cmd) with
23629         $(host-test-program-cmd).
23630         * config.make.in (build-hardcoded-path-in-tests): New variable.
23631         * configure.in (--enable-hardcoded-path-in-tests): New configure
23632         option.
23633         (hardcoded_path_in_tests): New AC_SUBST.
23634         * configure: Regenerated.
23635         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23636         $(built-program-cmd) with $(test-program-cmd).
23637         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23638         (test_program_cmd): This.
23639         * elf/Makefile ($(objpfx)order.out): Run test with
23640         $(test-program-prefix).
23641         ($(objpfx)order2.out): Likewise.
23642         ($(objpfx)tst-initorder.out): Likewise.
23643         ($(objpfx)tst-initorder2.out): Likewise.
23644         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23645         $(test-program-cmd).
23646         ($(objpfx)tst-array1-static.out): Likewise.
23647         ($(objpfx)tst-array2.out): Likewise.
23648         ($(objpfx)tst-array3.out): Likewise.
23649         ($(objpfx)tst-array4.out): Likewise.
23650         ($(objpfx)tst-array5.out): Likewise.
23651         ($(objpfx)tst-array5-static.out): Likewise.
23652         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23653         $(test-program-cmd).
23654         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23655         $(run-program-prefix) with $(test-program-prefix).
23656         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23657         (test_program_prefix): This.
23658         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23659         $(run-program-prefix) with $(test-program-prefix).
23660         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23661         (test_program_prefix): This.
23662         * iconvdata/tst-tables.sh: Likewise.
23663         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23664         $(run-program-prefix) with $(test-program-prefix).
23665         ($(objpfx)tst-translit.out): Likewise.
23666         ($(objpfx)tst-gettext2.out): Likewise.
23667         ($(objpfx)tst-gettext4.out): Likewise.
23668         ($(objpfx)tst-gettext6.out): Likewise.
23669         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23670         (test_program_prefix): This.
23671         * intl/tst-gettext2.sh: Likewise.
23672         * intl/tst-gettext4.sh  Likewise.
23673         * intl/tst-gettext6.sh: Likewise.
23674         * intl/tst-translit.sh: Likewise.
23675         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23676         with $(test-program-cmd).
23677         * libio/Makefile ($(objpfx)test-freopen.out): Replace
23678         $(run-program-prefix) with $(test-program-prefix).
23679         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23680         (test_program_prefix): This.
23681         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23682         $(run-program-prefix) with $(test-program-prefix).
23683         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23684         (test_program_prefix): This.
23685         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23686         * posix/Makefile ($(objpfx)globtest.out): Replace
23687         $(run-via-rtld-prefix) and $(test-wrapper) with
23688         $(test-program-prefix) and $(test-via-rtld-prefix).
23689         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23690         $(test-program-prefix).
23691         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23692         $(host-test-program-cmd).
23693         (tst-spawn-ARGS): Likewise.
23694         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23695         $(test-program-prefix).
23696         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23697         (test_via_rtld_prefix): This.
23698         (test_wrapper): Renamed to ...
23699         (test_program_prefix): This.
23700         (run_program_prefix): Replaced by test_program_prefix.
23701         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23702         (test_program_prefix): This.
23703         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23704         with $(host-test-program-cmd).
23705         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23706         $(run-program-prefix) with $(test-program-prefix).
23707         ($(objpfx)tst-printf.out): Likewise.
23708         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23709         $(test-program-cmd).
23710         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23711         (test_program_prefix): This.
23712         * stdio-common/tst-unbputc.sh: Likewise.
23713         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23714         $(run-program-prefix) with $(test-program-prefix).
23715         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23716         (test_program_prefix): This.
23717         * string/Makefile ($(objpfx)tst-svc.out):  Replace
23718         $(built-program-cmd) with $(test-program-cmd).
23720 2013-01-11  Andreas Jaeger  <aj@suse.de>
23722         [BZ #15003]
23723         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23724         value. Sync with Linux 3.7.
23726 2013-01-10  David S. Miller  <davem@davemloft.net>
23728         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23729         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23730         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23732 2013-01-10  Roland McGrath  <roland@hack.frob.com>
23734         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23735         never set.
23736         * configure: Regenerated.
23738 2013-01-10  David S. Miller  <davem@davemloft.net>
23740         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23741         sparc V9 rather than using V8 code.
23742         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23743         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23745 2013-01-10  Roland McGrath  <roland@hack.frob.com>
23747         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23748         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23749         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23750         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23751         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23752         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23753         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23754         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23755         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23756         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23757         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23758         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23759         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23760         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23761         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23762         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23763         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23764         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23765         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23766         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23767         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23768         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23769         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23770         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23771         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23772         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23773         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23775 2013-01-10  David S. Miller  <davem@davemloft.net>
23777         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23779 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
23781         * posix/Makefile (tests-static): New variable.
23782         (tests): Add $(tests-static).
23783         (tst-exec-static-ARGS): New variable.
23784         (tst-spawn-static-ARGS): Likewise.
23785         * posix/tst-exec-static.c: New file.
23786         * posix/tst-spawn-static.c: Likewise.
23787         * posix/tst-exec.c: Support run directly.
23788         * posix/tst-spawn.c: Likewise.
23790 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
23792         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23793         long.
23794         * math/bits/mathcalls.h (llrint): Likewise.
23795         (llround): Likewise.
23796         * stdlib/stdlib.h (struct drand48_data): Likewise.
23797         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23798         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23799         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23800         Likewise.
23801         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23802         Likewise.
23803         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23804         (elf_greg_t): Likewise.
23805         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23806         (__jmp_buf): Likewise.
23807         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23808         definitions.
23809         (llrint): Likewise, for all definitions.
23810         (llrintl): Likewise.
23812         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23813         Remove [__GNUC__] condition.
23814         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23815         condition to just [__USE_ISOC99].
23816         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23818 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
23820         [BZ #14200]
23821         * sysdeps/unix/sysv/linux/x86/bits/environments.h
23822         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23823         defined.
23824         (_POSIX_V6_ILP32_OFF32): Likewise.
23825         (_XBS5_ILP32_OFF32): Likewise.
23826         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23827         (__ILP32_OFFBIG_LDFLAGS): Likewise.
23829 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23831         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23833         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23834         doubles __mpexp_twomm1.  Adjust usage.
23835         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23836         Remove.
23838 2013-01-10  Andreas Schwab  <schwab@suse.de>
23840         [BZ #14964]
23841         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23842         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23844 2013-01-09  David S. Miller  <davem@davemloft.net>
23846         [BZ #15003]
23847         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23848         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23849         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23850         (TCP_FASTOPEN): Define.
23851         (tcp_repair_opt): New structure.
23852         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23853         enum values.
23854         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23855         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23856         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
23857         (tcp_cookie_transactions): New structure.
23859 2013-01-09  Anton Blanchard  <anton@samba.org>
23861         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23862         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23863         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23864         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23866 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
23868         * include/features.h (__USE_ANSI): Remove.
23870 2013-01-09  Roland McGrath  <roland@hack.frob.com>
23872         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23874         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23876 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
23878         * sysdeps/s390/fpu/libm-test-ulps: Update.
23880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23882         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23883         (__acr): Likewise.
23884         (__cpy): Likewise.
23885         (norm): Likewise.
23886         (denorm): Likewise.
23887         (__mp_dbl): Likewise.
23888         (__dbl_mp): Likewise.
23889         (add_magnitudes): Likewise.
23890         (sub_magnitudes): Likewise.
23891         (__add): Likewise.
23892         (__sub): Likewise.
23893         (__mul): Likewise.
23894         (__inv): Likewise.
23895         (__dvd): Likewise.
23896         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23897         (__acr): Likewise.
23898         (__cpy): Likewise.
23899         (norm): Likewise.
23900         (denorm): Likewise.
23901         (__mp_dbl): Likewise.
23902         (__dbl_mp): Likewise.
23903         (add_magnitudes): Likewise.
23904         (sub_magnitudes): Likewise.
23905         (__add): Likewise.
23906         (__sub): Likewise.
23907         (__mul): Likewise.
23908         (__inv): Likewise.
23909         (__dvd): Likewise.
23910         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23911         (__acr): Likewise.
23912         (__cpy): Likewise.
23913         (norm): Likewise.
23914         (denorm): Likewise.
23915         (__mp_dbl): Likewise.
23916         (__dbl_mp): Likewise.
23917         (add_magnitudes): Likewise.
23918         (sub_magnitudes): Likewise.
23919         (__add): Likewise.
23920         (__sub): Likewise.
23921         (__mul): Likewise.
23922         (__inv): Likewise.
23923         (__dvd): Likewise.
23925 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
23927         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23928         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23929         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23930         2 && __USE_EXTERN_INLINES]: Likewise.
23932 2013-01-08  Andreas Jaeger  <aj@suse.de>
23934         [BZ# 14985]
23935         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23936         Remove.
23937         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23938         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23940 2013-01-07  Anton Blanchard  <anton@samba.org>
23942         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23943         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23944         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23945         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23946         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23947         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23948         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23949         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23950         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23951         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23952         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23953         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23954         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23955         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23956         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23957         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23958         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23959         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23960         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23961         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23962         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23963         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23964         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23965         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23966         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23967         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23968         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23969         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23970         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23971         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23972         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23973         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23974         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23975         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23976         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23977         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23978         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23979         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23980         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23981         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23982         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23983         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23984         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23986 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
23988         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23989         (__MALLOC_PMT): Likewise.
23990         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23991         [__GNUC__], only on [_LIBC].
23992         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23993         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23994         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23995         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23996         forward declaration.
23997         (realloc_hook_ini): Likewise.
23998         (memalign_hook_ini): Likewise.
23999         (__libc_memalign): Do not use __MALLOC_PMT in variable
24000         declaration.
24001         (__libc_valloc): Likewise.
24002         (__libc_pvalloc): Likewise.
24003         (__libc_calloc): Likewise.
24004         (__posix_memalign): Likewise.
24006         [BZ #14996]
24007         * math/s_casinh.c: Include <float.h>.
24008         (__casinh): Do not do computation with squaring and square root
24009         for large arguments.
24010         * math/s_casinhf.c: Include <float.h>.
24011         (__casinhf): Do not do computation with squaring and square root
24012         for large arguments.
24013         * math/s_casinhl.c: Include <float.h>.
24014         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24015         (__casinhl): Do not do computation with squaring and square root
24016         for large arguments.
24017         * math/libm-test.inc (casin_test): Add more tests.
24018         (casinh_test): Likewise.
24019         * sysdeps/i386/fpu/libm-test-ulps: Update.
24020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24022 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24024         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24025         (__x86_64_raw_data_cache_size): Likewise.
24026         (__x86_64_data_cache_size_half): Likewise.
24027         (__x86_64_raw_data_cache_size_half): Likewise.
24028         (__x86_64_shared_cache_size): Likewise.
24029         (__x86_64_raw_shared_cache_size): Likewise.
24030         (__x86_64_shared_cache_size_half): Likewise.
24031         (__x86_64_raw_shared_cache_size_half): Likewise.
24032         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24033         to ...
24034         (__x86_data_cache_size): This.
24035         (__x86_64_raw_data_cache_size): Renamed to ...
24036         (__x86_raw_data_cache_size): This.
24037         (__x86_64_data_cache_size_half): Renamed to ...
24038         (__x86_data_cache_size_half): This.
24039         (__x86_64_raw_data_cache_size_half): Renamed to ...
24040         (__x86_raw_data_cache_size_half): This.
24041         (__x86_64_shared_cache_size): Renamed to ...
24042         (__x86_shared_cache_size): This.
24043         (__x86_64_raw_shared_cache_size): Renamed to ...
24044         (__x86_raw_shared_cache_size): This.
24045         (__x86_64_shared_cache_size_half): Renamed to ...
24046         (__x86_shared_cache_size_half): This.
24047         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24048         (__x86_raw_shared_cache_size_half): This.
24049         * sysdeps/x86_64/memcpy.S: Updated.
24050         * sysdeps/x86_64/memset.S: Likewise.
24051         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24052         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24053         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24055 2013-01-04  David S. Miller  <davem@davemloft.net>
24057         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24059 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24061         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24062         1 to avoid redefinition warning.
24063         (__USE_GNU): Don't define.
24064         (init_signaling_nan): Protoize.
24066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24068 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24070         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24071         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24072         (__cpymn): Likewise.
24073         (norm): Remove commented code.
24074         (denorm): Likewise.
24075         (__mp_dbl): Likewise.
24076         (__inv): Likewise.
24077         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24078         (__cpymn): Likewise.
24079         (norm): Remove commented code.
24080         (denorm): Likewise.
24081         (__mp_dbl): Likewise.
24082         (__inv): Likewise.
24084         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24085         mp_no value for 1.0 and 2.0.
24086         (norm): Use RADIXI instead of radixi.d.
24087         (denorm): Likewise.
24088         (__mul): Use 0.0 instead of zero.d.
24089         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24090         mp_no value for 1.0 and 2.0.
24091         (norm): Use RADIXI instead of radixi.d.
24092         (denorm): Likewise.
24093         (__mul): Use 0.0 instead of zero.d.
24095 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
24097         [BZ #14994]
24098         * math/s_casinh.c (__casinh): Reduce finite argument to first
24099         quadrant then set signs of results at the end.
24100         * math/s_casinhf.c (__casinhf): Likewise.
24101         * math/s_casinhl.c (__casinhl): Likewise.
24102         * math/libm-test.inc (casin_test): Add more tests.
24103         (casinh_test): Likewise.
24104         * sysdeps/i386/fpu/libm-test-ulps: Update.
24105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24107 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24109         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24111         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24113         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24114         declarations.
24115         (denorm): Likewise.
24116         (__mp_dbl): Likewise.
24117         (__inv): Likewise.
24119         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24120         and adjust the header comment.
24122         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24123         variable name from declaration.
24125 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
24127         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24128         Initialize COMMON_CPUID_INDEX_7 element.
24129         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24130         (CPUID_RTM): Likewise.
24131         (HAS_RTM): Likewise.
24132         (COMMON_CPUID_INDEX_7): New enum.
24134 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
24136         [BZ #14981]
24137         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24138         size is zero, record memory as freed.
24140 2013-01-03  Andreas Jaeger  <aj@suse.de>
24142         * po/ia.po: Add new Interlingua translation.
24144 2012-01-03  Allan McRae  <allan@archlinux.org>
24146         * locale/programs/localedef.c: Fix description of '--posix' flag.
24148 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
24150         * NEWS: Update dates in second copyright notice.
24151         * README: Update copyright dates in example.
24152         * manual/libc.texinfo: Update copyright dates.
24153         * scripts/test-installation.pl: Update copyright date in --version
24154         output.
24156         * hurd/ctty-input.c: Fix copyright notice formatting.
24157         * hurd/ctty-output.c: Likewise.
24158         * hurd/dtable.c: Likewise.
24159         * hurd/hurd-raise.c: Likewise.
24160         * hurd/hurdprio.c: Likewise.
24161         * hurd/msgportdemux.c: Likewise.
24162         * misc/sys/file.h: Likewise.
24163         * misc/sys/ioctl.h: Likewise.
24164         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24165         * sysdeps/mach/hurd/chdir.c: Likewise.
24166         * sysdeps/mach/hurd/fchdir.c: Likewise.
24167         * sysdeps/mach/hurd/rename.c: Likewise.
24168         * sysdeps/mach/hurd/rmdir.c: Likewise.
24169         * sysdeps/mach/hurd/seekdir.c: Likewise.
24170         * sysdeps/mach/hurd/setsid.c: Likewise.
24171         * sysdeps/posix/wait3.c: Likewise.
24173         * All files with FSF copyright notices: Update copyright dates
24174         using scripts/update-copyrights.
24175         * intl/plural.c: Regenerated.
24176         * locale/programs/charmap-kw.h: Likewise.
24177         * locale/programs/locfile-kw.h: Likewise.
24179 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24181         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24182         four values.
24184         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24185         calculation loop and add branch prediction.
24187         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24188         check access beyond bounds of m1np.
24190         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24191         MPTWO.
24192         (__inv): Remove local variable MPTWO to use the global
24193         constant.
24194         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24195         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24196         variable MPTWO.
24197         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24198         MP3HALFS static const.
24200 2013-01-01  David S. Miller  <davem@davemloft.net>
24202         * po/ca.po: Update from translation team.
24204 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
24206         * scripts/update-copyrights: New file.
24207         * Makeconfig: Reformat copyright notice.
24208         * ctype/ctype.h: Likewise.
24209         * debug/swprintf_chk.c: Likewise.
24210         * elf/dl-cache.c: Likewise.
24211         * elf/dl-debug.c: Likewise.
24212         * elf/dl-object.c: Likewise.
24213         * grp/initgroups.c: Likewise.
24214         * hurd/Makefile: Likewise.
24215         * hurd/hurd/signal.h: Likewise.
24216         * hurd/hurdfault.c: Likewise.
24217         * hurd/hurdioctl.c: Likewise.
24218         * hurd/hurdlookup.c: Likewise.
24219         * hurd/intr-msg.c: Likewise.
24220         * iconv/gconv_open.c: Likewise.
24221         * libio/swprintf.c: Likewise.
24222         * locale/lc-ctype.c: Likewise.
24223         * locale/nl_langinfo.c: Likewise.
24224         * mach/Machrules: Likewise.
24225         * mach/Makefile: Likewise.
24226         * malloc/obstack.h: Likewise.
24227         * manual/Makefile: Likewise.
24228         * manual/tsort.awk: Likewise.
24229         * misc/bits/stab.def: Likewise.
24230         * nis/nis_print_group_entry.c: Likewise.
24231         * nis/nis_table.c: Likewise.
24232         * nis/nss_compat/compat-pwd.c: Likewise.
24233         * nis/nss_compat/compat-spwd.c: Likewise.
24234         * po/Makefile: Likewise.
24235         * posix/fnmatch.c: Likewise.
24236         * posix/regex.h: Likewise.
24237         * resolv/Makefile: Likewise.
24238         * resolv/nss_dns/dns-network.c: Likewise.
24239         * resolv/res_hconf.c: Likewise.
24240         * scripts/gen-sorted.awk: Likewise.
24241         * soft-fp/soft-fp.h: Likewise.
24242         * stdio-common/printf.h: Likewise.
24243         * stdlib/monetary.h: Likewise.
24244         * stdlib/random.c: Likewise.
24245         * stdlib/random_r.c: Likewise.
24246         * sysdeps/generic/Makefile: Likewise.
24247         * sysdeps/gnu/Makefile: Likewise.
24248         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24249         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24250         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24251         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24252         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24253         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24254         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24255         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24256         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24257         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24258         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24259         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24260         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24261         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24262         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24263         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24264         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24265         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24266         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24267         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24268         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24269         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24270         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24271         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24272         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24273         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24274         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24275         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24276         * sysdeps/mach/hurd/errnos.awk: Likewise.
24277         * sysdeps/mach/hurd/fork.c: Likewise.
24278         * sysdeps/mach/hurd/getcwd.c: Likewise.
24279         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24280         * sysdeps/mach/hurd/mmap.c: Likewise.
24281         * sysdeps/mach/hurd/utimes.c: Likewise.
24282         * sysdeps/mach/hurd/xmknod.c: Likewise.
24283         * sysdeps/posix/profil.c: Likewise.
24284         * sysdeps/posix/readdir_r.c: Likewise.
24285         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24286         * sysdeps/powerpc/bits/setjmp.h: Likewise.
24287         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24288         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24289         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24290         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24291         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24292         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24293         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24294         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24295         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24296         * sysdeps/pthread/lio_listio.c: Likewise.
24297         * sysdeps/sparc/dl-procinfo.h: Likewise.
24298         * sysdeps/unix/i386/sysdep.S: Likewise.
24299         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24300         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24301         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24302         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24304         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24305         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24306         * sysdeps/unix/sysv/linux/speed.c: Likewise.
24307         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24308         * sysdeps/wordsize-32/divdi3.c: Likewise.
24309         * time/sys/time.h: Likewise.
24310         * wcsmbs/Makefile: Likewise.
24312 2013-01-01  David S. Miller  <davem@davemloft.net>
24314         * po/fr.po: Update from translation team.
24316         * catgets/gencat.c: Update copyright year.
24317         * csu/version.c: Likewise.
24318         * debug/catchsegv.sh: Likewise.
24319         * debug/pcprofiledump.c: Likewise.
24320         * debug/xtrace.sh: Likewise.
24321         * elf/ldconfig.c: Likewise.
24322         * elf/ldd.bash.in: Likewise.
24323         * elf/pldd.c: Likewise.
24324         * elf/sotruss.ksh: Likewise.
24325         * elf/sprof.c: Likewise.
24326         * iconv/iconv_prog.c: Likewise.
24327         * iconv/iconvconfig.c: Likewise.
24328         * locale/programs/locale.c: Likewise.
24329         * locale/programs/localedef.c: Likewise.
24330         * login/programs/pt_chown.c: Likewise.
24331         * malloc/memusage.sh: Likewise.
24332         * malloc/memusagestat.c: Likewise.
24333         * malloc/mtrace.pl: Likewise.
24334         * nscd/nscd.c: Likewise.
24335         * nss/getent.c: Likewise.
24336         * nss/makedb.c: Likewise.
24337         * posix/getconf.c: Likewise.
24339 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24341         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24342         numbers.
24344 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
24346         * math/bits/mathcalls.h (modf): Use __nonnull.
24348 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24350         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24351         (split): Use macro CN instead of the bare value.
24352         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24353         could be used.
24354         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24355         instead of the bare value.
24356         (power1): Likewise.
24358 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24360         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24361         __ATAN_TWOM.
24362         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24364         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24365         their values.
24366         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24367         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24368         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24369         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24371 2012-12-28  Andreas Jaeger  <aj@suse.de>
24373         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
24374         values are from Linux 3.7.
24376         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24377         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
24379 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24381         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24382         TRUE case.
24384         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24385         (norm): Likewise.
24386         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24387         variables with preprocessor constants.
24388         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24389         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24390         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24392 2012-12-27  Bruno Haible  <bruno@clisp.org>
24394         [BZ #14317]
24395         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24396         only if needed.
24398 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24400         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24401         and use variable directly.
24402         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24404         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24405         MPONE.
24406         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24407         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24408         variable MPONE.
24409         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24410         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24411         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24412         include directive.  Remove local variable MPONE.
24413         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24414         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24415         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24417 2012-12-25  David S. Miller  <davem@davemloft.net>
24419         * version.h (RELEASE): Set to "development".
24420         (VERSION): Set to "2.17.90".
24421         * NEWS: Add 2.18 section.
24423 2012-12-21  David S. Miller  <davem@davemloft.net>
24425         * po/hr.po: Update from translation team.
24427 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24429         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24431 2012-12-19  Steve Ellcey  <sellcey@mips.com>
24433         * NEWS:  Mention new memcpy for MIPS.
24435 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24437         * manual/contrib.texi (Contributors): Spelling correction.
24439 2012-12-15  David S. Miller  <davem@davemloft.net>
24441         * po/ru.po: Update from translation team.
24443 2012-12-13  David S. Miller  <davem@davemloft.net>
24445         * NEWS: Mention IFUNC testsuite enhancements.
24447         * po/pl.po: Update from translation team.
24448         * po/bg.po: Likewise.
24450         * manual/contrib.texi (Contributors): Update entries for Hongjiu
24451         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
24453 2012-12-11  David S. Miller  <davem@davemloft.net>
24455         * po/sv.po: Update from translation team.
24457         * po/vi.po: Update from translation team.
24459         * po/cs.po: Update from translation team.
24461         * po/de.po: Update from translation team.
24462         * po/eo.po: Likewise.
24463         * po/nl.po: Likewise.
24465 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24467         [BZ #14246]
24468         * manual/argp.texi (Argp Helper Functions): Move node to follow
24469         Argp Parsing State.
24471         [BZ #14872]
24472         * manual/conf.texi (Limits on File System Capacity): Mention if
24473         terminating null is included in the max size.
24475 2012-12-10  Andreas Jaeger  <aj@suse.de>
24477         * po/cs.po: Update from translation team.
24479 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24481         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24482         void pointer and cast to uintptr_t.
24483         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24484         path.
24485         * sysdeps/s390/s390-64/memcpy.S: Likewise.
24486         * sysdeps/s390/s390-64/memset.S: Likewise.
24488 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
24490         [BZ #14833]
24491         * menual/message.texi (Message Translation): Fix typos.
24492         (Helper programs for gettext): Likewise.
24494 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
24496         [BZ #14898]
24497         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24498         Change to -1.
24500 2012-12-07  David S. Miller  <davem@davemloft.net>
24502         * po/libc.pot: Update.
24504 2012-12-07  Richard Henderson  <rth@redhat.com>
24506         [BZ #10114]
24507         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24508         normal/normal case to before the switch.
24509         (_FP_DIV): Likewise.
24511 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
24512             Mike Frysinger  <vapier@gentoo.org>
24514         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24515         check for __NR_fadvise64_64.
24517 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
24519         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24520         0, not just to plain "0" as a statement.
24521         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24522         with cw.
24524 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
24526         * NEWS: Use sourceware.org in Bugzilla URL.
24528 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24531         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24533         * stdio-common/tst-put-error.c (do_test): Add newline to the
24534         padded test to ensure flush.
24536 2012-12-05  Jeff Law  <law@redhat.com>
24538         * sunrpc/etc.rpc (fedfs_admin): Add entry.
24540 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
24542         * README: Don't refer to ports add-on as distributed separately.
24543         Mention AArch64 in list of systems supported in the ports add-on.
24545         * LICENSES: Add more non-FSF copyright and license notices.
24547         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24548         ((unused)).
24550         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24552         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24553         10000 as width of padded output.
24555 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24557         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24559         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24560         variable LX with __attribute__ ((unused)).
24561         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24562         Likewise.
24563         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24564         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24565         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24566         with __attribute__ ((unused)).
24568 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
24570         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24572 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24574         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24575         (CFLAGS-nldbl-acos.c): New variable.
24576         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24577         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24578         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24579         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24580         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24581         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24582         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24583         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24584         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24585         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24586         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24587         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24588         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24589         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24590         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24591         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24592         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24593         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24594         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24595         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24596         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24597         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24598         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24599         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24600         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24601         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24602         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24603         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24604         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24605         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24606         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24607         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24608         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24609         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24610         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24611         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24612         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24613         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24614         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24615         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24616         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24617         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24618         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24619         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24620         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24621         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24622         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24623         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24624         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24625         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24626         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24627         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24628         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24629         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24630         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24631         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24632         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24633         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24634         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24635         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24636         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24637         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24638         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24639         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24640         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24641         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24642         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24643         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24644         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24645         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24646         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24647         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24648         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24649         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24650         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24651         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24652         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24653         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24654         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24655         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24656         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24657         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24658         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24659         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24660         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24661         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24662         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24663         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24664         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24665         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24666         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24667         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24668         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24669         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24670         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24671         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24672         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24675         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24677         [BZ #14914]
24678         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24679         whole low double instead of just low 47 bits when splitting values
24680         into two parts.
24682 2012-12-03  Allan McRae  <allan@archlinux.org>
24684         * manual/stdio.texi (Predefined Printf Handlers): Remove
24685         @hsep and @vsep usage.
24687 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
24689         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24690         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24692 2012-12-03  Jeff Law  <law@redhat.com>
24694         * time/sys/time.h (settimeofday): Do not mark TV argument
24695         as __nonnull.
24697 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
24699         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24700         when currently writing and seek to current position when not.
24701         * libio/Makefile (tests): Remove bug-fclose1.
24702         * libio/bug-fclose1.c: Delete.
24704 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
24706         * manual/arith.texi (feenableexcept): Fix typo.
24707         (fedisableexcept): Likewise.
24709 2012-11-30  Roland McGrath  <roland@hack.frob.com>
24711         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24712         second, differently-typed declaration, rather than a cast.
24714 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24716         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24717         * include/rpc/svc.h: ... here.
24719 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
24721         [BZ #13013]
24722         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24723         depending n and resplen2 to catch cases where answer
24724         equals answerp2.
24726 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
24728         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24729         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24731 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
24733         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24735 2012-11-29  Roland McGrath  <roland@hack.frob.com>
24737         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24739 2012-11-28  Jeff Law  <law@redhat.com>
24741         [BZ #13761]
24742         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24743         dataset_temporary.  Track alloca usage into alloca_used.
24744         If dataset is large allocate and release it via malloc/free.
24746 2012-06-04  Florian Weimer  <fweimer@redhat.com>
24748         [BZ #14197]
24749         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24751 2012-11-28  David S. Miller  <davem@davemloft.net>
24753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24755 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
24757         [BZ #14803]
24758         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24759         of pi/2 rounded to nearest to 64 bits.
24760         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24761         nearest to 64 bits.
24762         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24763         bits.
24765 2012-11-28  Jeff Law <law@redhat.com>
24766             Martin Osvald <mosvald@redhat.com>
24768         [BZ #14889]
24769         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24770         * sunrpc/svc.c: Include time.h.
24771         (__svc_accept_failed): New function.
24772         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24773         any reason other than EINTR, call __svc_accept_failed.
24774         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24775         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24777 2012-11-28  Andreas Schwab  <schwab@suse.de>
24779         * scripts/abilist.awk: Also handle indirect functions in .opd
24780         section.
24782 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
24784         [BZ #13881]
24785         * sysdeps/x86/fpu/powl_helper.c: New file.
24786         * sysdeps/x86/fpu/Makefile: Likewise.
24787         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24788         (p3): New object.
24789         (__ieee754_powl): Use __powl_helper for finite arguments except
24790         integer exponents below 8.
24791         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24792         (p3): New object.
24793         (__ieee754_powl): Use __powl_helper for finite arguments except
24794         integer exponents below 8.
24795         * math/libm-test.inc (pow_test): Add more tests and enable some
24796         previously disabled tests.
24797         * sysdeps/i386/fpu/libm-test-ulps: Update.
24798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24800 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24801             Carlos O'Donell  <carlos_odonell@mentor.com>
24803         * nss/makedb.c (is_prime): Assert that input is odd and greater
24804         than 4.  Note that fact in a comment too.
24805         (next_prime): Add 4 to input.
24807 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24809         [BZ #11741]
24810         * libio/Makefile (tests): Add test case tst-fwrite-error.
24811         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24812         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24813         * libio/tst-fwrite-error.c: New test case.
24815 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
24817         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24818         before casting to void *.
24819         * include/libc-internal.h (__pointer_type): New macro.
24820         (__integer_if_pointer_type_sub): Likewise.
24821         (__integer_if_pointer_type): Likewise.
24822         (cast_to_integer): Likewise.
24823         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24824         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24825         before casting to atomic64_t.
24826         (atomic_exchange_acq): Likewise.
24827         (__arch_exchange_and_add_body): Likewise.
24828         (__arch_add_body): Likewise.
24829         (atomic_add_negative): Likewise.
24830         (atomic_add_zero): Likewise.
24832 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
24834         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24835         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24836         (add_fdes): Likewise.
24837         (linear_search_fdes): Likewise.
24838         (binary_search_unencoded_fdes): Likewise.
24840 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
24842         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24844 2012-11-24  Adam Conrad  <adconrad@0c3.net>
24846         * configure.in: Autodetect C++ header directories.
24847         * configure: Regenerated.
24849 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
24851         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24853 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
24855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24857 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
24859         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24860         LDBL_MANT_DIG == 106]: Disable some tests.
24861         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24862         Likewise.
24863         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24864         Likewise.
24866         [BZ #14871]
24867         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24868         input for small inputs.  Return +/- pi/2 for large inputs.
24869         * math/libm-test.inc (atan_test): Add more tests.
24871         * sysdeps/generic/unwind-dw2-fde-glibc.c
24872         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24873         __attribute__ ((unused)).
24875         [BZ #14645]
24876         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24877         x * y if x and y are nonzero and z is zero.
24879         [BZ #14811]
24880         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24881         nonzero exponents with absolute value below 0x1p-117 to +/-
24882         0x1p-117.
24884         [BZ #14869]
24885         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24886         up arguments below 2**-450, not just those below 2**-500.
24887         * math/libm-test.inc (hypot_test): Add another test.
24889         [BZ #14868]
24890         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24891         Return a+b for ratio over 2**120, not 2**60.
24892         * math/libm-test.inc (hypot_test): Add another test.
24894         * math/libm-test.inc (clog_test): Use
24895         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24896         (clog10_test): Likewise.
24898         [BZ #6778]
24899         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24901 2012-11-22  Andreas Schwab  <schwab@suse.de>
24903         * sysdeps/i386/fpu/libm-test-ulps: Update.
24905 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
24907         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24908         printf output with newline.
24910 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
24912         [BZ #14865]
24913         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24914         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24915         -z nodlopen, -z initfirst and -z execstack support.
24916         * configure: Regenerated.
24918         * elf/elf.h (DF_1_NODIRECT): New macro.
24919         (DF_1_IGNMULDEF): Likewise.
24920         (DF_1_NOKSYMS): Likewise.
24921         (DF_1_NOHDR): Likewise.
24922         (DF_1_EDITED): Likewise.
24923         (DF_1_NORELOC): Likewise.
24924         (DF_1_SYMINTPOSE): Likewise.
24925         (DF_1_GLOBAUDIT): Likewise.
24926         (DF_1_SINGLETON): Likewise.
24927         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24928         DT_1_SUPPORTED_MASK bits.
24929         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24931 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
24933         * sysdeps/unix/make-syscalls.sh: Document prefixes.
24935 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
24937         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24938         macro.
24940         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24941         (sendmmsg): Move declarations...
24942         * socket/sys/socket.h: ... here.
24943         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24944         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24945         include it from...
24946         * socket/recvmmsg.c: ... this new file.
24947         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24948         (sendmmsg): Rename to __sendmmsg, create weak alias and make
24949         definition of __sendmmsg hidden.
24950         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24951         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24952         Move ENOSYS stub into and include it from...
24953         * socket/sendmmsg.c: ... this new file.
24954         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24955         (sysdep_routines): Move recvmmsg and sendmmsg...
24956         * socket/Makefile (routines): ... here.
24957         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24958         (GLIBC_PRIVATE): Add __sendmmsg.
24959         * include/sys/socket.h (__sendmmsg): Add declarations.
24960         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24961         sendmmsg.
24963 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
24965         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24966         variable I1 with __attribute__ ((unused)).
24967         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24969 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
24971         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24972         DUMMY variables with __attribute__ ((unused)).
24974         * bits/byteswap.h: Include <bits/types.h>.
24975         (__bswap_64): Use __uint64_t instead of unsigned long long int.
24977 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
24979         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24980         string_t.  Do not manually set errno.
24981         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24982         length with __strnlen.  Make sure to both set errno and return it on
24983         failure.
24985 2012-11-19  David S. Miller  <davem@davemloft.net>
24987         With help from Joseph Myers.
24988         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24989         very large arguments properly.
24990         * math/libm-test.inc (atan_test): New tests.
24991         (atan2_test): New tests.
24992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24993         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24995 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
24997         [BZ #14856]
24998         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24999         Define to 3.
25001         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25002         [POSIX] (EADDRNOTAVAIL): Likewise.
25003         [POSIX] (EAFNOSUPPORT): Likewise.
25004         [POSIX] (EALREADY): Likewise.
25005         [POSIX] (ECONNABORTED): Likewise.
25006         [POSIX] (ECONNREFUSED): Likewise.
25007         [POSIX] (ECONNRESET): Likewise.
25008         [POSIX] (EDESTADDRREQ): Likewise.
25009         [POSIX] (EDQUOT): Likewise.
25010         [POSIX] (EHOSTUNREACH): Likewise.
25011         [POSIX] (EIDRM): Likewise.
25012         [POSIX] (EISCONN): Likewise.
25013         [POSIX] (ELOOP): Likewise.
25014         [POSIX] (EMULTIHOP): Likewise.
25015         [POSIX] (ENETDOWN): Likewise.
25016         [POSIX] (ENETUNREACH): Likewise.
25017         [POSIX] (ENOBUFS): Likewise.
25018         [POSIX] (ENODATA): Likewise.
25019         [POSIX] (ENOLINK): Likewise.
25020         [POSIX] (ENOMSG): Likewise.
25021         [POSIX] (ENOPROTOOPT): Likewise.
25022         [POSIX] (ENOSR): Likewise.
25023         [POSIX] (ENOSTR): Likewise.
25024         [POSIX] (ENOTCONN): Likewise.
25025         [POSIX] (ENOTSOCK): Likewise.
25026         [POSIX] (EOPNOTSUPP): Likewise.
25027         [POSIX] (EOVERFLOW): Likewise.
25028         [POSIX] (EPROTO): Likewise.
25029         [POSIX] (EPROTONOSUPPORT): Likewise.
25030         [POSIX] (EPROTOTYPE): Likewise.
25031         [POSIX] (ESTALE): Likewise.
25032         [POSIX] (ETIME): Likewise.
25033         [POSIX] (ETXTBSY): Likewise.
25034         [POSIX] (EWOULDBLOCK): Likewise.
25035         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25036         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25037         [POSIX] (SEEK_CUR): Likewise.
25038         [POSIX] (SEEK_END): Likewise.
25039         [POSIX || UNIX98] (mode_t): Do not require.
25040         [POSIX] (off_t): Likewise.
25041         [POSIX] (pid_t): Likewise.
25042         [POSIX] (sys/stat.h): Do not allow header.
25043         [POSIX] (unistd.h): Likewise.
25044         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25045         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25046         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25047         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25048         require.
25049         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25050         sigevent): Specify elements.
25051         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25052         entry.
25053         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25054         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25056         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25057         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25058         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25059         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25060         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25061         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25062         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25063         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25064         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25065         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25066         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25067         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25068         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25069         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25070         Likewise.
25071         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25072         Likewise.
25073         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25074         Likewise.
25075         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25076         Likewise.
25077         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25078         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25079         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25080         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25081         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25082         Specify lower bound on value.
25083         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25084         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25085         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25086         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25087         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25088         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25089         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25090         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25091         value.
25092         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25093         as optional.
25094         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25095         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25096         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25097         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25098         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25099         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25100         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25101         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25102         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25103         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25104         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25105         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25106         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25107         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25108         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25109         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25110         entry.
25111         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25112         optional.
25113         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25114         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25115         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25116         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25117         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25118         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25119         Likewise.
25120         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25121         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25122         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25123         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25124         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
25125         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25126         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25127         as optional.
25128         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25129         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25130         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25131         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25132         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25133         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25134         specify as optional.
25135         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25136         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25137         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25138         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25139         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25140         [XPG3] (NL_LANGMAX): Likewise.
25141         [POSIX || XPG3] (NL_MSGMAX): Likewise.
25142         [POSIX || XPG3] (NL_NMAX): Likewise.
25143         [POSIX || XPG3] (NL_SETMAX): Likewise.
25144         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25145         [XPG3] (NZERO): Likewise.
25146         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25147         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25148         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25149         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25150         (REG_ERANGE): Expect.
25151         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25152         optional-constant.
25153         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25154         Use (void) in prototype.
25155         [POSIX] (*_t): Allow.
25156         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25157         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25158         (WRDE_BADVAL): Expect.
25160         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25161         expect.
25162         [XPG3 || XPG4] (O_RSYNC): Likewise.
25163         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25164         Likewise.
25165         [XPG3 || XPG4] (pthread_sigmask): Likewise.
25166         [XPG3 || XPG4] (sigqueue): Likewise.
25167         [XPG3 || XPG4] (sigtimedwait): Likewise.
25168         [XPG3 || XPG4] (sigwaitinfo): Likewise.
25169         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25170         [XPG3 || XPG4] (vsnprintf): Likewise.
25171         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25172         Likewise.
25173         [XPG3 || XPG4] (blksize_t): Likewise.
25174         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25175         Likewise.
25176         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25177         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25178         [XPG3 || XPG4] (struct itimerspec): Likewise.
25179         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25180         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25181         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25182         [XPG3 || XPG4] (clockid_t): Likewise.
25183         [XPG3 || XPG4] (timer_t): Likewise.
25184         [XPG3 || XPG4] (clock_getres): Likewise.
25185         [XPG3 || XPG4] (clock_gettime): Likewise.
25186         [XPG3 || XPG4] (clock_settime): Likewise.
25187         [XPG3 || XPG4] (nanosleep): Likewise.
25188         [XPG3 || XPG4] (timer_create): Likewise.
25189         [XPG3 || XPG4] (timer_delete): Likewise.
25190         [XPG3 || XPG4] (timer_gettime): Likewise.
25191         [XPG3 || XPG4] (timer_getoverrun): Likewise.
25192         [XPG3 || XPG4] (timer_settime): Likewise.
25193         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25194         [XPG3 || XPG4] (getlogin_r): Likewise.
25195         [XPG3 || XPG4] (pread): Likewise.
25196         [XPG3 || XPG4] (pthread_atfork): Likewise.
25197         [XPG3 || XPG4] (pwrite): Likewise.
25199         [BZ #14835]
25200         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25201         <bits/siginfo.h>.
25203 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25205         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25206         finalizing MALLSTREAM.
25208         * sysdeps/mach/hurd/syncfs.c: New file.
25210 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25212         [BZ #14719]
25213         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25214         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25215         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25216         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25217         (_nss_dns_gethostbyname4_r): Likewise.
25218         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25219         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25221 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
25223         [BZ #13763]
25224         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25226 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
25228         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25229         * elf/cache.c (print_entry): Print ",AArch64" for
25230         FLAG_AARCH64_LIB64
25232         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25233         * elf/cache.c (print_entry): Print ",hard-float" for
25234         FLAG_ARM_LIBHF.
25236 2012-11-18  David S. Miller  <davem@davemloft.net>
25238         With help from Joseph Myers.
25239         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25240         cutoff to 2**-13.
25241         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25242         cutoff to 2**-25.
25243         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25244         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25245         small.
25246         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25247         * math/libm-test.inc (y0_test): New tests.
25248         (y1_test): New tests.
25249         * sysdeps/i386/fpu/libm-test-ulps: Update.
25250         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25253 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
25255         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25256         64-bit targets.
25257         * configure: Regenerated.
25259 2012-11-17  David S. Miller  <davem@davemloft.net>
25261         [BZ #14811]
25262         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25263         nonzero exponents with absolute value below 0x1p-128 to +/-
25264         0x1p-128.
25266 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
25268         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25270         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25272         * posix/getconf-speclist.c: New file.
25273         * posix/posix-envs.def: Likewise.
25274         * posix/confstr.c (START_ENV_GROUP): New macro.
25275         (END_ENV_GROUP): Likewise.
25276         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25277         (KNOWN_PRESENT_ENV_STRING): Likewise.
25278         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25279         (UNKNOWN_ENVIRONMENT): Likewise.
25280         (confstr): Include posix-envs.def instead of handling
25281         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25282         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25283         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25284         (END_ENV_GROUP): Likewise.
25285         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25286         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25287         (UNKNOWN_ENVIRONMENT): Likewise.
25288         (__sysconf): Include posix-envs.def instead of handling associated
25289         cases directly here.
25290         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25291         preprocessing getconf-speclist.c rather than running getconf or
25292         generating empty file.
25294 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
25296         * scripts/check-local-headers.sh: Ignore 'mach' headers.
25298 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
25300         [BZ #14672]
25301         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25303 2012-11-16  David S. Miller  <davem@davemloft.net>
25305         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25306         smaller than LDBL_EPSILON/2.0L, just return xm1.
25308 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
25310         * elf/tst-array1.c (init): Set constructor priority to 1000.
25311         (fini): Set destructor priority to 1000.
25312         * elf/tst-array2dep.c: Likewise.
25314 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25316         [BZ #11741]
25317         * libio/fileops.c (_IO_new_file_write): Correctly return error.
25318         (_IO_new_file_xsputn): Also return EOF if none of the input
25319         data was written when overflow failed.
25320         * libio/iopadn.c (_IO_padn): Likewise.
25321         * libio/iowpadn.c (_IO_wpadn): Likewise.
25322         * stdio-common/tst-put-error.c: Add copyright notice.
25323         (do_test): Add case for printing padded string.
25324         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25325         _IO_padn returned error.
25326         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25327         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25328         return EOF.
25330 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25332         * libio/libioP.h: Add comment note that the references to C++
25333         bits are now obsolete.
25335 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25337         * math/libm-test.inc (check_complex): Use asprintf.
25339 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
25341         * debug/pcprofiledump.c (print_version): Update copyright year.
25342         * malloc/memusagestat.c (print_version): Likewise.
25344 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
25346         [BZ #14831]
25347         * elf/Makefile (tests): Add tst-audit8.
25348         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25349         ($(objpfx)tst-audit8.out): New target.
25350         (tst-audit8-ENV): New variable.
25351         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25352         audit if l_reloc_result is NULL.
25353         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25354         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25355         * elf/tst-audit8.c: New file.
25357 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25359         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25360         * misc/Makefile (CFLAGS-select.c): Define.
25361         * posix/Makefile (CFLAGS-pause.c): Define.
25363 2012-11-13  David S. Miller  <davem@davemloft.net>
25365         * crypt/Makefile: Move test targets after toplevel Rules
25366         inclusion.  Grab any necessary sysdep routines when linking.
25367         * crypt/md5.c (md5_process_block): Remove define, we will always
25368         name it __md5_process_block.
25369         (md5_finish_ctx): Update md5_process_block call.
25370         (md5_stream): Likewise.
25371         (md5_process_bytes): Likewise.
25372         (md5_process_block): Rename to __md5_process_block and move to ...
25373         * crypt/md5-block.c: ... here.
25374         * crypt/sha256.c (sha256_process_block): Move to ...
25375         * crypt/sha256-block.c: ... here.
25376         * crypt/sha512.c (sha512_process_block): Move to ...
25377         * crypt/sha512-block.c: ... here.
25378         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25379         path.
25380         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25381         * sysdeps/sparc/sparc64/multiarch/Makefile
25382         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25383         crypt subdir.
25384         (localedef-aux): Add md5 crypto assembler when in locale subdir.
25385         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25386         multiarch changes.
25387         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25388         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25389         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25390         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25391         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25392         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25393         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25394         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25395         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25396         file.
25397         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25398         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25399         file.
25400         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25402 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
25404         * timezone/tzselect.ksh: Update from tzcode git revision
25405         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25406         * timezone/zdump.c: Likewise.
25407         * timezone/zic.c: Likewise.
25408         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25409         in TZVERSION setting, not $(PKGVERSION).
25410         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
25411         REPORT_BUGS_TO settings.
25413         [BZ #14838]
25414         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25415         macro.
25417 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25419         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25420         detection to immediately after _FP_ROUND().
25421         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25422         bits are 0.
25424 2012-11-11  David S. Miller  <davem@davemloft.net>
25426         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25427         inttypes.h
25428         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25429         __close rather than their public counterparts.
25431 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
25433         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25434         file.
25435         [UNIX98] (sem_timedwait): Do not expect.
25436         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25437         [XPG4 || UNIX98] (sockatmark): Do not expect.
25438         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25439         (clock_getcpuclockid): Do not expect.
25440         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25441         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25442         Do not expect.
25443         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25444         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25445         [UNIX98] (vwscanf): Likewise.
25446         [UNIX98] (vswscanf): Likewise.
25448 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
25450         * timezone/version.h: Remove file.
25451         * timezone/README: Do not refer to version.h.
25452         * timezone/Makefile ($(objpfx)zic.o): New dependency on
25453         $(objpfx)version.h.
25454         ($(objpfx)zdump.o): Likewise.
25455         ($(objpfx)version.h): New target.
25457         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25458         2012i.
25459         * timezone/README: Don't mention modification to tzselect.ksh.
25460         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25461         work on unmodified tzselect.ksh.  Substitute version numbers in
25462         tzselect.ksh.
25464         * Makefile (format-me): Remove.
25465         (INSTALL): Adjust indentation.  Use commands directly instead of
25466         using $(format-me).
25468         * aclocal.m4 (ACX_PKGVERSION): New macro.
25469         (ACX_BUGURL): Likewise.
25470         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25471         (PKGVERSION): New AC_DEFINE_UNQUOTED.
25472         (REPORT_BUGS_TO): Likewise.
25473         * configure: Regenerated.
25474         * config.h.in (PKGVERSION): New macro.
25475         (REPORT_BUGS_TO): Likewise.
25476         * config.make.in (PKGVERSION): New variable.
25477         (PKGVERSION_TEXI): Likewise.
25478         (REPORT_BUGS_TO): Likewise.
25479         (REPORT_BUGS_TEXI): Likewise.
25480         * Makefile (format-me): Use -I$(common-objpfx)manual.
25481         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25482         ($(common-objpfx)manual/%): New target.
25483         (manual/%): Remove target.
25484         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25485         (print_version): Use PKGVERSION.
25486         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25487         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25488         and REPORT_BUGS_TO.
25489         ($(objpfx)xtrace): Likewise.
25490         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25491         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25492         (print_version): Use PKGVERSION.
25493         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25494         (do_version): Use PKGVERSION.
25495         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25496         REPORT_BUGS_TO.
25497         (common-ldd-rewrite): Likewise.
25498         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25499         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25500         (print_version): Use PKGVERSION.
25501         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25502         * elf/pldd.c (argp_program_bug_address): Remove variable.
25503         (more_help): New function.
25504         (argp): Use more_help.
25505         (print_version): Use PKGVERSION.
25506         * elf/sln.c (main): Use PKGVERSION.
25507         (usage): Use REPORT_BUGS_TO.
25508         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25509         (top level): Use PKGVERSION.
25510         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25511         (print_version): Use PKGVERSION.
25512         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25513         (print_version): Use PKGVERSION.
25514         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25515         (print_version): Use PKGVERSION.
25516         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25517         (print_version): Use PKGVERSION.
25518         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25519         (print_version): Use PKGVERSION.
25520         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25521         (print_version): Use PKGVERSION.
25522         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25523         and BUGURL.
25524         ($(objpfx)memusage): Likewise.
25525         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25526         (do_version): Use PKGVERSION.
25527         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25528         (print_version): Use PKGVERSION.
25529         * malloc/mtrace.pl ($PACKAGE): Remove variable.
25530         ($PKGVERSION): New variable.
25531         ($REPORT_BUGS_TO): Likewise.
25532         (usage): Use $REPORT_BUGS_TO.
25533         (top level): Use $PKGVERSION.
25534         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25535         ($(objpfx)pkgvers.texi): New rule.
25536         ($(objpfx)stamp-pkgvers): Likewise.
25537         * manual/install.texi: Include pkgvers.texi.
25538         (--with-pkgversion): Document new configure option.
25539         (--with-bugurl): Likewise.
25540         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25541         than necessarily for this particular distribution.  Use
25542         REPORT_BUGS_TO for where to report bugs.
25543         * INSTALL: Regenerated.
25544         * manual/libc.texinfo: Include pkgvers.texi.
25545         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25546         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25547         (print_version): Use PKGVERSION.
25548         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25549         (print_version): Use PKGVERSION.
25550         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25551         (print_version): Use PKGVERSION.
25552         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25553         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25554         macro.
25555         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25556         (print_version): Use PKGVERSION.
25557         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25558         (print_version): Use PKGVERSION.
25559         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25560         and PKGVERSION.
25562         * timezone/checktab.awk: Update from tzcode 2012i.
25563         * timezone/ialloc.c: Likewise.
25564         * timezone/private.h: Likewise.
25565         * timezone/scheck.c: Likewise.
25566         * timezone/tzfile.h: Likewise.
25567         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25568         (TZVERSION): Hardcode tzcode version number.
25569         * timezone/zdump.c: Update from tzcode 2012i.
25570         * timezone/zic.c: Likewise.
25571         * timezone/version.h: New file.
25572         * timezone/README: Describe version.h.  Update upstream location.
25574         [BZ #14824]
25575         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25576         (mktemp): Enable declaration.
25577         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25578         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25579         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25580         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25581         Likewise.
25582         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25583         Likewise.
25584         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25585         Likewise.
25586         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25587         Likewise.
25588         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25589         Likewise.
25590         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25591         Likewise.
25593         [BZ #14821]
25594         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25595         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
25596         for copies of such integer values.
25597         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25598         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25600 2012-11-09  Andreas Jaeger  <aj@suse.de>
25602         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25603         definitions and declarations that are provided by
25604         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25606 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25608         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25609         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25610         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25611         definition.
25613 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25615         * elf/elf.h: Update comment before AArch64 relocations.
25617 2012-11-07  David S. Miller  <davem@davemloft.net>
25619         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25620         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25621         (__start_context): Declare.
25622         (__makecontext_ret): Delete.
25623         (__makecontext): Hook up __start_context instead of
25624         __makecontext_ret.
25625         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25626         (sysdep_routines): Add __start_context when in stdlib.
25628 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25630         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25631         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25632         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
25633         hardcoded "nm".
25634         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
25635         (READELF): New variable.  Use it instead of hardcoded "readelf".
25637 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25639         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25640         * sysdeps/x86/Makefile: Here.
25641         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25642         * sysdeps/x86/tst-xmmymm.sh: This.
25644 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25646         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25647         expectations.
25648         [UNIX98] (pthread_barrier_t): Do not expect.
25649         [UNIX98] (pthread_barrierattr_t): Likewise.
25650         [UNIX98] (pthread_spinlock_t): Likewise.
25651         [UNIX98] (pthread_barrier_destroy): Likewise.
25652         [UNIX98] (pthread_barrier_init): Likewise.
25653         [UNIX98] (pthread_barrier_wait): Likewise.
25654         [UNIX98] (pthread_barrierattr_destroy): Likewise.
25655         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25656         [UNIX98] (pthread_barrierattr_init): Likewise.
25657         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25658         [UNIX98] (pthread_getcpuclockid): Likewise.
25659         [UNIX98] (pthread_mutex_timedlock): Likewise.
25660         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25661         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25662         [UNIX98] (pthread_sigmask): Likewise.
25663         [UNIX98] (pthread_spin_destroy): Likewise.
25664         [UNIX98] (pthread_spin_init): Likewise.
25665         [UNIX98] (pthread_spin_lock): Likewise.
25666         [UNIX98] (pthread_spin_trylock): Likewise.
25667         [UNIX98] (pthread_spin_unlock): Likewise.
25668         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25669         Do not expect.
25670         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25671         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25672         [XPG3 || XPG4] (pthread_cond_t): Likewise.
25673         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25674         [XPG3 || XPG4] (pthread_key_t): Likewise.
25675         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25676         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25677         [XPG3 || XPG4] (pthread_once_t): Likewise.
25678         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25679         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25680         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25681         [XPG3 || XPG4] (pthread_t): Likewise.
25683         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25684         not expect.
25685         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25687         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25688         Change function return type to int.
25690         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25691         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25692         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25693         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25694         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25695         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25696         [!POSIX] (posix_madvise): Likewise.
25697         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25698         && !UNIX98].
25699         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25700         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25701         (mode_t): Likewise.
25702         (posix_mem_offset): Likewise.
25703         (posix_typed_mem_get_info): Likewise.
25704         (posix_typed_mem_open): Likewise.
25706         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25707         Change condition to [XOPEN2K8].
25709         * conform/conformtest.pl: Preprocess allow-header data with -x c
25710         instead of from stdin.
25711         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25712         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25713         [C99-based standards] (cerfc): Likewise.
25714         [C99-based standards] (cexp2): Likewise.
25715         [C99-based standards] (cexpm1): Likewise.
25716         [C99-based standards] (clog10): Likewise.
25717         [C99-based standards] (clog1p): Likewise.
25718         [C99-based standards] (clog2): Likewise.
25719         [C99-based standards] (clgamma): Likewise.
25720         [C99-based standards] (ctgamma): Likewise.
25721         [C99-based standards] (cerff): Likewise.
25722         [C99-based standards] (cerfcf): Likewise.
25723         [C99-based standards] (cexp2f): Likewise.
25724         [C99-based standards] (cexpm1f): Likewise.
25725         [C99-based standards] (clog10f): Likewise.
25726         [C99-based standards] (clog1pf): Likewise.
25727         [C99-based standards] (clog2f): Likewise.
25728         [C99-based standards] (clgammaf): Likewise.
25729         [C99-based standards] (ctgammaf): Likewise.
25730         [C99-based standards] (cerfl): Likewise.
25731         [C99-based standards] (cerfcl): Likewise.
25732         [C99-based standards] (cexp2l): Likewise.
25733         [C99-based standards] (cexpm1l): Likewise.
25734         [C99-based standards] (clog10l): Likewise.
25735         [C99-based standards] (clog1pl): Likewise.
25736         [C99-based standards] (clog2l): Likewise.
25737         [C99-based standards] (clgammal): Likewise.
25738         [C99-based standards] (ctgammal): Likewise.
25739         * conform/data/inttypes.h-data [C99-based standards]: Include
25740         stdint.h-data.  Remove all expectations for stdint.h contents.
25741         [C99-based standards] (PRI*): Do not allow.
25742         [C99-based standards] (SCN*): Likewise.
25743         [C99-based standards] (*_t): Likewise.
25744         [C99-based-standards] (PRId8): Expect macro.
25745         [C99-based-standards] (PRIi8): Likewise.
25746         [C99-based-standards] (PRIo8): Likewise.
25747         [C99-based-standards] (PRIu8): Likewise.
25748         [C99-based-standards] (PRIx8): Likewise.
25749         [C99-based-standards] (PRIX8): Likewise.
25750         [C99-based-standards] (SCNd8): Likewise.
25751         [C99-based-standards] (SCNi8): Likewise.
25752         [C99-based-standards] (SCNo8): Likewise.
25753         [C99-based-standards] (SCNu8): Likewise.
25754         [C99-based-standards] (SCNx8): Likewise.
25755         [C99-based-standards] (PRIdLEAST8): Likewise.
25756         [C99-based-standards] (PRIiLEAST8): Likewise.
25757         [C99-based-standards] (PRIoLEAST8): Likewise.
25758         [C99-based-standards] (PRIuLEAST8): Likewise.
25759         [C99-based-standards] (PRIxLEAST8): Likewise.
25760         [C99-based-standards] (PRIXLEAST8): Likewise.
25761         [C99-based-standards] (SCNdLEAST8): Likewise.
25762         [C99-based-standards] (SCNiLEAST8): Likewise.
25763         [C99-based-standards] (SCNoLEAST8): Likewise.
25764         [C99-based-standards] (SCNuLEAST8): Likewise.
25765         [C99-based-standards] (SCNxLEAST8): Likewise.
25766         [C99-based-standards] (PRIdFAST8): Likewise.
25767         [C99-based-standards] (PRIiFAST8): Likewise.
25768         [C99-based-standards] (PRIoFAST8): Likewise.
25769         [C99-based-standards] (PRIuFAST8): Likewise.
25770         [C99-based-standards] (PRIxFAST8): Likewise.
25771         [C99-based-standards] (PRIXFAST8): Likewise.
25772         [C99-based-standards] (SCNdFAST8): Likewise.
25773         [C99-based-standards] (SCNiFAST8): Likewise.
25774         [C99-based-standards] (SCNoFAST8): Likewise.
25775         [C99-based-standards] (SCNuFAST8): Likewise.
25776         [C99-based-standards] (SCNxFAST8): Likewise.
25777         [C99-based-standards] (PRId16): Likewise.
25778         [C99-based-standards] (PRIi16): Likewise.
25779         [C99-based-standards] (PRIo16): Likewise.
25780         [C99-based-standards] (PRIu16): Likewise.
25781         [C99-based-standards] (PRIx16): Likewise.
25782         [C99-based-standards] (PRIX16): Likewise.
25783         [C99-based-standards] (SCNd16): Likewise.
25784         [C99-based-standards] (SCNi16): Likewise.
25785         [C99-based-standards] (SCNo16): Likewise.
25786         [C99-based-standards] (SCNu16): Likewise.
25787         [C99-based-standards] (SCNx16): Likewise.
25788         [C99-based-standards] (PRIdLEAST16): Likewise.
25789         [C99-based-standards] (PRIiLEAST16): Likewise.
25790         [C99-based-standards] (PRIoLEAST16): Likewise.
25791         [C99-based-standards] (PRIuLEAST16): Likewise.
25792         [C99-based-standards] (PRIxLEAST16): Likewise.
25793         [C99-based-standards] (PRIXLEAST16): Likewise.
25794         [C99-based-standards] (SCNdLEAST16): Likewise.
25795         [C99-based-standards] (SCNiLEAST16): Likewise.
25796         [C99-based-standards] (SCNoLEAST16): Likewise.
25797         [C99-based-standards] (SCNuLEAST16): Likewise.
25798         [C99-based-standards] (SCNxLEAST16): Likewise.
25799         [C99-based-standards] (PRIdFAST16): Likewise.
25800         [C99-based-standards] (PRIiFAST16): Likewise.
25801         [C99-based-standards] (PRIoFAST16): Likewise.
25802         [C99-based-standards] (PRIuFAST16): Likewise.
25803         [C99-based-standards] (PRIxFAST16): Likewise.
25804         [C99-based-standards] (PRIXFAST16): Likewise.
25805         [C99-based-standards] (SCNdFAST16): Likewise.
25806         [C99-based-standards] (SCNiFAST16): Likewise.
25807         [C99-based-standards] (SCNoFAST16): Likewise.
25808         [C99-based-standards] (SCNuFAST16): Likewise.
25809         [C99-based-standards] (SCNxFAST16): Likewise.
25810         [C99-based-standards] (PRId32): Likewise.
25811         [C99-based-standards] (PRIi32): Likewise.
25812         [C99-based-standards] (PRIo32): Likewise.
25813         [C99-based-standards] (PRIu32): Likewise.
25814         [C99-based-standards] (PRIx32): Likewise.
25815         [C99-based-standards] (PRIX32): Likewise.
25816         [C99-based-standards] (SCNd32): Likewise.
25817         [C99-based-standards] (SCNi32): Likewise.
25818         [C99-based-standards] (SCNo32): Likewise.
25819         [C99-based-standards] (SCNu32): Likewise.
25820         [C99-based-standards] (SCNx32): Likewise.
25821         [C99-based-standards] (PRIdLEAST32): Likewise.
25822         [C99-based-standards] (PRIiLEAST32): Likewise.
25823         [C99-based-standards] (PRIoLEAST32): Likewise.
25824         [C99-based-standards] (PRIuLEAST32): Likewise.
25825         [C99-based-standards] (PRIxLEAST32): Likewise.
25826         [C99-based-standards] (PRIXLEAST32): Likewise.
25827         [C99-based-standards] (SCNdLEAST32): Likewise.
25828         [C99-based-standards] (SCNiLEAST32): Likewise.
25829         [C99-based-standards] (SCNoLEAST32): Likewise.
25830         [C99-based-standards] (SCNuLEAST32): Likewise.
25831         [C99-based-standards] (SCNxLEAST32): Likewise.
25832         [C99-based-standards] (PRIdFAST32): Likewise.
25833         [C99-based-standards] (PRIiFAST32): Likewise.
25834         [C99-based-standards] (PRIoFAST32): Likewise.
25835         [C99-based-standards] (PRIuFAST32): Likewise.
25836         [C99-based-standards] (PRIxFAST32): Likewise.
25837         [C99-based-standards] (PRIXFAST32): Likewise.
25838         [C99-based-standards] (SCNdFAST32): Likewise.
25839         [C99-based-standards] (SCNiFAST32): Likewise.
25840         [C99-based-standards] (SCNoFAST32): Likewise.
25841         [C99-based-standards] (SCNuFAST32): Likewise.
25842         [C99-based-standards] (SCNxFAST32): Likewise.
25843         [C99-based-standards] (PRId64): Likewise.
25844         [C99-based-standards] (PRIi64): Likewise.
25845         [C99-based-standards] (PRIo64): Likewise.
25846         [C99-based-standards] (PRIu64): Likewise.
25847         [C99-based-standards] (PRIx64): Likewise.
25848         [C99-based-standards] (PRIX64): Likewise.
25849         [C99-based-standards] (SCNd64): Likewise.
25850         [C99-based-standards] (SCNi64): Likewise.
25851         [C99-based-standards] (SCNo64): Likewise.
25852         [C99-based-standards] (SCNu64): Likewise.
25853         [C99-based-standards] (SCNx64): Likewise.
25854         [C99-based-standards] (PRIdLEAST64): Likewise.
25855         [C99-based-standards] (PRIiLEAST64): Likewise.
25856         [C99-based-standards] (PRIoLEAST64): Likewise.
25857         [C99-based-standards] (PRIuLEAST64): Likewise.
25858         [C99-based-standards] (PRIxLEAST64): Likewise.
25859         [C99-based-standards] (PRIXLEAST64): Likewise.
25860         [C99-based-standards] (SCNdLEAST64): Likewise.
25861         [C99-based-standards] (SCNiLEAST64): Likewise.
25862         [C99-based-standards] (SCNoLEAST64): Likewise.
25863         [C99-based-standards] (SCNuLEAST64): Likewise.
25864         [C99-based-standards] (SCNxLEAST64): Likewise.
25865         [C99-based-standards] (PRIdFAST64): Likewise.
25866         [C99-based-standards] (PRIiFAST64): Likewise.
25867         [C99-based-standards] (PRIoFAST64): Likewise.
25868         [C99-based-standards] (PRIuFAST64): Likewise.
25869         [C99-based-standards] (PRIxFAST64): Likewise.
25870         [C99-based-standards] (PRIXFAST64): Likewise.
25871         [C99-based-standards] (SCNdFAST64): Likewise.
25872         [C99-based-standards] (SCNiFAST64): Likewise.
25873         [C99-based-standards] (SCNoFAST64): Likewise.
25874         [C99-based-standards] (SCNuFAST64): Likewise.
25875         [C99-based-standards] (SCNxFAST64): Likewise.
25876         [C99-based-standards] (PRIdMAX): Likewise.
25877         [C99-based-standards] (PRIiMAX): Likewise.
25878         [C99-based-standards] (PRIoMAX): Likewise.
25879         [C99-based-standards] (PRIuMAX): Likewise.
25880         [C99-based-standards] (PRIxMAX): Likewise.
25881         [C99-based-standards] (PRIXMAX): Likewise.
25882         [C99-based-standards] (SCNdMAX): Likewise.
25883         [C99-based-standards] (SCNiMAX): Likewise.
25884         [C99-based-standards] (SCNoMAX): Likewise.
25885         [C99-based-standards] (SCNuMAX): Likewise.
25886         [C99-based-standards] (SCNxMAX): Likewise.
25887         [C99-based-standards] (PRIdPTR): Likewise.
25888         [C99-based-standards] (PRIiPTR): Likewise.
25889         [C99-based-standards] (PRIoPTR): Likewise.
25890         [C99-based-standards] (PRIuPTR): Likewise.
25891         [C99-based-standards] (PRIxPTR): Likewise.
25892         [C99-based-standards] (PRIXPTR): Likewise.
25893         [C99-based-standards] (SCNdPTR): Likewise.
25894         [C99-based-standards] (SCNiPTR): Likewise.
25895         [C99-based-standards] (SCNoPTR): Likewise.
25896         [C99-based-standards] (SCNuPTR): Likewise.
25897         [C99-based-standards] (SCNxPTR): Likewise.
25898         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25899         allow.
25900         * conform/data/stdint.h-data: Update comments to clarify
25901         requirements.
25902         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
25903         type.
25904         [C99-based standards] (INT8_MAX): Likewise.
25905         [C99-based standards] (INT16_MIN): Likewise.
25906         [C99-based standards] (INT16_MAX): Likewise.
25907         [C99-based standards] (INT32_MIN): Likewise.
25908         [C99-based standards] (INT32_MAX): Likewise.
25909         [C99-based standards] (INT64_MIN): Likewise.
25910         [C99-based standards] (INT64_MAX): Likewise.
25911         [C99-based standards] (UINT8_MAX): Likewise.
25912         [C99-based standards] (UINT16_MAX): Likewise.
25913         [C99-based standards] (UINT32_MAX): Likewise.
25914         [C99-based standards] (UINT64_MAX): Likewise.
25915         [C99-based standards] (INT_LEAST8_MIN): Likewise.
25916         [C99-based standards] (INT_LEAST8_MAX): Likewise.
25917         [C99-based standards] (INT_LEAST16_MIN): Likewise.
25918         [C99-based standards] (INT_LEAST16_MAX): Likewise.
25919         [C99-based standards] (INT_LEAST32_MIN): Likewise.
25920         [C99-based standards] (INT_LEAST32_MAX): Likewise.
25921         [C99-based standards] (INT_LEAST64_MIN): Likewise.
25922         [C99-based standards] (INT_LEAST64_MAX): Likewise.
25923         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25924         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25925         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25926         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25927         [C99-based standards] (INT_FAST8_MIN): Likewise.
25928         [C99-based standards] (INT_FAST8_MAX): Likewise.
25929         [C99-based standards] (INT_FAST16_MIN): Likewise.
25930         [C99-based standards] (INT_FAST16_MAX): Likewise.
25931         [C99-based standards] (INT_FAST32_MIN): Likewise.
25932         [C99-based standards] (INT_FAST32_MAX): Likewise.
25933         [C99-based standards] (INT_FAST64_MIN): Likewise.
25934         [C99-based standards] (INT_FAST64_MAX): Likewise.
25935         [C99-based standards] (UINT_FAST8_MAX): Likewise.
25936         [C99-based standards] (UINT_FAST16_MAX): Likewise.
25937         [C99-based standards] (UINT_FAST32_MAX): Likewise.
25938         [C99-based standards] (UINT_FAST64_MAX): Likewise.
25939         [C99-based standards] (INTPTR_MIN): Likewise.
25940         [C99-based standards] (INTPTR_MAX): Likewise.
25941         [C99-based standards] (UINTPTR_MAX): Likewise.
25942         [C99-based standards] (INTMAX_MIN): Likewise.
25943         [C99-based standards] (INTMAX_MAX): Likewise.
25944         [C99-based standards] (UINTMAX_MAX): Likewise.
25945         [C99-based standards] (PTRDIFF_MIN): Likewise.
25946         [C99-based standards] (PTRDIFF_MAX): Likewise.
25947         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25948         [C99-based standards] (SIZE_MAX): Likewise.
25949         [C99-based standards] (WCHAR_MAX): Likewise.
25950         [C99-based standards] (WINT_MAX): Likewise.
25951         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
25952         constraint on value.
25953         [C99-based standards] (WCHAR_MIN): Likewise.
25954         [C99-based standards] (WINT_MIN): Likewise.
25955         [C99-based standards] (*_t): Allow.
25956         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25957         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25958         Include math.h-data and complex.h-data.  Remove all expectations
25959         of math.h and complex.h contents.
25960         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25961         at end of line.
25962         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25963         (struct tm): Expect tag.
25964         [C99-based-standards] (wcstof): Expect function.
25965         [C99-based-standards] (wcstold): Likewise.
25966         [C99-based-standards] (wcstoll): Likewise.
25967         [C99-based-standards] (wcstoull): Likewise.
25968         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25969         macro-int-constant.  Specify type.
25970         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
25971         constraint on value.
25972         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25973         Specify type.
25974         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25975         Specify value.
25976         [ISO C standards]: Do not allow headers.
25977         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25978         wcs[abcdefghijklmnopqrstuvwxyz]*.
25979         [ISO C standards] (*_t): Do not allow.
25980         * conform/data/wctype.h-data [C99-based standards] (iswblank):
25981         Expect function.
25982         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25983         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25984         Specify type.
25985         [ISO C standards]: Do not allow headers.
25986         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25987         is[abcdefghijklmnopqrstuvwxyz]*.
25988         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25989         to[abcdefghijklmnopqrstuvwxyz]*.
25990         [ISO C standards] (*_t): Do not allow.
25991         * conform/data/stdalign.h-data: New file.
25992         * conform/data/stdbool.h-data: Likewise.
25993         * conform/data/stdnoreturn.h-data: Likewise.
25995 2012-11-07  Roland McGrath  <roland@hack.frob.com>
25997         [BZ #14815]
25998         * manual/filesys.texi (Directory Entries): Typo fix.
25999         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26001 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26003         * elf/elf.h (EM_AARCH64): New macro.
26004         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26005         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26006         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26007         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26008         (R_AARCH64_TLSDESC): Likewise.
26009         (NT_ARM_TLS): Likewise.
26010         (NT_ARM_HW_BREAK): Likewise.
26011         (NT_ARM_HW_WATCH): Likewise.
26013 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26015         [BZ #14811]
26016         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26017         (__ieee754_powl): Saturate nonzero exponents with absolute value
26018         below 0x1p-79 to +/- 0x1p-79.
26019         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26020         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26021         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26022         nonzero exponents with absolute value below 0x1p-32 to +/-
26023         0x1p-32.
26024         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26025         (__ieee754_powl): Saturate nonzero exponents with absolute value
26026         below 0x1p-79 to +/- 0x1p-79.
26027         * math/libm-test.inc (pow_test): Add more tests.
26029 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26031         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26032         _dl_s390_cap_flags with kernel. Increase string length.
26033         (_dl_s390_platforms): Add z196 and zEC12.
26035 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26037         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26038         Change XOPEN21K to XOPEN2K.
26040 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26042         * string/memmove.c: Use memcpy when possible.
26044 2012-11-06  Andreas Jaeger  <aj@suse.de>
26046         * po/eo.po: Update from translation team.
26048 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26050         [BZ #14793]
26051         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26052         exponent and small x and y exponents, scale x or y up.  Increase
26053         by 2 the exponent used in scaling up.
26054         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26055         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26056         * math/libm-test.inc (fma_test): Add more tests.
26057         (fma_test_towardzero): Likewise.
26058         (fma_test_downward): Likewise.
26059         (fma_test_upward): Likewise.
26061 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26063         [BZ #14805]
26064         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26065         fenv_t *.
26067         [BZ #14801]
26068         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26069         namespace for names of struct fields.
26070         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26071         fenv_t fields.
26072         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26073         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26075 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26077         [BZ #3665]
26078         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26080 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26082         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26083         PTR_DEMANGLE.
26085         [BZ #5246]
26086         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26087         PTR_DEMANGLE.
26089 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
26091         [BZ #14797]
26092         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26093         definitely overflow as x * y not x * y + z.
26094         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26095         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26096         * math/libm-test.inc (fma_test): Add more tests.
26097         (fma_test_towardzero): Likewise.
26098         (fma_test_downward): Likewise.
26099         (fma_test_upward): Likewise.
26101 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26103         [BZ #157]
26105         * include/stub-tag.h: Remove file.
26106         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26107         '#include' of it.
26108         * manual/maint.texi (Porting): Don't reference it.
26109         * Makerules ($(objpfx)stubs): Likewise.
26110         * dirent/closedir.c: Don't include <stub-tag.h>.
26111         * dirent/dirfd.c: Likewise.
26112         * dirent/fdopendir.c: Likewise.
26113         * dirent/getdents.c: Likewise.
26114         * dirent/getdents64.c: Likewise.
26115         * dirent/opendir.c: Likewise.
26116         * dirent/readdir.c: Likewise.
26117         * dirent/readdir64.c: Likewise.
26118         * dirent/readdir64_r.c: Likewise.
26119         * dirent/readdir_r.c: Likewise.
26120         * dirent/rewinddir.c: Likewise.
26121         * dirent/seekdir.c: Likewise.
26122         * dirent/telldir.c: Likewise.
26123         * gmon/profil.c: Likewise.
26124         * grp/setgroups.c: Likewise.
26125         * inet/if_index.c: Likewise.
26126         * io/access.c: Likewise.
26127         * io/chdir.c: Likewise.
26128         * io/chmod.c: Likewise.
26129         * io/chown.c: Likewise.
26130         * io/close.c: Likewise.
26131         * io/dup.c: Likewise.
26132         * io/dup2.c: Likewise.
26133         * io/dup3.c: Likewise.
26134         * io/euidaccess.c: Likewise.
26135         * io/faccessat.c: Likewise.
26136         * io/fchdir.c: Likewise.
26137         * io/fchmod.c: Likewise.
26138         * io/fchmodat.c: Likewise.
26139         * io/fchown.c: Likewise.
26140         * io/fchownat.c: Likewise.
26141         * io/fcntl.c: Likewise.
26142         * io/flock.c: Likewise.
26143         * io/fstatfs.c: Likewise.
26144         * io/fstatfs64.c: Likewise.
26145         * io/fstatvfs.c: Likewise.
26146         * io/fstatvfs64.c: Likewise.
26147         * io/futimens.c: Likewise.
26148         * io/fxstat.c: Likewise.
26149         * io/fxstat64.c: Likewise.
26150         * io/fxstatat.c: Likewise.
26151         * io/fxstatat64.c: Likewise.
26152         * io/getcwd.c: Likewise.
26153         * io/isatty.c: Likewise.
26154         * io/lchmod.c: Likewise.
26155         * io/lchown.c: Likewise.
26156         * io/link.c: Likewise.
26157         * io/linkat.c: Likewise.
26158         * io/lseek.c: Likewise.
26159         * io/lseek64.c: Likewise.
26160         * io/lxstat64.c: Likewise.
26161         * io/mkdir.c: Likewise.
26162         * io/mkdirat.c: Likewise.
26163         * io/mkfifo.c: Likewise.
26164         * io/mkfifoat.c: Likewise.
26165         * io/open.c: Likewise.
26166         * io/open64.c: Likewise.
26167         * io/openat.c: Likewise.
26168         * io/openat64.c: Likewise.
26169         * io/pipe.c: Likewise.
26170         * io/pipe2.c: Likewise.
26171         * io/poll.c: Likewise.
26172         * io/posix_fadvise.c: Likewise.
26173         * io/posix_fadvise64.c: Likewise.
26174         * io/posix_fallocate.c: Likewise.
26175         * io/posix_fallocate64.c: Likewise.
26176         * io/read.c: Likewise.
26177         * io/readlink.c: Likewise.
26178         * io/readlinkat.c: Likewise.
26179         * io/rmdir.c: Likewise.
26180         * io/sendfile.c: Likewise.
26181         * io/sendfile64.c: Likewise.
26182         * io/statfs.c: Likewise.
26183         * io/statfs64.c: Likewise.
26184         * io/statvfs.c: Likewise.
26185         * io/statvfs64.c: Likewise.
26186         * io/symlink.c: Likewise.
26187         * io/symlinkat.c: Likewise.
26188         * io/ttyname.c: Likewise.
26189         * io/ttyname_r.c: Likewise.
26190         * io/umask.c: Likewise.
26191         * io/unlink.c: Likewise.
26192         * io/unlinkat.c: Likewise.
26193         * io/utime.c: Likewise.
26194         * io/utimensat.c: Likewise.
26195         * io/write.c: Likewise.
26196         * io/xmknod.c: Likewise.
26197         * io/xmknodat.c: Likewise.
26198         * io/xstat.c: Likewise.
26199         * io/xstat64.c: Likewise.
26200         * login/getpt.c: Likewise.
26201         * login/grantpt.c: Likewise.
26202         * login/unlockpt.c: Likewise.
26203         * math/e_acoshl.c: Likewise.
26204         * math/e_acosl.c: Likewise.
26205         * math/e_asinl.c: Likewise.
26206         * math/e_atan2l.c: Likewise.
26207         * math/e_atanhl.c: Likewise.
26208         * math/e_coshl.c: Likewise.
26209         * math/e_expl.c: Likewise.
26210         * math/e_fmodl.c: Likewise.
26211         * math/e_gammal_r.c: Likewise.
26212         * math/e_hypotl.c: Likewise.
26213         * math/e_j0l.c: Likewise.
26214         * math/e_j1l.c: Likewise.
26215         * math/e_jnl.c: Likewise.
26216         * math/e_lgammal_r.c: Likewise.
26217         * math/e_log10l.c: Likewise.
26218         * math/e_log2l.c: Likewise.
26219         * math/e_logl.c: Likewise.
26220         * math/e_powl.c: Likewise.
26221         * math/e_rem_pio2l.c: Likewise.
26222         * math/e_sinhl.c: Likewise.
26223         * math/e_sqrtl.c: Likewise.
26224         * math/fclrexcpt.c: Likewise.
26225         * math/fedisblxcpt.c: Likewise.
26226         * math/feenablxcpt.c: Likewise.
26227         * math/fegetenv.c: Likewise.
26228         * math/fegetexcept.c: Likewise.
26229         * math/fegetround.c: Likewise.
26230         * math/feholdexcpt.c: Likewise.
26231         * math/fesetenv.c: Likewise.
26232         * math/fesetround.c: Likewise.
26233         * math/feupdateenv.c: Likewise.
26234         * math/fgetexcptflg.c: Likewise.
26235         * math/fraiseexcpt.c: Likewise.
26236         * math/fsetexcptflg.c: Likewise.
26237         * math/ftestexcept.c: Likewise.
26238         * math/k_cosl.c: Likewise.
26239         * math/k_rem_pio2l.c: Likewise.
26240         * math/k_sinl.c: Likewise.
26241         * math/k_tanl.c: Likewise.
26242         * math/s_asinhl.c: Likewise.
26243         * math/s_atanl.c: Likewise.
26244         * math/s_cbrtl.c: Likewise.
26245         * math/s_erfl.c: Likewise.
26246         * math/s_expm1l.c: Likewise.
26247         * math/s_log1pl.c: Likewise.
26248         * math/s_tanhl.c: Likewise.
26249         * misc/acct.c: Likewise.
26250         * misc/brk.c: Likewise.
26251         * misc/chflags.c: Likewise.
26252         * misc/chroot.c: Likewise.
26253         * misc/fchflags.c: Likewise.
26254         * misc/fgetxattr.c: Likewise.
26255         * misc/flistxattr.c: Likewise.
26256         * misc/fremovexattr.c: Likewise.
26257         * misc/fsetxattr.c: Likewise.
26258         * misc/fsync.c: Likewise.
26259         * misc/ftruncate.c: Likewise.
26260         * misc/futimes.c: Likewise.
26261         * misc/futimesat.c: Likewise.
26262         * misc/getdomain.c: Likewise.
26263         * misc/getdtsz.c: Likewise.
26264         * misc/gethostid.c: Likewise.
26265         * misc/gethostname.c: Likewise.
26266         * misc/getloadavg.c: Likewise.
26267         * misc/getpagesize.c: Likewise.
26268         * misc/getsysstats.c: Likewise.
26269         * misc/getxattr.c: Likewise.
26270         * misc/gtty.c: Likewise.
26271         * misc/ioctl.c: Likewise.
26272         * misc/lgetxattr.c: Likewise.
26273         * misc/listxattr.c: Likewise.
26274         * misc/llistxattr.c: Likewise.
26275         * misc/lremovexattr.c: Likewise.
26276         * misc/lsetxattr.c: Likewise.
26277         * misc/lutimes.c: Likewise.
26278         * misc/madvise.c: Likewise.
26279         * misc/mincore.c: Likewise.
26280         * misc/mlock.c: Likewise.
26281         * misc/mlockall.c: Likewise.
26282         * misc/mmap.c: Likewise.
26283         * misc/mprotect.c: Likewise.
26284         * misc/msync.c: Likewise.
26285         * misc/munlock.c: Likewise.
26286         * misc/munlockall.c: Likewise.
26287         * misc/munmap.c: Likewise.
26288         * misc/preadv.c: Likewise.
26289         * misc/preadv64.c: Likewise.
26290         * misc/ptrace.c: Likewise.
26291         * misc/pwritev.c: Likewise.
26292         * misc/pwritev64.c: Likewise.
26293         * misc/readv.c: Likewise.
26294         * misc/reboot.c: Likewise.
26295         * misc/remap_file_pages.c: Likewise.
26296         * misc/removexattr.c: Likewise.
26297         * misc/revoke.c: Likewise.
26298         * misc/select.c: Likewise.
26299         * misc/setdomain.c: Likewise.
26300         * misc/setegid.c: Likewise.
26301         * misc/seteuid.c: Likewise.
26302         * misc/sethostid.c: Likewise.
26303         * misc/sethostname.c: Likewise.
26304         * misc/setregid.c: Likewise.
26305         * misc/setreuid.c: Likewise.
26306         * misc/setxattr.c: Likewise.
26307         * misc/sstk.c: Likewise.
26308         * misc/stty.c: Likewise.
26309         * misc/swapoff.c: Likewise.
26310         * misc/swapon.c: Likewise.
26311         * misc/sync.c: Likewise.
26312         * misc/syncfs.c: Likewise.
26313         * misc/syscall.c: Likewise.
26314         * misc/truncate.c: Likewise.
26315         * misc/ualarm.c: Likewise.
26316         * misc/usleep.c: Likewise.
26317         * misc/ustat.c: Likewise.
26318         * misc/utimes.c: Likewise.
26319         * misc/vhangup.c: Likewise.
26320         * misc/writev.c: Likewise.
26321         * posix/_exit.c: Likewise.
26322         * posix/alarm.c: Likewise.
26323         * posix/execve.c: Likewise.
26324         * posix/fexecve.c: Likewise.
26325         * posix/fork.c: Likewise.
26326         * posix/fpathconf.c: Likewise.
26327         * posix/getaddrinfo.c: Likewise.
26328         * posix/getegid.c: Likewise.
26329         * posix/geteuid.c: Likewise.
26330         * posix/getgid.c: Likewise.
26331         * posix/getgroups.c: Likewise.
26332         * posix/getlogin.c: Likewise.
26333         * posix/getlogin_r.c: Likewise.
26334         * posix/getpgid.c: Likewise.
26335         * posix/getpid.c: Likewise.
26336         * posix/getppid.c: Likewise.
26337         * posix/getresgid.c: Likewise.
26338         * posix/getresuid.c: Likewise.
26339         * posix/getsid.c: Likewise.
26340         * posix/getuid.c: Likewise.
26341         * posix/glob64.c: Likewise.
26342         * posix/nanosleep.c: Likewise.
26343         * posix/pathconf.c: Likewise.
26344         * posix/pause.c: Likewise.
26345         * posix/posix_madvise.c: Likewise.
26346         * posix/pread.c: Likewise.
26347         * posix/pread64.c: Likewise.
26348         * posix/pwrite.c: Likewise.
26349         * posix/pwrite64.c: Likewise.
26350         * posix/sched_getaffinity.c: Likewise.
26351         * posix/sched_getp.c: Likewise.
26352         * posix/sched_gets.c: Likewise.
26353         * posix/sched_primax.c: Likewise.
26354         * posix/sched_primin.c: Likewise.
26355         * posix/sched_rr_gi.c: Likewise.
26356         * posix/sched_setaffinity.c: Likewise.
26357         * posix/sched_setp.c: Likewise.
26358         * posix/sched_sets.c: Likewise.
26359         * posix/sched_yield.c: Likewise.
26360         * posix/setgid.c: Likewise.
26361         * posix/setlogin.c: Likewise.
26362         * posix/setpgid.c: Likewise.
26363         * posix/setresgid.c: Likewise.
26364         * posix/setresuid.c: Likewise.
26365         * posix/setsid.c: Likewise.
26366         * posix/setuid.c: Likewise.
26367         * posix/sleep.c: Likewise.
26368         * posix/spawni.c: Likewise.
26369         * posix/sysconf.c: Likewise.
26370         * posix/times.c: Likewise.
26371         * posix/wait.c: Likewise.
26372         * posix/wait3.c: Likewise.
26373         * posix/wait4.c: Likewise.
26374         * posix/waitpid.c: Likewise.
26375         * resolv/gai_sigqueue.c: Likewise.
26376         * resource/getpriority.c: Likewise.
26377         * resource/getrlimit.c: Likewise.
26378         * resource/getrusage.c: Likewise.
26379         * resource/nice.c: Likewise.
26380         * resource/setpriority.c: Likewise.
26381         * resource/setrlimit.c: Likewise.
26382         * resource/ulimit.c: Likewise.
26383         * rt/aio_cancel.c: Likewise.
26384         * rt/aio_fsync.c: Likewise.
26385         * rt/aio_read.c: Likewise.
26386         * rt/aio_sigqueue.c: Likewise.
26387         * rt/aio_suspend.c: Likewise.
26388         * rt/aio_write.c: Likewise.
26389         * rt/clock_getres.c: Likewise.
26390         * rt/clock_gettime.c: Likewise.
26391         * rt/clock_nanosleep.c: Likewise.
26392         * rt/clock_settime.c: Likewise.
26393         * rt/lio_listio.c: Likewise.
26394         * rt/mq_close.c: Likewise.
26395         * rt/mq_getattr.c: Likewise.
26396         * rt/mq_notify.c: Likewise.
26397         * rt/mq_open.c: Likewise.
26398         * rt/mq_receive.c: Likewise.
26399         * rt/mq_send.c: Likewise.
26400         * rt/mq_setattr.c: Likewise.
26401         * rt/mq_timedreceive.c: Likewise.
26402         * rt/mq_timedsend.c: Likewise.
26403         * rt/mq_unlink.c: Likewise.
26404         * rt/shm_open.c: Likewise.
26405         * rt/shm_unlink.c: Likewise.
26406         * rt/timer_create.c: Likewise.
26407         * rt/timer_delete.c: Likewise.
26408         * rt/timer_getoverr.c: Likewise.
26409         * rt/timer_gettime.c: Likewise.
26410         * rt/timer_settime.c: Likewise.
26411         * setjmp/__longjmp.c: Likewise.
26412         * setjmp/setjmp.c: Likewise.
26413         * signal/kill.c: Likewise.
26414         * signal/killpg.c: Likewise.
26415         * signal/raise.c: Likewise.
26416         * signal/sigaction.c: Likewise.
26417         * signal/sigaltstack.c: Likewise.
26418         * signal/sigblock.c: Likewise.
26419         * signal/sigignore.c: Likewise.
26420         * signal/sigintr.c: Likewise.
26421         * signal/signal.c: Likewise.
26422         * signal/sigpause.c: Likewise.
26423         * signal/sigpending.c: Likewise.
26424         * signal/sigqueue.c: Likewise.
26425         * signal/sigreturn.c: Likewise.
26426         * signal/sigset.c: Likewise.
26427         * signal/sigsetmask.c: Likewise.
26428         * signal/sigstack.c: Likewise.
26429         * signal/sigsuspend.c: Likewise.
26430         * signal/sigtimedwait.c: Likewise.
26431         * signal/sigvec.c: Likewise.
26432         * signal/sigwait.c: Likewise.
26433         * signal/sigwaitinfo.c: Likewise.
26434         * signal/sysv_signal.c: Likewise.
26435         * socket/accept.c: Likewise.
26436         * socket/accept4.c: Likewise.
26437         * socket/bind.c: Likewise.
26438         * socket/connect.c: Likewise.
26439         * socket/getpeername.c: Likewise.
26440         * socket/getsockname.c: Likewise.
26441         * socket/getsockopt.c: Likewise.
26442         * socket/isfdtype.c: Likewise.
26443         * socket/listen.c: Likewise.
26444         * socket/recv.c: Likewise.
26445         * socket/recvfrom.c: Likewise.
26446         * socket/recvmsg.c: Likewise.
26447         * socket/send.c: Likewise.
26448         * socket/sendmsg.c: Likewise.
26449         * socket/sendto.c: Likewise.
26450         * socket/setsockopt.c: Likewise.
26451         * socket/shutdown.c: Likewise.
26452         * socket/sockatmark.c: Likewise.
26453         * socket/socket.c: Likewise.
26454         * socket/socketpair.c: Likewise.
26455         * stdio-common/ctermid.c: Likewise.
26456         * stdio-common/cuserid.c: Likewise.
26457         * stdio-common/remove.c: Likewise.
26458         * stdio-common/rename.c: Likewise.
26459         * stdio-common/renameat.c: Likewise.
26460         * stdio-common/tempname.c: Likewise.
26461         * stdlib/getcontext.c: Likewise.
26462         * stdlib/makecontext.c: Likewise.
26463         * stdlib/setcontext.c: Likewise.
26464         * stdlib/swapcontext.c: Likewise.
26465         * stdlib/system.c: Likewise.
26466         * streams/fattach.c: Likewise.
26467         * streams/fdetach.c: Likewise.
26468         * streams/getmsg.c: Likewise.
26469         * streams/getpmsg.c: Likewise.
26470         * streams/putmsg.c: Likewise.
26471         * streams/putpmsg.c: Likewise.
26472         * sysdeps/unix/bsd/getpt.c: Likewise.
26473         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26474         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26475         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26477         Likewise.
26478         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26479         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26480         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26481         * sysvipc/msgctl.c: Likewise.
26482         * sysvipc/msgget.c: Likewise.
26483         * sysvipc/msgrcv.c: Likewise.
26484         * sysvipc/msgsnd.c: Likewise.
26485         * sysvipc/semctl.c: Likewise.
26486         * sysvipc/semget.c: Likewise.
26487         * sysvipc/semop.c: Likewise.
26488         * sysvipc/semtimedop.c: Likewise.
26489         * sysvipc/shmat.c: Likewise.
26490         * sysvipc/shmctl.c: Likewise.
26491         * sysvipc/shmdt.c: Likewise.
26492         * sysvipc/shmget.c: Likewise.
26493         * termios/tcdrain.c: Likewise.
26494         * termios/tcflow.c: Likewise.
26495         * termios/tcflush.c: Likewise.
26496         * termios/tcgetattr.c: Likewise.
26497         * termios/tcgetpgrp.c: Likewise.
26498         * termios/tcsendbrk.c: Likewise.
26499         * termios/tcsetattr.c: Likewise.
26500         * termios/tcsetpgrp.c: Likewise.
26501         * time/adjtime.c: Likewise.
26502         * time/clock.c: Likewise.
26503         * time/getitimer.c: Likewise.
26504         * time/gettimeofday.c: Likewise.
26505         * time/setitimer.c: Likewise.
26506         * time/settimeofday.c: Likewise.
26507         * time/stime.c: Likewise.
26508         * time/time.c: Likewise.
26510 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
26512         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26513         /usr/old/bin.
26515         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26516         instead of spaces.
26517         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26519 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
26521         [BZ #14796]
26522         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26523         FE_TONEAREST before applying Dekker multiplication and Knuth
26524         addition.  Clear inexact exceptions and check for exact zero
26525         results afterwards.
26526         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26527         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26528         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26529         * math/libm-test.inc (fma_test): Add more tests.
26530         (fma_test_towardzero): Likewise.
26531         (fma_test_downward): Likewise.
26532         (fma_test_upward): Likewise.
26533         * sysdeps/generic/math_private.h (default_libc_fesetround): New
26534         function.
26535         (libc_fesetround): New macro.
26536         (libc_fesetroundf): Likewise.
26537         (libc_fesetroundl): Likewise.
26538         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26539         function.
26540         (libc_fesetround_387): Likewise.
26541         (libc_fesetroundf): New macro.
26542         (libc_fesetround): Likewise.
26543         (libc_fesetroundl): Likewise.
26544         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26545         function.
26546         (libc_fesetroundf): New macro.
26547         (libc_fesetround): Likewise.
26548         (libc_fesetroundl): Likewise.
26549         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26550         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26551         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26552         libm_hidden_ver.
26553         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26554         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26555         libm_hidden_def.
26556         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26557         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26558         libm_hidden_ver.
26559         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26560         libm_hidden_def.
26562         [BZ #3439]
26563         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26564         integer constant usable in #if and use that to give value to enum
26565         constant.
26566         (FE_DIVBYZERO): Likewise.
26567         (FE_UNDERFLOW): Likewise.
26568         (FE_OVERFLOW): Likewise.
26569         (FE_INVALID): Likewise.
26570         (FE_INVALID_SNAN): Likewise.
26571         (FE_INVALID_ISI): Likewise.
26572         (FE_INVALID_IDI): Likewise.
26573         (FE_INVALID_ZDZ): Likewise.
26574         (FE_INVALID_IMZ): Likewise.
26575         (FE_INVALID_COMPARE): Likewise.
26576         (FE_INVALID_SOFTWARE): Likewise.
26577         (FE_INVALID_SQRT): Likewise.
26578         (FE_INVALID_INTEGER_CONVERSION): Likewise.
26579         (FE_TONEAREST): Likewise.
26580         (FE_TOWARDZERO): Likewise.
26581         (FE_UPWARD): Likewise.
26582         (FE_DOWNWARD): Likewise.
26583         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26584         (FE_DIVBYZERO): Likewise.
26585         (FE_OVERFLOW): Likewise.
26586         (FE_UNDERFLOW): Likewise.
26587         (FE_INEXACT): Likewise.
26588         (FE_TONEAREST): Likewise.
26589         (FE_DOWNWARD): Likewise.
26590         (FE_UPWARD): Likewise.
26591         (FE_TOWARDZERO): Likewise.
26592         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26593         (FE_UNDERFLOW): Likewise.
26594         (FE_OVERFLOW): Likewise.
26595         (FE_DIVBYZERO): Likewise.
26596         (FE_INVALID): Likewise.
26597         (FE_TONEAREST): Likewise.
26598         (FE_TOWARDZERO): Likewise.
26599         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26600         (FE_OVERFLOW): Likewise.
26601         (FE_UNDERFLOW): Likewise.
26602         (FE_DIVBYZERO): Likewise.
26603         (FE_INEXACT): Likewise.
26604         (FE_TONEAREST): Likewise.
26605         (FE_TOWARDZERO): Likewise.
26606         (FE_UPWARD): Likewise.
26607         (FE_DOWNWARD): Likewise.
26608         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26609         (FE_DIVBYZERO): Likewise.
26610         (FE_OVERFLOW): Likewise.
26611         (FE_UNDERFLOW): Likewise.
26612         (FE_INEXACT): Likewise.
26613         (FE_TONEAREST): Likewise.
26614         (FE_DOWNWARD): Likewise.
26615         (FE_UPWARD): Likewise.
26616         (FE_TOWARDZERO): Likewise.
26618 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
26620         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26622 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
26624         * scripts/cross-test-ssh.sh (command): Use newlines to separate
26625         commands.  Quote $PWD.
26626         (blacklist_exports): Don't use remove_newlines.  Replace "declare
26627         -x" by "export".
26628         (remove_newlines): Remove.
26630 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
26632         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26633         * stdlib/stdlib.h (atof): Moved to ...
26634         * include/bits/stdlib-float.h: Here.  New file.
26635         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26636         * stdlib/bits/stdlib-float.h: New file.
26637         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26638         -mno-sse -mno-mmx.
26639         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26640         <xmmintrin.h>.
26642 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26644         * conform/conformtest.pl (@headers): Add fenv.h.
26645         * conform/data/fenv.h-data: New file.
26646         * include/fenv.h [_ISOMAC]: Disable all contents of file except
26647         include of <math/fenv.h>.
26649         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26650         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26651         && !UNIX98].  Enables tests for XOPEN2K8.
26652         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26653         POSIX2008]: Likewise.
26655         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26656         (struct rusage): Do not expect type or its members.
26658         [BZ #3439]
26659         * math/math.h (FP_NAN): Define macro to integer constant usable in
26660         #if and use that to give value to enum constant.
26661         (FP_INFINITE): Likewise.
26662         (FP_ZERO): Likewise.
26663         (FP_SUBNORMAL): Likewise.
26664         (FP_NORMAL): Likewise.
26666 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
26668         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26669         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26670         arguments.
26672 2012-11-02  Roland McGrath  <roland@hack.frob.com>
26674         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26675         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26676         autoconf-time if not.
26677         * configure.in: Remove AC_PREREQ.
26679 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26681         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26682         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26683         of the internal implementation.
26685 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26687         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26688         except include of <misc/sys/syslog.h>.
26690 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26693         function returns with a NULL context exit with zero.
26695 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26697         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26699 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
26701         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26702         (run_program_cmd): This.
26703         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26704         (tst_langinfo): New variable.  Use it.
26706 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
26708         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26709         floating point opcodes.
26711 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26713         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26714         variable.
26716         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26718         * sysdeps/mach/hurd/powerpc: Remove directory.
26719         * sysdeps/mach/powerpc: Likewise.
26721 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26723         * scripts/check-local-headers.sh: Ignore c++ headers.
26725 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26727         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26728         __libc_cleanup_region_start argument.
26730 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
26732         [BZ #14784]
26733         [BZ #14785]
26734         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26735         x * y using scaling, not as x * y + z.
26736         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26737         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26738         * math/libm-test.inc (fma_test): Add more tests.
26739         (fma_test_towardzero): Likewise.
26740         (fma_test_downward): Likewise.
26741         (fma_test_upward): Likewise.
26743 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26745         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26747 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
26749         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26750         New variable.
26752 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
26754         * rt/tst-shm.c (worker): Correct checking for mmap failure.
26756 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
26758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26759         Fix sort order.
26760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26761         Likewise.
26763 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26766         Fix the order of the list for glibc 2.17.
26767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26768         Likewise.
26770 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
26772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26774 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
26776         [BZ #14610]
26777         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26778         for low part of x being zero before using __atanl (y).
26779         * math/libm-test.inc (atan2_test): Add another test.
26781         * manual/install.texi (Configuring and compiling): Document
26782         general use of test-wrapper and test-wrapper-env.
26783         * INSTALL: Regenerated.
26785         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26786         (__fma): Do not extract and scale down low bits on after-rounding
26787         systems when result rounded to normal precision would have normal
26788         exponent.
26789         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26790         (__fmal): Do not extract and scale down low bits on after-rounding
26791         systems when result rounded to normal precision would have normal
26792         exponent.
26793         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26794         (__fmal): Do not extract and scale down low bits on after-rounding
26795         systems when result rounded to normal precision would have normal
26796         exponent.
26797         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26798         macro.
26799         (fma_test): Add more tests.
26800         (fma_test_towardzero): Likewise.
26801         (fma_test_downward): Likewise.
26802         (fma_test_upward): Likewise.
26804 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
26806         * sysdeps/i386/tininess.h: Renamed to ...
26807         * sysdeps/x86/tininess.h: This.
26808         * sysdeps/x86_64/tininess.h: Removed.
26810 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
26812         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26813         input.  Use $(build-program-cmd).
26814         ($(objpfx)tst-array1-static.out): Likewise.
26815         ($(objpfx)tst-array2.out): Likewise.
26816         ($(objpfx)tst-array3.out): Likewise.
26817         ($(objpfx)tst-array4.out): Likewise.
26818         ($(objpfx)tst-array5.out): Likewise.
26819         ($(objpfx)tst-array5-static.out): Likewise.
26821 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
26823         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26824         if defined.
26826         * nss/nsswitch.h (nss_interface_function): Provide new
26827         macro for use with NSS functions.
26828         * grp/initgroups.c: Use new macro.
26829         * nss/getXXbyYY.c: Likewise.
26830         * nss/getXXbyYY_r.c: Likewise.
26831         * nss/getXXent.c: Likewise.
26832         * nss/getXXent_r.c: Likewise.
26833         * sysdeps/posix/getaddrinfo.c: Likewise.
26835 2012-10-30  Andreas Jaeger  <aj@suse.de>
26837         * po/ru.po: Update Russion translation from translation project.
26839 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
26841         [BZ #14152]
26842         [BZ #14783]
26843         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26844         result and shift together with sticky bit instead of replicating
26845         round-to-nearest rounding.
26846         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26847         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26848         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
26849         missing underflow exceptions.
26850         (fma_test_towardzero): Add more tests.
26851         (fma_test_downward): Likewise.
26852         (fma_test_upward): Likewise.
26854         [BZ #14047]
26855         * sysdeps/generic/tininess.h: New file.
26856         * sysdeps/i386/tininess.h: Likewise.
26857         * sysdeps/sh/tininess.h: Likewise.
26858         * sysdeps/x86_64/tininess.h: Likewise.
26859         * stdlib/tst-strtod-underflow.c: Likewise.
26860         * stdlib/tst-tininess.c: Likewise.
26861         * stdlib/strtod_l.c: Include <tininess.h>.
26862         (round_and_return): Do not set errno for exact underflow cases.
26863         Force an underflow exception when setting errno for underflow.
26864         Determine underflow based on rounding to normal precision if
26865         TININESS_AFTER_ROUNDING.
26866         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26867         ERANGE for exact underflow cases.
26868         * stdlib/Makefile (tests): Add tst-tininess and
26869         tst-strtod-underflow.
26870         ($(objpfx)tst-tininess): Use $(link-libm).
26871         ($(objpfx)tst-strtod-underflow): Likewise.
26873 2012-10-30  Andreas Jaeger  <aj@suse.de>
26875         [BZ#14767]
26876         * elf/Makefile (tests): Remove conditional for have-initfini-array
26877         since this is now always required and the variable does not exist
26878         anymore.
26879         (tests-static): Likewise.
26880         (modules-names): Likewise.
26882         * po/eo.po: Add Esperanto translation from translation project.
26884         * elf/tst-array1.c (fini_array): Make writeable so that it can be
26885         merged with constructor/destructor.
26886         (init_array): Likewise.
26887         * elf/tst-array2dep.c (fini_array): Likewise.
26888         (init_array): Likewise.
26890 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
26892         * manual/message.texi: Delete @cartouche tags.
26894 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
26896         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26897         EOPNOTSUPP.
26898         * sysdeps/mach/hurd/fsync.c: Likewise.
26900         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26901         [_POSIX_REALTIME_SIGNALS]: Change condition to
26902         [_POSIX_REALTIME_SIGNALS > 0].
26904 2012-10-27  Andreas Jaeger  <aj@suse.de>
26906         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26907         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26908         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26909         [__WORDSIZE != 64]: Likewise.
26911 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
26913         *  iconvdata/tst-table.sh: Remove ${SHELL}.
26914         *  iconvdata/tst-tables.sh: Likewise.
26916 2012-10-25  David S. Miller  <davem@davemloft.net>
26918         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26919         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26920         of strtoull.
26922         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26923         ifunc-impl-list.c
26924         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26925         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26926         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26927         file.
26929 2012-10-25  Roland McGrath  <roland@hack.frob.com>
26931         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26932         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26933         __getdirentries.
26935 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
26936             Jim Blandy  <jimb@codesourcery.com>
26938         * scripts/cross-test-ssh.sh: New file.
26939         * manual/install.texi (Configuring and compiling): Document use of
26940         cross-test-ssh.sh.
26941         * INSTALL: Regenerated.
26943 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
26945         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26946         EOPNOTSUPP.
26948 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
26950         * Makeconfig (run-program-prefix): Fix comment.
26952 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
26953             Jim Blandy  <jimb@codesourcery.com>
26955         * Makeconfig (test-wrapper): New variable,
26956         (test-wrapper-env): Likewise.
26957         [$(cross-compiling) = yes && $(test-wrapper) != ""]
26958         (run-built-tests): Define to yes.
26959         (run-program-prefix): Use $(test-wrapper).
26960         (built-program-cmd): Likewise.
26961         * Rules (make-test-out): Use $(test-wrapper-env) and
26962         $(host-built-program-cmd).
26963         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26964         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26965         tst-pathopt.sh.
26966         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26967         $(test-wrapper-env) to tst-rtld-load-self.sh.
26968         ($(objpfx)order2.out): Use $(test-wrapper).
26969         ($(objpfx)tst-initorder.out): Likewise.
26970         ($(objpfx)tst-initorder2.out): Likewise.
26971         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26972         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26973         (test_wrapper_env): New variable.  Use it to run ld.so.
26974         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26975         Use it to run ld.so.
26976         (test_wrapper_env): Likewise.
26977         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26978         $(test-wrapper) to run-iconv-test.sh.
26979         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26980         (ICONV): Use $test_wrapper.
26981         * posix/Makefile ($(objpfx)globtest.out): Pass
26982         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26983         globtest.sh, not $(run-program-prefix).
26984         * posix/globtest.sh (run_via_rtld_prefix): New variable.
26985         (test_wrapper): Likewise.
26986         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
26987         set together with run_via_rtld_prefix.
26988         (run_program_prefix): Define in terms of test_wrapper and
26989         run_via_rtld_prefix.
26991 2012-10-24  Roland McGrath  <roland@hack.frob.com>
26993         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26994         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26995         Targets removed.
26997         [BZ #14743]
26998         * include/time.h: Remove librt_hidden_proto (clock_gettime).
26999         Declare __clock_getres, __clock_gettime, __clock_settime,
27000         __clock_nanosleep, and __clock_getcpuclockid.
27001         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27002         Remove librt_hidden_def (clock_gettime).
27003         * sysdeps/unix/clock_gettime.c: Likewise.
27004         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27005         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27006         * rt/clock_getres.c: Define __clock_getres as an alias.
27007         * sysdeps/posix/clock_getres.c: Likewise.
27008         * rt/clock_settime.c: Define __clock_settime as an alias.
27009         * sysdeps/unix/clock_settime.c: Likewise.
27010         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27011         * sysdeps/unix/clock_nanosleep.c: Likewise.
27012         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27013         * rt/clock-compat.c: New file.
27014         * rt/Makefile (librt-routines): Add clock-compat and move
27015         $(clock-routines) to ...
27016         (routines): ... here, new variable.
27017         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27018         Don't add get_clockfreq here.
27019         * rt/Versions (libc: GLIBC_2.17): New version set.
27020         Add clock_* symbols here.
27021         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27022         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27023         (GLIBC_2.17): Add clock_* symbols.
27024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27026         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27028         Likewise.
27029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27030         Likewise.
27031         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27032         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27033         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27035         * NEWS: Mention the move.
27037         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27038         Use __open, __read, __close rather than their public counterparts.
27039         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27040         (__get_clockfreq_via_cpuinfo): Likewise.
27041         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27042         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27044         * config.h.in (HAVE_IFUNC): New #undef.
27045         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27046         was successful.
27047         * configure: Regenerated.
27049 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27051         * configure.in: Move READELF check to start of file.
27052         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27053         libc_cv_asm_gnu_indirect_function in the process.
27054         * configure: Regenerated.
27056 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27058         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27059         send the output to /dev/null.
27060         (libc_cv_cc_with_libunwind): Likewise.
27061         (libc_cv_as_noexecstack): Likewise.
27062         * configure: Regenerate.
27064 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27066         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27068         * posix/globtest.sh (TMPDIR): Do not set.
27069         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27070         (testout): Likewise.
27072 2012-10-24  Andreas Jaeger  <aj@suse.de>
27074         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27075         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27076         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27077         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27078         posix_fadvise64, posix_fallocate64.
27080         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27081         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27082         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27083         Likewise.
27084         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27085         Likewise.
27086         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27088         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27089         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27090         <bits/fcntl-linux.h>.
27091         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27093         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27094         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27095         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27096         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27097         [__WORDSIZE != 64]: Likewise.
27099 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27101         * Makeconfig (run-built-tests): New variable.
27102         * Rules [$(cross-compiling) = yes]: Change condition to
27103         [$(run-built-tests) = no].
27104         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27105         to [$(run-built-tests) = yes].
27106         * elf/Makefile [$(cross-compiling) = no]: Likewise
27107         * grp/Makefile [$(cross-compiling) = no]: Likewise.
27108         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27109         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27110         * intl/Makefile [$(cross-compiling) = no]: Likewise.
27111         * io/Makefile [$(cross-compiling) = no]: Likewise.
27112         * libio/Makefile [$(cross-compiling) = no]: Likewise.
27113         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27114         * misc/Makefile [$(cross-compiling) = no]: Likewise.
27115         * posix/Makefile [$(cross-compiling) = no]: Likewise.
27116         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27117         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27118         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27119         * string/Makefile [$(cross-compiling) = no]: Likewise.
27121         * posix/Makefile ($(objpfx)globtest.out): Pass
27122         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27123         $(rtld-installed-name).
27124         * posix/globtest.sh (elf_objpfx): Remove variable.
27125         (rtld_installed_name): Likewise.
27126         (library_path): Likewise.
27127         (run_program_prefix): New variable.  Use for running globtest
27128         binary.
27130 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
27131             Joseph Myers  <joseph@codesourcery.com>
27133         * Makeconfig (host-built-program-cmd): New variable.
27134         * elf/Makefile (tst-stackguard1-ARGS): Use
27135         $(host-built-program-cmd).
27136         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27137         (tst-spawn-ARGS): Likewise.
27138         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27140 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27141             Jim Blandy  <jimb@codesourcery.com>
27143         * Makeconfig (run-via-rtld-prefix): New variable.
27144         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27145         (built-program-cmd): Likewise.
27147 2012-10-22  Andreas Jaeger  <aj@suse.de>
27149         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27150         __O_RSYNC if it exists, otherwise to O_SYNC.
27152 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
27153             Joseph Myers  <joseph@codesourcery.com>
27155         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27156         /dev/null.
27157         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27158         from /dev/null
27159         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27160         /dev/null.
27162 2012-10-22  Andreas Jaeger  <aj@suse.de>
27164         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27165         Define always.
27166         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27168         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27169         bits/fcntl-linux.h.
27171         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27172         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27174         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27175         to __O_LARGEFILE.
27176         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27177         to __O_LARGEFILE.
27179 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
27180             Joseph Myers  <joseph@codesourcery.com>
27182         * config.make.in (NM): New variable.
27184 2012-10-21  Andreas Jaeger  <aj@suse.de>
27186         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27187         definitions and declarations that are provided by
27188         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27190 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27192         [BZ #14683]
27193         * elf/Makefile (tests-static): Add tst-leaks1-static.
27194         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27195         ($(objpfx)tst-leaks1-static): New rule.
27196         ($(objpfx)tst-leaks1-static-mem): Likewise.
27197         (tst-leaks1-static-ENV): New macro.
27198         * elf/dl-open.c (dl_open_worker): Check the main application
27199         only if SHARED is defined.
27200         * elf/tst-leaks1-static.c: New file.
27202 2012-10-20  Andreas Jaeger  <aj@suse.de>
27204         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27205         generic values for Linux.
27206         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27207         and declarations that are provided by <bits/fcntl-linux.h> and
27208         include <bits/fcntl-linux.h>.
27209         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27210         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27212 2012-10-20  Roland McGrath  <roland@hack.frob.com>
27214         * io/fcntl.h: Move include of <bits/types.h> to the top and
27215         include it unconditionally.
27217 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27219         * wcsmbs/Makefile (tests-ifunc): New variable.
27220         (tests): Add $(tests-ifunc).
27221         * wcsmbs/test-wcschr-ifunc.c: New file.
27222         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27223         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27224         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27225         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27226         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27228         * string/Makefile (tests-ifunc): New variable.
27229         (tests): Add $(tests-ifunc).
27230         * string/test-memccpy.c (TEST_NAME): New macro.
27231         * string/test-memchr.c (TEST_NAME): Likewise.
27232         * string/test-memcmp.c (TEST_NAME): Likewise.
27233         * string/test-memcpy.c (TEST_NAME): Likewise.
27234         * string/test-memmem.c (TEST_NAME): Likewise.
27235         * string/test-memmove.c (TEST_NAME): Likewise.
27236         * string/test-memset.c (TEST_NAME): Likewise.
27237         * string/test-rawmemchr.c (TEST_NAME): Likewise.
27238         * string/test-stpcpy.c (TEST_NAME): Likewise.
27239         * string/test-stpncpy.c (TEST_NAME): Likewise.
27240         * string/test-strcasecmp.c (TEST_NAME): Likewise.
27241         * string/test-strcasestr.c (TEST_NAME): Likewise.
27242         * string/test-strcat.c (TEST_NAME): Likewise.
27243         * string/test-strchr.c (TEST_NAME): Likewise.
27244         * string/test-strcmp.c(TEST_NAME): Likewise.
27245         * string/test-strcpy.c (TEST_NAME): Likewise.
27246         * string/test-strcspn.c (TEST_NAME): Likewise.
27247         * string/test-strlen.c (TEST_NAME): Likewise.
27248         * string/test-strncasecmp.c (TEST_NAME): Likewise.
27249         * string/test-strncmp.c (TEST_NAME): Likewise.
27250         * string/test-strncpy.c (TEST_NAME): Likewise.
27251         * string/test-strnlen.c (TEST_NAME): Likewise.
27252         * string/test-strpbrk.c (TEST_NAME): Likewise.
27253         * string/test-strrchr.c (TEST_NAME): Likewise.
27254         * string/test-strspn.c (TEST_NAME): Likewise.
27255         * string/test-strstr.c (TEST_NAME): Likewise.
27256         * string/test-bcopy-ifunc.c: New file.
27257         * string/test-bzero-ifunc.c: Likewise.
27258         * string/test-memccpy-ifunc.c: Likewise.
27259         * string/test-memchr-ifunc.c: Likewise.
27260         * string/test-memcmp-ifunc.c: Likewise.
27261         * string/test-memcpy-ifunc.c: Likewise.
27262         * string/test-memmem-ifunc.c: Likewise.
27263         * string/test-memmove-ifunc.c: Likewise.
27264         * string/test-mempcpy-ifunc.c: Likewise.
27265         * string/test-memset-ifunc.c: Likewise.
27266         * string/test-rawmemchr-ifunc.c: Likewise.
27267         * string/test-stpcpy-ifunc.c: Likewise.
27268         * string/test-stpncpy-ifunc.c: Likewise.
27269         * string/test-strcasecmp-ifunc.c: Likewise.
27270         * string/test-strcasestr-ifunc.c: Likewise.
27271         * string/test-strcat-ifunc.c: Likewise.
27272         * string/test-strchr-ifunc.c: Likewise.
27273         * string/test-strchrnul-ifunc.c: Likewise.
27274         * string/test-strcmp-ifunc.c: Likewise.
27275         * string/test-strcpy-ifunc.c: Likewise.
27276         * string/test-strcspn-ifunc.c: Likewise.
27277         * string/test-strlen-ifunc.c: Likewise.
27278         * string/test-strncasecmp-ifunc.c: Likewise.
27279         * string/test-strncat-ifunc.c: Likewise.
27280         * string/test-strncmp-ifunc.c: Likewise.
27281         * string/test-strncpy-ifunc.c: Likewise.
27282         * string/test-strnlen-ifunc.c: Likewise.
27283         * string/test-strpbrk-ifunc.c: Likewise.
27284         * string/test-strrchr-ifunc.c: Likewise.
27285         * string/test-strspn-ifunc.c: Likewise.
27286         * string/test-strstr-ifunc.c: Likewise.
27288         * debug/Makefile (tests-ifunc): New variable.
27289         (tests): Add $(tests-ifunc).
27290         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27291         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27292         * debug/test-stpcpy_chk-ifunc.c: New file.
27293         * debug/test-strcpy_chk-ifunc.c: Likewise.
27295 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27297         [BZ #13601]
27298         * elf/dl-load.c (open_verify): Retry read if the entire ELF
27299         header is not read in.
27301 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
27303         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
27304         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
27305         directly.  Pass built executable to script as
27306         $(built-program-cmd).
27307         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
27308         $testprogram without using LD_LIBRARY_PATH and $ldso.
27310         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27311         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27312         $(rtld-installed-name).
27313         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27314         (rtld_installed_name): Likewise.
27315         (library_path): Likewise.
27316         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
27317         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27318         $(run-program-prefix) to tst-tables.sh.
27319         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
27320         it to run tst-table-from and tst-table-to.
27321         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27322         Pass it to tst-table.sh.
27323         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27324         $(run-program-prefix) to tst-gettext.sh.
27325         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27326         tst-translit.sh.
27327         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27328         tst-gettext2.sh.
27329         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
27330         to run tst-gettext.
27331         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
27332         to run tst-gettext2.
27333         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
27334         to run tst-translit.
27335         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27336         $(run-program-prefix) to tst-mtrace.sh.
27337         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
27338         to run tst-mtrace.
27339         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27340         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27341         $(rtld-installed-name).
27342         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27343         (rtld_installed_name): Likewise.
27344         (run_program_prefix): New variable.  Use it to run wordexp-test.
27346         * Makeconfig (ARCH): Remove all definitions.
27347         (machine): Likewise.
27348         [ARCH]: Remove conditional code.
27349         [!objdir]: Give error.
27350         [!objdir] (objpfx): Remove.
27351         [!objdir] (common-objpfx): Likewise.
27352         [!objdir] (common-objdir): Likewise.
27353         * configure.in (config_makefile): Remove.  Hardcode Makefile in
27354         AC_CONFIG_FILES call.
27355         * configure: Regenerated.
27357         [BZ #13888]
27358         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27359         or TMPDIR.
27360         (testout): Likewise.
27362         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27363         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27364         $(rtld-installed-name).
27365         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27366         (rtld_installed_name): Likwise.
27367         (runit): Remove function.
27368         (run_getconf): New variable,  Use it for running getconf binary.
27370 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
27372         [BZ #14716]
27373         * string/test-memmem.c (check_result): New function.
27374         (do_one_test): Use it.
27375         (check1): New function.
27376         (test_main): Use it.
27378 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
27380         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27382 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
27384         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27385         (_G_LSEEK64): Likewise.
27386         (_G_MMAP64): Likewise.
27387         (_G_FSTAT64): Likewise.
27388         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27389         (_G_LSEEK64): Likewise.
27390         (_G_MMAP64): Likewise.
27391         (_G_FSTAT64): Likewise.
27392         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27393         unconditional.  Call __mmap64 directly.
27394         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27395         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
27396         __lseek64 directly.
27397         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27398         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
27399         __mmap64 directly.
27400         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27401         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27402         __lseek64 directly.
27403         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27404         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27405         __lseek64 directly.
27406         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27407         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
27408         __lseek64 directly.
27409         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27410         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
27411         __fxstat64 directly.
27412         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27413         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27414         unconditional.
27415         (freopen64) [!_G_OPEN64]: Remove conditional code.
27416         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27417         unconditional.
27418         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27419         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27420         unconditional.
27421         (ftello64) [!_G_LSEEK64]: Remove conditional code.
27422         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27423         unconditional.
27424         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27425         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27426         unconditional.
27427         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27428         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27429         unconditional.
27430         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27431         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27432         unconditional.
27433         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27434         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27435         unconditional.
27436         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27438 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27440         [BZ #12140]
27441         * manual/memory.texi (Malloc Tunable Parameters): Add note
27442         about free list pointers overwriting some perturb bytes.
27443         Wording suggested by Roland McGrath.
27445 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
27447         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27448         (lgamma_test): Likewise.
27449         (tgamma_test): Likewise.
27451 2012-10-16  Florian Weimer  <fweimer@redhat.com>
27453         [BZ #14700]
27454         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27455         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27457 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
27459         * NEWS: Mention BZ #14716.
27460         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27461         when removing AVAILABLE1_USES_J macro.
27463 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
27465         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27466         (__bswap_64): __uint64_t for unsigned 64-bit int.
27468 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
27470         * include/string.h (memmem): Declare libc hidden alias.
27471         * string/memmem.c (memmem): Define libc hidden alias.
27472         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27473         __read, __close instead of open, read, close.
27475 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
27477         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27478         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27479         global and hidden.
27480         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27481         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27482         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27483         Likewise.
27484         (__rawmemchr_sse2): Likewise.
27485         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27486         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27487         (__strchr_sse2): Likewise.
27488         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27489         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27490         (__strcasecmp_sse2): Likewise.
27491         (__strncasecmp_sse2): Likewise.
27492         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27493         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27494         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27495         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27496         (__strrchr_sse2): Likewise.
27497         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27498         ifunc-impl-list.c.
27499         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27500         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27501         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27502         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27503         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27504         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27505         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27506         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27507         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27508         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27509         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27510         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27511         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27512         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27513         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27514         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27515         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27516         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27517         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27518         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27519         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27520         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27521         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27522         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27523         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27524         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27525         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27526         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27527         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27528         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27530         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27531         global and hidden.
27532         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27533         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27534         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27535         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27536         Likewise.
27537         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27538         Likewise.
27539         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27540         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27541         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27542         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27543         ifunc-impl-list.c.
27544         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27545         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27546         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27547         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27548         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27549         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27550         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27551         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27552         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27553         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27554         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27555         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27556         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27557         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27558         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27559         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27560         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27561         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27562         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27563         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27564         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27565         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27566         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27567         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27568         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27569         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27570         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27571         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27572         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27573         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27574         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27575         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27576         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27577         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27578         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27579         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27580         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27581         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27582         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27583         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27584         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27586         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27587         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27588         * include/ifunc-impl-list.h: New file.
27589         * misc/ifunc-impl-list.c: Likewise.
27590         * misc/Makefile (routines): Add ifunc-impl-list.
27591         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27592         * string/test-string.h: Include <ifunc-impl-list.h>.
27593         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27594         TEST_NAME]: New variables.
27595         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27596         are defined.
27597         (test_init): Call __libc_ifunc_impl_list to initialize
27598         func_list if TEST_IFUNC and TEST_NAME are defined.
27600         * string/Makefile (strop-tests): Add bcopy and bzero.
27601         * string/test-bcopy.c: New file.
27602         * string/test-bzero.c: Likewise.
27603         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27604         defined.
27605         * string/test-memset.c: Support bzero test if TEST_BZERO is
27606         defined.
27607         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27608         __libc_memmove.
27609         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27610         __libc_memset.
27611         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27612         of memset.
27614 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
27616         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27617         * configure: Regenerated.
27619         * Makeconfig (+link-static-before-libc): Don't include
27620         $(link-static-libc).
27622         * libio/libio.h (_IO_pos_t): Remove.
27624 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27626         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
27627         McGrath.
27629 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27631         * crypt/crypt-entry.c: Include fips-private.h.
27632         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27633         * crypt/md5c-test.c (main): Tolerate disabled MD5.
27634         * sysdeps/unix/sysv/linux/fips-private.h: New file.
27635         * sysdeps/generic/fips-private.h: New file, dummy fallback.
27637 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27639         * crypt/crypt-private.h: Include stdbool.h.
27640         (_ufc_setup_salt_r): Return bool.
27641         * crypt/crypt-entry.c: Include errno.h.
27642         (__crypt_r): Return NULL with EINVAL for bad salt.
27643         * crypt/crypt_util.c (bad_for_salt): New.
27644         (_ufc_setup_salt_r): Check that salt is long enough and within
27645         the specified alphabet.
27646         * crypt/badsalttest.c: New file.
27647         * crypt/Makefile (tests): Add it.
27648         ($(objpfx)badsalttest): New.
27650 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
27652         * NEWS: Add entry for BZ #14602.
27654 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27656         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27657         type-generic.
27658         * math/libm-test.inc: Update comment listing what functions and
27659         macros are tested.
27660         (isgreater_test): New function.
27661         (isgreaterequal_test): Likewise.
27662         (isless_test): Likewise.
27663         (islessequal_test): Likewise.
27664         (islessgreater_test): Likewise.
27665         (isunordered_test): Likewise.
27666         (main): Call the new functions.
27668 2012-10-09  Roland McGrath  <roland@hack.frob.com>
27670         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27671         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27672         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27673         * sysdeps/i386/configure: Regenerated.
27674         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27675         * sysdeps/mach/configure: Regenerated.
27676         * sysdeps/mach/hurd/configure: Regenerated.
27677         * sysdeps/powerpc/configure: Regenerated.
27678         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27679         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27680         * sysdeps/s390/s390-32/configure: Regenerated.
27681         * sysdeps/s390/s390-64/configure: Regenerated.
27682         * sysdeps/sh/configure: Regenerated.
27683         * sysdeps/sparc/configure: Regenerated.
27684         * sysdeps/unix/sysv/linux/configure: Regenerated.
27685         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27686         * sysdeps/x86_64/configure: Regenerated.
27688         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27689         defined.  Don't check if MAP is NULL.
27691 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27693         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27694         (_G_stat64): Likewise.
27695         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27696         (_G_stat64): Likewise.
27697         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27698         instead of struct _G_stat64.
27699         * libio/fileops.c (mmap_remap_check): Likewise.
27700         (decide_maybe_mmap): Likewise.
27701         (_IO_new_file_seekoff): Likewise.
27702         (_IO_file_stat): Likewise.
27703         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27704         _G_off64_t.
27705         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27706         instead of struct _G_stat64.
27707         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27709 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
27711         [BZ #14602]
27712         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27713         Replace with ...
27714         (CHECK_EOL): New macro.
27715         (two_way_short_needle): Check beginning of haystack for EOL.  Use
27716         CHECK_EOL.
27717         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27718         Replace with CHECK_EOL.
27719         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27720         Replace with CHECK_EOL.
27722 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
27724         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27725         type-generic.
27726         * math/libm-test.inc: Update comment listing what functions and
27727         macros are tested.
27728         (finite_test): New function.
27729         (isinf_test): Likewise.
27730         (isnan_test): Likewise.
27731         (fpclassify_test): Test subnormal input.
27732         (isfinite_test): Likewise.
27733         (isnormal_test): Likewise.
27734         (main): Call the new functions.
27736 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
27738         [BZ #14660]
27739         * Makerules (%.dynsym): Force C locale when running
27740         $(OBJDUMP) --dynamic-syms.
27742 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
27744         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27745         <stdint.h>.
27747 2012-10-06  David S. Miller  <davem@davemloft.net>
27749         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27750         upper 32-bits of the length value in %o2 since we use branch-on-register
27751         tests which consider the entire 64-bit register.
27753 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
27755         * string/test-strstr.c (check2): Add a test for page boundary.
27757 2012-10-05  David S. Miller  <davem@davemloft.net>
27759         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27760         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27761         file.
27762         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27763         sysdep_routines.
27764         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27765         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27766         and bzero when HWCAP_SPARC_CRYPTO is present.
27768 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
27770         [BZ #14602]
27771         * string/test-strstr.c (check2): New function.
27772         (test_main): Call check2.
27774         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27775         and bug-strchr1.
27776         * string/bug-strcasestr1.c (do_test): Moved to ...
27777         * string/test-strcasestr.c (check1): Here.  New function.
27778         (do_one_test): Break out result checking code into ...
27779         (check_result): This.  New function.
27780         (do_one_test): Call check_result.
27781         (test_main): Call check1.
27782         * string/bug-strchr1.c (do_test): Moved to ...
27783         * string/test-strchr.c (check1): Here.  New function.
27784         (do_one_test): Break out result checking code into ...
27785         (check_result): This.  New function.
27786         (do_one_test): Call check_result.
27787         (test_main): Call check1.
27788         * string/bug-strstr1.c (main): Moved to ...
27789         * string/test-strstr.c (check1): Here.  New function.
27790         (do_one_test): Break out result checking code into ...
27791         (check_result): This.  New function.
27792         (do_one_test): Call check_result.
27793         (test_main): Call check1.
27794         * string/bug-strcasestr1.c: Removed.
27795         * string/bug-strchr1.c: Likewise.
27796         * string/bug-strstr1.c: Likewise.
27798         * elf/Makefile (dl-routines): Add hwcaps.
27799         * elf/dl-support.c (_dl_important_hwcaps): Removed.
27800         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27801         (_dl_important_hwcaps): Moved to ...
27802         * elf/dl-hwcaps.c: Here.  New file.
27803         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27805         [BZ #14557]
27806         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27807         if IS_IN_rtld isn't defined.
27809         * elf/dl-support.c (_dl_sysinfo_map): New.
27810         Include "get-dynamic-info.h" and "setup-vdso.h".
27811         (_dl_non_dynamic_init): Call setup_vdso.
27812         * elf/dynamic-link.h: Don't include <assert.h>.
27813         (elf_get_dynamic_info): Moved to ...
27814         * elf/get-dynamic-info.h: Here.  New file.
27815         * elf/dynamic-link.h: Include "get-dynamic-info.h".
27816         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27817         * elf/setup-vdso.h: Here.  New file.
27818         * elf/rtld.c: Include "setup-vdso.h".
27819         (dl_main): Call setup_vdso.
27821 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
27823         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27824         creal in comment listing functions tested.  List finite, isinf,
27825         isnan, isless, islessequal, isgreater, isgreaterequal,
27826         islessgreater, isunordered, lgamma_r and pow10 as functions and
27827         macros not tested.  Mention which functions not tested are aliases
27828         for other functions.  Fix typo.  Note that signs of NaNs are not
27829         tested.
27831         * scripts/config.guess: Update from config.git.
27832         * scripts/config.sub: Likewise.
27834 2012-10-04  Roland McGrath  <roland@hack.frob.com>
27836         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27837         * misc/madvise.c (madvise): Renamed to __madvise.
27838         Make madvise a weak alias.
27839         * include/sys/mman.h: Declare __madvise.
27840         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27841         * sysdeps/unix/syscalls.list
27842         (madvise): Make __madvise the strong name, and madvise a weak alias.
27843         * sysdeps/unix/sysv/linux/syscalls.list
27844         (madvise, mmap): Remove redundant entries.
27845         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27846         * malloc/malloc.c (mtrim): Likewise.
27847         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27849 2012-10-03  Roland McGrath  <roland@hack.frob.com>
27851         * sysdeps/mach/hurd/dl-cache.c: File removed.
27852         * config.h.in (USE_LDCONFIG): New #undef.
27853         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27854         * configure: Regenerated.
27855         * elf/Makefile (dl-routines): Add dl-cache only under
27856         [$(use-ldconfig) = yes].
27857         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27858         cache on [USE_LDCONFIG].
27859         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27860         [USE_LDCONFIG].
27861         * elf/rtld.c (dl_main): Likewise.
27863 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
27865         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27866         _SC_LEVEL4_CACHE_LINESIZE.
27868 2012-10-03  Roland McGrath  <roland@hack.frob.com>
27870         * sysdeps/unix/bsd/confstr.h: File removed.
27872 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
27874         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27875         sys/sdt-config.h.
27877 2012-10-02  Roland McGrath  <roland@hack.frob.com>
27879         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27880         Make 'mapoff' field ElfW(Off) rather than off_t.
27882 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
27884         * nscd/Makefile: Remove nscd-cflags and all its users.
27885         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27886         (CFLAGS-nonlib): Add compiler flags for nscd modules.
27888         [BZ #10631]
27889         * malloc.c (malloc_printerr): Clarify error message.
27891 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
27893         [BZ #14648]
27894         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27895         Set bit_FMA_Usable if FMA is supported.
27896         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27897         macro.
27898         (bit_FMA4_Usable): Updated.
27899         (index_FMA_Usable): New macro.
27900         (CPUID_FMA): Likewise
27901         (HAS_FMA): Defined with bit_FMA_Usable.
27903 2012-10-01  Roland McGrath  <roland@hack.frob.com>
27905         * bits/types.h (__swblk_t): Type removed.
27906         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27907         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27908         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27909         (__SWBLK_T_TYPE): Likewise.
27910         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27911         (__SWBLK_T_TYPE): Likewise.
27912         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27913         (__SWBLK_T_TYPE): Likewise.
27914         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27915         (__SWBLK_T_TYPE): Likewise.
27917 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
27918             Honza Horak <hhorak@redhat.com>
27920         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27921         (xdr_mapname): Use YPMAXMAP as maxsize.
27922         (xdr_peername): Use YPMAXPEER as maxsize.
27923         (xdr_keydat): Use YPAXRECORD as maxsize.
27924         (xdr_valdat): Use YPMAXRECORD as maxsize.
27926 2012-10-01  Roland McGrath  <roland@hack.frob.com>
27928         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27930         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27931         * csu/init-first.c: ... here.
27932         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27933         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27934         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27935         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27936         * sysdeps/i386/init-first.c: File removed.
27937         * sysdeps/sh/init-first.c: File removed.
27939 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
27941         [BZ #14645]
27942         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27943         if x * y might underflow to zero and z is zero.
27944         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27945         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27946         * math/libm-test.inc (min_subnorm_value): New variable.
27947         (fma_test): Add more tests.
27948         (fma_test_towardzero): Likewise.
27949         (fma_test_downward): Likewise
27950         (fma_test_upward): Likewise.
27951         (initialize): Set min_subnorm_value.
27953 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
27955         [BZ #14638]
27956         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27957         0 + 0.
27958         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27959         mode for addition resulting in exact zero.
27960         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27961         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27962         exact 0 + 0.
27963         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27964         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27965         * math/libm-test.inc (fma_test): Add more tests.
27966         (fma_test_towardzero): New function.
27967         (fma_test_downward): Likewise.
27968         (fma_test_upward): Likewise.
27969         (main): Call the new functions.
27971 2012-09-28  David S. Miller  <davem@davemloft.net>
27973         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27975 2012-09-28  Roland McGrath  <roland@hack.frob.com>
27977         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27978         instead of SIGALRM.
27980         * sysdeps/gnu/_G_config.h: Moved to ...
27981         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27982         * sysdeps/mach/hurd/_G_config.h: Moved to ...
27983         * sysdeps/generic/_G_config.h: ... here.
27985         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
27987         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27989         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27990         Conditionalize target on [libnss_test1.so-version].
27992         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27994         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27995         (elfobjdir): Move out of conditionals.
27997         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27998         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27999         (__nss_lookup_function): Conditionalize label remove_from_tree on
28000         [!DO_STATIC_NSS || SHARED], matching its only use.
28002 2012-09-28  David S. Miller  <davem@davemloft.net>
28004         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28005         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28006         file.
28007         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28008         sysdep_routines.
28009         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28010         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28011         when HWCAP_SPARC_CRYPTO is present.
28013 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28015         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28017 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28019         [BZ #6530]
28020         * stdio-common/vfprintf.c (process_string_arg): Revert
28021         2000-07-22 change.
28023 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28025         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28026         for testcase.
28027         * stdio-common/tst-sprintf.c: Include <locale.h>
28028         (main): Test sprintf's handling of incomplete multibyte
28029         characters.
28031 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28033         * elf/dl-runtime.c (VERSYMIDX): Removed.
28034         * elf/dl-version.c (VERSYMIDX): Likewise.
28035         * elf/do-rel.h (VERSYMIDX): Likewise.
28036         (VALIDX): Likewise.
28037         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28038         * elf/rtld.c (VALIDX): Likewise.
28039         (ADDRIDX): Likewise.
28040         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28041         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28042         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28043         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28044         (VALIDX): Likewise.
28045         (ADDRIDX): Likewise.
28047 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28049         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28051 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28053         [BZ #11438]
28054         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28055         to global scope.
28056         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28057         addresses are in the same scope as 192.0.2/24.
28058         * posix/gai.conf: Document new scope table defaults.
28060 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28062         [BZ #5298]
28063         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28064         for ftell.  Compute offsets from write pointers instead.
28065         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28067 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28069         [BZ #14543]
28070         * libio/Makefile (tests): New test case tst-fseek.
28071         * libio/tst-fseek.c: New test case to verify that fseek/ftell
28072         combination works in wide mode.
28073         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28074         state when the external buffer state changes.
28076 2012-09-27  David S. Miller  <davem@davemloft.net>
28078         [BZ #14376]
28079         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28080         pass reloc->r_addend in as the 'high' argument to
28081         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28085 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28087         * rt/tst-aio2.c: Include <pthread.h>.
28088         * rt/tst-aio3.c: Likewise.
28090 2012-09-27  Steve Ellcey  <sellcey@mips.com>
28092         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28094 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
28096         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28097         contents on [SHARED].
28099 2012-09-26  Marek Polacek  <polacek@redhat.com>
28101         [BZ #14530]
28102         [BZ #13741]
28103         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28104         for C++ and GCC <4.3 as well as for non GCC compilers.
28106 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28108         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28110 2012-09-25  Roland McGrath  <roland@hack.frob.com>
28112         * Makefile.in (all, install): Declare with .PHONY.
28113         Reported by Michael Hope <michael.hope@linaro.org>.
28115 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28117         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28118         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28119         system header.
28120         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28121         Likewise.
28122         (sydep_routines): Add the new and the internal functions.
28123         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28124         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28126         (GLIBC_2.17): Add the new function.
28127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28128         (GLIBC_2.17): Likewise.
28129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28130         (GLIBC_2.17): Likewise.
28131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28132         (GLIBC_2.17): Likewise.
28133         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28135 2012-09-25  Alan Modra  <amodra@gmail.com>
28137         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28138         Add release barrier before setting once_control to say
28139         initialisation is done.  Add hints on lwarx.  Use macro in
28140         place of isync.
28141         (clear_once_control): Add release barrier.
28143 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28145         [BZ #13629]
28146         * math/s_clog.c (__clog): Handle more values close to |z| = 1
28147         specially.
28148         * math/s_clog10.c (__clog10): Likewise.
28149         * math/s_clog10f.c (__clog10f): Likewise.
28150         * math/s_clog10l.c (__clog10l): Likewise.
28151         * math/s_clogf.c (__clogf): Likewise.
28152         * math/s_clogl.c (__clogl): Likewise.
28153         * math/Makefile (libm-calls): Add x2y2m1.
28154         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28155         (__x2y2m1): Likewise.
28156         (__x2y2m1l): Likewise.
28157         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28158         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28159         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28160         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28161         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28162         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28163         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28164         * sysdeps/i386/fpu/libm-test-ulps: Update.
28165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28167         [BZ #14621]
28168         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28169         int as type of variable DEPTH.
28170         (glob): Use size_t instead of int as type of variables NEWCOUNT
28171         and OLD_PATHC.
28173 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28175         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28176         Add s_sincosf-sse2.
28177         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28178         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28179         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28180         macros for using routine as __sincosf_ia32.
28181         Use macro for function declaration and weak_alias.
28182         * sysdeps/i386/fpu/libm-test-ulps: Update.
28184         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28185         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28187         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28188         subnormal argument.
28189         * math/s_cexpf.c (__cexpf): Likewise.
28190         * math/s_csinf.c (__csinf): Likewise.
28191         * math/s_csinhf.c (__csinhf): Likewise.
28192         * math/s_ctanf.c (__ctanf): Likewise.
28193         * math/s_ctanhf.c (__ctanhf): Likewise.
28194         * math/s_ccosh.c (__ccoshf): Likewise.
28195         * math/s_cexp.c (__cexpl): Likewise.
28196         * math/s_csin.c (__csin): Likewise.
28197         * math/s_csinh.c (__csinh): Likewise.
28198         * math/s_ctan.c (__ctan): Likewise.
28199         * math/s_ctanh.c (ctanh): Likewise.
28200         * math/s_ccoshl.c (__ccoshl): Likewise.
28201         * math/s_cexpl.c (__cexpl): Likewise.
28202         * math/s_csinl.c (__csinl): Likewise.
28203         * math/s_csinhl.c (__csinhl): Likewise.
28204         * math/s_ctanl.c (__ctanl): Likewise.
28205         * math/s_ctanhl.c (__ctanhl): Likewise.
28207 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28209         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28210         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28211         (_IO_off_t): Define to __off_t, not _G_off_t.
28212         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28213         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28214         (_IO_wint_t): Define to wint_t, not _G_wint_t.
28215         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28216         type of __dummy and __dummy2 fields.
28217         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28218         (_G_ssize_t): Likewise.
28219         (_G_off_t): Likewise.
28220         (_G_pid_t): Likewise.
28221         (_G_uid_t): Likewise.
28222         (_G_wchar_t): Likewise.
28223         (_G_wint_t): Likewise.
28224         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28225         (_G_ssize_t): Likewise.
28226         (_G_off_t): Likewise.
28227         (_G_pid_t): Likewise.
28228         (_G_uid_t): Likewise.
28229         (_G_wchar_t): Likewise.
28230         (_G_wint_t): Likewise.
28231         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28232         (_G_ssize_t): Likewise.
28233         (_G_off_t): Likewise.
28234         (_G_pid_t): Likewise.
28235         (_G_uid_t): Likewise.
28236         (_G_wchar_t): Likewise.
28237         (_G_wint_t): Likewise.
28239 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28241         * malloc/arena.c: Include malloc-sysdep.h.
28242         (shrink_heap): Use check_may_shrink_heap to decide if madvise
28243         is sufficient to shrink the heap or an unmap is needed.
28244         * sysdeps/generic/malloc-sysdep.h: New file.  Define
28245         new function check_may_shrink_heap.
28246         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
28247         new function check_may_shrink_heap.
28249 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28251         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28252         comments.
28254 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
28256         * catgets/test-gencat.sh: Add "set -e".
28257         * elf/tst-pathopt.sh: Likewise.
28258         * grp/tst_fgetgrent.sh: Likewise.
28259         * iconvdata/run-iconv-test.sh: Likewise.
28260         * intl/tst-gettext.sh: Likewise.
28261         * intl/tst-gettext2.sh: Likewise.
28262         * intl/tst-gettext4.sh: Likewise.
28263         * intl/tst-gettext6.sh: Likewise.
28264         * intl/tst-translit.sh: Likewise.
28265         * io/ftwtest-sh: Likewise.
28266         * libio/test-freopen.sh: Likewise.
28267         * malloc/tst-mtrace.sh: Likewise.
28268         * posix/globtest.sh: Likewise.
28269         * posix/tst-getconf.sh: Likewise.
28270         * posix/wordexp-tst.sh: Likewise.
28271         * stdio-common/tst-printf.sh: Likewise.
28272         * stdio-common/tst-unbputc.sh: Likewise.
28273         * stdlib/tst-fmtmsg.sh: Likewise.
28274         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28275         * catgets/Makefile: Do not specify -e option when running
28276         testsuite shell scripts.
28277         * elf/Makefile: Likewise.
28278         * grp/Makefile: Likewise.
28279         * iconvdata/Makefile: Likewise.
28280         * intl/Makefile: Likewise.
28281         * io/Makefile: Likewise.
28282         * libio/Makefile: Likewise.
28283         * malloc/Makefile: Likewise.
28284         * posix/Makefile: Likewise.
28285         * stdio-common/Makefile: Likewise.
28286         * stdlib/Makefile: Likewise.
28287         * sysdeps/x86_64/Makefile: Likewise.
28289         * io/ftwtest-sh: Add copyright header.
28290         * posix/globtest.sh: Likewise.
28291         * posix/tst-getconf.sh: Likewise.
28292         * posix/wordexp-tst.sh: Likewise.
28293         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28295 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
28297         [BZ #13679]
28298         * Makeconfig (+link): Defined as $(+link-static) if
28299         $(build-shared) isn't yes.
28300         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28301         isn't yes.
28302         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28304         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28306         [BZ #14562]
28307         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28308         new chunk size with MALLOC_ALIGN_MASK.
28310 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
28312         [BZ #5044]
28313         * stdio-common/printf_fphex.c: Include <stdbool.h> and
28314         <rounding-mode.h>.
28315         (__printf_fphex): Determine rounding using get_rounding_mode and
28316         round_away.
28317         * stdio-common/tst-printf-round.c (struct hex_test): New
28318         structure.
28319         (hex_tests): New variable.
28320         (test_hex_in_one_mode): New function.
28321         (do_test): Also run tests for hex float output.
28323 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
28325         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28326         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28327         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28328         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28329         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28330         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28331         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28332         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28334 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
28336         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28337         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28338         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28339         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28341 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
28343         [BZ #14579]
28344         * elf/rtld.c (dl_main): Limit the check for self loading to normal
28345         mode only.
28346         * elf/tst-rtld-load-self.sh: New test.
28347         * elf/Makefile: Run it.
28349 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
28351         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28352         (tst-writev-ENV): Remove.
28353         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28355 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
28357         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28359 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
28361         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28362         unconditional.
28363         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28364         Likewise.
28365         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28366         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28367         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28368         Likewise.
28370 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
28372         [BZ #14587]
28373         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28374         * config.make.in (have-cpp-asm-debuginfo): Removed.
28375         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28376         * configure: Regenerated.
28378 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
28380         [BZ #5044]
28381         * stdio-common/printf_fp.c: Include <stdbool.h> and
28382         <rounding-mode.h>.
28383         (___printf_fp): Determine rounding using get_rounding_mode and
28384         round_away.
28385         * stdio-common/tst-printf-round.c: New file.
28386         * stdio-common/Makefile (tests): Add tst-printf-round.
28387         (link-libm): New variable.
28388         ($(objpfx)tst-printf-round): Depend in $(link-libm).
28390 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
28392         [BZ #14576]
28393         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28394         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28395         Likewise.
28396         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28397         Likewise.
28399 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
28401         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28402         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28403         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28404         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28406 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
28408         [BZ #14518]
28409         * include/rounding-mode.h: New file.
28410         * sysdeps/generic/get-rounding-mode.h: Likewise.
28411         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28412         * stdlib/strtod_l.c: Include <rounding-mode.h>.
28413         (MAX_VALUE): New macro.
28414         (MIN_VALUE): Likewise.
28415         (overflow_value): New function.
28416         (underflow_value): Likewise.
28417         (round_and_return): Use overflow_value and underflow_value to
28418         determine return values in overflow and underflow cases.  Use
28419         round_away to determine rounding depending on rounding mode.
28420         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28421         determine return values in overflow and underflow cases.
28422         * stdlib/tst-strtod-round.c: Include <fenv.h>.
28423         (struct test_results): New structure.
28424         (struct test): Use struct test_results to store expected results
28425         for all rounding modes.
28426         (TEST): Include expected results for all rounding modes.
28427         (test_in_one_mode): New function.
28428         (do_test): Use test_in_one_mode to compute and check results.
28429         Check results for all rounding modes.
28430         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28431         $(link-libm).
28433 2012-12-09  Allan McRae  <allan@archlinux.org>
28435         * sysdeps/i386/fpu/libm-test-ulps: Update
28437 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
28439         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28440         (_G_int32_t): Likewise.
28441         (_G_uint16_t): Likewise.
28442         (_G_uint32_t): Likewise.
28443         (_G_HAVE_BOOL): Likewise.
28444         (_G_HAVE_ATEXIT): Likewise.
28445         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28446         (_G_HAVE_IO_FILE_OPEN): Likewise.
28447         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28448         (_G_int32_t): Likewise.
28449         (_G_uint16_t): Likewise.
28450         (_G_uint32_t): Likewise.
28451         (_G_HAVE_BOOL): Likewise.
28452         (_G_HAVE_ATEXIT): Likewise.
28453         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28454         (_G_HAVE_IO_FILE_OPEN): Likewise.
28455         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28456         (_G_int32_t): Likewise.
28457         (_G_uint16_t): Likewise.
28458         (_G_uint32_t): Likewise.
28459         (_G_HAVE_BOOL): Likewise.
28460         (_G_HAVE_ATEXIT): Likewise.
28461         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28462         (_G_HAVE_IO_FILE_OPEN): Likewise.
28464 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
28466         * csu/libc-tls.c: Update copyright years.
28468 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
28470         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28471         [!_G_USING_THUNKS]: Remove conditional code.
28472         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28473         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28475         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28476         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28477         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28478         (_G_VTABLE_LABEL_PREFIX): Likewise.
28479         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28480         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28481         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28482         (_G_VTABLE_LABEL_PREFIX): Likewise.
28483         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28484         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28485         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28486         (_G_VTABLE_LABEL_PREFIX): Likewise.
28487         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28489 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
28491         * libio/Makefile: Include ../Makeconfig before tests.
28492         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28493         only if $(build-shared) is yes.
28495         * iconv/gconv_db.c: Update copyright years.
28497 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28499         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28500         unwind info if defined PIC. Fix special cases description.
28501         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28503         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28504         DP_HI_MASK entry.
28505         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28507 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
28509         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28511         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28512         is NULL.
28514         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28515         (LDLIBS-tst-chk4): This.
28516         (LDFLAGS-tst-chk5): Renamed to ...
28517         (LDLIBS-tst-chk5): This.
28518         (LDFLAGS-tst-chk6): Renamed to ...
28519         (LDLIBS-tst-chk6): This.
28520         (LDFLAGS-tst-lfschk4): Renamed to ...
28521         (LDLIBS-tst-lfschk4): This.
28522         (LDFLAGS-tst-lfschk5): Renamed to ...
28523         (LDLIBS-tst-lfschk5): This.
28524         (LDFLAGS-tst-lfschk6): Renamed to ...
28525         (LDLIBS-tst-lfschk6): This.
28527         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28528         on $(common-objpfx)soversions.mk.
28530 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
28532         [BZ #10014]
28533         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28534         example host name.
28536 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28538         * malloc/arena.c (arena_get_retry): New function that gets
28539         another arena for the caller to try its request on.
28540         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28541         current arena cannot fulfill the request.
28542         (__libc_memalign): Likewise.
28543         (__libc_memalign): Likewise.
28544         (__libc_pvalloc): Likewise.
28545         (__libc_calloc): Likewise.
28547 2012-09-05  John Tobey  <john.tobey@gmail.com>
28549         [BZ #13542]
28550         * manual/arith.texi (Operations on Complex): Fix description
28551         of carg branch cut.
28553 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28555         [BZ #10014]
28556         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28557         host name.
28559         [BZ #10038]
28560         * manual/memory.texi (Memory): Make order of menu items match
28561         order of sections.
28563 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28565         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28566         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
28567         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28569 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28571         * csu/libc-tls.c (static_dtv): Renamed to ...
28572         (_dl_static_dtv): This.  Make it global.
28573         (_dl_initial_dtv): Removed.
28574         (__libc_setup_tls): Updated.
28575         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28576         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28577         DL_INITIAL_DTV.
28579 2012-09-06  Petr Machata  <pmachata@redhat.com>
28581         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28582         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28583         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28584         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28586 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28588         [BZ #14545]
28589         * csu/libc-tls.c (_dl_initial_dtv): New variable.
28590         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28591         freeing dtv[-1].
28593 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28595         [BZ #14544]
28596         * Makeconfig (link-static-before-libc): Replace $(+prector)
28597         with $(+prectorT).
28598         (link-static-after-libc): Replace $(+postctor) with
28599         $(+postctorT).
28600         (link-bounded): Replace $(+prector)/$(+postctor) with
28601         $(+prectorT)/$(+postctorT).
28602         (+prectorT): New macro.
28603         (+postctorT): Likewise.
28605 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28607         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28608         (round_str): Handle values above the maximum for IBM long double
28609         as inexact.
28610         * stdlib/tst-strtod-round.c (tests): Regenerated.
28612 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28614         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28615         assembler flag.
28616         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28617         zarch_nohighgprs around the zarch optimized routines.
28618         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28619         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28620         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28621         for zarch.
28623 2012-09-05  David S. Miller  <davem@davemloft.net>
28625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28627         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28628         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28629         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28630         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28631         entries.
28633 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28635         * malloc/arena.c: Fold copyright years.
28636         * malloc/mcheck.c, malloc/memusage.c: Likewise.
28638 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28640         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28642 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28644         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
28646 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28648         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28649         change internal state upon failure.
28651 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28653         * malloc/mcheck.c (mcheck_check_all): Fix typo.
28654         * malloc/memusage.c (mmap): Likewise.
28655         (mmap64, mremap): Likewise.  Adjust name in comment.
28657 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28659         * libio/fileops.c: Fix typos in comments.
28660         * libio/oldfileops.c: Likewise.
28661         * libio/wfileops.c: Likewise.
28663 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28665         [BZ #1349]
28666         * malloc/Makefile (tests): Add tst-malloc-usable test case.
28667         (tst-malloc-usable-ENV): Set environment for test case.
28668         * malloc/hooks.c (malloc_check_get_size): New function to get
28669         requested size.
28670         * malloc/malloc.c (musable): Use malloc_check_get_size.
28671         * malloc/tst-malloc-usable.c: New test case.
28673 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28675         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28677 2012-09-05  Allan McRae  <allan@archlinux.org>
28679         [BZ #13966]
28680         * configure.in (CXX_SYSINCLUDES): Use compiler output to
28681         determine header location.
28682         * configure: Regenerated.
28684 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28686         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28687         float format.
28688         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28689         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28690         format.
28691         (test): Regenerate.
28693 2012-09-04  David S. Miller  <davem@davemloft.net>
28695         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28696         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28697         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28699 2012-09-04  Florian Weimer  <fweimer@redhat.com>
28701         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28702         failures.
28704         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28706 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
28708         [BZ #9914]
28709         * libio/iogetdelim.c: Include <limits.h>.
28710         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28711         + len + 1 would overflow.
28713 2012-09-03  Andreas Jaeger  <aj@suse.de>
28715         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28716         * sysdeps/i386/fpu/libm-test-ulps: Update.
28718 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28720         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28721         Add s_sinf-sse2, s_conf-sse2.
28723         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28724         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28725         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28726         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28728         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28729         for using routine as __sinf_ia32.
28730         Use macro for function declaration and weak_alias.
28731         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28732         for using routine as __cosf_ia32.
28733         Use macro for function declaration and weak_alias.
28735         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28736         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28738         * sysdeps/x86_64/fpu/s_sinf.S: New file.
28739         * sysdeps/x86_64/fpu/s_cosf.S: New file.
28740         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28742         * math/libm-test.inc (cos_test): Add more test cases.
28743         (sin_test): Likewise.
28744         (sincos_test): Likewise.
28746 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28748         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28749         (IFUNC_RESOLVE): Make pointers to the specialized implementations
28750         hidden.
28751         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28753 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
28755         [BZ #14538]
28756         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28757         first element of the GOT.
28758         (elf_machine_load_address): Return the difference between
28759         the runtime address of _DYNAMIC and elf_machine_dynamic ().
28761 2012-09-01  Allan McRae  <allan@archlinux.org>
28763         [BZ #13412]
28764         * configure.in (AWK): Require gawk version 3.0 or later.
28765         * configure: Regenerated.
28767 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
28769         * sysdeps/unix/sysv/linux/kernel-features.h
28770         (__ASSUME_POSIX_CPU_TIMERS): Remove.
28771         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28772         [__NR_clock_getres]: Make code unconditional.
28773         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28774         (clock_getcpuclockid): Remove code left unreachable by removal of
28775         conditionals.
28776         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28777         code unconditional.
28778         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28779         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28780         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28781         Make code unconditional.
28782         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28783         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28784         * sysdeps/unix/sysv/linux/clock_settime.c
28785         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28786         conditional code.
28787         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28788         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28790 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
28792         [BZ #14476]
28793         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28794         scripts/test-installation.pl.
28796         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28797         and $ld_so_version if it is set.
28799 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28801         [BZ #14516]
28802         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28803         failure if reading from procfs failed.
28804         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28806 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
28808         * sysdeps/unix/sysv/linux/kernel-features.h
28809         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28810         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28811         Remove conditional code.
28812         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28813         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28814         Remove conditional code.
28815         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28816         * sysdeps/unix/sysv/linux/i386/fxstat.c
28817         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28818         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28819         * sysdeps/unix/sysv/linux/i386/fxstatat.c
28820         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28821         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28822         * sysdeps/unix/sysv/linux/i386/lxstat.c
28823         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28824         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28825         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28826         Remove conditional code.
28827         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28828         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28829         Remove conditional code.
28830         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28831         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28832         <kernel-features.h>.
28833         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28834         Remove.
28835         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28836         Remove conditional code.
28837         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28838         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28839         Remove conditional.
28841 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
28843         [BZ #5400]
28844         * NEWS: Add fixed bug number.
28846 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
28848         [BZ #14519]
28849         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28850         underflowing exponent in case of negative sign.
28851         * stdlib/tst-strtod-round-data: Add more tests.
28852         * stdlib/tst-strtod-round.c (tests): Regenerated.
28854         [BZ #3479]
28855         * stdlib/strtod_l.c (NDIG): Remove.
28856         (HEXNDIG): Likewise.
28857         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28858         smallest representable value.
28859         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28860         lie within an exact representation of 1/2 ulp of the result.
28861         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28862         unconditionally.
28863         (TENS_P9_IDX): Define unconditionally.
28864         (TENS_P9_SIZE): Likewise.
28865         (TENS_P10_IDX): Likewise.
28866         (TENS_P10_SIZE): Likewise.
28867         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28868         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28869         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28870         entries for 10^2^13 and 10^2^14.
28871         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28872         (TENS_P13_IDX): Define.
28873         (TENS_P13_SIZE): Likewise.
28874         (TENS_P14_IDX): Likewise.
28875         (TENS_P14_SIZE): Likewise.
28876         (_fpioconst_pow10): Change array size to
28877         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
28878         unconditional.
28879         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28880         1024]: Add entries for 10^2^13 and 10^2^14.
28881         [LAST_POW10 > _LAST_POW10]: Remove #error.
28882         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28883         (_fpioconst_pow10): Change array size to
28884         FPIOCONST_POW10_ARRAY_SIZE.
28885         * stdlib/gen-fpioconst.c: New file.
28886         * stdlib/gen-tst-strtod-round.c: Likewise.
28887         * stdlib/tst-strtod-round-data: Likewise.
28888         * stdlib/tst-strtod-round.c: Likewise.
28889         * stdlib/Makefile (tests): Add tst-strtod-round.
28891         [BZ #14459]
28892         * stdlib/strtod_l.c: Include <stdint.h>.
28893         (NDEBUG): Do not define.
28894         (round_and_return): Change EXPONENT parameter to type intmax_t.
28895         Rearrange calculations to avoid internal overflow possibilities.
28896         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28897         Rearrange calculations to avoid internal overflow possibilities.
28898         Assert that number fits inside MPNSIZE limbs.
28899         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28900         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
28901         calculations and add assertions to avoid internal overflow
28902         possibilities.  Add casts to avoid signed/unsigned operations.
28903         * stdlib/tst-strtod-overflow.c: New file.
28904         * stdlib/Makefile (tests): Add tst-strtod-overflow.
28906 2012-08-25  Marek Polacek  <polacek@redhat.com>
28908         * time/time.h: Fix some typos in comments.
28910 2012-08-23  Roland McGrath  <roland@hack.frob.com>
28912         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28913         * posix/tst-rfc3484-2.c: Likewise.
28914         * posix/tst-rfc3484-3.c: Likewise.
28916 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
28918         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28919         (EF_ARM_ABI_FLOAT_HARD): Likewise.
28921 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
28923         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28924         #include of fxstatat64.c.
28926 2012-08-22  Roland McGrath  <roland@hack.frob.com>
28928         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28929         * shadow/getspent_r.c: Likewise.
28930         * shadow/getspnam.c: Likewise.
28931         * shadow/getspnam_r.c: Likewise.
28932         * gshadow/getsgent.c: Likewise.
28933         * gshadow/getsgent_r.c: Likewise.
28934         * gshadow/getsgnam.c: Likewise.
28935         * gshadow/getsgnam_r.c: Likewise.
28936         * inet/getnetbyad.c: Likewise.
28937         * inet/getnetbyad_r.c: Likewise.
28938         * inet/getnetbynm.c: Likewise.
28939         * inet/getnetbynm_r.c: Likewise.
28940         * inet/getnetent.c: Likewise.
28941         * inet/getnetent_r.c: Likewise.
28942         * inet/getproto.c: Likewise.
28943         * inet/getproto_r.c: Likewise.
28944         * inet/getprtent.c: Likewise.
28945         * inet/getprtent_r.c: Likewise.
28946         * inet/getprtname.c: Likewise.
28947         * inet/getprtname_r.c: Likewise.
28948         * inet/getrpcbyname.c: Likewise.
28949         * inet/getrpcbyname_r.c: Likewise.
28950         * inet/getrpcbynumber.c: Likewise.
28951         * inet/getrpcbynumber_r.c: Likewise.
28952         * inet/getrpcent.c: Likewise.
28953         * inet/getrpcent_r.c: Likewise.
28954         * inet/getaliasent.c: Likewise.
28955         * inet/getaliasent_r.c: Likewise.
28956         * inet/getaliasname.c: Likewise.
28957         * inet/getaliasname_r.c: Likewise.
28958         * nscd/getgrgid_r.c: Likewise.
28959         * nscd/getgrnam_r.c: Likewise.
28960         * nscd/gethstbyad_r.c: Likewise.
28961         * nscd/gethstbynm3_r.c: Likewise.
28962         * nscd/getpwnam_r.c: Likewise.
28963         * nscd/getpwuid_r.c: Likewise.
28964         * nscd/getsrvbynm_r.c: Likewise.
28965         * nscd/getsrvbypt_r.c: Likewise.
28966         * nscd/gai.c: Likewise.
28968         * configure.in (build_nscd): New substituted variable, set
28969         by --disable-build-nscd and defaults to $use_nscd.
28970         * configure: Regenerated.
28971         * config.make.in (build-nscd): New substituted variable.
28972         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28973         Change conditional to require [$(build-nscd) = yes] as well.
28974         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28976         [BZ# 13696]
28977         * configure.in (use_nscd): New substituted variable, set by
28978         --disable-nscd.  If enabled, define USE_NSCD.
28979         * configure: Regenerated.
28980         * config.h.in: Add USE_NSCD.
28981         * config.make.in (use-nscd): New substituted variable.
28982         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28983         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28984         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28985         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28986         (CFLAGS-getgrnam_r.c): Likewise.
28987         (CFLAGS-initgroups.c): Likewise.
28988         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28989         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28990         Variables removed.
28991         * inet/getnetgrent_r.c
28992         (nscd_setnetgrent): New function, broken out of ...
28993         (setnetgrent): ... here.  Call it.
28994         (innetgr): Conditionalize nscd bits on [USE_NSCD].
28995         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28996         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28997         * nscd/Makefile (routines, aux): Move definitions after include of
28998         Makeconfig.  Conditionalize on [$(use-nscd) != no].
28999         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29000         Conditionalize on [USE_NSCD].
29001         (is_nscd, nscd_init_cb): Likewise.
29002         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29003         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29004         * nss/nss_db/db-init.c: Likewise.
29005         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29006         [USE_NSCD].
29007         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29008         (make_request): Use it.
29009         (cache_valid_p): New function.
29010         (__check_pf): Use it.
29011         * NEWS: Add item for --disable-nscd.
29013 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29015         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29016         to support sed >= 4.2.1-20-ga9bf076.
29017         * configure: Regenerated.
29019 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29021         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29022         Conditionalize whole body on [IREL].
29024 2012-08-22  Jeff Law <law@redhat.com>
29026         [BZ #14505]
29027         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29028         if the family is PF_UNSPEC.
29030 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29032         * Makerules (lib-version): Rename from V.
29033         (install-lib-nosubdir): Change V to lib-version.
29035 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29037         [BZ #14252]
29038         * powerpc32/power6/wcschr.c: New file.
29039         * powerpc32/power6/wcscpy.c: New file.
29040         * powerpc32/power6/wcsrchr.c: New file.
29041         * powerpc64/power6/wcschr.c: New file.
29042         * powerpc64/power6/wcscpy.c: New file.
29043         * powerpc64/power6/wcsrchr.c: New file.
29045 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29047         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29048         (two_way_short_needle): Use it.
29049         * string/strstr.c (AVAILABLE1_USES_J): Define.
29050         * string/strcasestr.c: Likewise.
29052         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29053         array references.
29054         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29056         [BZ #11607]
29057         * NEWS: Add an entry.
29058         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29059         define their defaults.
29060         (two_way_short_needle): Detect end-of-string on-the-fly.
29061         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29062         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29063         * string/bug-strcasestr1.c: New test.
29064         * string/Makefile: Run it.
29066 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29068         [BZ #11607]
29069         * string/str-two-way.h (two_way_short_needle): Optimize matching of
29070         the first character.
29072 2012-08-21  Roland McGrath  <roland@hack.frob.com>
29074         * csu/elf-init.c (__libc_csu_irel): Function removed.
29075         * csu/libc-start.c (apply_irel): New function.
29076         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29078 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
29080         * sysdeps/unix/sysv/linux/kernel-features.h
29081         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29082         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29083         <kernel-features.h>.
29084         [__NR_fadvise64_64]: Make code unconditional.
29085         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29086         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29087         !__NR_fadvise64_64)]: Likewise.
29088         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29089         !__NR_fadvise64_64))]: Likewise.
29090         [__NR_fadvise64]: Make code unconditional.
29091         [!__NR_fadvise64]: Remove conditional code.
29092         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29093         <kernel-features.h>.
29094         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29095         unconditional.
29096         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29097         conditional code.
29098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29099         not include <kernel-features.h>.
29100         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29101         unconditional.
29102         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29103         conditional code.
29104         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29105         include <kernel-features.h>.
29106         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29107         unconditional.
29108         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29109         conditional code.
29111 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29113         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29114         slight instruction rearrangements per scrollpipe analysis.
29115         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29117 2012-08-20  Roland McGrath  <roland@hack.frob.com>
29119         * manual/syslog.texi (syslog; vsyslog, closelog):
29120         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29121         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29123         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29124         DSOCAPS to match condition on defining it.
29126 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
29128         * sysdeps/unix/sysv/linux/kernel-features.h
29129         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29131         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29132         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29134         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29135         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29137         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29138         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29140         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29141         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29143         * sysdeps/unix/sysv/linux/kernel-features.h
29144         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29145         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29146         unconditional.
29147         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29148         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29149         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29150         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29151         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29152         Make code unconditional.
29153         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29154         (__mmap64) [!__NR_mmap2]: Likewise.
29155         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29156         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29157         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29158         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29159         [__NR_mmap2]: Make code unconditional.
29160         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29161         (__mmap64) [!__NR_mmap2]: Likewise.
29163 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29165         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29167 2012-08-18  Andreas Jaeger  <aj@suse.de>
29169         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29171 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29173         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29174         * include/unistd.h (__have_sock_cloexec): Likewise.
29175         (__have_pipe2): Likewise.
29176         (__have_dup3): Likewise.
29178 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29180         [BZ #9685]
29181         * include/unistd.h (__have_pipe2): Change define into an extern int.
29182         (__have_dup3): Likewise.
29183         * socket/have_sock_cloexec.c: Include fcntl.h.
29184         (__have_pipe2): New variable.
29185         (__have_dup3): Likewise.
29187 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
29189         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29191 2012-08-17  Marek Polacek  <polacek@redhat.com>
29193         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29194         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29196 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29198         * configure.in: Add AC_SUBST for sysheaders.
29199         * configure: Regenerated.
29200         * config.make.in (sysheaders): New substituted variable.
29202         * sysdeps/unix/mkfifo.c: Moved ...
29203         * sysdeps/posix/mkfifo.c: ... here.
29204         * sysdeps/unix/mkfifoat.c: Moved ...
29205         * sysdeps/posix/mkfifoat.c: ... here.
29207         * sysdeps/unix/utime.c: Moved ...
29208         * sysdeps/posix/utime.c: ... here.
29210         * sysdeps/unix/time.c: Moved ...
29211         * sysdeps/posix/time.c: ... here.
29212         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29213         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29215         * sysdeps/unix/nice.c: Moved ...
29216         * sysdeps/posix/nice.c: ... here.
29218         * sysdeps/unix/alarm.c: Moved ...
29219         * sysdeps/posix/alarm.c: ... here.
29221         * intl/Makefile ($(codeset_mo)): Depend on the input file.
29223 2012-08-17  Jeff Law <law@redhat.com>
29225         * intl/Makefile (codeset_mo): New variable.
29226         ($(codeset_mo)): New target.
29227         (tst-codeset.out): Depend on that.  Remove explicit rule.
29228         (tst-gettext3.out, tst-gettext5.out): Likewise.
29229         (LOCPATH-ENV, tst-codeset-ENV): New variables.
29230         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29231         * intl/tst-codeset.sh: Remove.
29232         * intl/tst-gettext3.sh: Likewise.
29233         * intl/tst-gettext5.sh: Likewise.
29235 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29237         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
29238         * sysdeps/unix/syscalls.list: ... here.
29240         * sysdeps/posix/getaddrinfo.c
29241         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29242         (gaiconf_init, gaiconf_reload): Use them.
29243         [!_STATBUF_ST_NSEC]
29244         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29245         Define using time_t rather than struct timespec.
29247         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29248         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29249         Macros removed.
29250         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29251         [!NO_THREADS].
29252         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29253         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29254         Likewise.
29256         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29257         __libc_cleanup_push argument.
29259         * bits/param.h: New file.
29260         * misc/sys/param.h: New file.
29261         * include/sys/param.h: New file.
29262         * misc/Makefile (headers): Add bits/param.h.
29263         * sysdeps/generic/sys/param.h: File removed.
29264         * sysdeps/unix/sysv/linux/bits/param.h: New file.
29265         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29266         * sysdeps/mach/hurd/bits/param.h: New file.
29267         * sysdeps/mach/hurd/sys/param.h: File removed.
29269         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29270         last change.
29272         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29273         [_IO_MTSAFE_IO].
29274         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29275         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29276         New macros.
29278         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29279         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29280         rather than -D_IO_MTSAFE_IO conditionally.
29281         * stdio-common/Makefile (CPPFLAGS): Likewise.
29282         * wcsmbs/Makefile (CPPFLAGS): Likewise.
29283         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29284         Use $(libio-mtsafe).
29285         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29286         of -D_IO_MTSAFE_IO.
29287         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29288         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29289         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29290         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29291         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29292         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29293         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29294         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29295         (CFLAGS-fread_u_chk.c): Likewise.
29296         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29297         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29298         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29299         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29300         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29301         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29302         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29303         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29304         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29306         * libio/Makefile: Test [$(libc-reentrant) = yes]
29307         instead of [$(filter %REENTRANT, $(defines)) nonempty].
29309         * Makeconfig
29310         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29311         * sysdeps/pthread/configure: File removed.
29312         * sysdeps/pthread/Makeconfig: New file.
29313         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29314         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29316 2012-08-16  Gary Benson  <gbenson@redhat.com>
29318         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29319         unmapping the first object in a namespace.
29321 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29323         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29324         (__internal_setnetgrent): ... this.  Add internal_function to
29325         definition.  Add libc_hidden_def.
29326         (setnetgrent): Update caller.
29327         (internal_endnetgrent): Renamed to ...
29328         (__internal_endnetgrent): ... this.  Add internal_function to
29329         definition.  Add libc_hidden_def.
29330         (endnetgrent): Update caller.
29331         (internal_getnetgrent_r): Renamed to ...
29332         (__internal_getnetgrent_r): ... this.  Add internal_function to
29333         definition.  Add libc_hidden_def.
29334         (__getnetgrent_r): Update caller.
29335         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
29337 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29339         * stdlib/longlong.h: Update from GCC.
29341 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29343         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29344         on _QL, which is set by umul_ppmm but never used.
29345         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29346         variables, which are set by GMP macros but never used.
29347         * stdio-common/_itowa.c (_itowa): Likewise.
29348         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29349         * stdlib/mod_1.c (mpn_mod_1): Likewise.
29351 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
29353         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29354         struct La_sh_regs is not constant.
29355         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29356         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29357         and struct La_sparc64_regs are not constant.
29359 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29361         * sysdeps/unix/sysv/linux/kernel-features.h
29362         (__ASSUME_POSIX_TIMERS): Remove.
29363         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29364         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29365         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29366         Make code unconditional.
29367         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29368         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29369         Make code unconditional.
29370         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29371         * sysdeps/unix/sysv/linux/clock_nanosleep.c
29372         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29373         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29374         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29375         Make code unconditional.
29376         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29377         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29378         (__libc_missing_posix_timers): Remove.
29380 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29382         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29383         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29385         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29387         * elf/dl-sym.c: Include <stdlib.h>.
29389         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29390         constants, which avoids warnings in 32-bit builds.
29392         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29393         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29395         * misc/lseek.c: File moved to ...
29396         * io/lseek.c: ... here.
29398         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29400         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29401         shifting LEN more than 31 bits at once.
29403 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29405         [BZ #14195]
29406         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29407         segmentation fault for a case of two empty input strings.
29408         * string/test-strncasecmp.c (check1): Renamed to...
29409         (bz12205): ...this.
29410         (bz14195): Add new testcase for two empty input strings and N > 0.
29411         (test_main): Call new testcase, adapt for renamed function.
29413 2012-08-15  Andreas Jaeger  <aj@suse.de>
29415         [BZ #14090]
29416         * crypt/md5test2.c: New test, based on test supplied by Serge
29417         Belyshev <belyshev@depni.sinp.msu.ru>.
29418         * crypt/Makefile (xtests): Add md5test-giant..
29419         * crypt/Makefile ($(objpfx)md5test-giant): Add.
29421 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
29423         [BZ #14090]
29424         * crypt/md5.c (md5_process_block): Don't assume the buffer
29425         length is less than 2**32.
29426         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29427         length is less than 2**64.
29429 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29431         * string/str-two-way.h: Include <sys/param.h>.
29432         (MAX): Macro removed.
29434         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29435         Move #define and #undef of memmove to just before and after
29436         including <string.h>.
29438         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29439         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29440         and after including <string.h>.  Move declarations of
29441         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29442         to before #include "string/memmove.c".
29444         * include/dirent.h: Declare __getdirentries.
29446         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29447         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29449 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
29451         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29452         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29453         * sysdeps/i386/configure: Regenerated.
29454         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29455         STABS_CURRENT_FILE, and STABS_FUN.
29456         (END): Remove call to STABS_FUN_END.
29457         (STABS_CURRENT_FILE1): Delete.
29458         (STABS_CURRENT_FILE): Likewise.
29459         (STABS_FUN): Likewise.
29460         (STABS_FUN_END): Likewise.
29461         (STABS_FUN2): Likewise.
29462         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29463         * sysdeps/x86_64/configure: Regenerated.
29465 2012-08-14  Roland McGrath  <roland@hack.frob.com>
29467         * elf/dl-open.c: Include <atomic.h>.
29468         * elf/dl-lookup.c: Likewise.
29470 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
29472         * sysdeps/unix/sysv/linux/kernel-features.h
29473         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29474         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29475         unconditionally.
29476         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29477         unconditionally.
29478         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29479         condition on __ASSUME_CLONE_THREAD_FLAGS.
29481 2012-08-14  Andreas Jaeger  <aj@suse.de>
29483         * sysdeps/i386/fpu/libm-test-ulps: Update.
29485 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
29487         * include/atomic.h (atomic_exchange_and_add): Split into ...
29488         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29489         New atomic macros.
29491 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
29493         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29495 2012-08-13  Jeff Law <law@redhat.com>
29497         * manual/stdio.texi (snprintf): Clarify handling of the trailing
29498         null byte in the output string.
29500 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
29502         * sysdeps/unix/sysv/linux/kernel-features.h
29503         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29504         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29505         (__ASSUME_ARG_MAX_STACK_BASED): Define.
29506         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29507         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29508         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
29509         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29511 2012-08-09  Jeff Law <law@redhat.com>
29513         [BZ #13939]
29514         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29515         When avoid_arena is set, don't retry in the that arena.  Pick the
29516         next one, whatever it might be.
29517         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29518         (arena_lock): Pass in new parameter to arena_get2.
29519         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29520         arena_get2.
29521         (__libc_malloc): Unify retrying after main arena failure with
29522         __libc_memalign version.
29523         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29525 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29527         [BZ #14166]
29528         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29529         to __redirect_strstr.
29530         (__strstr_sse42): Use typeof __redirect_strstr.
29531         (__strstr_ia32): Likewise.
29532         (__libc_strstr): New prototype.
29533         (strstr): Renamed to ...
29534         (__libc_strstr): This.
29535         (strstr): New strong alias of __libc_strstr.
29536         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29537         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29538         __redirect_time.
29539         Include <time.h>.
29540         (__libc_time): New prototype.
29541         (time_ifunc): Replace time with __libc_time.
29542         (time): New strong alias and hidden definition of __libc_time.
29543         (__GI_time): Remove strong alias.
29544         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29545         Include <stddef.h>.
29546         (memmove): Redefined to __redirect_memmove.
29547         (__memmove_sse2): Use typeof __redirect_memmove.
29548         (__memmove_ssse3): Likewise.
29549         (__memmove_ssse3_back): Likewise.
29550         (__libc_memmove): New prototype.
29551         (memmove): Renamed to ...
29552         (__libc_memmove): This.
29553         (memmove): New strong alias of __libc_memmove.
29555 2012-08-08  Mark Salter  <msalter@redhat.com>
29557         * elf/elf.h
29558         (R_MN10300_TLS_GD): Define.
29559         (R_MN10300_TLS_LD): Likewise.
29560         (R_MN10300_TLS_LDO): Likewise.
29561         (R_MN10300_TLS_GOTIE): Likewise.
29562         (R_MN10300_TLS_IE): Likewise.
29563         (R_MN10300_TLS_LE): Likewise.
29564         (R_MN10300_TLS_DTPMOD): Likewise.
29565         (R_MN10300_TLS_DTPOFF): Likewise.
29566         (R_MN10300_TLS_TPOFF): Likewise.
29567         (R_MN10300_SYM_DIFF): Likewise.
29568         (R_MN10300_ALIGN): Likewise.
29569         (R_MN10300_NUM): Update.
29571 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
29573         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29574         Remove.
29576 2012-08-08  Roland McGrath  <roland@hack.frob.com>
29578         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29580         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29581         sysdeps/unix -> sysdeps/posix move.
29582         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29584 2012-08-07      Allan McRae     <allan@archlinux.org>
29586         [BZ #14303]
29587         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29588         (SUNOS_CPP): Likewise.
29589         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29590         not found.
29591         (open_input): Call CPP using execvp.
29593 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29595         * sysdeps/unix/sysv/linux/kernel-features.h
29596         (__ASSUME_PROT_GROWSUPDOWN): Remove.
29597         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29598         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29599         (__ASSUME_WAITID_SYSCALL): Likewise.
29600         * sysdeps/unix/sysv/linux/dl-execstack.c
29601         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29602         code unconditional.
29603         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29604         conditional code.
29605         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29606         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29607         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29608         code.
29609         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29610         unconditional.
29611         [__ASSUME_WAITID_SYSCALL]: Likewise.
29612         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29614 2012-08-07  Roland McGrath  <roland@hack.frob.com>
29616         * sysdeps/unix/closedir.c: Renamed to ...
29617         * sysdeps/posix/closedir.c: ... here.
29618         * sysdeps/unix/dirfd.c: Renamed to ...
29619         * sysdeps/posix/dirfd.c: ... here.
29620         * sysdeps/unix/dirstream.h: Renamed to ...
29621         * sysdeps/posix/dirstream.h: ... here.
29622         * sysdeps/unix/fdopendir.c: Renamed to ...
29623         * sysdeps/posix/fdopendir.c: ... here.
29624         * sysdeps/unix/opendir.c: Renamed to ...
29625         * sysdeps/posix/opendir.c: ... here.
29626         * sysdeps/unix/readdir.c: Renamed to ...
29627         * sysdeps/posix/readdir.c: ... here.
29628         * sysdeps/unix/readdir_r.c: Renamed to ...
29629         * sysdeps/posix/readdir_r.c: ... here.
29630         * sysdeps/unix/rewinddir.c: Renamed to ...
29631         * sysdeps/posix/rewinddir.c: ... here.
29632         * sysdeps/unix/seekdir.c: Renamed to ...
29633         * sysdeps/posix/seekdir.c: ... here.
29634         * sysdeps/unix/telldir.c: Renamed to ...
29635         * sysdeps/posix/telldir.c: ... here.
29636         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29637         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29638         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29639         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29641         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29642         * bits/fcntl.h: ... here.
29644         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29645         not 0.
29646         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29647         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29648         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29649         (struct flock): Move l_start, l_len to the beginning.
29650         Use __pid_t for l_pid.
29651         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29652         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29653         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29654         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29655         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29656         [__USE_LARGEFILE64] (struct flock64): New type.
29657         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29659         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29660         * bits/dirent.h: ... here.
29662         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29663         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29665 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29667         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29668         Change from 2.6.0 to 2.6.16.
29669         * sysdeps/unix/sysv/linux/configure: Regenerated.
29670         * sysdeps/unix/sysv/linux/kernel-features.h
29671         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29672         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29673         version.
29674         (__ASSUME_UTIMES): Likewise.
29675         (__ASSUME_CLONE_STOPPED): Remove.
29676         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29677         architectures, not kernel version.
29678         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29679         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29680         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29681         (__ASSUME_WAITID_SYSCALL): Likewise.
29682         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29683         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29684         * README: State 2.6.16 as minimum Linux kernel version.  Do not
29685         refer to older versions.
29687 2012-08-06  Roland McGrath  <roland@hack.frob.com>
29689         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29690         Define alphasort64 as an alias.
29691         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29692         Define versionsort64 as an alias.
29693         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29694         Define scandir64 as an alias.
29695         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29696         Define scandirat64 as an alias.
29697         * dirent/alphasort64.c (alphasort64):
29698         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29699         * dirent/versionsort64.c: Likewise.
29700         * dirent/scandir64.c: Likewise.
29701         * dirent/scandirat64.c: Likewise.
29702         * sysdeps/wordsize-64/alphasort.c: File removed.
29703         * sysdeps/wordsize-64/alphasort64.c: File removed.
29704         * sysdeps/wordsize-64/scandir.c: File removed.
29705         * sysdeps/wordsize-64/scandir64.c: File removed.
29706         * sysdeps/wordsize-64/scandirat.c: File removed.
29707         * sysdeps/wordsize-64/scandirat64.c: File removed.
29708         * sysdeps/wordsize-64/versionsort.c: File removed.
29709         * sysdeps/wordsize-64/versionsort64.c: File removed.
29710         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29711         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29712         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29713         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29714         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29715         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29716         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29717         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29719         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29720         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29721         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29722         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29723         [defined __arch64__ || defined __sparcv9]
29724         (__INO_T_MATCHES_INO64_T): New macro.
29725         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29726         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29727         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29728         * sysdeps/unix/sysv/linux/bits/dirent.h
29729         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29730         (_DIRENT_MATCHES_DIRENT64): New macro.
29732         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29733         Define lockf64 as an alias.
29734         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29735         Define fseeko64 as an alias.
29736         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29737         Define ftello64 as an alias.
29738         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29739         Define _IO_fgetpos64 and fgetpos64 as aliases.
29740         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29741         Define _IO_fsetpos64 and fsetpos64 as aliases.
29742         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29743         Conditionalize body on this.
29744         * libio/fseeko64.c: Likewise.
29745         * libio/ftello64.c: Likewise.
29746         * libio/iofgetpos64.c: Likewise.
29747         * libio/iofsetpos64.c: Likewise.
29748         * sysdeps/wordsize-64/lockf.c: File removed.
29749         * sysdeps/wordsize-64/lockf64.c: File removed.
29750         * sysdeps/wordsize-64/fseeko.c: File removed.
29751         * sysdeps/wordsize-64/fseeko64.c: File removed.
29752         * sysdeps/wordsize-64/ftello.c: File removed.
29753         * sysdeps/wordsize-64/ftello64.c: File removed.
29754         * sysdeps/wordsize-64/iofgetpos.c: File removed.
29755         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29756         * sysdeps/wordsize-64/iofsetpos.c: File removed.
29757         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29758         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29759         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29760         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29761         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29762         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29763         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29764         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29765         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29766         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29767         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29769         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29770         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29771         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29772         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29773         [defined __arch64__ || defined __sparcv9]
29774         (__OFF_T_MATCHES_OFF64_T): New macro.
29775         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29776         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29777         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29778         (__OFF_T_MATCHES_OFF64_T): New macro.
29780 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
29782         * stdlib/secure-getenv.c (__secure_getenv): Replace
29783         GLIBC_2_16 with GLIBC_2_17.
29785 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
29787         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29788         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29790 2012-08-03  David S. Miller  <davem@davemloft.net>
29792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29794 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
29796         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29797         Remove.
29798         (__ASSUME_CORRECT_SI_PID): Likewise.
29799         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29800         (__ASSUME_TMPFS_NAME): Likewise.
29801         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29802         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29803         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29804         (HAVE_AUX_SECURE): Make definition unconditional.
29805         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29806         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29808 2012-08-03  Roland McGrath  <roland@hack.frob.com>
29810         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29811         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29812         * sysdeps/mach/hurd/eloop-threshold.h: New file.
29813         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29814         __eloop_threshold instead of SYMLOOP_MAX.
29816         * sysdeps/generic/eloop-threshold.h: New file.
29817         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29818         of MAXSYMLINKS.
29819         * elf/chroot_canon.c (chroot_canon): Likewise.
29821 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
29823         [BZ #13717]
29824         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29825         Change to 2.6.0 everywhere.
29826         * sysdeps/unix/sysv/linux/configure: Regenerated.
29827         * sysdeps/unix/sysv/linux/kernel-features.h
29828         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29829         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29830         kernel versions.
29831         (__ASSUME_POSIX_TIMERS): Define unconditionally.
29832         (__ASSUME_FUTEX_REQUEUE): Remove.
29833         (__ASSUME_STATFS64): Define unconditionally.
29834         (__ASSUME_AT_SECURE): Likewise.
29835         (__ASSUME_CORRECT_SI_PID): Likewise.
29836         (__ASSUME_TGKILL): Define without depending on kernel version for
29837         i386.
29838         (__ASSUME_UTIMES): Likewise.
29839         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29840         kernel version.
29841         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29842         (__ASSUME_TMPFS_NAME): Likewise.
29843         * README: Update reference to Linux kernel versions.
29845 2012-08-02  Marek Polacek  <polacek@redhat.com>
29847         [BZ# 14150]
29848         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
29849         libc_cv_asm_type_prefix with %.
29850         * configure: Regenerated.
29851         * include/libc-symbols.h: Remove comment about
29852         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29853         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29854         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29855         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29856         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29857         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29858         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29859         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29860         * elf/tst-unique2mod1.c: Likewise.
29861         * elf/tst-unique1mod2.c: Likewise.
29862         * elf/tst-unique1mod1.c: Likewise.
29863         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29864         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29865         Replace ASM_TYPE_DIRECTIVE with .type.
29866         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29867         * sysdeps/i386/sysdep.h: Likewise.
29868         * sysdeps/x86_64/sysdep.h: Likewise.
29869         * sysdeps/sh/sysdep.h: Likewise.
29870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29871         Do not define ASM_TYPE_DIRECTIVE.
29872         * sysdeps/powerpc/sysdep.h: Likewise.
29873         * sysdeps/powerpc/powerpc32/sysdep.h:
29874         Replace ASM_TYPE_DIRECTIVE with .type.
29875         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29876         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29877         * sysdeps/i386/fpu/e_powf.S: Likewise.
29878         * sysdeps/i386/fpu/e_expl.S: Likewise.
29879         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29880         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29881         * sysdeps/i386/fpu/e_pow.S: Likewise.
29882         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29883         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29884         * sysdeps/i386/fpu/s_expm1.S: Likewise.
29885         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29886         * sysdeps/i386/fpu/e_log2.S: Likewise.
29887         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29888         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29889         * sysdeps/i386/fpu/e_powl.S: Likewise.
29890         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29891         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29892         * sysdeps/i386/fpu/e_logl.S: Likewise.
29893         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29894         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29895         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29896         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29897         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29898         * sysdeps/i386/fpu/e_log.S: Likewise.
29899         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29900         * sysdeps/i386/fpu/e_logf.S: Likewise.
29901         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29902         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29903         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29904         * sysdeps/i386/fpu/e_log10.S: Likewise.
29905         * sysdeps/i386/fpu/s_frexp.S: Likewise.
29906         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29907         * sysdeps/i386/fpu/s_asinh.S: Likewise.
29908         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29909         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29910         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29911         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29912         * sysdeps/i386/i686/strtok.S: Likewise.
29913         * sysdeps/i386/i386-mcount.S: Likewise.
29914         * sysdeps/i386/strtok.S: Likewise.
29915         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29916         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29917         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29918         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29919         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29920         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29921         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29922         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29923         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29924         * sysdeps/x86_64/_mcount.S: Likewise.
29925         * sysdeps/x86_64/strtok.S: Likewise.
29926         * sysdeps/sh/_mcount.S: Likewise.
29928 2012-08-01  Roland McGrath  <roland@hack.frob.com>
29930         * libio/iofopen.c: Include <fcntl.h>.
29931         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29932         (_IO_fopen64, fopen64): Define as aliases.
29933         * libio/iofopen64.c: Include <fcntl.h>.
29934         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29935         Conditionalize body on this.
29936         * sysdeps/wordsize-64/iofopen.c: File removed.
29937         * sysdeps/wordsize-64/iofopen64.c: File removed.
29939 2012-08-01  Marek Polacek  <polacek@redhat.com>
29941         * libc/Makeconfig: Use elf in place of binfmt-subdir.
29942         Use dlfcn directly instead of a variable.
29943         (binfmt-subdir): Do not define.
29944         (dlfcn): Likewise.
29946 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
29948         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29949         Remove all definitions.
29950         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29951         <kernel-features.h>.
29952         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29953         (miss_F_GETOWN_EX): Remove all definitions.
29954         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29955         macro definition.
29956         [!__ASSUME_FCNTL64]: Remove conditional code.
29957         [__ASSUME_FCNTL64]: Make code unconditional.
29958         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29959         <kernel-features.h>.
29960         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29961         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29962         (lockf64) [__NR_fcntl64]: Make code unconditional.
29963         (lockf64) [__ASSUME_FCNTL64]: Likewise.
29965         * sysdeps/unix/sysv/linux/kernel-features.h
29966         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29967         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29968         Make code unconditional.
29969         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29970         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29972         [__NR_vfork]: Make code unconditional.
29973         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29974         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29976         [__NR_vfork]: Make code unconditional.
29977         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29978         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29980 2012-08-01  Roland McGrath  <roland@hack.frob.com>
29982         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29983         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29985         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29986         Define mkstemp64 as an alias.
29987         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29988         Define mkstemps64 as an alias.
29989         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29990         Define mkostemp64 as an alias.
29991         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29992         Define mkostemps64 as an alias.
29993         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29994         Conditionalize body on this.
29995         * misc/mkostemp64.c: Likewise.
29996         * misc/mkostemps64.c: Likewise.
29997         * misc/mkstemps64.c: Likewise.
29998         * sysdeps/wordsize-64/mkstemp64.c: File removed.
29999         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30000         * sysdeps/wordsize-64/mkostemp.c: File removed.
30001         * sysdeps/wordsize-64/mkstemp.c: File removed.
30002         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30003         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30004         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30005         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30007         [BZ #14138]
30008         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30009         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30010         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30011         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30013         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30014         compat_symbol macros from <shlib-compat.h> rather than the underlying
30015         default_symbol_version and symbol_version macros, so that DEFAULT
30016         lines in shlib-versions are respected.
30017         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30019 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30021         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30022         Declare with warn_unused_result.
30023         (setgid, setregid, setegid, setresgid): Likewise.
30024         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30025         Likewise.
30026         * WUR-REPORT: Remove set*id functions.
30028 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30030         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30032 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30034         [BZ #10191]
30035         * include/sys/socket.h (__libc_accept, __libc_accept4):
30036         Add attribute_hidden.
30037         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30039         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30040         use of PTR_MANGLE.
30041         * inet/getnetgrent_r.c (setup): Likewise.
30043         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30045 2012-07-31  David S. Miller  <davem@davemloft.net>
30047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30049 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30051         [BZ #13629]
30052         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30053         value between 1.0 and 2.0 and smaller part has absolute value less
30054         than 1.0.
30055         * math/s_clog10.c (__clog10): Likewise.
30056         * math/s_clog10f.c (__clog10f): Likewise.
30057         * math/s_clog10l.c (__clog10l): Likewise.
30058         * math/s_clogf.c (__clogf): Likewise.
30059         * math/s_clogl.c (__clogl): Likewise.
30060         * math/libm-test.inc (clog_test): Add more tests.
30061         (clog10_test): Likewise.
30062         * sysdeps/i386/fpu/libm-test-ulps: Update.
30063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30065 2012-07-31  Florian Weimer  <fweimer@redhat.com>
30067         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30068         Exit with zero in case no suitable GID is found, and write a
30069         message to standard error.
30071 2012-07-30  Roland McGrath  <roland@hack.frob.com>
30073         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30074         rather than to 1.
30075         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30076         (MAXPATHLEN): Removed.
30077         (NOGROUP, NODEV): New macros.
30078         (setbit, clrbit, isset, isclr): New macros.
30079         (howmany, roundup, powerof2): New macros.
30080         (DEV_BSIZE): New macro.
30082         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30083         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30085         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30086         definition on [!__NO_LONG_DOUBLE_MATH].
30088         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30089         PTR_MANGLE and PTR_DEMANGLE.
30091         * socket/accept4.c (accept4): Rename to __libc_accept4.
30092         Define accept4 as a weak alias.
30094         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30095         on [_DIRENT_HAVE_D_TYPE].
30096         * io/ftw.c (ftw_dir): Likewise.
30098         * io/xmknod.c (__xmknod): Don't check PATH for being null.
30100         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30102         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30103         Use the BSD numbers rather than the arbitrary ones we had.
30104         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30105         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30106         (SIGXCPU, SIGXFSZ): New macros.
30107         (_NSIG): Now 32.
30109         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30110         initializer on [_LIBC_REENTRANT].
30112         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30113         definitions inside [_POSIX_MAPPED_FILES].
30115         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30117         * dirent/opendir.c: Include <fcntl.h>.
30119         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30120         (__libc_getspecific): Likewise.
30121         (__libc_key_create): Likewise.
30123         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30124         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30125         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30126         (tmpfile64): Define as alias.
30127         * sysdeps/wordsize-64/tmpfile.c: File removed.
30128         * sysdeps/wordsize-64/tmpfile64.c: File removed.
30129         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30130         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30132         * stdio-common/vfscanf.c: Include <stdbool.h>.
30133         * nss/makedb.c: Likewise.
30134         * stdio-common/_i18n_number.h: Likewise.
30135         * argp/argp-help.c: Likewise.
30136         * posix/wordexp.c: Likewise.
30137         * sysdeps/posix/spawni.c: Likewise.
30138         * nss/nss_files/files-initgroups.c: Likewise.
30139         * stdio-common/reg-modifier.c: Include <stdlib.h>.
30140         * nss/nss_files/files-initgroups.c: Likewise.
30141         * nss/nss_db/db-netgrp.c: Likewise.
30142         * nss/nss_db/db-initgroups.c: Likewise.
30143         * io/fchmodat.c: Include <sys/stat.h>.
30145         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30146         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30148         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30149         [HAVE_MMAP].
30151         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30152         Add multiple inclusion protection.
30154 2012-07-27  David S. Miller  <davem@davemloft.net>
30156         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30158 2012-07-27  Gary Benson  <gbenson@redhat.com>
30160         [BZ #14298]
30161         * elf/rtld.c: Include <stap-probe.h>.
30162         (dl_main): Added static probes "init_start" and "init_complete".
30163         * elf/dl-load.c: Include <stap-probe.h>.
30164         (lose): Take new parameter "nsid".
30165         Added static probe "map_failed".
30166         (_dl_map_object_from_fd): Pass namespace id to lose.
30167         Added static probe "map_start".
30168         (open_verify): Pass namespace id to lose.
30169         * elf/dl-open.c: Include <stap-probe.h>.
30170         (dl_open_worker) Added static probes "map_complete", "reloc_start"
30171         and "reloc_complete".
30172         * elf/dl-close.c: Include <stap-probe.h>.
30173         (_dl_close_worker): Added static probes "unmap_start" and
30174         "unmap_complete".
30175         * elf/rtld-debugger-interface.txt: New file documenting the above.
30177 2012-07-26  Roland McGrath  <roland@hack.frob.com>
30179         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30180         rather than a string variable.
30181         * sunrpc/rpc_main.c (h_output): Likewise.
30182         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30184 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
30186         * inet/check_native.c: New file.
30188 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
30190         [BZ #13629]
30191         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30192         if larger part has absolute value 1.0.
30193         * math/s_clog10.c (__clog10): Likewise.
30194         * math/s_clog10f.c (__clog10f): Likewise.
30195         * math/s_clog10l.c (__clog10l): Likewise.
30196         * math/s_clogf.c (__clogf): Likewise.
30197         * math/s_clogl.c (__clogl): Likewise.
30198         * math/libm-test.inc (clog_test): Add more tests.
30199         (clog10_test): Likewise.
30200         * sysdeps/i386/fpu/libm-test-ulps: Update.
30201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30203         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30204         (pltexit): Likewise.
30205         (La_regs): Likewise.
30206         (La_retval): Likewise.
30207         (int_retval): Likewise.
30208         Update #error for removed macros to refer only to definitions in
30209         tst-audit.h.
30210         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30211         macro.
30212         (pltexit): Likewise.
30213         (La_regs): Likewise.
30214         (La_retval): Likewise.
30215         (int_retval): Likewise.
30216         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30217         macro.
30218         (pltexit): Likewise.
30219         (La_regs): Likewise.
30220         (La_retval): Likewise.
30221         (int_retval): Likewise.
30222         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30223         macro.
30224         (pltexit): Likewise.
30225         (La_regs): Likewise.
30226         (La_retval): Likewise.
30227         (int_retval): Likewise.
30228         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30229         macro.
30230         (pltexit): Likewise.
30231         (La_regs): Likewise.
30232         (La_retval): Likewise.
30233         (int_retval): Likewise.
30234         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30235         macro.
30236         (pltexit): Likewise.
30237         (La_regs): Likewise.
30238         (La_retval): Likewise.
30239         (int_retval): Likewise.
30240         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30241         macro.
30242         (pltexit): Likewise.
30243         (La_regs): Likewise.
30244         (La_retval): Likewise.
30245         (int_retval): Likewise.
30246         * sysdeps/generic/tst-audit.h: Update comment to refer only to
30247         macro definitions in tst-audit.h.
30248         * sysdeps/i386/tst-audit.h: New file.
30249         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30250         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30251         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30252         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30253         * sysdeps/sh/tst-audit.h: Likewise.
30254         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30255         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30256         * sysdeps/x86_64/tst-audit.h: Likewise.
30258 2012-07-26  Andreas Jaeger  <aj@suse.de>
30260         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30261         ptrace.
30263         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30264         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30265         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30266         PTRACE_O_MASK.
30267         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30268         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30269         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30271         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30272         value.
30274         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30275         _sigsys.
30276         (si_call_addr, si_syscall, si_arch): Define new macro.
30277         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30278         _sigsys.
30279         (si_call_addr, si_syscall, si_arch): Define new marcro.
30280         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30281         _sigsys.
30282         (si_call_addr, si_syscall, si_arch): Define new macro.
30283         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30284         _sigsys.
30285         (si_call_addr, si_syscall, si_arch): Define new macro.
30287 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30289         [BZ #13717]
30290         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30291         Change to 2.4.21 where previously 2.4.1.
30292         * sysdeps/unix/sysv/linux/configure: Regenerated.
30293         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30294         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30295         Linux kernel version.
30296         (__ASSUME_STD_AUXV): Remove.
30297         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30298         kernel version.
30299         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30300         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30301         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30302         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30303         (__ASSUME_NETLINK_SUPPORT): Likewise.
30304         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30305         (__no_netlink_support): Remove conditional definition.
30306         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30307         Remove.
30308         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30309         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30310         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30311         (if_nameindex_ioctl): Remove.
30312         (if_nameindex_netlink): Do not handle __no_netlink_support.
30313         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30314         code.
30315         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30316         Remove conditional code.
30317         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30318         code.
30319         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30320         unconditional.
30321         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30322         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30323         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30324         Remove.
30325         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30326         [!__ASSUME_STD_AUXV]: Remove conditional code.
30327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30328         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30329         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30331         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30332         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30333         code.
30334         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30336         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30337         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30338         conditional code.
30339         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30341         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30342         code.
30343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30344         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30345         conditional code.
30346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30347         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30348         code unconditional.
30349         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30350         conditional code.
30351         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30352         unconditional.
30353         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30354         conditional code.
30355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30356         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30357         unconditional.
30358         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30359         conditional code.
30360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30361         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30362         code unconditional.
30363         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30364         conditional code.
30365         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30366         unconditional.
30367         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30368         conditional code.
30369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30370         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30371         code unconditional.
30372         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30373         conditional code.
30374         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30375         unconditional.
30376         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30377         conditional code.
30379 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
30381         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30382         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30383         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30384         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30385         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30386         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30387         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30388         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30389         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30390         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30391         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30392         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30393         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30394         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30395         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30396         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30397         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30398         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30399         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30400         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30401         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30402         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30403         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30405 2012-07-25  Florian Weimer  <fweimer@redhat.com>
30407         * Versions.def: Add GLIBC_2.17.
30408         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30409         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30410         Introduce __libc_secure_getenv.
30411         * stdlib/Versions (2.17): Add secure_getenv
30412         (GLIBC_PRIVATE): Add __libc_secure_getenv.
30413         * stdlib/secure-getenv.c: Rename __secure_getenv to
30414         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
30415         symbol __secure_getenv for GLIBC_2.0.
30416         * stdlib/tst-secure-getenv.c: New.
30417         * stdlib/Makefile (tests): Add testcase.
30418         * manual/startup.texi (Environment Access): Document
30419         secure_getenv.
30420         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30421         __libc_secure_getenv.
30422         * inet/ruserpass.c (ruserpass): Likewise.
30423         * malloc/mtrace.c (mtrace): Likewise.
30424         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30425         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30426         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30427         * sysdeps/posix/tempname.c: Likewise.  Evaluate
30428         HAVE_SECURE_GETENV.
30429         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30430         __secure_getenv to __libc_secure_getenv.
30431         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30433         Likewise.
30434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30435         Likewise.
30436         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30438         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30439         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30440         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30444 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30446         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30447         (struct La_i86_retval): Likewise.
30448         (struct La_x86_64_regs): Likewise.
30449         (struct La_x86_64_retval): Likewise.
30450         (struct La_x32_regs): Likewise.
30451         (struct La_x32_retval): Likewise.
30452         (struct La_ppc32_regs): Likewise.
30453         (struct La_ppc32_retval): Likewise.
30454         (struct La_ppc64_regs): Likewise.
30455         (struct La_ppc64_retval): Likewise.
30456         (struct La_sh_regs): Likewise.
30457         (struct La_sh_retval): Likewise.
30458         (struct La_s390_32_regs): Likewise.
30459         (struct La_s390_32_retval): Likewise.
30460         (struct La_s390_64_regs): Likewise.
30461         (struct La_s390_64_retval): Likewise.
30462         (struct La_sparc32_regs): Likewise.
30463         (struct La_sparc32_retval): Likewise.
30464         (struct La_sparc64_regs): Likewise.
30465         (struct La_sparc64_retval): Likewise.
30466         (struct audit_ifaces): Remove architecture-specific pltenter and
30467         pltexit members.
30468         * sysdeps/i386/ldsodefs.h: New file.
30469         * sysdeps/powerpc/ldsodefs.h: Likewise.
30470         * sysdeps/s390/ldsodefs.h: Likewise.
30471         * sysdeps/sh/ldsodefs.h: Likewise.
30472         * sysdeps/sparc/ldsodefs.h: Likewise.
30473         * sysdeps/x86_64/ldsodefs.h: Likewise.
30475 2012-07-25  Marek Polacek  <polacek@redhat.com>
30477         [BZ #6808]
30478         * math/libm-test.inc (yn_test): Add another test.
30479         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30480         to ERANGE when the result is +-Inf.
30481         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30482         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30483         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30484         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30486 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
30488         * conform/data/time.h-data (NULL): Use macro-constant.  Require
30489         equal to 0.
30490         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
30491         clock_t.
30492         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
30494 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
30496         * configure.in <sysdeps resolving>: Correct printing
30497         Implies_before.
30498         * configure: Regenerate.
30500 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
30502         * math/w_ilogb.c: Include <limits.h>.
30503         * math/w_ilogbl.c: Likewise.
30505 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30507         * manual/lang.texi (__va_copy): Document primarily as ISO C99
30508         va_copy.  Document allowing for unavailable va_copy only as
30509         pre-C99 compatibility.
30510         * manual/string.texi (Copying and Concatenation): Use va_copy
30511         instead of __va_copy in concat example.
30513 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
30515         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30516         (__sendto): Use create_address_port.  Initialize APORT and deallocate
30517         it if not null.
30519         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30520         with O_NOLINK passed to __file_name_lookup.
30522         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30523         with O_NOLINK passed to __file_name_lookup.
30525         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30526         negative N or less than NGIDS.
30528         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30529         type to string_t.  Set ERANGE as errno and return it if NAME is not big
30530         enough.  Use memcpy instead of strncpy.
30532 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30534         * elf/Makefile (check-data): Remove.
30535         (localplt.data): New vpath directive.
30536         ($(objpfx)check-localplt.out): Use localplt.data from vpath
30537         instead of $(check-data).
30538         * scripts/data/localplt-generic.data: Move to ...
30539         * sysdeps/generic/localplt.data: ... here.
30540         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30541         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30542         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30544         ... here.
30545         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30547         ... here.
30548         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30550         ... here.
30551         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30553         ... here.
30554         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30556         ... here.
30557         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30559         ... here.
30561 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30563         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30564         PPC32 and PPC64 files.
30565         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30566         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30568 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30570         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30571         __makecontext_ret to ...
30572         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30573         ... here and call exit if uc_link is NULL.  New file.
30574         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30575         __makecontext_ret.S.
30576         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30577         __makecontext_ret to ...
30578         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30579         ... here and call exit if uc_link is NULL.  New file.
30580         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30581         __makecontext_ret.S.
30583 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30585         * elf/elf.h (R_390_IRELATIVE): New definition.
30586         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30587         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
30588         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30589         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30590         (elf_machine_lazy_rel): Likewise.
30591         * sysdeps/s390/dl-irel.h: New file.
30592         * sysdeps/s390/s390-64/memcpy.S: New asm code.
30593         * sysdeps/s390/s390-64/memset.S: New asm code.
30594         * sysdeps/s390/s390-64/memcmp.S: New asm code.
30595         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30596         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30597         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30598         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30599         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30600         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30601         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30602         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30603         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30604         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30605         * sysdeps/s390/s390-32/memcpy.S: New asm code.
30606         * sysdeps/s390/s390-32/memset.S: New asm code.
30607         * sysdeps/s390/s390-32/memcmp.S: New asm code.
30609 2012-07-17  Marek Polacek  <polacek@redhat.com>
30611         [BZ #14349]
30612         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30613         * sysdeps/s390/s390-64/configure.in: Likewise.
30614         * sysdeps/sparc/configure.in: Likewise.
30615         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30616         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30617         * sysdeps/i386/configure.in: Likewise.
30618         * sysdeps/x86_64/configure.in: Likewise.
30619         * sysdeps/sh/configure.in: Likewise.
30620         * sysdeps/s390/s390-32/configure: Regenerated.
30621         * sysdeps/s390/s390-64/configure: Likewise.
30622         * sysdeps/x86_64/configure: Likewise.
30623         * sysdeps/sh/configure: Likewise.
30624         * sysdeps/powerpc/powerpc64/configure: Likewise.
30625         * sysdeps/powerpc/powerpc32/configure: Likewise.
30626         * sysdeps/sparc/configure: Likwise.
30627         * sysdeps/i386/configure: Likewise.
30629         * elf/dl-open.c: Comment fixes.
30631 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
30633         * Makefile [CXX] (check-data): Remove.
30634         [CXX] (c++-types.data): New vpath directive.
30635         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30636         vpath.  Do not allow for C++ type data being missing.
30637         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30638         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30639         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30640         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30641         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30642         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30643         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30645         ... here.
30646         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30648         ... here.
30649         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30651         ... here.
30652         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30654         ... here.
30655         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30657         ... here.
30658         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30660         ... here.
30661         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30663         ... here.
30664         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30665         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30667         * elf/tls-macros.h (TLS_LE): Move architecture-specific
30668         definitions to architecture-specific files.
30669         (TLS_IE): Likewise.
30670         (TLS_LD): Likewise.
30671         (TLS_GD): Likewise.
30672         * sysdeps/i386/tls-macros.h: New file.
30673         * sysdeps/powerpc/tls-macros.h: Likewise.
30674         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30675         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30676         * sysdeps/sh/tls-macros.h: Likewise.
30677         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30678         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30679         * sysdeps/x86_64/tls-macros.h: Likewise.
30681 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30683         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30684         zero value for regular exit case.
30686         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30687         (__start_context): Preserve zero value for regular exit case.
30689 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30690             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30692         * manual/setjmp.texi (setcontext): Clarify normal process
30693         termination when uc_link is the null pointer.
30694         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30695         exit call.
30697 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
30699         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30700         preprocessor.  Test for each exception mask separately.
30702 2012-07-16  Andreas Jaeger  <aj@suse.de>
30704         * po/ru.po: Update from translation team.
30706 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
30708         * conform/data/string.h-data (NULL): Use macro-constant.  Require
30709         equal to 0.
30710         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30711         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30712         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30713         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30714         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30716 2012-07-13  Andreas Jaeger  <aj@suse.de>
30718         * po/fr.po: Update from translation team.
30720 2012-07-12  Marek Polacek  <polacek@redhat.com>
30722         [BZ #14173]
30723         * math/libm-test.inc (yn_test): Add test for BZ #14173.
30724         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30725         loop condition.
30727 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
30729         [BZ #13717]
30730         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30731         Change to 2.4.1 where previously 2.4.0.
30732         * sysdeps/unix/sysv/linux/configure: Regenerated.
30733         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30734         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30735         version.
30736         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30737         (__ASSUME_AT_CLKTCK): Remove.
30738         (__ASSUME_AT_PAGESIZE): Likewise.
30739         (__ASSUME_AT_XID): Likewise.
30740         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30741         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30742         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30743         unconditionally.
30744         (HAVE_AUX_PAGESIZE): Likewise.
30745         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30746         [__ASSUME_AT_CLKTCK]: Make code unconditional.
30747         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30749 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
30751         [BZ #14307]
30752         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30753         the temporary buffer used to invoke __gethostbyname2_r,
30754         __gethostbyaddr_r and gethostbyname4_r to make room for struct
30755         host_data / struct gaih_addrtuple.
30756         * resolv/nss_dns/dns-host.c (global scope): Move definition of
30757         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30758         header file nss/nsswitch.h.
30759         * nss/nsswitch.h (global scope): Add definition of implementation
30760         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30761         resolv/nss_dns/dns-host.c).
30763 2012-07-11  Andreas Jaeger  <aj@suse.de>
30765         * po/fr.po: Update from translation team.
30767         * po/sv.po: Update from translation team
30768         * po/fr.po: Another update from translation team.
30770 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30772         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30773         for subnormals or multiply small sinh result by itself.
30774         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30777 2012-07-11  David S. Miller  <davem@davemloft.net>
30779         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30781 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
30783         [BZ #14347]
30784         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30785         (INTERNAL_MARK): Shift it here.
30787 2012-07-10  Marek Polacek  <polacek@redhat.com>
30789         [BZ #14151]
30790         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
30791         libc_cv_asm_global_directive with .globl.
30792         * configure: Regenerated.
30793         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30794         with .globl.
30795         * sysdeps/i386/configure: Regenerated.
30796         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30797         with .globl.
30798         * sysdeps/x86_64/configure: Regenerated.
30799         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30800         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30801         * elf/tst-unique2mod2.c: Likewise.
30802         * elf/tst-unique2mod1.c: Likewise.
30803         * elf/tst-unique1mod2.c: Likewise.
30804         * elf/tst-unique1mod1.c: Likewise.
30805         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30806         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30807         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30808         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30809         * sysdeps/mach/sysdep.h: Likewise.
30810         * sysdeps/i386/sysdep.h: Likewise.
30811         * sysdeps/i386/i386-mcount.S: Likewise.
30812         * sysdeps/x86_64/_mcount.S: Likewise.
30813         * sysdeps/x86_64/sysdep.h: Likewise.
30814         * sysdeps/sh/_mcount.S: Likewise.
30815         * sysdeps/sh/sysdep.h: Likewise.
30816         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30817         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30818         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30819         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30820         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30821         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30822         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30823         * locale/localeinfo.h: Likewise.
30824         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30825         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30827 2012-07-09  Roland McGrath  <roland@hack.frob.com>
30829         [BZ #14336]
30830         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30831         system".
30832         * manual/message.texi (The Uniforum approach): Likewise.
30833         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30834         (glibc iconv Implementation): Likewise.
30836 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
30838         [BZ #14337]
30839         * math/s_clog.c (__clog): Avoid scaling a value down where that
30840         could result in underflow.
30841         * math/s_clog10.c (__clog10): Likewise.
30842         * math/s_clog10f.c (__clog10f): Likewise.
30843         * math/s_clog10l.c (__clog10l): Likewise.
30844         * math/s_clogf.c (__clogf): Likewise.
30845         * math/s_clogl.c (__clogl): Likewise.
30846         * math/libm-test.inc (clog_test): Add more tests.
30847         (clog10_test): Likewise.
30848         * sysdeps/i386/fpu/libm-test-ulps: Update.
30849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30851 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
30853         [BZ #14283]
30854         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30855         by 7 not 8 to examine high bit of fractional part.
30857         [BZ #14042]
30858         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30859         for call to __mcount_internal.
30860         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30861         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30862         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30864 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
30866         [BZ #14154]
30867         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30868         approximation for values within 0x1p-13f of an odd multiple of
30869         pi/4.
30870         * math/libm-test.inc (tan_test): Do not allow spurious underflow
30871         exception.  Add more tests.
30872         * sysdeps/i386/fpu/libm-test-ulps: Update.
30874         [BZ #6778]
30875         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30876         inputs and return -1 for them.  Do not check for +Inf in case not
30877         reachable for +Inf.
30878         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30879         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30880         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30881         and return -1 for them.  Do not check for +Inf in case not
30882         reachable for +Inf.
30883         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30884         define.
30885         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30886         and return -1 for them.  Do not check for +Inf in case not
30887         reachable for +Inf.
30888         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
30889         spurious underflow.
30890         * sysdeps/i386/fpu/libm-test-ulps: Update.
30891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30893 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
30895         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30897 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
30899         [BZ #14157]
30900         [BZ #14331]
30901         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30902         could result in spurious underflow.  Scale down values above
30903         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30904         * math/s_csqrtf.c (__csqrtf): Likewise.
30905         * math/s_csqrtl.c (__csqrtl): Likewise.
30906         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
30907         spurious underflow.
30908         * sysdeps/i386/fpu/libm-test-ulps: Update.
30909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30911 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
30913         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30914         xopen-msg.sed.
30915         * catgets/xopen-msg.awk: New file.
30916         * catgets/xopen-msg.sed: Removed.
30918         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30919         po2text.sed.
30920         * intl/po2test.awk: New file.
30921         * intl/po2test.sed: Removed.
30923 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
30925         [BZ #14328]
30926         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30927         or multiply small sinh result by itself.
30928         * math/s_ctanf.c (__ctanf): Likewise.
30929         * math/s_ctanh.c (__ctanh): Likewise.
30930         * math/s_ctanhf.c (__ctanhf): Likewise.
30931         * math/s_ctanhl.c (__ctanhl): Likewise.
30932         * math/s_ctanl.c (__ctanl): Likewise.
30933         * math/libm-test.inc (ctan_test_tonearest): New function.
30934         (ctan_test_towardzero): Likewise.
30935         (ctan_test_downward): Likewise.
30936         (ctan_test_upward): Likewise.
30937         (ctanh_test_tonearest): Likewise.
30938         (ctanh_test_towardzero): Likewise.
30939         (ctanh_test_downward): Likewise.
30940         (ctanh_test_upward): Likewise.
30941         (main): Call these new functions.
30942         * sysdeps/i386/fpu/libm-test-ulps: Update.
30943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30945 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
30947         * .gitignore: Delete /ports entry.
30949 2012-07-03  Andreas Jaeger  <aj@suse.de>
30951         * po/bg.po: Update from translation team.
30952         * po/cs.po: Likewise.
30953         * po/de.po: Likewise.
30954         * po/hr.po: Likewise.
30955         * po/nl.pl: Likewise.
30956         * po/pl.po: Likewise.
30957         * po/vi.po: Likewise.
30959 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
30961         * Makeconfig [!+link] (+link-before-libc): New variable.
30962         [!+link] (+link-after-libc): Likewise.
30963         [!+link] (+link-tests): Likewise.
30964         [!+link] (+link): Define in terms of $(+link-before-libc) and
30965         $(+link-after-libc).
30966         [!+link-static] (+link-static-before-libc): New variable.
30967         [!+link-static] (+link-static-after-libc): Likewise.
30968         [!+link-static] (+link-static-tests): Likewise.
30969         [!+link-static] (+link-static): Define in terms of
30970         $(+link-static-before-libc) and $(+link-static-after-libc).
30971         [build-shared] (link-libc-before-gnulib): New variable.
30972         [build-shared] (link-libc-tests): Likewise.
30973         [build-shared] (link-libc): Define in terms of
30974         $(link-libc-before-gnulib).
30975         [!build-shared] (link-libc-tests): New variable.
30976         (link-libc-static-tests): New variable.
30977         [!gnulib] (gnulib-arch): New variable.
30978         [!gnulib] (gnulib-tests): Likewise.
30979         [!gnulib] (static-gnulib-arch): Likewise.
30980         [!gnulib] (static-gnulib-tests): Likewise.
30981         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
30982         Define with "=" instead of ":=".
30983         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
30984         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
30985         * Rules (binaries-all-notests): New variable.
30986         (binaries-all-tests): Likewise.
30987         (binaries-static-notests): Likewise.
30988         (binaries-static-tests): Likewise.
30989         (binaries-all): Define using $(binaries-all-notests) and
30990         $(binaries-all-tests).
30991         (binaries-static): Define using $(binaries-static-notests) and
30992         $(binaries-static-tests).
30993         (binaries-shared-tests): New variable.
30994         (binaries-shared-notests): Likewise.
30995         (binaries-shared): Remove variable.
30996         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30997         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30998         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30999         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31000         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31001         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31002         * elf/Makefile (sln-modules): New variable.
31003         (extra-objs): Add $(sln-modules:=.o).
31004         (ldconfig-modules): Add static-stubs.
31005         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31006         * elf/static-stubs.c: New file.
31008         [BZ #14283]
31009         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31010         by 7 not 8 to examine high bit of fractional part.  Use volatile
31011         variables when splitting into final array of floats if
31012         __FLT_EVAL_METHOD__ != 0.
31013         * math/libm-test.inc (cos_test): Add another test.
31014         (sin_test): Likewise.
31015         * sysdeps/i386/fpu/libm-test-ulps: Update.
31017         [BZ #14273]
31018         * math/libm-test.inc (cosh_test): Add more tests.
31020         * version.h (RELEASE): Set to "development".
31021         (VERSION): Set to "2.16.90".
31023 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31025         * NEWS: Update copyright. Remove last-updated date.
31026         Mention math library bug fixes and timezone data changes.
31027         * README: Mention GNU/Hurd, x32, and HPPA support status.
31029 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31031         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31033 2012-06-27  Andreas Jaeger  <aj@suse.de>
31035         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31037 2012-06-25  Andreas Jaeger  <aj@suse.de>
31039         * sysdeps/s390/fpu/libm-test-ulps: Update.
31041 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31042             Thomas Schwinge  <thomas@codesourcery.com>
31044         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31045         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31046         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31047         fanotify_mark.
31049 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31051         * sysdeps/mach/start.c: Remove file.
31052         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31053         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31054         * sysdeps/sh/init-first.c: Likewise.
31056         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31057         registers for frame unwinding purposes, add CFI directives.
31058         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31059         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31060         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31061         Likewise.
31063         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31064         __fortify_fail returning.
31065         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31067         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31068         sysdeps/sh/____longjmp_chk.S.
31069         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31070         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31071         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31072         (gen-as-const-headers): Append sigaltstack-offsets.sym.
31074         * sysdeps/sh/abort-instr.h: New file.
31075         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31076         process in case exit returns.
31078         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31079         initialize the GOT register before use.
31081         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31082         calculation of ARGC > 4.
31084         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31085         meaningful names to some local labels.
31087 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31088             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31090         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31091         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31092         (__arch_compare_and_exchange_val_16_acq): Likewise.
31093         (__arch_compare_and_exchange_val_32_acq): Likewise.
31094         (atomic_exchange_and_add): Fix gUSA sequence.
31095         (atomic_add): Likewise.
31096         (atomic_add_negative): Likewise.
31097         (atomic_add_zero): Likewise.
31098         (atomic_bit_test_set): Likewise.
31100 2012-06-22  Andreas Schwab  <schwab@redhat.com>
31102         [BZ #13579]
31103         * include/link.h (struct link_map): Add l_free_initfini.
31104         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31105         l_initfini.
31106         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31107         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31108         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31109         set.
31111 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
31113         * configure.in: Use AC_LANG_SOURCE.
31114         * configure: Regenerate.
31116 2012-06-22  Roland McGrath  <roland@hack.frob.com>
31118         * configure.in (libc_cv_localstatedir): New substituted variable.
31119         * configure: Regenerated.
31120         * config.make.in (localstatedir): New variable, substituted from
31121         libc_cv_localstatedir.
31122         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31123         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31124         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31125         * sysdeps/gnu/configure: Regenerated.
31127 2012-06-21  Jeff Law  <law@redhat.com>
31129         [BZ #14277]
31130         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31131         free.  Simplify list management for _LIBC case.
31133 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
31135         [BZ #14273]
31136         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31137         Clear sign bit of 64-bit integer value before comparing against
31138         overflow value.
31140         * sysdeps/mach/configure: Regenerated.
31142 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
31144         [BZ #14278]
31145         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31147 2012-06-21  Jeff Law  <law@redhat.com>
31149         [BZ #13882]
31150         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
31151         uint16_t for elements in the "seen" array to avoid char overflows.
31152         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31153         * elf/dl-open.c (dl_open_worker): Likewise.
31155 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
31157         * scripts/list-sources.sh: Scan PORTS for translations.
31158         * po/libc.pot: Regenerated.
31160 2012-06-21  Andreas Jaeger  <aj@suse.de>
31162         [BZ #12194]
31163         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31164         warning.
31165         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31166         * bits/byteswap-16.h (__bswap_16): Likewise.
31167         * bits/byteswap.h (__bswap_constant_16): Likewise.
31169 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
31171         [BZ #14117]
31172         * sysdeps/i386/fpu_control.h: Removed.
31173         * sysdeps/x86_64/fpu_control.h: Moved to ...
31174         * sysdeps/x86/fpu_control.h: Here.
31176         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31177         (_FPU_SETCW): Likewise.
31179 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
31181         [BZ #14117]
31182         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31183         * sysdeps/x86/fpu/bits/mathinline.h: This.
31184         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31186         [BZ #14050]
31187         [BZ #14117]
31188         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31189         functions if __x86_64__ is defined.
31191 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
31193         * string/endian.h: Add !__ASSEMBLER__ condition for including
31194         conversion interfaces.
31196 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
31198         [BZ #14241]
31199         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31200         of ABS(x) in calculating zero to negative powers other than odd
31201         integers.
31202         * math/libm-test.inc (pow_test): Add more tests.
31204 2012-06-15  Andreas Jaeger  <aj@suse.de>
31206         * manual/contrib.texi (Contributors): Update entry of Liubov
31207         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31208         Machado Filho.
31210 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
31212         * string/string.h: Add __wur to GNU version of strerror_r.
31214 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
31216         [BZ #14229]
31217         * string/Makefile (tests): Add tst-strtok_r.
31218         * string/tst-strtok_r.c: New file.
31219         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31220         RAX_LP/RDX_LP on SAVE_PTR.
31222 2012-06-14  Roland McGrath  <roland@hack.frob.com>
31224         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31226 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
31228         * libm_test.inc (csqrt_test): Allow more spurious underflow
31229         exceptions.
31230         (j0_test): Likewise.
31231         (j1_test): Likewise.
31232         (y0_test): Likewise.
31233         (y1_test): Likewise.
31235 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
31237         * po/Makefile (libc.pot): Use UTF-8 charset.
31239 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
31241         [BZ #14210]
31242         Suppress sign-conversion warning from FD_SET.
31243         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31244         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31245         not unsigned long int.
31246         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31248 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
31250         [BZ #14050]
31251         [BZ #14117]
31252         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31253         __extern_always_inline instead of __extern_inline.
31254         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31255         (__signbit): Likewise.
31256         (__signbitl): Support C++ namespace.
31257         (lrintf): New inline function.
31258         (lrint): Likewise.
31259         (llrintf): Likewise.
31260         (llrint): Likewise.
31261         (fmaxf): Likewise.
31262         (fmax): Likewise.
31263         (fminf): Likewise.
31264         (fmin): Likewise.
31265         (rint): Likewise.
31266         (rintf): Likewise.
31267         (ceil): Likewise.
31268         (ceilf): Likewise.
31269         (floor): Likewise.
31270         (floorf): Likewise.
31271         (nearbyint): Likewise.
31272         (nearbyintf): Likewise.
31274 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
31276         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31277         non-default versions.
31279 2012-06-11  Roland McGrath  <roland@hack.frob.com>
31281         [BZ #14218]
31282         * manual/argp.texi (Argp): Reword argp_parse description slightly.
31284 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
31286         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31287         (FE_UPWARD, FE_DOWNWARD): Don't define.
31288         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31289         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31291         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31292         reading it.
31293         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31294         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31296 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31298         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31299         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31300         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31301         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31303 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
31305         [BZ #14117]
31306         * sysdeps/i386/fpu/bits/fenv.h: Removed.
31307         * sysdeps/i386/fpu/Implies: New file.
31308         * sysdeps/x86_64/fpu/Implies: Likewise.
31309         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31310         * sysdeps/x86/fpu/bits/fenv.h: This.
31312         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31313         __SSE_MATH__.
31315 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31317         [BZ #14134]
31318         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31319         character 0xffff that matches the last element of the
31320         conversion table.
31322 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31324         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31325         fmodl commit.
31327 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31329         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31330         values higher than 25.6283.
31332 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31334         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31335         subnormal exponent extraction and add some __builtin_expect.
31336         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31337         Fix for subnormal mantissa calculation.
31339 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
31341         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31342         cpu2 is -1 and errno is not ENOSYS.
31344 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
31346         [BZ #14117]
31347         * sysdeps/i386/i486/bits/string.h: Renamed to ...
31348         * sysdeps/x86/bits/string.h: This.
31349         * sysdeps/x86_64/bits/string.h: Removed.
31351         * sysdeps/i386/i486/bits/string.h: Define inline functions only
31352         if not compiling for x86-64, but compiling for >= i486.
31354         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31355         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31357         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31358         New macro from Linux kernel 3.4.0.
31359         (FP_XSTATE_MAGIC2): Likewise.
31360         (FP_XSTATE_MAGIC2_SIZE): Likewise.
31361         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31362         (struct _fpx_sw_bytes): New struct.
31363         (struct _xsave_hdr): Likewise.
31364         (struct _ymmh_state): Likewise.
31365         (struct _xstate): Likewise.
31367         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31368         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31369         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31370         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31371         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31372         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31374         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31375         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31376         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31377         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31378         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31379         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31381 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31383         [BZ #13743]
31384         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31385         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31386         (sysdep_headers): Include sys/platform/ppc.h.
31387         * sysdeps/powerpc/test-gettimebase.c: Test for
31388         __ppc_get_timebase() to catch future ISA opcode/insn changes.
31389         * manual/Makefile (appendices): Include platform.texi.
31390         * manual/contrib.texi (Contributors): Update @node pointers.
31391         * manual/maint.texi (Maintenance): Likewise.
31392         (Platform): New node.
31393         * manual/platform.texi: New file.  Document the new features.
31395 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31396             Jakub Jelinek  <jakub@redhat.com>
31398         [BZ #14188]
31399         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31400         where __builtin_expect is unavailable.
31402 2012-06-03  David S. Miller  <davem@davemloft.net>
31404         * stdlib/longlong.h: Updated from GCC.
31406 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
31408         [BZ #14042]
31409         * sysdeps/powerpc/powerpc32/mcount.c: New file.
31410         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31411         __mcount_internal.
31412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31413         (GLIBC_2.16): Likewise.
31415 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31417         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31419 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31422         (default-abi): New variable.
31423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31424         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31425         variable.
31426         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31427         Likewise.
31428         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31429         Likewise.
31430         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31431         Likewise.
31433         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31434         definition.  Document in comment.
31436 2012-06-01  David S. Miller  <davem@davemloft.net>
31438         * stdlib/longlong.h: Updated from GCC.
31440 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31442         [BZ #14117]
31443         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31444         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31445         sys/debugreg.h sys/io.h here.
31446         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31447         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31448         sys/io.h.
31449         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31450         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31451         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31452         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31453         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31454         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31456         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31457         Define only if __x86_64__ is defined.
31459 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31461         [BZ #14048]
31462         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31463         Use int64_t for variable i.
31464         * math/libm-test.inc (fmod_test): Add more tests.
31466         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31467         z computation is not scheduled after fetestexcept.
31468         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31469         Use math_force_eval instead of asm to ensure calculation scheduled
31470         before exception test.
31471         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31472         Ensure a1 + u.d computation is not scheduled after fetestexcept.
31474 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
31476         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31477         computation is not scheduled after fetestexcept.
31479 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31481         [BZ #14117]
31482         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31483         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31485 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31487         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31488         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31490 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31492         [BZ #14117]
31493         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31494         <bits/wordsize.h>.
31495         (__WCHAR_MIN): Support __WORDSIZE == 64.
31496         (__WCHAR_MAX): Likewise.
31498         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31499         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31501         [BZ #14183]
31502         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31503         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31505         [BZ #14117]
31506         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31507         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31509         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31510         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31512         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31513         Defined to 1 if __x86_64__ isn't defined.
31514         (_STAT_VER_LINUX_OLD): New.
31515         (st_atime): Remove duplicate.
31516         (st_mtime): Likewise.
31517         (st_ctime): Likewise.
31519 2012-05-31  David S. Miller  <davem@davemloft.net>
31521         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31522         entries.
31524 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
31526         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31527         gen-libm-test.pl.
31529         [BZ #14132]
31530         * elf/dl-reloc.c: Include <_itoa.h>.
31531         (_dl_reloc_bad_type): Remove use of INTUSE.
31532         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31533         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31534         * stdio-common/psiginfo.c (psiginfo): Likewise.
31535         * stdio-common/psignal.c (psignal): Likewise.
31536         * string/strsignal.c (strsignal): Likewise.
31537         * include/signal.h (_sys_siglist): Declare hidden proto.
31538         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
31539         INTVARDEF with libc_hidden_data_def.
31540         * stdio-common/itoa-udigits.c: Likewise.
31541         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31542         (_itoa_lower_digits_internal): Remove declaration.
31543         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31544         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31545         (_sys_sigabbrev_internal): Remove aliases.
31546         (_sys_siglist): Define hidden alias.
31548 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
31550         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31551         bits/sysctl.h.
31553 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31555         [BZ #14117]
31556         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31557         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31559         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31560         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31561         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31562         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31563         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31564         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31566         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31567         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31568         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31570         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31571         with __addr.
31572         (insw): Likewise.
31573         (insl): Likewise.
31574         (outsb): Likewise.
31575         (outsw): Likewise.
31576         (outsl): Likewise.
31578         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31579         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31580         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31582         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31583         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31584         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31585         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31586         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31587         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31589         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31590         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31592         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31593         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31595         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31596         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31597         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31599         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31600         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31601         to ...
31602         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31604         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31605         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31606         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31608         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31609         for x86-64.
31610         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31612 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
31614         * math/math.h (M_El): Use two more decimal places.
31615         (M_LOG2El): Likewise.
31616         (M_LOG10El): Likewise.
31617         (M_LN2l): Likewise.
31618         (M_LN10l): Likewise.
31619         (M_PIl): Likewise.
31620         (M_PI_2l): Likewise.
31621         (M_PI_4l): Likewise.
31622         (M_1_PIl): Likewise.
31623         (M_2_PIl): Likewise.
31624         (M_2_SQRTPIl): Likewise.
31625         (M_SQRT2l): Likewise.
31626         (M_SQRT1_2l): Likewise.
31628 2012-05-31  David S. Miller  <davem@davemloft.net>
31630         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31631         values between float registers.
31632         * sysdeps/sparc/sparc64/memset.S: Likewise.
31633         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31635 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
31637         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31638         -D_FORTIFY_SOURCE=1.
31639         (CPPFLAGS-tst-longjmp_chk.c): Define.
31640         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31641         (CPPFLAGS-tst-longjmp_chk2.c): Define.
31642         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31643         CFLAGS-tst-wchar-h.c.
31645 2012-05-31  Marek Polacek  <polacek@redhat.com>
31647         [BZ #14132]
31648         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31649         __endmntent_internal): Remove declaration.
31650         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31651         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31652         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31654 2012-05-30  David S. Miller  <davem@davemloft.net>
31656         * sysdeps/sparc/sparc32/soft-fp/q_util.c
31657         (___Q_simulate_exceptions): Use real FP ops rather than writing
31658         into the %fsr.
31659         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31660         Likewise.
31662 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31664         [BZ #14117]
31665         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31666         * sysdeps/x86/bits/xtitypes.h: This.
31668         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31669         * sysdeps/x86/bits/wordsize.h: This.
31671         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31672         * sysdeps/x86/bits/huge_vall.h: This.
31674         * sysdeps/i386/bits/select.h: Removed.
31675         * sysdeps/x86_64/bits/select.h: Renamed to ...
31676         * sysdeps/x86/bits/select.h: This.
31678         * sysdeps/i386/bits/setjmp.h: Removed.
31679         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31680         * sysdeps/x86/bits/setjmp.h: This.
31682         * sysdeps/i386/bits/mathdef.h: Removed.
31683         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31684         * sysdeps/x86/bits/mathdef.h: This.
31686 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
31688         [BZ #14132]
31689         * include/sys/socket.h (__connect_internal)
31690         (__libc_sa_len_internal): Remove declaration.
31691         (__connect, __libc_sa_len): Declare hidden_proto.
31692         (SA_LEN): Remove use of INTUSE.
31693         * socket/connect.c: Add libc_hidden_def.
31694         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31695         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31696         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31697         alias.
31698         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31699         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31700         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31701         of adding _internal alias.
31703 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31705         [BZ #14117]
31706         * sysdeps/i386/bits/link.h: Removed.
31707         * sysdeps/i386/bits/linkmap.h: Likewise.
31708         * sysdeps/x86_64/bits/link.h: Renamed to ...
31709         * sysdeps/x86/bits/link.h: This.
31710         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31711         * sysdeps/x86/bits/linkmap.h: This.
31713         * sysdeps/i386/bits/endian.h: Removed.
31714         * sysdeps/x86_64/bits/endian.h: Renamed to ...
31715         * sysdeps/x86/bits/endian.h: This.
31717         * sysdeps/i386/bits/byteswap.h: Removed.
31718         * sysdeps/i386/bits/byteswap-16.h: Likewise.
31719         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31720         * sysdeps/x86/bits/byteswap.h: This.
31721         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31722         * sysdeps/x86/bits/byteswap-16.h: This.
31723         * sysdeps/i386/Implies: Add x86.
31724         * sysdeps/x86_64/Implies: Likewise.
31726 2012-05-30  David S. Miller  <davem@davemloft.net>
31728         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31729         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31730         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31731         (FP_TRAPPING_EXCEPTIONS): Define.
31732         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31733         (FP_TRAPPING_EXCEPTIONS): Define.
31734         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31735         subnormals only when inexact has been signalled or underflow
31736         exceptions are enabled.
31737         (_FP_PACK_CANONICAL): Likewise.
31739 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31741         [BZ #14183]
31742         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31743         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31745 2012-05-30  Richard Henderson  <rth@twiddle.net>
31747         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31748         with #ifndef NOT_IN_libc.
31750         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
31751         marked to avoid plt entry.
31753 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31755         [BZ #14112]
31756         * Makeconfig (default-abi): New macro.
31757         (abi-includes): Likewise.
31758         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
31759         $(abi-$(default-abi)-lib-soname) for soname if defined.
31760         ($(common-objpfx)gnu/lib-names.stmp): Generate from
31761         abi-variants.
31762         * Makefile (installed-stubs): Likewise.
31763         * include/stubs-biarch.h: Removed.
31764         * scripts/lib-names.awk: Only handle one library at a time.
31765         * scripts/soversions.awk: Remove WORDSIZE support.
31766         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31767         entries.
31768         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31769         Removed.
31770         (syscall-list-default-condition): Likewise.
31771         (syscall-list-default-condition): Likewise.
31772         (syscall-list-includes): Likewise.
31773         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31774         syscall-list-* with abi-*.  Handle undefined abi-variants.
31775         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31776         * sysdeps/unix/sysv/linux/i386/Implies: New file.
31777         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31778         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31779         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31780         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31781         Removed.
31782         (syscall-list-32-options): Likewise.
31783         (syscall-list-32-condition): Likewise.
31784         (syscall-list-64-options): Likewise.
31785         (syscall-list-64-condition): Likewise.
31786         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31787         macro.
31788         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31789         Renamed to ...
31790         (abi-*): This.
31791         (abi-64-ld-soname): New macro.
31792         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31793         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31794         Renamed to ...
31795         (abi-*): This.
31796         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31797         * sysdeps/x86_64/x32/shlib-versions: Likewise.
31799 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
31801         * sysdeps/unix/sysv/linux/kernel-features.h
31802         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31803         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31804         include <kernel-features.h>.
31805         [!__NR_ftruncate64]: Remove conditional code.
31806         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31807         [__NR_ftruncate64]: Make code unconditional.
31808         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31809         * sysdeps/unix/sysv/linux/truncate64.c: Do not
31810         include <kernel-features.h>.
31811         [!__NR_ftruncate64]: Remove conditional code.
31812         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31813         [__NR_ftruncate64]: Make code unconditional.
31814         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31816         include <kernel-features.h>.
31817         [!__NR_ftruncate64]: Remove conditional code.
31818         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31819         [__NR_ftruncate64]: Make code unconditional.
31820         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31822         include <kernel-features.h>.
31823         [!__NR_ftruncate64]: Remove conditional code.
31824         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31825         [__NR_ftruncate64]: Make code unconditional.
31826         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31828         * configure.in (libc_cv_fpie): Weaken to a compile test using
31829         LIBC_TRY_CC_OPTION.
31830         * configure: Regenerated.
31832 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31838         Refreshed.
31839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31845         Refreshed.
31847 2012-05-27  David S. Miller  <davem@davemloft.net>
31849         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31850         (___Q_zero): New.
31851         (__Q_simulate_exceptions): Return void.  Change to simulate
31852         exceptions by writing into the %fsr.
31853         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31854         (__Qp_handle_exceptions): Likewise.
31855         (numbers): Delete.
31856         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31857         __Qp_handle_exceptions.
31858         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31859         __Qp_handle_exceptions.
31860         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31861         as unused and give dummy FP_RND_NEAREST initializer.
31862         (FP_INHIBIT_RESULTS): Define.
31863         (___Q_simulate_exceptions): Update declaration.
31864         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31865         formatting.
31866         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31867         as unused and give dummy FP_RND_NEAREST initializer.
31868         (__Qp_handle_exceptions): Update declaration.
31869         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31870         formatting.
31872 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
31874         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31875         the temporary FPU control word.
31876         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31877         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31878         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31879         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31880         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31881         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31882         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31883         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31884         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31885         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31886         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31888 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31890         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31891         fields.
31893 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
31895         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31896         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31897         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31898         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31899         Likewise.
31900         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31901         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31902         Likewise.
31904 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
31906         * po/h.po: Update from translation team.
31908 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
31910         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31912         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31913         handling of denormals.
31914         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31915         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31916         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31917         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31918         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31919         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31920         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31921         Likewise.
31923 2012-05-26  Marek Polacek  <polacek@redhat.com>
31925         [BZ #14152]
31926         * math/libm-test.inc (fma_test): Don't always expect underflow
31927         exception.
31929 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31931         [BZ #12416]
31932         * elf/tst-execstack.c: Include stackinfo.h.
31933         (do_test): Adjust test case to ensure that pthread_getattr_np
31934         behaviour remains the same after marking stack executable.
31936 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
31938         * sysdeps/unix/sysv/linux/kernel-features.h
31939         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31940         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31941         kernel-features.h.
31942         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31943         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31944         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31945         kernel-features.h.
31946         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31947         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31949 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
31951         * configure.in: Define the default includes to being none.
31952         * configure: Regenerated.
31954 2012-05-25  Roland McGrath  <roland@hack.frob.com>
31956         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31957         * sysdeps/x86_64/setjmp.S: Likewise.
31958         * sysdeps/i386/bsd-setjmp.S: Likewise.
31959         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31960         * sysdeps/i386/setjmp.S: Likewise.
31961         * sysdeps/i386/__longjmp.S: Likewise.
31962         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31963         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31965         * include/stap-probe.h: New file.
31966         * configure.in: Handle --enable-systemtap.
31967         * configure: Regenerated.
31968         * config.h.in (USE_STAP_PROBE): New #undef.
31969         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31970         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31971         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31973 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
31975         [BZ #13717]
31976         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31977         to 2.4.0 where earlier.
31978         * sysdeps/unix/sysv/linux/configure: Regenerated.
31979         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31980         <kernel-features.h>.
31981         [__ASSUME_32BITUIDS]: Make code unconditional.
31982         [!__ASSUME_32BITUIDS]: Remove conditional code.
31983         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31984         <kernel-features.h>.
31985         [__ASSUME_32BITUIDS]: Make code unconditional.
31986         [!__ASSUME_32BITUIDS]: Remove conditional code.
31987         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31988         [__ASSUME_32BITUIDS]: Make code unconditional.
31989         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31990         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31991         <kernel-features.h>.
31992         [__ASSUME_32BITUIDS]: Make code unconditional.
31993         [!__ASSUME_32BITUIDS]: Remove conditional code.
31994         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31995         <kernel-features.h>.
31996         [__ASSUME_32BITUIDS]: Make code unconditional.
31997         [!__ASSUME_32BITUIDS]: Remove conditional code.
31998         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31999         <kernel-features.h>.
32000         [__ASSUME_32BITUIDS]: Make code unconditional.
32001         [!__ASSUME_32BITUIDS]: Remove conditional code.
32002         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32003         <kernel-features.h>.
32004         [__ASSUME_32BITUIDS]: Make code unconditional.
32005         [!__ASSUME_32BITUIDS]: Remove conditional code.
32006         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32007         <kernel-features.h>.
32008         [__ASSUME_32BITUIDS]: Make code unconditional.
32009         [!__ASSUME_32BITUIDS]: Remove conditional code.
32010         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32011         <kernel-features.h>.
32012         [__ASSUME_32BITUIDS]: Make code unconditional.
32013         [!__ASSUME_32BITUIDS]: Remove conditional code.
32014         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32015         <kernel-features.h>.
32016         [__ASSUME_32BITUIDS]: Make code unconditional.
32017         [!__ASSUME_32BITUIDS]: Remove conditional code.
32018         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32019         <kernel-features.h>.
32020         [__ASSUME_32BITUIDS]: Make code unconditional.
32021         [!__ASSUME_32BITUIDS]: Remove conditional code.
32022         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32023         <kernel-features.h>.
32024         [__ASSUME_32BITUIDS]: Make code unconditional.
32025         [!__ASSUME_32BITUIDS]: Remove conditional code.
32026         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32027         <kernel-features.h>.
32028         [__ASSUME_32BITUIDS]: Make code unconditional.
32029         [!__ASSUME_32BITUIDS]: Remove conditional code.
32030         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32031         <kernel-features.h>.
32032         [__NR_setresgid] (__setresgid): Do not declare.
32033         [__ASSUME_32BITUIDS]: Make code unconditional.
32034         [!__ASSUME_32BITUIDS]: Remove conditional code.
32035         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32036         <kernel-features.h>.
32037         [__NR_setresuid] (__setresuid): Do not declare.
32038         [__ASSUME_32BITUIDS]: Make code unconditional.
32039         [!__ASSUME_32BITUIDS]: Remove conditional code.
32040         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32041         <kernel-features.h>.
32042         [__ASSUME_32BITUIDS]: Make code unconditional.
32043         [!__ASSUME_32BITUIDS]: Remove conditional code.
32044         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32045         <kernel-features.h>.
32046         [__ASSUME_32BITUIDS]: Make code unconditional.
32047         [!__ASSUME_32BITUIDS]: Remove conditional code.
32048         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32049         <kernel-features.h>.
32050         [__ASSUME_32BITUIDS]: Make code unconditional.
32051         [!__ASSUME_32BITUIDS]: Remove conditional code.
32052         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32053         <kernel-features.h>.
32054         [__ASSUME_32BITUIDS]: Make code unconditional.
32055         [!__ASSUME_32BITUIDS]: Remove conditional code.
32056         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32057         <kernel-features.h>.
32058         [__ASSUME_32BITUIDS]: Make code unconditional.
32059         [!__ASSUME_32BITUIDS]: Remove conditional code.
32060         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32061         <kernel-features.h>.
32062         [__ASSUME_32BITUIDS]: Make code unconditional.
32063         [!__ASSUME_32BITUIDS]: Remove conditional code.
32064         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32065         <kernel-features.h>.
32066         [__ASSUME_32BITUIDS]: Make code unconditional.
32067         [!__ASSUME_32BITUIDS]: Remove conditional code.
32068         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32069         <kernel-features.h>.
32070         [__ASSUME_32BITUIDS]: Make code unconditional.
32071         [!__ASSUME_32BITUIDS]: Remove conditional code.
32072         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32073         <kernel-features.h>.
32074         [__ASSUME_32BITUIDS]: Make code unconditional.
32075         [!__ASSUME_32BITUIDS]: Remove conditional code.
32076         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32077         <kernel-features.h>.
32078         [__ASSUME_32BITUIDS]: Make code unconditional.
32079         [!__ASSUME_32BITUIDS]: Remove conditional code.
32080         * sysdeps/unix/sysv/linux/kernel-features.h
32081         (__ASSUME_SETRESUID_SYSCALL): Remove.
32082         (__ASSUME_SETRESGID_SYSCALL): Likewise.
32083         (__ASSUME_32BITUIDS): Likewise.
32084         (__ASSUME_LDT_WORKS): Likewise.
32085         (__ASSUME_O_DIRECTORY): Likewise.
32086         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32087         architecture but not kernel version.
32088         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32089         (__ASSUME_MMAP2_SYSCALL): Likewise.
32090         (__ASSUME_STAT64_SYSCALL): Likewise.
32091         (__ASSUME_IPC64): Likewise.
32092         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32093         <kernel-features.h>.
32094         [__ASSUME_32BITUIDS]: Make code unconditional.
32095         [!__ASSUME_32BITUIDS]: Remove conditional code.
32096         * sysdeps/unix/sysv/linux/opendir.c: Do not include
32097         <kernel-features.h>.
32098         [__ASSUME_O_DIRECTORY]: Make code unconditional.
32099         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32100         132096]: Remove conditional code.
32101         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32102         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32103         <kernel-features.h>.
32104         [__ASSUME_32BITUIDS]: Make code unconditional.
32105         [!__ASSUME_32BITUIDS]: Remove conditional code.
32106         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32107         <kernel-features.h>.
32108         [__ASSUME_32BITUIDS]: Make code unconditional.
32109         [!__ASSUME_32BITUIDS]: Remove conditional code.
32110         * sysdeps/unix/sysv/linux/setegid.c: Do not include
32111         <kernel-features.h>.
32112         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32113         unconditional.
32114         (__setresgid): Do not declare.
32115         [__ASSUME_32BITUIDS]: Make code unconditional.
32116         [!__ASSUME_32BITUIDS]: Remove conditional code.
32117         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32118         <kernel-features.h>.
32119         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32120         unconditional.
32121         (__setresuid): Do not declare.
32122         [__ASSUME_32BITUIDS]: Make code unconditional.
32123         [!__ASSUME_32BITUIDS]: Remove conditional code.
32124         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32125         <kernel-features.h>.
32126         [__ASSUME_32BITUIDS]: Make code unconditional.
32127         [!__ASSUME_32BITUIDS]: Remove conditional code.
32128         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32129         <kernel-features.h>.
32130         [__ASSUME_32BITUIDS]: Make code unconditional.
32131         [!__ASSUME_32BITUIDS]: Remove conditional code.
32133 2012-05-25  Richard Henderson  <rth@twiddle.net>
32135         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32136         dl_hwcap to ifunc resolver.
32137         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32138         elf_ifunc_invoke.
32139         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32140         dl_hwcap to ifunc resolver.
32141         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32143 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32145         [BZ #14153]
32146         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32147         for |x| <= 2**-26, not 2**-57.
32148         * math/libm-test.inc (acos_test): Do not allow spurious underflow
32149         exception.
32151 2012-05-24  Jeff Law  <law@redhat.com>
32153         * stdio-common/Makefile (tests): Add bug25.
32154         * stdio-common/bug25.c: New test.
32156 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32158         [BZ #13576]
32159         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32160         multiple of MALLOC_ALIGNMENT in size.
32161         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32163 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32165         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32166         Require >= 256.
32167         (FILENAME_MAX): Use macro-int-constant.
32168         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
32169         (_IOFBF): Use macro-int-constant.
32170         (_IOLBF): Likewise.
32171         (_IONBF): Likewise.
32172         (SEEK_CUR): Likewise.
32173         (SEEK_END): Likewise.
32174         (SEEK_SET): Likewise.
32175         (TMP_MAX): Likewise.
32176         (EOF): Use macro-int-constant.  Require < 0.
32177         (NULL): Use macro-constant.  Require == 0.
32178         (stdin): Require type to be FILE *.
32179         (stdout): Likewise.
32180         (stderr): Likewise.
32181         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32182         macro-int-constant.
32183         (EXIT_SUCCESS): Likewise.
32184         (NULL): Use macro-constant.  Require == 0.
32185         (RAND_MAX): Use macro-int-constant.
32186         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32187         [C99-based standards] (strtof): Require function.
32188         [C99-based standards] (strtold): Likewise.
32189         [C99-based standards] (strtoll): Likewise.
32190         [C99-based standards] (strtoull): Likewise.
32191         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32192         [ISO || ISO99 || ISO11] (limits.h): Likewise.
32193         [ISO || ISO99 || ISO11] (math.h): Likewise.
32194         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32195         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32196         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32198 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
32200         [BZ #14132]
32201         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32202         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32203         * intl/dgettext.c (DCGETTEXT): Likewise.
32204         * intl/gettext.c (DCGETTEXT): Likewise.
32205         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32206         * posix/regex_internal.h (gettext): Likewise.
32207         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32208         Remove declaration.
32209         * include/argz.h (__argz_count_internal)
32210         (__argz_stringify_internal): Remove declaration.
32211         (__argz_count, __argz_stringify): Declare hidden proto.
32212         * intl/dcgettext.c: Remove use of INTDEF.
32213         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32214         * string/argz-stringify.c: Likewise.
32215         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32216         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32217         Declare hidden proto.
32218         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32219         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32220         Declare hidden proto.
32221         * include/stdio.h (__asprintf_internal): Don't declare.
32222         (__asprintf): Don't define as macro.  Declare hidden proto.
32223         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32224         (__fsetlocking): Declare hidden proto.
32225         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32226         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32227         hidden proto.
32228         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32229         (_IO_setlinebuf): Remove use of INTUSE.
32230         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32231         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32232         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32233         Remove declaration.
32234         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32235         (_IO_do_flush): Remove use of INTUSE.
32236         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32237         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32238         (_IO_adjust_column, _IO_least_wmarker)
32239         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32240         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32241         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32242         (_IO_default_doallocate, _IO_wdefault_doallocate)
32243         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32244         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32245         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32246         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32247         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32248         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32249         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32250         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32251         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32252         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32253         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32254         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32255         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32256         proto.
32257         (_IO_flush_all_internal, _IO_adjust_column_internal)
32258         (_IO_default_uflow_internal, _IO_default_finish_internal)
32259         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32260         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32261         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32262         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32263         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32264         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32265         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32266         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32267         (_IO_file_close_internal, _IO_file_close_it_internal)
32268         (_IO_file_underflow_internal, _IO_file_overflow_internal)
32269         (_IO_file_init_internal, _IO_file_attach_internal)
32270         (_IO_file_fopen_internal, _IO_file_read_internal)
32271         (_IO_file_sync_internal, _IO_file_seek_internal)
32272         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32273         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32274         (_IO_str_underflow_internal, _IO_str_overflow_internal)
32275         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32276         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32277         (_IO_list_all_internal, _IO_link_in_internal)
32278         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32279         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32280         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32281         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32282         (_IO_do_write_internal, _IO_padn_internal)
32283         (_IO_getline_info_internal, _IO_getline_internal)
32284         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32285         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32286         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32287         (_IO_vfscanf_internal, _IO_vfprintf_internal)
32288         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32289         (_IO_init_internal, _IO_un_link_internal): Don't declare.
32290         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32291         with libc_hidden_ver, remove use of INTUSE.
32292         * libio/genops.c: Likewise.
32293         * libio/freopen.c: Likewise.
32294         * libio/freopen64.c: Likewise.
32295         * libio/iofclose.c: Likewise.
32296         * libio/iofdopen.c: Likewise.
32297         * libio/iofflush.c: Likewise.
32298         * libio/iofflush_u.c: Likewise.
32299         * libio/iofgets.c: Likewise.
32300         * libio/iofgets_u.c: Likewise.
32301         * libio/iofopen.c: Likewise.
32302         * libio/iofopncook.c: Likewise.
32303         * libio/iofread.c: Likewise.
32304         * libio/iofread_u.c: Likewise.
32305         * libio/ioftell.c: Likewise.
32306         * libio/iofwrite.c: Likewise.
32307         * libio/iogetline.c: Likewise.
32308         * libio/iogets.c: Likewise.
32309         * libio/iogetwline.c: Likewise.
32310         * libio/iopadn.c: Likewise.
32311         * libio/iopopen.c: Likewise.
32312         * libio/ioseekoff.c: Likewise.
32313         * libio/ioseekpos.c: Likewise.
32314         * libio/iosetbuffer.c: Likewise.
32315         * libio/iosetvbuf.c: Likewise.
32316         * libio/ioungetc.c: Likewise.
32317         * libio/ioungetwc.c: Likewise.
32318         * libio/iovdprintf.c: Likewise.
32319         * libio/iovsprintf.c: Likewise.
32320         * libio/iovsscanf.c: Likewise.
32321         * libio/memstream.c: Likewise.
32322         * libio/obprintf.c: Likewise.
32323         * libio/oldfileops.c: Likewise.
32324         * libio/oldiofclose.c: Likewise.
32325         * libio/oldiofdopen.c: Likewise.
32326         * libio/oldiofopen.c: Likewise.
32327         * libio/oldiopopen.c: Likewise.
32328         * libio/oldstdfiles.c: Likewise.
32329         * libio/putc.c: Likewise.
32330         * libio/setbuf.c: Likewise.
32331         * libio/setlinebuf.c: Likewise.
32332         * libio/stdfiles.c: Likewise.
32333         * libio/strops.c: Likewise.
32334         * libio/vasprintf.c: Likewise.
32335         * libio/vscanf.c: Likewise.
32336         * libio/vsnprintf.c: Likewise.
32337         * libio/vswprintf.c: Likewise.
32338         * libio/wfiledoalloc.c: Likewise.
32339         * libio/wfileops.c: Likewise.
32340         * libio/wgenops.c: Likewise.
32341         * libio/wmemstream.c: Likewise.
32342         * libio/wstrops.c: Likewise.
32343         * libio/__fpurge.c: Likewise.
32344         * libio/__fsetlocking.c: Likewise.
32345         * assert/assert.c: Likewise.
32346         * debug/fgets_chk.c: Likewise.
32347         * debug/fgets_u_chk.c: Likewise.
32348         * debug/fread_chk.c: Likewise.
32349         * debug/fread_u_chk.c: Likewise.
32350         * debug/gets_chk.c: Likewise.
32351         * debug/obprintf_chk.c: Likewise.
32352         * debug/vasprintf_chk.c: Likewise.
32353         * debug/vdprintf_chk.c: Likewise.
32354         * debug/vsnprintf_chk.c: Likewise.
32355         * debug/vsprintf_chk.c: Likewise.
32356         * malloc/mtrace.c: Likewise.
32357         * misc/error.c: Likewise.
32358         * misc/syslog.c: Likewise.
32359         * stdio-common/asprintf.c: Likewise.
32360         * stdio-common/fxprintf.c: Likewise.
32361         * stdio-common/getw.c: Likewise.
32362         * stdio-common/isoc99_fscanf.c: Likewise.
32363         * stdio-common/isoc99_scanf.c: Likewise.
32364         * stdio-common/isoc99_vfscanf.c: Likewise.
32365         * stdio-common/isoc99_vscanf.c: Likewise.
32366         * stdio-common/isoc99_vsscanf.c: Likewise.
32367         * stdio-common/printf-prs.c: Likewise.
32368         * stdio-common/printf_fp.c: Likewise.
32369         * stdio-common/printf_fphex.c: Likewise.
32370         * stdio-common/printf_size.c: Likewise.
32371         * stdio-common/putw.c: Likewise.
32372         * stdio-common/scanf.c: Likewise.
32373         * stdio-common/sprintf.c: Likewise.
32374         * stdio-common/tmpfile.c: Likewise.
32375         * stdio-common/vfprintf.c: Likewise.
32376         * stdio-common/vfscanf.c: Likewise.
32377         * stdlib/strfmon_l.c: Likewise.
32378         * sunrpc/openchild.c: Likewise.
32379         * sunrpc/xdr_stdio.c: Likewise.
32380         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32381         * sysdeps/mach/hurd/tmpfile.c: Likewise.
32383 2012-05-24  Roland McGrath  <roland@hack.frob.com>
32385         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32387         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32388         in the third column, to generate for the shared library an IFUNC
32389         that uses _dl_vdso_vsym.
32390         * Makerules (COMPILE.c, compile-stdin.c): New variables.
32391         * Makeconfig (object-suffixes-noshared): New variable.
32393         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32394         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32395         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32396         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32398         [BZ #14132]
32399         * include/sys/time.h (__gettimeofday): Remove macro.
32400         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32401         * time/gettimeofday.c (__gettimeofday): Remove #undef.
32402         Remove INTDEF.
32403         (__gettimeofday): Add libc_hidden_def.
32404         (gettimeofday): Add libc_hidden_weak.
32405         * sysdeps/mach/gettimeofday.c: Likewise.
32406         * sysdeps/posix/gettimeofday.c: Likewise.
32407         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32408         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32409         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32410         (__gettimeofday_internal): Remove strong_alias.
32411         (__gettimeofday): Add libc_hidden_def.
32412         (gettimeofday): Add libc_hidden_weak.
32413         * sysdeps/unix/syscalls.list (gettimeofday):
32414         Remove __gettimeofday_internal alias.
32416 2012-05-24  Daniel Jacobowitz  <drow@false.org>
32417             H.J. Lu  <hongjiu.lu@intel.com>
32419         [BZ #12495]
32420         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32421         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32422         (largebin_index_32_big): New.
32423         (largebin_index): Use it for 16-byte alignment.
32424         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
32425         correction with front_misalign.
32427 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32429         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32430         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32431         Likewise.
32432         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32433         Likewise.
32434         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32435         Likewise.
32436         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32437         Likewise.
32438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32439         Likewise.
32440         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32441         Likewise.
32442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32443         Likewise.
32444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32445         Likewise.
32446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32447         Likewise.
32448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32449         Likewise.
32450         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32451         Likewise.
32452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32453         Likewise.
32455         * scripts/data/c++-types-x32-linux-gnu.data: New file.
32456         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32458 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32460         [BZ #10846]
32461         [BZ #14036]
32462         * math/libm-test.inc (exp_test): Add test from bug 14036.
32463         (pow_test): Add test from bug 10846.
32465         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32466         and other flags.
32467         (special_function): Do not include flags in test name.
32468         (parse_args): Likewise.
32469         * sysdeps/i386/fpu/libm-test-ulps: Update.
32470         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32471         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32472         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32475         * math/gen-libm-test.pl (%beautify): Add entries for underflow
32476         exceptions.
32477         * math/libm-test.inc ("Philosophy"): Update comment about
32478         exception testing.
32479         (UNDERFLOW_EXCEPTION): New macro.
32480         (UNDERFLOW_EXCEPTION_OK): Likewise.
32481         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32482         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32483         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32484         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32485         (INVALID_EXCEPTION_OK): Update value.
32486         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32487         (OVERFLOW_EXCEPTION_OK): Likewise.
32488         (IGNORE_ZERO_INF_SIGN): Likewise.
32489         (test_exceptions): Handle underflow exceptions.
32490         (acos_test): Update for underflow exception expectations.
32491         (cexp_test): Likewise.
32492         (clog_test): Likewise.
32493         (clog10_test): Likewise.
32494         (csqrt_test): Likewise.
32495         (ctan_test): Likewise.
32496         (ctanh_test): Likewise.
32497         (exp_test): Likewise.
32498         (exp10_test): Likewise.
32499         (exp2_test): Likewise.
32500         (expm1_test): Likewise.
32501         (fma_test): Likewise.
32502         (j0_test): Likewise.
32503         (jn_test): Likewise.
32504         (nexttoward_test): Likewise.
32505         (pow_test): Likewise.
32506         (scalbn_test): Likewise.
32507         (scalbln_test): Likewise.
32508         (tan_test): Likewise.
32509         (y1_test): Likewise.
32510         * sysdeps/i386/fpu/libm-test-ulps: Update.
32511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32513 2012-05-23  David S. Miller  <davem@davemloft.net>
32515         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32516         (__libc_sigaction): Remove unused local variables.
32518 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32520         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32522 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
32524         mktime: avoid signed integer overflow
32525         * time/mktime.c (__mktime_internal): Do not mishandle the case
32526         where diff == INT_MIN.
32528         mktime: simplify computation of average
32529         * time/mktime.c (ranged_convert): Use new time_t_avg function
32530         instead of rolling our own (probably-slower) code.
32532         mktime: do not assume signed right shift propagates sign bit
32533         * time/mktime.c (isdst_differ): New static function.
32534         (__mktime_internal): No need to normalize tm_isdst now.
32535         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32536         tm_isdst values.
32538         mktime: merge another wrapv change from gnulib
32539         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32540         from some compilers.
32542         mktime: remove incorrect attempt at unusual arithmetics
32543         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32544         The code didn't really work on such machines anyway.
32545         (TYPE_MINIMUM): Assume two's complement.
32546         (twos_complement_arithmetic): Verify that long_int and time_t
32547         are two's complement (or unsigned, in the latter case).
32549         mktime: check signed shifts on long_int and time_t, too
32550         * time/mktime.c (SHR): Check that shifts work as desired
32551         on the types long_int and time_t too, as SHR is used on
32552         such types.
32554         mktime: do not assume 'long' is wide enough
32555         * time/mktime.c (verify): Move decl up.
32556         (long_int): New type.
32557         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32558         to remove assumption in the code that 'long' is wide enough to
32559         store year values.  This assumption is not true on x32 and on
32560         some non-glibc platforms.
32562         mktime: merge wrapv change from gnulib
32563         * time/mktime.c (WRAPV): New macro.
32564         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32565         (guess_time_tm, __mktime_internal): Do not assume that signed
32566         integer overflow wraps around; modern compilers generate code
32567         where this assumption is no longer valid.
32569 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32571         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32572         Replace "jmp L(pseudo_end)" with "ret".
32573         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32574         Likewise.
32576 2012-05-23  Andreas Jaeger  <aj@suse.de>
32578         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32579         * sysdeps/unix/sysv/linux/poll.c: Remove file.
32581 2012-05-23  Andreas Jaeger  <aj@suse.de>
32582             Maximilian Attems  <max@stro.at>
32584         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32585         New macros.
32587 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32589         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32590         code so that pseudo_end is just ret and the stack pointer is
32591         correct also for static library in error case.
32593 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
32595         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32596         move to syscalls.list.
32597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32602         * manual/install.texi (Running make install): Do not mention Linux
32603         kernel version for which pt_chown is not needed.
32604         (Linux): Do not mention problems with nscd with 2.0 kernels.
32605         * INSTALL: Regenerated.
32607 2012-05-23  Andreas Jaeger  <aj@suse.de>
32609         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32610         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32611         macro.
32612         * sysdeps/unix/sysv/linux/s390/bits/mman.h
32613         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32614         * sysdeps/unix/sysv/linux/sh/bits/mman.h
32615         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32616         * sysdeps/unix/sysv/linux/i386/bits/mman.h
32617         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32618         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32619         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32620         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32621         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32622         * sysdeps/unix/sysv/linux/bits/in.h
32623         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32625 2012-05-22  Roland McGrath  <roland@hack.frob.com>
32627         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32628         (PREPARE_VERSION): Just use assert instead, it will be elided
32629         under [NDEBUG] anyway.
32631 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32633         * sysdeps/unix/sysv/linux/Makefile: Include
32634         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32635         (sysdep_routines): Remove sysctl.
32636         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32637         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32638         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32639         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32640         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32642 2012-05-22  Andreas Jaeger  <aj@suse.de>
32644         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32645         that pseudo_end is just ret and the stack pointer is correct also
32646         for static library in error case.
32648 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32650         [BZ #14122]
32651         * nss/nsswitch.c (defconfig_entries): New variable.
32652         (__nss_database_lookup): Don't leak defconfig entries.
32653         (nss_parse_service_list): Don't leak on error paths.
32654         (free_database_entries): New function.
32655         (free_defconfig): New function.
32656         (free_mem): Move common code to free_database_entries.
32658 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32660         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32661         Add arch_prctl.
32662         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32664         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32665         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32666         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32667         New macro.
32668         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32669         (INTERNAL_SYSCALL_TYPES): Likewise.
32670         (LOAD_ARGS_TYPES_[1-6]): Likewise.
32671         (LOAD_REGS_TYPES_[1-6]): Likewise.
32672         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32673         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32675 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32677         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32678         copysignl for GLIBC_2_0.
32679         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32680         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32681         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32682         logbl for GLIBC_2_0.
32683         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32684         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32686 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32688         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32689         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32691         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32692         Use "neg %eax".
32694         * time/mktime.c: Update copyright years.
32696 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
32698         mktime: merge comment-quoting-style change from gnulib
32699         * time/mktime.c: Quote 'like this' in comments.
32700         The GNU coding standards suggest that we no longer quote `like this',
32701         as "`" and "'" are typically rendered asymmetrically nowadays.
32702         The typical gnulib style is to quote 'like this' when quoting
32703         code, and "like this" when quoting English.
32705         * time/mktime.c (compile-command): Add "-I.".
32707         mktime: merge mktime-internal.h change from gnulib
32708         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32710         mktime: merge time_r change from gnulib
32711         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32713         mktime: merge DEBUG change from gnulib
32714         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32715         case system <time.h> has a #define.
32717         mktime: merge <sys/types.h> change from gnulib
32718         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32719         since <time.t> is now guaranteed to define time_t.
32721         mktime: merge HAVE_CONFIG_H change from gnulib
32722         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32724 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32726         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32727         Use "neg %eax".
32729         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32730         __rlim_t cast.
32731         (struct rusage): Use anonymous union to pad each field to
32732         __syscall_slong_t.
32734 2012-05-21  David S. Miller  <davem@davemloft.net>
32736         * Makefules (o-iterator): Remove .s cases.
32737         (compile-command.s): Delete.
32738         (COMPILE.s): Delete.
32739         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32741 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
32743         * configure.in (libc_cv_predef_stack_protector): Only consider
32744         "foobar" and "__stack_chk_fail" lines in libc_undefs.
32745         * configure: Regenerated.
32747 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32749         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32750         New macro.  Use R*LP on int and pointer.
32751         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32752         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32753         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32754         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32756         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32757         [__WORDSIZE_TIME64_COMPAT32] instead of
32758         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32759         (struct utmp): Likewise.
32760         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32761         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32762         Renamed to ...
32763         (__WORDSIZE_TIME64_COMPAT32): This.
32764         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32765         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32766         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32767         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32768         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32769         (__WORDSIZE_TIME64_COMPAT32): New macro.
32771 2012-05-21  Andreas Jaeger  <aj@suse.de>
32773         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32774         only if [SHARED]. Add prototype for __wcschr_ia32.
32776 2012-05-21  Roland McGrath  <roland@hack.frob.com>
32778         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32779         of %rbp unmolested in the jmp_buf while mangling the low bits.
32780         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32781         unmolested high bits of %rbp while demangling the low bits.
32782         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32784 2012-05-21  Andreas Jaeger  <aj@suse.de>
32786         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32787         * sunrpc/svc_simple.c: Use it for registerrpc.
32788         * sunrpc/xcrypt.c: Use it for passwd2des.
32790         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32792 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32794         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32795         Don't define if [__SYSCALL_WORDSIZE != 32].
32796         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32797         New macro.
32799 2012-05-21  Bruno Haible  <bruno@clisp.org>
32800             Andreas Jaeger  <aj@suse.de>
32802         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32803         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32804         inptr and inend for must_buffer_ch.
32805         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32806         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32807         * stdio-common/Makefile (tests): Remove bug15.
32808         (bug15-ENV): Remove macro.
32809         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32810         anymore.
32812 2012-05-19  Andreas Jaeger  <aj@suse.de>
32813             Roland McGrath  <roland@hack.frob.com>
32815         * manual/contrib.texi: Completely rewritten. It contains now an
32816         alphabetical list of contributors and their contributions.
32818 2012-05-21  Richard Henderson  <rth@twiddle.net>
32820         * misc/getauxval.c (__getauxval): Use unsigned long int.
32821         * misc/sys/auxv.h: Include <sys/cdefs.h>.
32822         (getauxval): Use unsigned long int.
32824 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32826         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32828 2012-05-21  Roland McGrath  <roland@hack.frob.com>
32830         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32831         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32832         __alignof__ (long double).
32834 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32838 2012-05-20  Richard Henderson  <rth@twiddle.net>
32840         * misc/getauxval.c: New file.
32841         * misc/sys/auxv.h: New file.
32842         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32843         (routines): Add getauxval.
32844         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32845         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32846         * elf/dl-sysdep.c (_dl_auxv): Remove.
32847         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32848         * elf/dl-support.c (_dl_auxv): New variable.
32849         (_dl_aux_init): Initialize it.
32850         * manual/startup.texi (Auxiliary Vector): New node.
32851         * sysdeps/generic/bits/hwcap.h: New file.
32852         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32853         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
32854         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32855         * sysdeps/sparc/sysdep.h: ... here.  Include it.
32856         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32857         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
32858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32859         Update.
32860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32863         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32865         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32866         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32867         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32869 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32873 2012-05-19  David S. Miller  <davem@davemloft.net>
32875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32877 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
32879         [BZ #14123]
32880         * math/s_ccosh.c: Include <float.h>
32881         (__ccosh): Avoid internal overflow calculating sinh and cosh
32882         values before multiplying by sin and cos values.
32883         * math/s_ccoshf.c: Likewise.
32884         * math/s_ccoshl.c: Likewise.
32885         * math/s_csin.c: Likewise.
32886         * math/s_csinf.c: Likewise.
32887         * math/s_csinl.c: Likewise.
32888         * math/s_csinh.c: Likewise.
32889         * math/s_csinhf.c: Likewise.
32890         * math/s_csinhl.c: Likewise.
32891         * math/libm-test.inc (ccos_test): Add more tests.
32892         (ccosh_test): Likewise.
32893         (csin_test): Likewise.
32894         (csinh_test): Likewise.
32895         * sysdeps/i386/fpu/libm-test-ulps: Update.
32896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32898 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
32900         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32901         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32903         * sysdeps/x86_64/x32/_itoa.h: Add comment.
32905 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
32907         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32908         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32909         * sysdeps/powerpc/soft-fp/Versions: Likewise.
32910         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32911         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32912         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32913         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32914         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32915         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32916         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32917         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32918         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32919         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32920         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32921         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32922         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32923         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32924         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32925         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32926         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32927         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32928         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32929         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32930         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32931         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32932         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32933         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32934         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32935         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32936         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32937         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32939 2012-05-18  Andreas Jaeger  <aj@suse.de>
32941         * csu/.gitignore: Delete.
32943 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32945         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32946         (timex): Use __syscall_slong_t.
32948 2012-05-18  Andreas Jaeger  <aj@suse.de>
32949             Carlos O'Donell  <carlos_odonell@mentor.com>
32951         * manual/install.texi (Configuring and compiling): Update
32952         description about files modified in the source directory.
32953         * INSTALL: Regenerated.
32955 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32957         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32958         value.  Use "or" to set return value to -1.
32959         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32960         negate return value.
32962 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32964         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32965         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32966         failure if the compiler has Graphite support disabled.
32967         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32968         Likewise.
32969         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32970         (CFLAGS-memmove.c): Likewise.
32971         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32972         Likewise.
32974 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32976         * sysdeps/x86_64/x32/_itoa.h: New file.
32978         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32979         getdents system call only if kernel and user dirents have the
32980         same d_ino and d_off.
32982         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32983         LLONG_MAX != LONG_MAX.
32984         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32985         (_fitoa_word): Likewise.
32987         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32988         years.
32989         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32990         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32991         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32993         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32994         include <bits/wordsize.h>.  Check __x86_64__ instead of
32995         __WORDSIZE.
32996         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32997         if __x86_64__ is defined.  Use anonymous union on fpstate.
32999         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33000         anonymous union.
33002 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33004         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33005         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33006         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33007         Refer to _rtld_local_ro instead of _rtld_global_ro.
33008         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33009         Likewise.
33010         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33011         Likewise.
33012         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33013         Likewise.
33014         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33015         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33016         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33018         * sysdeps/powerpc/powerpc32/dl-machine.c
33019         (__elf_machine_runtime_setup) [PROF]: Don't reference
33020         _dl_prof_resolve.
33022 2012-05-18  Andreas Jaeger  <aj@suse.de>
33024         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33025         function only available for GCCs before 3.4 since GCC 3.4
33026         introduced a builtin.
33027         (lrint): Likewise.
33028         (llrintf): Likewise.
33029         (llrint): Likewise.
33030         (fmaxf): Likewise.
33031         (fmax): Likewise.
33032         (fminf): Likewise.
33033         (fmin): Likewise.
33034         (rint): Likewise.
33035         (rintf): Likewise.
33036         (nearbyint): Likewise.
33037         (nearbyintf): Likewise.
33038         (ceil): Likewise.
33039         (ceilf): Likewise.
33040         (floor): Likewise.
33041         (floorf): Likewise.
33043 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33045         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33046         on both fields and cast pointer to __syscall_ulong_t.
33048         * bits/types.h (__fsword_t): New type.
33049         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33050         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33051         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33052         (__FSWORD_T_TYPE): Likewise.
33053         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33054         (__FSWORD_T_TYPE): Likewise.
33055         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33056         (__FSWORD_T_TYPE): Likewise.
33057         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33058         (__FSWORD_T_TYPE): Likewise.
33059         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33060         __SWORD_TYPE with __fsword_t.
33061         (statfs64): Likewise.
33063 2012-05-17  David S. Miller  <davem@davemloft.net>
33065         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33067 2012-05-17  Andreas Jaeger  <aj@suse.de>
33069         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33070         warning.
33072 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33074         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33076 2012-05-17  Andreas Jaeger  <aj@suse.de>
33078         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33079         when it is used.
33081 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33083         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33085 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33087         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33088         * sysdeps/x86_64/tst-mallocalign1.c: New file.
33090 2012-05-17  Andreas Jaeger  <aj@suse.de>
33091             Carlos O'Donell  <carlos_odonell@mentor.com>
33093         [BZ #14059]
33094         * sysdeps/x86_64/multiarch/init-arch.h
33095         (bit_YMM_Usable): Rename to...
33096         (bit_AVX_Usable): ... this.
33097         (bit_FMA4_Usable): New macro.
33098         (bit_XMM_state): New macro.
33099         (bit_YMM_state): New macro.
33100         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33101         [__ASSEMBLER__] (index_AVX_Usable): ... this.
33102         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33103         (CPUID_OSXSAVE): New macro.
33104         (CPUID_AVX): New macro.
33105         (CPUID_FMA4): New macro.
33106         (index_YMM_Usable): Rename to...
33107         (index_AVX_Usable): ... this.
33108         (HAS_AVX): Use HAS_ARCH_FEATURE.
33109         (HAS_FMA4): Likewise.
33110         (HAS_YMM_USABLE): Remove.
33111         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33112         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33113         are present.
33114         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33115         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33116         * sysdeps/x86_64/multiarch/Makefile: Likewise.
33117         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33118         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33120 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33122         * math/libm-test.c: Support platforms without multiple rounding modes.
33123         * math/bug-nextafter.c: Support platforms without FP exceptions.
33124         * math/bug-nexttoward.c: Likewise.
33125         * math/test-fenv.c: Likewise.
33126         * math/test-misc.c: Likewise.
33127         * stdlib/bug-getcontext.c: Likewise.
33129 2012-05-17  Andreas Jaeger  <aj@suse.de>
33131         * manual/examples/search.c (critter_cmp): Change signature to
33132         avoid warnings.
33133         * manual/string.texi (Collation Functions): Likewise.
33135 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33137         * bits/types.h: Fold copyright years.
33138         * bits/typesizes.h: Likewise.
33139         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33140         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33141         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33142         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33143         * time/time.h: Likewise.
33145 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
33147         [BZ #208]
33148         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33149         in instead of returning them.  Return void.
33150         (__libc_mallinfo): Accumulate over all arenas.
33151         (__malloc_stats): Adjust for change in int_mallinfo interface.
33153 2012-05-16  Roland McGrath  <roland@hack.frob.com>
33155         [BZ #10375]
33156         * configure.in (NM): Add AC_CHECK_TOOL for it.
33157         (libc_extra_cflags): New substituted variable.
33158         Check for -fstack-protector being used implicitly.
33159         * configure: Regenerated.
33160         * config.make.in (config-extra-cflags): New variable,
33161         gets @libc_extra_cflags@.
33162         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33164         [BZ #10375]
33165         * configure.in: Check for _FORTIFY_SOURCE being predefined.
33166         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33167         * configure: Regenerated.
33168         * config.make.in (CPPUNDEFS): New substituted variable.
33169         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33170         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33171         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33173 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33175         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33176         (mq_attr): Use __syscall_slong_t.
33178 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33180         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33181         Check __x86_64__ instead of __WORDSIZE.
33182         (_STAT_VER_LINUX): Likewise.
33183         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
33184         __syscall_ulong_t and __syscall_slong_t.
33185         (stat64): Likewise.
33187 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33189         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33191 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33193         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33195 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33197         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33198         __syscall_ulong_t.
33200         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33201         include <bits/wordsize.h>.  Check __x86_64__ instead of
33202         __WORDSIZE.
33203         (greg_t): Use "__extension__ long long int" if __x86_64__ is
33204         defined.
33205         (mcontext_t): Replace "unsigned long" with "unsigned long long".
33207         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33208         include <bits/wordsize.h>.  Check __x86_64__ instead of
33209         __WORDSIZE.
33210         (user_regs_struct): Use "__extension__ unsigned long long"
33211         instead of "unsigned long" if __x86_64__ is defined.
33212         (user): Likewise.  Pad after pointer field if __ILP32__ is
33213         defined.
33215 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
33217         * configure.in (makeinfo): Require version 4.5 or later.  Allow
33218         versions 5 to 9.
33219         * configure: Regenerated.
33220         * manual/install.texi (texinfo): Increase version requirement to
33221         4.5 or later.
33222         * INSTALL: Regenerated.
33224         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33226 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33228         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33230         * sysdeps/x86_64/x32/ffs.c: New file.
33232         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33233         __syscall_ulong_t.
33234         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33235         defined.  Use __syscall_ulong_t.
33236         (shminfo): Use __syscall_ulong_t.
33237         (shm_info): Likewise.
33239         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33240         __syscall_ulong_t.
33242         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33243         <bits/wordsize.h>.
33244         (msgqnum_t): Use __syscall_ulong_t.
33245         (msglen_t): Likewise.
33246         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
33247         __syscall_ulong_t.
33249         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33250         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33252         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33254         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33255         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33257         * sysvipc/sys/msg.h (msgbuf): Replace long int with
33258         __syscall_slong_t.
33260         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33261         include <bits/wordsize.h>.  Check __x86_64__ instead of
33262         __WORDSIZE.
33264         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33265         "unsigned long long int" if __x86_64__ is defined.
33266         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33268         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33269         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33270         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33272         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33273         <stdint.h>.
33274         (GET_PC): Cast to uintptr_t first.
33275         (GET_FRAME): Likewise.
33276         (GET_STACK): Likewise.
33278         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33279         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33280         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33281         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33282         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33283         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33284         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33285         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33286         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33287         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33288         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33289         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33290         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33291         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33292         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33293         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33294         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33295         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33296         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33297         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33298         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33299         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33300         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33301         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33302         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33303         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33304         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33305         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33306         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33308 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
33310         * Makerules (+depfiles): Also collect depfiles from .oS in
33311         $(extra-objs).
33312         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33313         .oS, $(libnldbl-routines)).
33315         * Makerules (native-compile-mkdep-flags): Define.
33316         * sunrpc/Makefile (extra-objs): Add $(addprefix
33317         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33318         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33319         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
33320         calling $(make-target-directory).
33322 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33324         * bits/types.h (__snseconds_t): Removed.
33325         * time/time.h (struct timespec): Replace __snseconds_t with
33326         __syscall_slong_t.
33327         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33328         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33329         Likewise.
33330         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33331         (__SNSECONDS_T_TYPE): Likewise.
33332         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33333         (__SNSECONDS_T_TYPE): Likewise.
33334         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33335         (__SNSECONDS_T_TYPE): Likewise.
33337 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33339         * sysdeps/mach/hurd/bits/typesizes.h
33340         (__SYSCALL_SLONG_TYPE): New macro.
33341         (__SYSCALL_ULONG_TYPE): Likewise.
33343 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33345         * bits/types.h (__syscall_slong_t): New type.
33346         (__syscall_ulong_t): Likewise.
33348         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33349         (__SYSCALL_ULONG_TYPE): Likewise.
33350         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33351         (__SYSCALL_SLONG_TYPE): Likewise.
33352         (__SYSCALL_ULONG_TYPE): Likewise.
33353         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33354         (__SYSCALL_SLONG_TYPE): Likewise.
33355         (__SYSCALL_ULONG_TYPE): Likewise.
33356         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33357         (__SYSCALL_SLONG_TYPE): Likewise.
33358         (__SYSCALL_ULONG_TYPE): Likewise.
33360 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33362         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33363         Add sigaltstack-offsets.sym.
33364         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33365         <sigaltstack-offsets.h>.
33366         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
33367         longjmp_msg pointer.
33368         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
33369         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33370         signal stack.
33371         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33373 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33375         * elf/stackguard-macros.h: Remove file.
33376         * sysdeps/generic/stackguard-macros.h: New file.
33377         * sysdeps/i386/stackguard-macros.h: Likewise.
33378         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33379         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33380         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33381         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33382         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33383         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33384         * sysdeps/x86_64/stackguard-macros.h: Likewise.
33385         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33386         <elf/stackguard-macros.h>.
33388         [BZ #14109]
33389         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33390         __aligned__ in attribute.
33391         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33392         (gregset_t): Likewise.
33394 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33396         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33397         * sysdeps/x86_64/64/Implies-after: Here.  New file.
33398         * sysdeps/x86_64/x32/Implies-after: New file.
33400 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33402         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33403         and access return value for _dl_profile_fixup.  Use R10_LP to
33404         load frame size.
33406 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33408         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33410 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33412         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33413         * sysdeps/x86_64/x32/sysdep.h: New file.
33415 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33417         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33418         * sysdeps/x86_64/setjmp.S: Likewise.
33420 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33422         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33423         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33424         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33425         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33426         remove unused global constant.
33428 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
33430         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33431         include of <not-cancel.h>.
33433 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33435         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33437 2012-05-15  Jeff Law  <law@redhat.com>
33438             Andreas Jaeger  <aj@suse.de>
33440         [BZ #13594]
33441         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33442         out from...
33443         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33444         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33445         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33446         code changing __hst_map_handle.map.
33448 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33450         * configure.in (sysnames): Look for Implies-before and Implies-after
33451         files.
33452         * configure: Regenerated.
33454 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33456         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33457         8-byte data alignment with LP_SIZE alignment.
33459 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33461         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33462         into R10_LP.
33464 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33466         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33468 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33470         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33471         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33472         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33473         Likewise.
33474         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33476 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33478         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33479         (stackinfo_sub_sp): Likewise.
33481 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33483         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33484         RAX_LP.
33486 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33488         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33489         into R*_LP.
33491 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33493         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33494         sizes into R*_LP.
33496 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33498         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33500 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33502         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33503         into R11_LP and load __x86_64_shared_cache_size_half into
33504         R8_LP.
33506 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33508         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33509         R8_LP.
33511 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33513         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33514         logb for POWER7.
33515         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33516         logbf for POWER7.
33517         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33518         logbl for POWER7.
33519         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33520         powerpc32/power7/fpu/s_logb.c via #include.
33521         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33522         powerpc32/power7/fpu/s_logbf.c via #include.
33523         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33524         powerpc32/power7/fpu/s_logbl.c via #include.
33526 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33528         * README.libm: Remove file.
33530 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33532         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33533         count for x32.  Use R*_LP and omit operand-size suffix.
33535 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33537         * shlib-versions: Move x86_64-.*-linux.* entries to ...
33538         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
33539         * sysdeps/x86_64/x32/shlib-versions: New file.
33541 2012-05-14  Roland McGrath  <roland@hack.frob.com>
33543         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33544         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33545         Use _dl_fatal_printf instead.
33547 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33549         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33550         set if not set by the user.  Do not allow for being unset.
33551         * sysdeps/unix/sysv/linux/configure: Regenerated.
33553 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33555         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33556         the `q' suffix from lea and replace .quad with ASM_ADDR.
33558 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33560         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33561         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
33562         instead of $17.
33563         (PTR_DEMANGLE): Likewise.
33565 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33567         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33568         (LP_OP): Likewise.
33569         (ASM_ADDR): Likewise.
33570         (RAX_LP): Likewise.
33571         (RBP_LP): Likewise.
33572         (RBX_LP): Likewise.
33573         (RCX_LP): Likewise.
33574         (RDI_LP): Likewise.
33575         (RSI_LP): Likewise.
33576         (RSP_LP): Likewise.
33577         (R8_LP): Likewise.
33578         (R9_LP): Likewise.
33579         (R10_LP): Likewise.
33580         (R10_LP): Likewise.
33581         (R11_LP): Likewise.
33582         (R12_LP): Likewise.
33583         (R13_LP): Likewise.
33584         (R14_LP): Likewise.
33585         (R15_LP): Likewise.
33587 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33589         * sysdeps/x86_64/x32/dl-machine.h: New file.
33591 2012-05-14  Andreas Jaeger  <aj@suse.de>
33593         * manual/Makefile (subdir): Remove export of subdir.
33594         (all): Remove target.
33595         (.PHONY): Remove all from list.
33596         (mkinstalldirs): Remove.
33597         (.PHONY): Remove installdirs from list.
33598         ($(inst_infodir)/libc.info): Use make-target-directory.
33599         (installdirs): Remove.
33600         (subdir_%): Remove.
33601         (glibc-targets): Remove.
33602         (lib): Remove.
33603         (stubs): Remove.
33604         ($(objpfx)stubs ../po/manual.pot): Remove.
33605         ($(objpfx)stamp%): Remove.
33606         (make-target-directory): Remove.
33607         (subdir_install): Remove.
33608         (routines): Remove.
33609         (aux): Remove.
33610         (sources): Remove.
33611         (objects): Remove.
33612         (headers): Remove.
33614         [BZ #13750]
33615         * manual/.gitignore: Remove, it's not needed anymore.
33616         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33617         all files in it.
33618         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33619         directory.
33620         (texis): Renamed to $(objpfx)texis.
33621         (texis-path): New, contains path to generated files.
33622         (chapters.%): Use texis-path for complete path, add extra argument
33623         libc-texinfo.sh.
33624         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33625         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33626         (summary,texi, stamp-summary): Use complete path of
33627         files. Generate files in build dir.
33628         (dir-add.texi): Build in build dir.
33629         (libm-err.texi,stamp-libm-err): Likewise.
33630         (version.texi, stamp-version): Likewise.
33631         (.%c.texi): Likewise.
33632         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33633         (mostlyclean): Remove target.
33634         (realclean): Remove target.
33635         (generated): Add new variable with contents from mostlyclean and
33636         realclean, remove entries duplicated in common-mostlyclean, add
33637         stamp-libm-err and stamp-version.
33638         (generated-dirs): Add libc directory.
33639         ($(inst_infodir)/libc.info): Install files from build dir.
33641         * manual/install.texi (Configuring and compiling): Adjust since
33642         the info files are not part of the tar ball anymore.
33644 2012-05-14  Andreas Jaeger  <aj@suse.de>
33646         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33647         variable.
33649 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33651         [BZ #13717]
33652         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33653         to 2.2.0 where earlier.
33654         * sysdeps/unix/sysv/linux/configure: Regenerated.
33655         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33656         Remove conditional code.
33657         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33658         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33659         Remove conditional code.
33660         [!__NR_lchown]: Likewise.
33661         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33662         [__NR_lchown]: Likewise.
33663         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33664         comment referencing __ASSUME_LCHOWN_SYSCALL.
33665         * sysdeps/unix/sysv/linux/i386/sigaction.c
33666         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33667         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33668         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33669         Remove conditional code.
33670         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33671         (__protocol_available): Remove #if 0 code.
33672         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33673         conditional code.
33674         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33675         * sysdeps/unix/sysv/linux/kernel-features.h
33676         (__ASSUME_GETCWD_SYSCALL): Don't define.
33677         (__ASSUME_REALTIME_SIGNALS): Likewise.
33678         (__ASSUME_PREAD_SYSCALL): Likewise.
33679         (__ASSUME_PWRITE_SYSCALL): Likewise.
33680         (__ASSUME_POLL_SYSCALL): Likewise.
33681         (__ASSUME_LCHOWN_SYSCALL): Likewise.
33682         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33683         non-SPARC.
33684         (__ASSUME_SIOCGIFNAME): Don't define.
33685         (__ASSUME_MSG_NOSIGNAL): Likewise.
33686         (__ASSUME_SENDFILE): Define unconditionally.
33687         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33688         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33689         conditional code.
33690         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33691         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33692         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33693         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33694         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33695         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33696         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33698         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33699         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33701         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33702         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33704         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33705         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33707         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33708         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33710         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33711         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33713         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33714         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33716         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33717         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33719         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33720         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33721         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33722         Remove conditional code.
33723         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33724         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33725         Remove conditional code.
33726         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33727         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33728         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33729         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33730         Remove conditional code.
33731         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33732         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33733         Remove conditional code.
33734         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33735         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33736         Remove conditional code.
33737         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33738         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33739         Remove conditional code.
33740         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33741         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33742         Remove conditional code.
33743         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33744         * sysdeps/unix/sysv/linux/sh/pwrite64.c
33745         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33746         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33747         * sysdeps/unix/sysv/linux/sigaction.c
33748         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33749         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33750         * sysdeps/unix/sysv/linux/sigpending.c
33751         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33752         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33753         * sysdeps/unix/sysv/linux/sigprocmask.c
33754         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33755         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33756         * sysdeps/unix/sysv/linux/sigsuspend.c
33757         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33758         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33759         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33760         (__libc_missing_rt_sigs): Remove.
33761         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33762         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33763         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33764         Remove conditional code.
33765         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33766         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33767         return 1.
33768         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33769         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33770         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33771         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33773 2012-05-14  Andreas Jaeger  <aj@suse.de>
33775         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33776         it's not used in glibc.
33777         (__coshm1): Likewise.
33778         (__acosh1p): Likewise.
33779         (__sgn): Likewise.
33781         * manual/string.texi (Copying and Concatenation): Add missing
33782         variable in concat example.
33783         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33785 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33787         [BZ #14103]
33788         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33789         __builtin_clzl with __builtin_clzll.
33791 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33793         [BZ #14104]
33794         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33795         libc_freeres_ptr.
33797 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33799         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33800         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33801         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33802         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33804 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
33806         * NEWS: Update ia64 info.
33808 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
33810         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33811         used as bcopy.
33813 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
33815         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33816         * sysdeps/unix/syscalls.list (dup3): Likewise.
33817         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33818         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33820 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
33822         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33823         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33825 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
33827         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33828         thread pointer.
33829         (TLS_IE): Use mov/add instead of movq/addq to load thread
33830         pointer.
33831         (TLS_GD_PREFIX): New.
33832         (TLS_GD): Use it.
33834 2012-05-11  David S. Miller  <davem@davemloft.net>
33836         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33837         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33838         (_FPU_SETCW): Likewise.
33840 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33842         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33843         is 32-byte aligned.
33845 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
33847         [BZ #11837]
33848         * iconvdata/gb18030.c: Update tables.
33849         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
33850         characters specially.
33851         (BODY for TO_LOOP): Add encoding of missing ranges.
33853 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
33855         [BZ #13673]
33856         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33857         * sysdeps/mach/hurd/dup3.c: Likewise.
33858         * sysdeps/mach/hurd/readlinkat.c: Likewise.
33859         * sysdeps/powerpc/memmove.c:: Likewise.
33861 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33863         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33864         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33866 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33868         * elf/elf.h (R_X86_64_RELATIVE64): New.
33869         (R_X86_64_NUM): Updated.
33870         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33871         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
33872         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33873         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33874         tst-quad1pie tst-quad2pie
33875         (modules-names): Add tst-quadmod1 tst-quadmod2.
33876         ($(objpfx)tst-quad1): New dependency.
33877         ($(objpfx)tst-quad2): Likewise.
33878         ($(objpfx)tst-quad1pie): Likewise.
33879         ($(objpfx)tst-quad2pie): Likewise.
33880         * sysdeps/x86_64/tst-quad1.c: New file.
33881         * sysdeps/x86_64/tst-quad1pie.c: New file.
33882         * sysdeps/x86_64/tst-quad2.c: Likewise.
33883         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33884         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33885         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33886         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33887         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33889 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33891         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33892         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33893         * streams/stropts.h (t_scalar_t): Define type.
33895         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33896         (_PATH_PRESERVE): Set to "/var/lib".
33897         (_PATH_RWHODIR): Set to "/var/spool/rwho".
33899         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33900         instead of int.
33902         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33903         if __dir_mkfile succeeded.
33905         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33906         checking for _hurd_dtablesize.  Unlock it right after having
33907         finished _hurd_dtable allocation.
33909 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33911         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33912         * sysdeps/mach/hurd/configure: Regenerated.
33913         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33914         special-casing to...
33915         * sysdeps/gnu/configure.in: ... this new file.
33916         * sysdeps/unix/sysv/linux/configure: Regenerated.
33917         * sysdeps/gnu/configure: New generated file.
33919         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33920         for Linux: use nsec instead of usec, as well as:
33921         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33922         members of type struct timespec.
33923         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33924         New macros.
33925         (struct stat64): Likewise.
33926         (_STATBUF_ST_NSEC): New macro.
33927         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33929         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33930         __strtoul_internal rather than strtoul.
33932 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33934         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33935         and reject them.
33937 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33939         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33940         which preserves existing values.
33941         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33943 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33945         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33946         TIMEOUT values.  Return EINVAL for NFDS values either negative or
33947         greater than FD_SETSIZE.
33949 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33951         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33952         allocated, call __vm_protect to finish enabling the existing space, and
33953         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33954         allocate the remainder.
33956 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33958         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33959         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
33961 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33963         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33964         sysdeps/mach/hurd/readlink.c.
33966         * posix/tst-sysconf.c (posix_options): Only use
33967         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33968         _POSIX_SYNCHRONIZED_IO when they are defined
33969         * sysdeps/mach/hurd/bits/posix_opt.h:
33970         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33971         (_XOPEN_REALTIME): Undefine macro.
33972         (_XOPEN_REALTIME_THREADS): Undefine macro.
33973         (_XOPEN_SHM): Undefine macro.
33974         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33975         macro to -1.
33976         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33977         macro to -1.
33978         (_POSIX_ASYNC_IO): Undefine macro.
33979         (_POSIX_PRIORITIZED_IO): Undefine macro.
33980         (_POSIX_SPIN_LOCKS): Define macro to -1.
33982         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33983         SA_NODEFER, SA_RESETHAND.
33984         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33985         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33986         F_DUPFD_CLOEXEC.
33988 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33990         * elf/Makefile (pldd-modules): Define unconditionally.
33992 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33994         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33996 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33998         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33999         Return ENOENT when name is empty.
34000         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34002 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34004         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34006         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34008 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34010         Fix mlock in all cases except non-readable pages.
34011         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34012         instead of VM_PROT_ALL as parameter to __vm_wire function.
34014         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34015         (__mkdir): When path is `/', just fail with EEXIST.
34016         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34018 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34020         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34021         <sys/uio.h> (for writev).
34022         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34023         and <sys/param.h> (for MIN).
34025 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34027         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34028         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34029         if interrupted.
34031 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34033         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34034         Depend on against $(link-rpcuserlibs).
34036 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34038         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34039         (__libc_stack_end): Do not use attribute_relro.
34040         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34041         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34042         to libthread-provided value.
34043         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34044         attribute_relro.
34046 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34048         [BZ #3748]
34049         * bits/libc-lock.h (__libc_once_get): New macro.
34050         * sysdeps/mach/bits/libc-lock.h: Likewise.
34051         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34052         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34053         instead of using implementation details.
34055         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34056         * libio/freopen.c: Likewise.
34057         * libio/freopen64.c: Likewise.
34058         * misc/syslog.c: Likewise.
34059         * nscd/connections.c: Likewise.
34060         * nscd/netgroupcache.c: Likewise.
34061         * sysdeps/posix/getcwd.c: Likewise.
34063 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34065         * math/w_ilogbf.c: Add #include <limits.h>.
34067 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34069         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34070         path instead of returning without unlocking.
34072         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34073         immediate-write ioctls.
34074         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34076 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34078         * sysdeps/mach/hurd/i386/init-first.c (init): Use
34079         __builtin_frame_address instead of making assumptions about the
34080         location of the return address relative to DATA.  Force early load of
34081         the return address.
34082         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34083         __builtin_frame_address.
34085         dup3 for GNU Hurd.
34086         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34087         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
34088         implement dup3 and do some further code clean-ups.
34089         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34090         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34092 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34094         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34096         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34097         HURD_CRITICAL_END around holding _hurd_dtable_lock.
34098         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34099         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34100         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34101         d->port.lock.
34103         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34104         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
34105         when handler == SIG_ERR, not when handler != SIG_ERR.
34107 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34109         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34110         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34111         definitions.
34113         accept4 for GNU Hurd.
34114         * include/sys/socket.h (__libc_accept4): New prototype.
34115         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
34116         to implement __libc_accept4.
34117         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34118         __libc_accept4.
34119         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34121         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34122         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34123         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34124         signal-defines.sym.
34126 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34128         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34130 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34132         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34133         assertion on O_CLOEXEC flag.
34134         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34135         * hurd/intern-fd.c: Likewise.
34136         * hurd/port2fd.c: Likewise.
34138 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34140         [BZ #3906]
34141         * bits/in.h (IPV6_PKTINFO): Define new macro.
34142         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34144 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34146         [BZ #13954]
34147         [BZ #13955]
34148         [BZ #13956]
34149         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34150         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34151         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34152         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34153         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34154         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34155         * math/libm-test.inc (logb_test) : Additional logb tests.
34157 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
34158             Andreas Jaeger  <aj@suse.de>
34160         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34161         * configure: Regenerated.
34162         * config.h.in (LINK_OBSOLETE_RPC): New macro.
34163         * config.make.in (link-obsolete-rpc): New substituted variable.
34164         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34165         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34166         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34167         (shared-only-routines): Don't set it under [link-obsolete-rpc],
34168         so that libc.a contains the symbols.
34169         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34170         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34171         * sunrpc/auth_none.c: Likewise.
34172         * sunrpc/auth_unix.c: Likewise.
34173         * sunrpc/authdes_prot.c: Likewise.
34174         * sunrpc/authuxprot.c: Likewise.
34175         * sunrpc/clnt_gen.c: Likewise.
34176         * sunrpc/clnt_perr.c: Likewise.
34177         * sunrpc/clnt_raw.c: Likewise.
34178         * sunrpc/clnt_simp.c: Likewise.
34179         * sunrpc/clnt_tcp.c: Likewise.
34180         * sunrpc/clnt_udp.c: Likewise.
34181         * sunrpc/clnt_unix.c: Likewise.
34182         * sunrpc/des_crypt.c: Likewise.
34183         * sunrpc/des_soft.c: Likewise.
34184         * sunrpc/get_myaddr.c: Likewise.
34185         * sunrpc/key_call.c: Likewise.
34186         * sunrpc/key_prot.c: Likewise.
34187         * sunrpc/netname.c: Likewise.
34188         * sunrpc/pm_getmaps.c: Likewise.
34189         * sunrpc/pm_getport.c: Likewise.
34190         * sunrpc/pmap_clnt.c: Likewise.
34191         * sunrpc/pmap_prot.c: Likewise.
34192         * sunrpc/pmap_prot2.c: Likewise.
34193         * sunrpc/pmap_rmt.c: Likewise.
34194         * sunrpc/publickey.c: Likewise.
34195         * sunrpc/rpc_cmsg.c: Likewise.
34196         * sunrpc/rpc_common.c: Likewise.
34197         * sunrpc/rpc_dtable.c: Likewise.
34198         * sunrpc/rpc_prot.c: Likewise.
34199         * sunrpc/rpc_thread.c: Likewise.
34200         * sunrpc/rtime.c: Likewise.
34201         * sunrpc/svc.c: Likewise.
34202         * sunrpc/svc_auth.c: Likewise.
34203         * sunrpc/svc_raw.c: Likewise.
34204         * sunrpc/svc_run.c: Likewise.
34205         * sunrpc/svc_tcp.c: Likewise.
34206         * sunrpc/svc_udp.c: Likewise.
34207         * sunrpc/svc_unix.c: Likewise.
34208         * sunrpc/svcauth_des.c: Likewise.
34209         * sunrpc/xcrypt.c: Likewise.
34210         * sunrpc/xdr.c: Likewise.
34211         * sunrpc/xdr_array.c: Likewise.
34212         * sunrpc/xdr_float.c: Likewise.
34213         * sunrpc/xdr_intXX_t.c: Likewise.
34214         * sunrpc/xdr_mem.c: Likewise.
34215         * sunrpc/xdr_rec.c: Likewise.
34216         * sunrpc/xdr_ref.c: Likewise.
34217         * sunrpc/xdr_sizeof.c: Likewise.
34218         * sunrpc/xdr_stdio.c: Likewise.
34220 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34222         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34223         change.  Update copyright years.
34225 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34227         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34229 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
34230             Joseph Myers  <joseph@codesourcery.com>
34231             Paul Pluzhnikov  <ppluzhnikov@google.com>
34233         [BZ #14012]
34234         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34235         requiring rpcgen.
34236         [cross-compiling] (extra-libs): Likewise.
34237         [cross-compiling] (extra-libs-others): Likewise.
34238         [cross-compiling] (librpcsvc-routines): Likewise.
34239         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34240         [cross-compiling] (omit-deps): Likewise.
34241         (sunrpc-CPPFLAGS): New variable.
34242         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34243         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34244         (cross-rpcgen-objs): New variable.
34245         (extra-objs): Append $(cross-rpcgen-objs).
34246         ($(cross-rpcgen-objs)): New rule.
34247         ($(objpfx)cross-rpcgen): Likewise.
34248         (rpcgen-cmd): Define to use $(built-program-file).  Expand
34249         comment.
34250         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34251         ($(objpfx)x%.stmp): Likewise.
34252         * sunrpc/proto.h [IS_IN_build] (_): Define.
34253         [IS_IN_build] (_libc_intl_domainname): Likewise.
34255 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34257         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34258         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34259         and R_X86_64_TPOFF64.
34261 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34263         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34264         sysdeps/unix/sysv/syscalls.list.
34265         (stime): Likewise.
34266         (utime): Likewise.
34267         * sysdeps/unix/sysv/syscalls.list: Remove file.
34269 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
34271         [BZ #3440]
34272         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34273         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34274         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34275         (__LC_IDENTIFICATION): Make these macros useful in #if
34276         expressions, as required by C99.
34278 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
34280         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34281         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
34282         after this.
34284 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
34286         * stdlib/longlong.h: Updated from GCC.
34288 2012-05-09  Andreas Jaeger  <aj@suse.de>
34290         * nscd/nscd.c (run_modes): Make named enum, reorder so that
34291         default is first entry.
34292         (run_mode): Set type.
34293         (main): Remove informal message about syslog.
34294         (options): Fix typo.
34296         [BZ #14053]
34297         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34298         to asm.
34299         (lrint): Likewise.
34300         (llrintf): Likewise.
34301         (llrint): Likewise.
34302         (rint): Likewise.
34303         (rintf): Likewise.
34304         (nearbyint): Likewise.
34305         (nearbyintf): Likewise.
34307 2012-05-09  Andreas Jaeger  <aj@suse.de>
34308             Pedro Alves  <palves@redhat.com>
34310         * nscd/nscd.c (run_mode): Use enum.
34311         (main): Cleanup coding style issue.
34313 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
34314             Andreas Jaeger  <aj@suse.de>
34316         * nscd/nscd.c (go_background): Replaced with...
34317         (run_mode): ... this.
34318         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34319         (options): Add -F --foreground.
34320         (main): Implement it.
34321         (parse_opt): Parse it.
34323 2012-05-09  Andreas Jaeger  <aj@suse.de>
34325         [BZ #14083]
34326         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34327         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34328         -Wconversion warning.
34329         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34330         Likewise.
34332 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
34334         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
34335         == 0.
34336         (LC_ALL): Use macro-int-constant.
34337         (LC_COLLATE): Likewise.
34338         (LC_CTYPE): Likewise.
34339         (LC_MESSAGES): Likewise.
34340         (LC_MONETARY): Likewise.
34341         (LC_NUMERIC): Likewise.
34342         (LC_TIME): Likewise.
34343         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34344         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34345         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34346         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34347         Specify type.
34348         [C99-based standards] (float_t): Expect type.
34349         [C99-based standards] (double_t): Expect type.
34350         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
34351         type.
34352         [C99-based standards] (HUGE_VALL): Likewise.
34353         [C99-based standards] (INFINITY): Likewise.
34354         [C99-based standards] (NAN): Likewise.
34355         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34356         [C99-based standards] (FP_NAN): Likewise.
34357         [C99-based standards] (FP_NORMAL): Likewise.
34358         [C99-based standards] (FP_SUBNORMAL): Likewise.
34359         [C99-based standards] (FP_ZERO): Likewise.
34360         [C99-based standards] (FP_FAST_FMA): Use
34361         optional-macro-int-constant.  Specify type.  Require == 1.
34362         [C99-based standards] (FP_FAST_FMAF): Likewise.
34363         [C99-based standards] (FP_FAST_FMAL): Likewise.
34364         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34365         [C99-based standards] (FP_ILOGBNAN): Likewise.
34366         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34367         Specify type.
34368         [C99-based standards] (MATH_ERREXCEPT): Likewise.
34369         [C99-based standards] (math_errhandling): Specify type.
34370         [ISO99 || ISO11] (signgam): Do not allow.
34371         [non-C99-based standards] (copysignf): Do not allow.
34372         [non-C99-based standards] (exp2f): Likewise.
34373         [non-C99-based standards] (log2f): Likewise.
34374         [non-C99-based standards] (modff): Allow.
34375         [non-C99-based standards] (erff): Do not allow.
34376         [non-C99-based standards] (erfcf): Likewise.
34377         [non-C99-based standards] (gammaf): Likewise.
34378         [non-C99-based standards] (hypotf): Likewise.
34379         [non-C99-based standards] (j0f): Likewise.
34380         [non-C99-based standards] (j1f): Likewise.
34381         [non-C99-based standards] (jnf): Likewise.
34382         [non-C99-based standards] (lgammaf): Likewise.
34383         [non-C99-based standards] (tgammaf): Likewise.
34384         [non-C99-based standards] (y0f): Likewise.
34385         [non-C99-based standards] (y1f): Likewise.
34386         [non-C99-based standards] (ynf): Likewise.
34387         [non-C99-based standards] (isnanf): Likewise.
34388         [non-C99-based standards] (acoshf): Likewise.
34389         [non-C99-based standards] (asinhf): Likewise.
34390         [non-C99-based standards] (atanhf): Likewise.
34391         [non-C99-based standards] (cbrtf): Likewise.
34392         [non-C99-based standards] (expm1f): Likewise.
34393         [non-C99-based standards] (ilogbf): Likewise.
34394         [non-C99-based standards] (log1pf): Likewise.
34395         [non-C99-based standards] (logbf): Likewise.
34396         [non-C99-based standards] (nextafterf): Likewise.
34397         [non-C99-based standards] (remainderf): Likewise.
34398         [non-C99-based standards] (rintf): Likewise.
34399         [non-C99-based standards] (scalbf): Likewise.
34400         [non-C99-based standards] (copysignl): Likewise.
34401         [non-C99-based standards] (exp2l): Likewise.
34402         [non-C99-based standards] (log2l): Likewise.
34403         [non-C99-based standards] (modfl): Allow.
34404         [non-C99-based standards] (erfl): Do not allow.
34405         [non-C99-based standards] (erfcl): Likewise.
34406         [non-C99-based standards] (gammal): Likewise.
34407         [non-C99-based standards] (hypotl): Likewise.
34408         [non-C99-based standards] (j0l): Likewise.
34409         [non-C99-based standards] (j1l): Likewise.
34410         [non-C99-based standards] (jnl): Likewise.
34411         [non-C99-based standards] (lgammal): Likewise.
34412         [non-C99-based standards] (tgammal): Likewise.
34413         [non-C99-based standards] (y0l): Likewise.
34414         [non-C99-based standards] (y1l): Likewise.
34415         [non-C99-based standards] (ynl): Likewise.
34416         [non-C99-based standards] (isnanl): Likewise.
34417         [non-C99-based standards] (acoshl): Likewise.
34418         [non-C99-based standards] (asinhl): Likewise.
34419         [non-C99-based standards] (atanhl): Likewise.
34420         [non-C99-based standards] (cbrtl): Likewise.
34421         [non-C99-based standards] (expm1l): Likewise.
34422         [non-C99-based standards] (ilogbl): Likewise.
34423         [non-C99-based standards] (log1pl): Likewise.
34424         [non-C99-based standards] (logbl): Likewise.
34425         [non-C99-based standards] (nextafterl): Likewise.
34426         [non-C99-based standards] (remainderl): Likewise.
34427         [non-C99-based standards] (rintl): Likewise.
34428         [non-C99-based standards] (scalbl): Likewise.
34429         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34430         [non-C99-based standards] (FP_*): Do not allow.
34431         [C99-based standards] (FP_*): Change to
34432         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34433         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34434         allow.
34435         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34436         (SIG_ERR): Likewise.
34437         [X/Open-based standards] (SIG_HOLD): Likewise.
34438         (SIG_IGN): Likewise.
34439         (SIGABRT): Use macro-int-constant.  Specify type.  Require
34440         positive value.
34441         (SIGFPE): Likewise.
34442         (SIGILL): Likewise.
34443         (SIGINT): Likewise.
34444         (SIGSEGV): Likewise.
34445         (SIGTER): Likewise.
34446         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34447         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34448         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34449         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34450         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34451         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34452         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34453         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34454         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34455         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34456         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34457         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34458         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34459         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34460         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34461         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34462         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34463         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34464         [X/Open-based standards] (SIGTRAP): Likewise.
34465         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34466         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34467         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34468         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34469         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34470         allow.
34472 2012-05-08  Ian Wienand  <ianw@vmware.com>
34474         [BZ #14080]
34475         * time/tzset.c (__tzset_parse_tz): Update default rules for
34476         daylight time changes in the Energy Policy Act of 2005.
34478 2012-05-09  Andreas Jaeger  <aj@suse.de>
34480         [BZ #13983]
34481         * elf/ldconfig.c (parse_conf): Change string to make clear that
34482         ldconfig only issued a warning if ld.so.conf does not exist.
34484 2012-05-08  David S. Miller  <davem@davemloft.net>
34486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34487         movxtod instead of popping the value on the stack.
34489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34491 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
34493         * config.h.in: Add HAVE_ARM_PCS_VFP.
34495 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
34497         [BZ #13979]
34498         * include/features.h: Warn if user requests __FORTIFY_SOURCE
34499         checking but the checks are disabled for any reason.
34501 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
34503         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34504         and ELF64_R_TYPE with ELFW(R_TYPE).
34506 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
34508         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34509         (ulimit): Likewise.
34511         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34512         (settimeofday): Likewise.
34514 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
34516         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
34517         a struct th_u2 inside the union, and move tu_block/tu_code into
34518         a new th_u3 union of tu_block/tu_code inside of that.  Move
34519         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
34520         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
34521         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34522         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34523         (th_stuff): Change to th_u1.tu_stuff.
34524         (th_data): Define.
34525         (th_msg): Change to th_u1.th_u2.tu_data.
34527 2012-05-07  David S. Miller  <davem@davemloft.net>
34529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34531         [BZ #14074]
34532         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34533         (SETUP_PIC_REG): Use it.
34534         (SETUP_PIC_REG_LEAF): Use it.
34536 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
34538         [BZ #13885]
34539         [BZ #13923]
34540         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34541         USE_AS_EXPM1L.
34542         (EXPL_FINITE): Likewise.
34543         (FLDLOG): Likewise.
34544         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34545         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34546         e_expl.S.
34547         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34548         USE_AS_EXPM1L.
34549         (EXPL_FINITE): Likewise.
34550         (FLDLOG): Likewise.
34551         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34552         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34553         e_expl.S.
34554         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
34555         test of -max_value argument for long double.
34556         * sysdeps/i386/fpu/libm-test-ulps: Update.
34557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34559 2012-05-06  David S. Miller  <davem@davemloft.net>
34561         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34562         quad soft-float symbols whose references which are compiler
34563         generated.
34564         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34566 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
34568         [BZ #13884]
34569         [BZ #13914]
34570         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34571         USE_AS_EXP10L.
34572         (EXPL_FINITE): Likewise.
34573         (FLDLOG): Likewise.
34574         (c0): Likewise.
34575         (c1): Likewise.
34576         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34577         Adjust comments for base varying.
34578         (__expl_finite): Change alias to EXPL_FINITE.
34579         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34580         e_expl.S.
34581         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34582         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34583         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34584         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34585         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34586         USE_AS_EXP10L.
34587         (EXPL_FINITE): Likewise.
34588         (FLDLOG): Likewise.
34589         (c0): Likewise.
34590         (c1): Likewise.
34591         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34592         Adjust comments for base varying.
34593         (__expl_finite): Change alias to EXPL_FINITE.
34594         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
34595         tests for bugs.
34596         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34598         [BZ #14064]
34599         * math/libm-test.inc (check_float_internal): Correct ulp
34600         calculation for subnormal expected results.
34602 2012-05-06  Andreas Jaeger  <aj@suse.de>
34604         * Makeconfig (+math-flags): New, set to -frounding-math.
34605         (+cflags): Add +math-flags so that all of glibc gets compiled with
34606         it.
34608         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34610 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
34612         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34613         Disable one test.
34615         [BZ #13787]
34616         [BZ #13922]
34617         [BZ #14036]
34618         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34619         (__ieee754_expl): Allow for and saturate large arguments.
34620         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34621         (u_threshold): Likewise.
34622         (__exp): Call __ieee754_exp before checking for overflow and
34623         underflow.
34624         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34625         (u_threshold): Likewise.
34626         (__expf): Call __ieee754_expf before checking for overflow and
34627         underflow.
34628         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34629         (u_threshold): Likewise.
34630         (__expl): Call __ieee754_expl before checking for overflow and
34631         underflow.
34632         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34633         (__ieee754_expl): Allow for and saturate large arguments.
34634         * math/libm-test.inc (exp_test): Add another test.  Do not allow
34635         missing overflow exception on overflow.
34636         (expm1_test): Do not allow missing overflow exception on overflow.
34638         * sysdeps/i386/fpu/e_expl.c: Move to ...
34639         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
34640         rather than using inline asm.
34641         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34642         * sysdeps/x86_64/fpu/e_expl.S: Copy from
34643         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34645         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34646         (nice): Likewise.
34647         (poll): Likewise.
34648         (signal): Likewise.
34649         (time): Likewise.
34650         (times): Likewise.
34652 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34654         * sysdeps/unix/syscalls.list (adjtime): Add entry from
34655         sysdeps/unix/common/syscalls.list.
34656         (fchmod): Likewise.
34657         (fchown): Likewise.
34658         (ftruncate): Likewise.
34659         (getrusage): Likewise.
34660         (gettimeofday): Likewise.
34661         (setpgid): Likewise.
34662         (setregid): Likewise.
34663         (setreuid): Likewise.
34664         (sigaction): Likewise.
34665         (truncate): Likewise.
34666         (vhangup): Likewise.
34667         * sysdeps/unix/common/syscalls.list: Remove file.
34668         * sysdeps/unix/bsd/Implies: Don't include unix/common.
34669         * sysdeps/unix/sysv/linux/Implies: Likewise.
34671 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
34673         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34674         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34675         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34676         Moved to ...
34677         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34678         Here.
34679         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34680         to ...
34681         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34682         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34683         to ...
34684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34685         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34686         to ...
34687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34688         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34689         to ...
34690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34691         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34692         to ...
34693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34694         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34695         to ...
34696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34697         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34698         to ...
34699         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34700         Here.
34701         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34702         to ...
34703         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34704         Here.
34705         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34706         to ...
34707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34708         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34709         Moved to ...
34710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34711         Here.
34712         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34713         to ...
34714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34716 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34718         * sysdeps/unix/common/bits/dirent.h: Remove file.
34719         * sysdeps/unix/common/bits/fcntl.h: Likewise.
34721         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34722         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34723         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34724         * sysdeps/unix/bsd/isatty.c: Likewise.
34725         * sysdeps/unix/bsd/tcdrain.c: Likewise.
34726         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34727         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34729 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34731         [BZ #13563]
34732         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34733         long double comparison inaccuracies.
34734         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34735         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34737 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
34739         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34740         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34742 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34744         [BZ #14049]
34745         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34746         nonzero digits before rounding a hex value.
34747         * stdlib/tst-strtod.c (tests): Add another test.
34749 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34751         * sysdeps/s390/fpu/libm-test-ulps: Update.
34753 2012-05-03  Andreas Jaeger  <aj@suse.de>
34755         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34756         does not get optimized out.
34757         (malloc_opt_barrier): New.
34759 2012-05-03  Andreas Jaeger  <aj@suse.de>
34760             Roland McGrath  <roland@hack.frob.com>
34762         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34763         intermediate file deletion.
34764         (generated): Add .symlist files.
34766 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
34768         [BZ #13775]
34769         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34770         Redirect under this condition.
34771         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34772         [__USE_GNU] (__dprintf_chk): Not under this condition.
34773         [__USE_GNU] (__vdprintf_chk): Likewise.
34774         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34775         under this condition.
34776         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34777         [__USE_XOPEN2K8] (dprintf): Define under this condition.
34778         [__USE_XOPEN2K8] (vdprintf): Likewise.
34779         [__USE_GNU] (__dprintf_chk): Not under this condition.
34780         [__USE_GNU] (__vdprintf_chk): Likewise.
34781         [__USE_GNU] (dprintf): Likewise.
34782         [__USE_GNU] (vdprintf): Likewise.
34784 2012-05-03  Roland McGrath  <roland@hack.frob.com>
34786         * elf/Makefile (common-generated): Set this instead of generated for
34787         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
34788         $(all-built-dso)-derived lists.
34790 2012-05-03  Andreas Jaeger  <aj@suse.de>
34792         * sysdeps/i386/fpu/libm-test-ulps: Update.
34794         * FAQ: Removed.
34795         * FAQ.in: Likewise.
34796         * scripts/gen-FAQ.pl: Likewise.
34797         * manual/install.texi (Installation): Point to online location of
34798         FAQ.
34799         * Makefile (files-for-dist): Remove FAQ.
34800         (FAQ): Remove.
34802 2012-05-02  Allan McRae  <allan@archlinux.org>
34804         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34805         (LDFLAGS-reldepmod5.so): Likewise.
34806         (LDFLAGS-reldep6mod1.so): Likewise.
34807         (LDFLAGS-reldep6mod4.so): Likewise.
34808         (LDFLAGS-reldep8mod3.so): Likewise.
34809         (LDFLAGS-unload4mod1.so): Likewise.
34810         (LDFLAGS-unload4mod2.so): Likewise.
34811         (LDFLAGS-tst-initorder): Likewise.
34812         (LDFLAGS-tst-initordera2.so): Likewise.
34813         (LDFLAGS-tst-initordera3.so): Likewise.
34814         (LDFLAGS-tst-initordera4.so): Likewise.
34815         (LDFLAGS-tst-initorderb2.so): Likewise.
34816         (LDFLAGS-noload): Likewise.
34817         (LDFLAGS-next): Likewise.
34818         (LDFLAGS-order2mod1.so): Likewise.
34819         (LDFLAGS-order2mod2.so): Likewise.
34820         (LDFLAGS-tst-initorder2): Likewise.
34821         (LDFLAGS-tst-initorder2a.so): Likewise.
34822         (LDFLAGS-tst-initorder2b.so): Likewise.
34823         (LDFLAGS-tst-initorder2c.so): Likewise.
34824         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34826 2012-05-02  David S. Miller  <davem@davemloft.net>
34828         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34830 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
34832         [BZ #14055]
34833         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34835 2012-05-02  Andreas Jaeger  <aj@suse.de>
34837         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34838         since we manipulate rounding mode.
34839         (CPPFLAGS-test-idouble.c): Likewise.
34840         (CPPFLAGS-test-ifloat.c): Likewise.
34841         (CFLAGS-test-ldouble.c): Likewise.
34842         (CFLAGS-test-double.c): Likewise.
34843         (CFLAGS-test-float.c): Likewise.
34844         (CFLAGS-test-misc.c): Likewise.
34845         (CFLAGS-test-test-fenv.c): Likewise.
34847 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34849         [BZ #2550]
34850         [BZ #2570]
34851         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34852         comparisons to determine direction to adjust input.
34854 2012-05-01  Roland McGrath  <roland@hack.frob.com>
34856         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34857         output to the target.
34859         * scripts/localplt.awk: New file.
34860         * elf/Makefile ($(objpfx)check-localplt): Target removed.
34861         (check-localplt-CFLAGS): Variable removed.
34862         ($(all-built-dso:=.jmprel)): New static pattern rule.
34863         (generated): Add those targets.
34864         (localplt-built-dso): New variable.
34865         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34867         * elf/check-localplt.c: File removed.
34869         * scripts/check-execstack.awk: New file.
34870         * elf/Makefile ($(objpfx)check-execstack): Target removed.
34871         (check-execstack-CFLAGS): Variable removed.
34872         ($(objpfx)check-execstack.h): Target removed.
34873         ($(objpfx)execstack-default): New target.
34874         (generated): Add that instead of check-execstack.h.
34875         ($(all-built-dso:=.phdr)): New static pattern rule.
34876         (generated): Add those targets.
34877         * elf/check-execstack.c: File removed.
34879         * scripts/check-textrel.awk: New file.
34880         * elf/Makefile ($(objpfx)check-textrel): Target removed.
34881         (check-textrel-CFLAGS): Variable removed.
34882         (all-built-dso): Use := to define.o
34883         ($(all-built-dso:=.dyn)): New static pattern rule.
34884         (generated): Add those targets.
34885         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34886         * config.make.in (READELF): New substituted variable.
34887         * elf/check-textrel.c: File removed.
34889 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
34891         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34892         allow.
34893         * conform/data/ctype.h-data [C99-based standards] (isblank):
34894         Expect function.
34895         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34896         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34897         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34898         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34899         Specify type.  Require positive value.
34900         (EILSEQ): Likewise.
34901         (ERANGE): Likewise.
34902         [ISO || POSIX] (EILSEQ): Do not expect.
34903         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34904         Specify type.  Require positive value.
34905         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34906         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34907         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34908         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34909         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34910         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34911         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34912         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34913         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34914         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34915         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34916         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34917         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34918         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34919         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34920         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34921         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34922         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34923         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34924         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34925         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34926         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34927         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34928         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34929         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34930         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34931         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34932         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34933         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34934         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34935         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34936         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34937         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34938         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34939         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34940         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34941         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34942         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34943         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34944         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34945         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34946         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34947         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34948         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34949         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34950         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34951         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34952         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34953         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34954         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34955         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34956         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34957         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34958         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34959         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34960         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34961         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34962         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34963         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34964         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34965         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34966         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34967         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34968         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34969         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34970         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34971         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34972         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34973         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34974         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34975         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34976         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34977         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34978         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34979         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34980         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34981         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34982         Require >= 2.
34983         (FLT_ROUNDS): Expect as macro, not constant.
34984         (FLT_MANT_DIG): Use macro-int-constant.
34985         (DBL_MANT_DIG): Likewise.
34986         (LDBL_MANT_DIG): Likewise.
34987         (FLT_DIG): Likewise.
34988         (DBL_DIG): Likewise.
34989         (LDBL_DIG): Likewise.
34990         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
34991         (DBL_MIN_EXP): Likewise.
34992         (LDBL_MIN_EXP): Likewise.
34993         (FLT_MAX_EXP): Use macro-int-constant.
34994         (DBL_MAX_EXP): Likewise.
34995         (LDBL_MAX_EXP): Likewise.
34996         (FLT_MAX_10_EXP): Likewise.
34997         (DBL_MAX_10_EXP): Likewise.
34998         (LDBL_MAX_10_EXP): Likewise.
34999         (FLT_MAX): Use macro-constant.
35000         (DBL_MAX): Likewise.
35001         (LDBL_MAX): Likewise.
35002         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35003         (DBL_EPSILON): Likewise.
35004         (LDBL_EPSILON): Likewise.
35005         (FLT_MIN): Likewise.
35006         (DBL_MIN): Likewise.
35007         (LDBL_MIN): Likewise.
35008         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35009         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35010         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35011         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35012         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35013         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35014         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35015         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35016         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35017         [ISO11] (FLT_TRUE_MIN): Likewise.
35018         [ISO11] (LDBL_TRUE_MIN): Likewise.
35019         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35020         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35021         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35022         (SCHAR_MAX): Likewise.
35023         (UCHAR_MAX): Likewise.
35024         (CHAR_MIN): Likewise.
35025         (CHAR_MAX): Likewise.
35026         (MB_LEN_MAX): Use macro-int-constant.
35027         (SHRT_MIN): Use macro-int-constant.  Specify type.
35028         (SHRT_MAX): Likewise.
35029         (USHRT_MAX): Likewise.
35030         (INT_MAX): Likewise.
35031         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35032         bound negative.
35033         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35034         bound with "U".
35035         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35036         bound with "L".
35037         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35038         bound negative.  Suffix upper bound with "L".
35039         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35040         bound with "UL".
35041         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35042         Specify type.
35043         [C99-based standards] (LLONG_MAX): Likewise.
35044         [C99-based standards] (ULLONG_MAX): Likewise.
35045         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35046         == 0.
35047         [ISO11] (max_align_t): Require type.
35048         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35050         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35051         from $CFLAGS, without defining away __attribute__ calls.
35052         (checknamespace): Use $CFLAGS_namespace.
35054         * conform/conformtest.pl (@keywords): Only include C99 keywords
35055         for standards based on C99 or C11.
35057         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35058         Disable tests.
35059         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35060         UNIX98]: Likewise.
35062         * conform/conformtest.pl: Handle "macro-int-constant" and test for
35063         usability of symbols in #if.
35065         * conform/conformtest.pl: If macro or constant types start
35066         "promoted:", expect the symbol to be of the following type
35067         promoted by the integer promotions.
35069         * conform/conformtest.pl: Parse all "constant" and "macro" lines
35070         in one place.  Also handle "macro-constant".
35072         * conform/conformtest.pl: Only accept expected macro values with
35073         "==".  Parse all "macro" lines in one place.
35074         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35076         * conform/conformtest.pl: Handle braced types on "constant" lines
35077         instead of handling "typed-constant".
35078         * conform/data/signal.h-data: Use "constant" instead of
35079         "typed-constant".
35081         * conform/conformtest.pl: Handle "optional-" at start of lines in
35082         one place rather than duplicating several cases.  Handle each
35083         format of "macro" line with initial "optional-".
35085         * conform/conformtest.pl: Only accept expected constant or
35086         optional-constant values with "==".  Parse all "constant" lines in
35087         one place.  Parse all "optional-constant" lines in one place.
35088         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35089         * conform/data/fmtmsg.h-data: Likewise.
35090         * conform/data/netinet/in.h-data: Likewise.
35091         * conform/data/tar.h-data: Likewise.
35092         * conform/data/limits.h-data: Use "==" form on "constant" and
35093         "optional-constant" lines.
35095         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35096         Use -std=c99 for XOPEN2K.
35097         (@knownproblems): Remove.
35098         (newtoken): Don't check %isknown.
35100         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35101         Do not expect macro.
35102         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35103         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35104         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35105         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35106         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35107         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35108         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35109         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35110         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35111         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35112         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35113         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35114         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35115         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35116         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35117         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35118         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35119         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35120         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35121         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35122         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35123         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35124         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35125         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35126         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35127         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35128         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35129         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35130         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35131         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35132         [XPG3] (acosh): Likewise.
35133         [XPG3] (asinh): Likewise.
35134         [XPG3] (atanh): Likewise.
35135         [XPG3] (cbrt): Likewise.
35136         [XPG3] (expm1): Likewise.
35137         [XPG3] (ilogb): Likewise.
35138         [XPG3] (log1p): Likewise.
35139         [XPG3] (logb): Likewise.
35140         [XPG3] (nextafter): Likewise.
35141         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35142         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35143         [XPG3] (remainder): Likewise.
35144         [XPG3] (rint): Likewise.
35145         [XPG3 || XPG4 || UNIX98] (round): Likewise.
35146         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35147         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35148         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35149         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35150         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35151         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35152         [UNIX98 || XOPEN2K] (scalb): Expect.
35153         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35154         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35155         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35156         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35157         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35158         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35159         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35160         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35161         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35162         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35163         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35164         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35165         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35166         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35167         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35168         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35169         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35170         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35171         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35172         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35173         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35174         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35175         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35176         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35177         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35178         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35179         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35180         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35181         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35182         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35183         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35184         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35185         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35186         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35187         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35188         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35189         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35190         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35191         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35192         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35193         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35194         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35195         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35196         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35197         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35198         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35199         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35200         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35201         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35202         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35203         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35204         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35205         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35206         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35207         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35208         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35209         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35210         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35211         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35212         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35213         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35214         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35215         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35216         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35217         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35218         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35219         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35220         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35221         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35222         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35223         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35224         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35225         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35226         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35227         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35228         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35229         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35230         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35231         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35232         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35233         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35234         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35235         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35236         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35237         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35238         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35239         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35240         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35241         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35242         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35243         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35244         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35245         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35246         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35247         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35248         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35249         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35250         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35251         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35252         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35253         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35254         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35255         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35256         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35257         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35258         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35259         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35260         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35261         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35262         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35263         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35264         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35265         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35266         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35267         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35268         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35269         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35270         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35271         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35272         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35273         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35274         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35275         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35276         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35277         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35278         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35279         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35280         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35281         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35282         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35283         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35284         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35285         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35286         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35287         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35288         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35289         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35291         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35292         _XOPEN_SOURCE_EXTENDED for XPG4.
35294         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35296         * Makeconfig (localtime): Remove variable.
35297         (inst_localtime-file): Likewise.
35299 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35302         Update.
35303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35304         Update.
35305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35306         Update.
35307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35308         Update.
35309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35310         Update.
35311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35312         Update.
35313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35314         Update.
35315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35316         Update.
35317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35318         Update.
35320 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35322         [BZ #2550]
35323         [BZ #2570]
35324         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35325         comparisons to determine direction to adjust input.
35326         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35327         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35328         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35329         Likewise.
35330         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35331         Likewise.
35332         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35333         Likewise.
35334         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35335         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35336         Likewise.
35337         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35338         Likewise.
35339         * math/libm-test.inc (nexttoward_test): Add more tests.
35341 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35343         [BZ #14040]
35344         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35345         in version GLIBC_2.1, not GLIBC_2.0.
35346         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35347         Likewise.
35349 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
35351         [BZ #13942]
35352         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35353         (1 - x) * (1 + x).
35354         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35355         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35356         * math/libm-test.inc (acos_test): Add more tests.
35357         (asin_test): Likewise.
35358         * sysdeps/i386/fpu/libm-test-ulps: Update.
35359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35361         [BZ #14034]
35362         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35363         of square root.
35364         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35365         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35366         * math/libm-test.inc (acos_test_tonearest): New function.
35367         (acos_test_towardzero): Likewise.
35368         (acos_test_downward): Likewise.
35369         (acos_test_upward): Likewise.
35370         (asin_test_tonearest): Likewise.
35371         (asin_test_towardzero): Likewise.
35372         (asin_test_downward): Likewise.
35373         (asin_test_upward): Likewise.
35374         (main): Call the new functions.
35375         * sysdeps/i386/fpu/libm-test-ulps: Update.
35376         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35378         [BZ #13884]
35379         [BZ #13924]
35380         * math/e_exp10.c: Include <float.h>.
35381         (__ieee754_exp10): Handle underflow here rather than multiplying
35382         large negative argument by M_LN10.
35383         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35384         of __ieee754_expf.
35385         * math/e_exp10l.c: Include <float.h>.
35386         (__ieee754_exp10l): Handle underflow here rather than multiplying
35387         large negative argument by M_LN10l.
35388         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
35389         spurious overflow exception on underflow.
35391 2012-04-29  Marek Polacek  <polacek@redhat.com>
35393         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35394         (__fortify_function): New macro.
35395         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35396         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35397         __extern_always_inline.
35398         * libio/bits/stdio2.h: Likewise.
35399         * libio/bits/stdio.h: Likewise.
35400         * string/string.h: Likewise.
35401         * string/bits/string3.h: Likewise.
35402         * include/stdio.h: Likewise.
35403         * stdlib/bits/stdlib.h: Likewise.
35404         * stdlib/stdlib.h: Likewise.
35405         * rt/bits/mqueue2.h: Likewise.
35406         * rt/mqueue.h: Likewise.
35407         * posix/bits/unistd.h: Likewise.
35408         * posix/unistd.h: Likewise.
35409         * io/bits/poll2.h: Likewise.
35410         * io/bits/fcntl2.h: Likewise.
35411         * io/fcntl.h: Likewise.
35412         * io/sys/poll.h: Likewise.
35413         * misc/bits/syslog.h: Likewise.
35414         * misc/bits/syslog-ldbl.h: Likewise.
35415         * misc/sys/syslog.h: Likewise.
35416         * socket/bits/socket2.h: Likewise.
35417         * socket/sys/socket.h: Likewise.
35418         * debug/tst-chk1.c: Likewise.
35419         * wcsmbs/bits/wchar2.h: Likewise.
35420         * wcsmbs/bits/wchar-ldbl.h: Likewise.
35421         * wcsmbs/wchar.h: Likewise.
35423 2012-04-29  Andreas Jaeger  <aj@suse.de>
35425         * Makerules (tests): Remove enable-check-abi protection.
35426         (check-abi-warn): Remove.
35427         (check-abi-%): Remove check-abi-warn usage.
35429         * configure.in: Remove check-abi configure option.
35430         * configure: Regenerated.
35431         * config.make.in (enable-check-abi): Remove.
35433 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
35435         [BZ #14033]
35436         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35437         double functions to double *_finite functions.
35439         [BZ #13941]
35440         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35441         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35442         LDBL_MIN_EXP.
35443         * stdio-common/Makefile (tests): Add tst-sprintf3.
35444         * stdio-common/tst-sprintf3.c: New file.
35446         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35447         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35449 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35451         * conform/conformtest.pl: Remove duplicate typed-constant
35452         handling.
35454 2012-04-28  David S. Miller  <davem@davemloft.net>
35456         * Makerules (%.abilist): Add vpath on sysdep_dirs.
35457         (check-abi-%): Remove AWK script prerequisite and explicit
35458         abilist directory.
35459         (check-abi): Rewrite to just diff the symlist with the abilist.
35460         (config-tls, config-abi-config): Delete, no longer used.
35461         (update-abi-%): Remove AWK script and explicit abilist directory.
35462         (update-abi): Rewrite to simply compare and conditionally copy the
35463         symlist and the sysdep abilist file.  Remove update-abi-config
35464         checks.
35465         * abilist/ld.abilist: Remove.
35466         * abilist/libBrokenLocale.abilist: Remove.
35467         * abilist/libanl.abilist: Remove.
35468         * abilist/libcrypt.abilist: Remove.
35469         * abilist/libdl.abilist: Remove.
35470         * abilist/librt.abilist: Remove.
35471         * abilist/libthread_db.abilist: Remove.
35472         * abilist/libutil.abilist: Remove.
35473         * scripts/extract-abilist.awk: Remove.
35474         * scripts/merge-abilist.awk: Remove.
35475         * sysdeps/generic/libcidn.abilist: New file.
35476         * sysdeps/generic/libnss_compat.abilist: New file.
35477         * sysdeps/generic/libnss_db.abilist: New file.
35478         * sysdeps/generic/libnss_dns.abilist: New file.
35479         * sysdeps/generic/libnss_files.abilist: New file.
35480         * sysdeps/generic/libnss_hesiod.abilist: New file.
35481         * sysdeps/generic/libnss_nis.abilist: New file.
35482         * sysdeps/generic/libnss_nisplus.abilist: New file.
35483         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35484         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35485         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35486         file.
35487         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35488         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35489         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35490         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35491         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35492         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35493         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35494         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35495         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35496         file.
35497         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35498         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35499         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35500         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35501         file.
35502         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35503         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35504         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35505         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35506         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35507         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35508         file.
35509         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35510         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35511         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35512         file.
35513         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35514         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35515         New file.
35516         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35517         New file.
35518         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35519         New file.
35520         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35521         New file.
35522         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35523         New file.
35524         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35525         New file.
35526         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35527         New file.
35528         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35529         New file.
35530         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35531         New file.
35532         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35533         New file.
35534         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35535         New file.
35536         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35537         New file.
35538         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35539         New file.
35540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35541         file.
35542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35543         New file.
35544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35545         New file.
35546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35547         file.
35548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35549         New file.
35550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35551         New file.
35552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35553         file.
35554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35555         New file.
35556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35557         New file.
35558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35559         New file.
35560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35561         New file.
35562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35563         New file.
35564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35565         New file.
35566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35567         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35568         file.
35569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35570         New file.
35571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35572         file.
35573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35574         file.
35575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35576         file.
35577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35578         file.
35579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35580         file.
35581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35582         New file.
35583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35584         file.
35585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35586         file.
35587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35588         New file.
35589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35590         file.
35591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35593         file.
35594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35595         New file.
35596         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35597         file.
35598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35599         file.
35600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35601         file.
35602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35603         file.
35604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35605         file.
35606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35607         New file.
35608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35609         file.
35610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35611         file.
35612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35613         New file.
35614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35615         file.
35616         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35617         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35618         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35619         file.
35620         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35621         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35622         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35623         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35624         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35625         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35626         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35627         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35628         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35629         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35630         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35631         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35632         file.
35633         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35634         New file.
35635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35636         file.
35637         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35638         file.
35639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35640         file.
35641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35642         file.
35643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35644         file.
35645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35646         New file.
35647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35648         New file.
35649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35650         file.
35651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35652         New file.
35653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35654         file.
35655         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35656         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35657         file.
35658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35659         New file.
35660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35661         file.
35662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35663         file.
35664         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35665         file.
35666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35667         file.
35668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35669         file.
35670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35671         New file.
35672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35673         New file.
35674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35675         file.
35676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35677         New file.
35678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35679         file.
35681 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35683         * conform/conformtest.pl: Fix typo in handling typed-constant from
35684         allow-header.
35686 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35688         * README: Cut down references to pre-2.6 Linux kernels and
35689         Linuxthreads.  Update lists of configurations in libc and ports
35690         and sort alphabetically.  Say "or newer" with Linux kernel version
35691         requirements.
35693         * config.h.in [IS_IN_build]: Allow compiling without optimization.
35695 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35697         [BZ #887]
35698         * math/libm-test.inc (logb_test_downward): New test to expose
35699         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35700         rounding mode.
35702 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35704         [BZ #14027]
35705         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35706         to be done.
35707         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35708         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35710 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
35712         * sysdeps/unix/i386/brk.S: Remove file.
35713         * sysdeps/unix/i386/dl-brk.S: Likewise.
35714         * sysdeps/unix/i386/pipe.S: Likewise.
35715         * sysdeps/unix/i386/sigreturn.S: Likewise.
35716         * sysdeps/unix/i386/syscall.S: Likewise.
35717         * sysdeps/unix/i386/vfork.S: Likewise.
35718         * sysdeps/unix/i386/wait.S: Likewise.
35720         * sysdeps/unix/common/tcsendbrk.c: Move to ...
35721         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35723         * configure.in (arm*-none*): Do not allow without
35724         --enable-hacker-mode.
35725         (netbsd*): Remove case setting base_os.
35726         (386bsd*): Likewise.
35727         (freebsd*): Likewise.
35728         (bsdi*): Likewise.
35729         (osf*): Likewise.
35730         (sunos*): Likewise.
35731         (ultrix*): Likewise.
35732         (newsos*): Likewise.
35733         (dynix*): Likewise.
35734         (*bsd*): Likewise.
35735         (sysv*): Likewise.
35736         (isc*): Likewise.
35737         (esix*): Likewise.
35738         (sco*): Likewise.
35739         (minix*): Likewise.
35740         (irix4*): Likewise.
35741         (irix6*): Likewise.
35742         (solaris[2-9]*): Likewise.
35743         (none): Likewise.
35744         * configure: Regenerated.
35746 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35748         [BZ #11521]
35749         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35750         overflow or cancellation in calculating denominator.
35751         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35752         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35753         down expression to avoid unexpected rounding in newer GCCs.
35754         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35756 2012-04-26  David S. Miller  <davem@davemloft.net>
35758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35759         long-double compat symbols.
35760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35774 2012-04-25  David S. Miller  <davem@davemloft.net>
35776         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35777         HWCAP_* values only after the memory barriers have been defined.
35778         (atomic_full_barrier): Define.
35779         (atomic_read_barrier): Define.
35780         (atomic_write_barrier): Define.
35782 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35784         * shlib-versions: Add libgcc_s version information.
35785         * sysdeps/generic/libgcc_s.h: Remove.
35786         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35787         libgcc_s.h.
35788         * sysdeps/gnu/unwind-resume.c: Likewise.
35789         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35791 2012-04-25  David S. Miller  <davem@davemloft.net>
35793         * sysdeps/unix/sparc/brk.S: Delete.
35794         * sysdeps/unix/sparc/dl-brk.S: Delete.
35795         * sysdeps/unix/sparc/pipe.S: Delete.
35796         * sysdeps/unix/sparc/sysdep.S: Delete.
35797         * sysdeps/unix/sparc/sysdep.h: Delete.
35798         * sysdeps/unix/sparc/vfork.S: Delete.
35799         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35800         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35801         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35802         (ret_ERRVAL, r0, r1, MOVE): Define.
35803         (JUMPTARGET): Remove.
35804         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35805         sysdeps/unix/sparc/sysdep.h
35806         (ENTRY, END): Remove.
35807         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35809 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
35811         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35812         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35813         -DIS_IN_build.
35815         * timezone/README: Update upstream location and email address for
35816         tzcode and tzdata.
35817         * timezone/zdump.c: Update from tzcode 2012b.
35818         * timezone/zic.c: Likewise.
35820         * configure.in (libc_cv_as_needed): Remove test.
35821         * configure: Regenerated.
35822         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35823         conditional definition.
35824         [$(have-as-needed) != yes] (no-as-needed): Likewise.
35825         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35826         * config.make.in (have-as-needed): Remove variable.
35828 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35829             Paul Pluzhnikov  <ppluzhnikov@google.com>
35831         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35832         strings correctly.
35834 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
35836         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35837         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35838         * sysdeps/sh/strlen.S: Likewise.
35840 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35842         * sysdeps/unix/fork.S: Remove file.
35843         * sysdeps/unix/i386/fork.S: Likewise.
35844         * sysdeps/unix/sparc/fork.S: Likewise.
35846         * sysdeps/unix/system.c: Remove file.
35847         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35849         * sysdeps/unix/getegid.S: Remove file.
35850         * sysdeps/unix/geteuid.S: Likewise.
35852 2012-04-24  Roland McGrath  <roland@hack.frob.com>
35854         * scripts/check-localplt.awk: New file.
35855         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35856         of diff.
35857         * scripts/data/localplt-generic.data: Add a comment.
35859         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35860         NODE when __dir_mkfile failed.
35861         * sysdeps/mach/hurd/symlinkat.c: Likewise.
35862         Reported by Ludovic Courtès <ludo@gnu.org>.
35864 2012-04-24  Andreas Jaeger  <aj@suse.de>
35866         * Makerules (common-clean): Also remove gen-as-const-headers
35867         files.
35869 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35871         * Makerules (native-compile): Do not change working directory for
35872         build.  Use $(OUTPUT_OPTION) in command.
35873         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35875 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35877         [BZ #13886]
35878         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35879         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35880         * math/libm-test.inc (floor_test): Add more tests.
35881         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35883 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
35885         * sysdeps/unix/getdents.c: Remove file.
35886         * sysdeps/unix/sysv/getdents.c: Likewise.
35887         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35889         * sysdeps/unix/syscalls.list (madvise): Add syscall from
35890         sysdeps/unix/mman/syscalls.list.
35891         (mmap): Likewise.
35892         (mprotect): Likewise.
35893         (msync): Likewise.
35894         (munmap): Likewise.
35895         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35896         * sysdeps/unix/mman/syscalls.list: Remove.
35897         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35899         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35900         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35901         * configure: Regenerated.
35902         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35903         $(libgcc_s_suffix).
35904         * config.make.in (libgcc_s_suffix): Remove variable.
35906 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
35908         * sysdeps/unix/sysv/gethostname.c: Move to ...
35909         * sysdeps/posix/gethostname.c: ... here.
35911         * sysdeps/unix/execve.S: Remove file.
35913         * sysdeps/unix/_exit.S: Remove file.
35915 2012-04-23  Andreas Jaeger  <aj@suse.de>
35917         [BZ #13739]
35918         * manual/Makefile: Remove make dist support, there's no
35919         need for a stand-alone documentation tar ball.
35920         (TEXI2DVI): Define always, it's not in Makeconfig.
35921         (dist): Removed.
35922         (tar-it): Removed.
35923         (edition): Removed.
35924         (glibc-doc-$(edition).tar): Removed
35925         (%.Z): Removed.
35926         (%.gz): Removed.
35927         (%.uu): Removed.
35928         (ETAGS): Remove, it's in Makeconfig.
35929         (move-if-change): Remove, it's in Makeconfig.
35931 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
35933         [BZ #13970]
35934         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35935         (strtod, strtof, strtold, strtol, strtoul, strtoq)
35936         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35937         (strtod_l, strtof_l, strtold_l): Remove __wur.
35938         It is not necessarily an error to ignore strtol's return value.
35939         One can reliably look at the stored endptr to decide whether
35940         the number had valid syntax.
35942 2012-04-21  Andreas Jaeger  <aj@suse.de>
35944         [BZ #13739]
35945         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35947 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
35949         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35950         * sysdeps/unix/sysv/Versions: Remove file.
35952 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
35954         [BZ #13927]
35955         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35957 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
35959         [BZ #7064]
35960         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35961         version from __vm86.
35963 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
35965         * sysdeps/unix/common/lxstat.c: Remove file.
35966         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35968         * sysdeps/unix/sysv/Makefile: Remove file.
35970         * sysdeps/unix/sysv/direct.h: Remove file.
35972         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35973         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35974         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35975         * sysdeps/unix/sysv/bits/signum.h: Likewise.
35976         * sysdeps/unix/sysv/bits/stat.h: Likewise.
35977         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35978         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35980         * sysdeps/unix/sysv/setrlimit.c: Remove file.
35982         * sysdeps/unix/xmknod.c: Remove file.
35983         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35985         * sysdeps/unix/sysv/settimeofday.c: Remove file.
35987         * sysdeps/unix/sysv/i386/time.S: Remove file.
35989         * sysdeps/unix/fxstat.c: Remove file.
35990         * sysdeps/unix/xstat.c: Likewise.
35991         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35993         * sysdeps/unix/sysv/sigaction.c: Remove file.
35995         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35996         (sysdep_headers): Remove variable.
35997         [termio.h not in sysdep_headers] (generated): Likewise.
35998         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35999         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36000         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36001         * sysdeps/unix/sysv/tcflow.c: Likewise.
36002         * sysdeps/unix/sysv/tcflush.c: Likewise.
36003         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36004         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36005         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36006         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36007         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36009         * sysdeps/unix/siglist.c: Remove file.
36011         * sysdeps/unix/getppid.S: Remove file.
36013         * sysdeps/unix/mkdir.c: Remove file.
36014         * sysdeps/unix/rmdir.c: Likewise.
36016 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36018         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36019         ERR_MAX value.
36020         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36021         errlist-compat value.
36023 2012-04-18  David S. Miller  <davem@davemloft.net>
36025         * sysdeps/generic/memcopy.h (reg_char): Delete.
36026         * debug/strcat_chk.c: Use char, not reg_char.
36027         * debug/strcpy_chk.c: Likewise.
36028         * debug/strncat_chk.c: Likewise.
36029         * debug/strncpy_chk.c: Likewise.
36030         * string/memchr.c: Likewise.
36031         * string/memrchr.c: Likewise.
36032         * string/rawmemchr.c: Likewise.
36033         * string/strcat.c: Likewise.
36034         * string/strchr.c: Likewise.
36035         * string/strchrnul.c: Likewise.
36036         * string/strcmp.c: Likewise.
36037         * string/strcpy.c: Likewise.
36038         * string/strncat.c: Likewise.
36039         * string/strncmp.c: Likewise.
36040         * string/strncpy.c: Likewise.
36042 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36044         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36045         __builtin_memcopy is called when src and dest ranges are known to not
36046         overlap.
36048 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36050         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36051         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36052         fwd_align_merge macro call.
36053         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36054         bwd_align_merge macro call.
36055         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36057 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36059         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36060         bwd_align_merge macros.
36061         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36062         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36063         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36065 2012-04-18  David S. Miller  <davem@davemloft.net>
36067         * sysdeps/sparc/sparc64/memcopy.h: Delete.
36069 2012-04-18  Andreas Jaeger  <aj@suse.de>
36071         [BZ# 6794]
36072         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36073         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36074         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36076         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36077         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36078         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36080         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36081         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36082         Adjust for changed ldbl-128 files.
36084         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36085         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36086         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36088 2012-04-17  David S. Miller  <davem@davemloft.net>
36090         * sysdeps/sparc/sparc32/memcopy.h: Delete.
36092 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
36094         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36095         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36096         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36097         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36098         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36099         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36101 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36103         [BZ #6794]
36104         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36105         * math/libm-test.inc: Add ilogb errno and exception tests.
36106         * math/w_ilogb.c: New file: ilogb wrapper.
36107         * math/w_ilogbf.c: New file: ilogbf wrapper.
36108         * math/w_ilogbl.c: New file: ilogbl wrapper.
36109         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36110         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36111         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36112         exception being thrown with 0.0 as argument.
36113         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36114         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36115         exception being thrown with 0.0 as argument.
36116         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36117         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36118         exception being thrown with 0.0 as argument.
36119         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36120         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36121         exception being thrown with 0.0 as argument.
36122         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36123         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36124         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36125         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36126         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36127         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36128         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36129         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36130         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36132 2012-04-17  Petr Baudis  <pasky@ucw.cz>
36134         * include/sys/uio.h: Change __vector to __iovec to avoid clash
36135         with altivec.
36137 2012-04-16  Marek Polacek  <polacek@redhat.com>
36139         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36141 2012-04-16  Marek Polacek  <polacek@redhat.com>
36143         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36144         operands of fdivp instruction.
36146 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36148         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36149         * elf/tst-auditmod3b.c: Likewise.
36150         * elf/tst-auditmod4b.c: Likewise.
36151         * elf/tst-auditmod5b.c: Likewise.
36152         * elf/tst-auditmod6b.c: Likewise.
36153         * elf/tst-auditmod6c.c: Likewise.
36154         * elf/tst-auditmod7b.c: Likewise.
36155         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36156         * sysdeps/x86_64/preconfigure.in: Likewise.
36157         * sysdeps/x86_64/preconfigure: Regenerated.
36159 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36161         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36162         __ILP32__.
36164 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
36166         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36167         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36169 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
36171         [BZ #13973]
36172         * locale/iso-639.def: Fix gl language name. Spotted by
36173         Yaron Shahrabani.
36175 2012-04-12  Roland McGrath  <roland@hack.frob.com>
36177         [BZ #2074]
36178         * libio/libio.h (__io_write_fn): Update comment.
36180 2012-04-12  Petr Baudis  <pasky@ucw.cz>
36182         [BZ #2074]
36183         * stdio.texi (Hook Functions): The user provided writer function
36184         is not allowed to return -1.
36186 2012-04-11  David S. Miller  <davem@davemloft.net>
36188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36190 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
36192         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36193         Add a leading slash to rtkaio.
36195 2012-04-11  Jim Meyering  <meyering@redhat.com>
36197         [BZ #11959]
36198         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36199         It is not necessarily an error to ignore fwrite's return
36200         value.  One can reliably use ferror to test for errors after
36201         the fact.
36203 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36205         * bits/types.h (__snseconds_t): New type.
36206         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36208         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36209         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36210         (__SNSECONDS_T_TYPE): Likewise.
36211         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36212         (__SNSECONDS_T_TYPE): Likewise.
36213         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36214         (__SNSECONDS_T_TYPE): Likewise.
36216 2012-04-10  Andreas Jaeger  <aj@suse.de>
36218         [BZ #2636]
36219         * manual/time.texi (Processor Time): Return type of times is
36220         elapsed real time since an arbitrary point in the past.
36221         (CPU Time): Move CLK_TCK from here...
36222         (Processor Time): ...to here.  Correct description.
36223         * manual/conf.texi (Constants for Sysconf): Correct description of
36224         _SC_CLK_TCK.
36226 2012-04-10  David S. Miller  <davem@davemloft.net>
36228         [BZ #13967]
36229         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36230         where the is a gap between DT_REL(A) and DT_JMPREL.
36232 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36234         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36235         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36236         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36238 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36240         * elf/dl-support.c (_dl_inhibit_cache): New variable.
36241         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36242         (dl_main): Handle --inhibit-cache.
36243         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36244         _dl_inhibit_cache.
36245         * elf/dl-load.c (_dl_map_object): Use it.
36246         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36248 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36250         [BZ #13872]
36251         * sysdeps/i386/fpu/e_powl.S (p78): New object.
36252         (__ieee754_powl): Saturate large exponents rather than testing for
36253         overflow of y*log2(x).
36254         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36255         * math/libm-test.inc (pow_test): Do not permit spurious overflow
36256         exceptions.
36258         [BZ #11521]
36259         * math/s_ctan.c: Include <float.h>.
36260         (__ctan): Avoid internal overflow or cancellation in calculating
36261         denominator.
36262         * math/s_ctanf.c: Likewise.
36263         * math/s_ctanl.c: Likewise.
36264         * math/s_ctanh.c: Likewise.
36265         * math/s_ctanhf.c: Likewise.
36266         * math/s_ctanhl.c: Likewise.
36267         * math/libm-test.inc (ctan_test): Add more tests.
36268         (ctanh_test): Likewise.
36269         * sysdeps/i386/fpu/libm-test-ulps: Update.
36270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36272 2012-04-09  Andreas Jaeger  <aj@suse.de>
36274         [BZ #6894]
36275         * manual/filesys.texi (Directory Entries): Mention that d_namlen
36276         is an optional BSD extension.
36278         [BZ #10254]
36279         * manual/stdio.texi (Opening Streams): Document additional fopen
36280         parameters.
36282 2012-04-09  Roland McGrath  <roland@hack.frob.com>
36284         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36285         %eax without telling the compiler.
36287 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
36289         [BZ # 13963]
36290         * manual/install.texi: Use sourceware.org.
36292 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36294         [BZ #13873]
36295         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36296         (__ieee754_pow): Generate overflow and underflow using huge*huge
36297         and tiny*tiny rather than just returning constant infinity or zero
36298         for large exponents.
36299         * math/libm-test.inc (pow_test): Require overflow exceptions for
36300         applicable cases of large exponents.
36302         [BZ #706]
36303         * sysdeps/i386/fpu/e_pow.S (p10): New object.
36304         (__ieee754_pow): Use iterative multiplication algorithm only for
36305         integer exponents with absolute value below 1024.  Check for odd
36306         integer exponents when using algorithm for real exponents.
36307         * math/libm-test.inc (pow_test): Add more tests.
36308         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36310 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
36312         [BZ #13705]
36313         * math/libm-test.inc (exp_test): Do not allow overflow exception
36314         on underflow test.
36316 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
36318         [BZ #13705]
36319         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36320         instead of __kernel_standard_f.
36322 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
36324         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36325         * sysdeps/x86_64/memset_chk.S: Likewise.
36327 2012-04-08  Andreas Jaeger  <aj@suse.de>
36329         [BZ #10153]
36330         * manual/startup.texi (Environment Access): Describe return value
36331         for putenv and setenv.
36333         [BZ #6895]
36334         * manual/filesys.texi (Directory Entries): Add description for
36335         DT_LNK.
36337         [BZ #6890]
36338         * manual/filesys.texi (Directory Entries): Clarify that it's file
36339         system not operating system in the description of DT_UNKNOWN.
36341         [BZ #6578]
36342         * manual/syslog.texi (closelog): Fix reference, it's openlog.
36344 2012-04-08  Stephen Compall  <s11@member.fsf.org>
36346         [BZ #6649]
36347         * manual/llio.texi (Opening and Closing Files): Add cross
36348         reference to explain mode argument.
36350 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
36352         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36353         * sysdeps/x86_64/memset_chk.S: Likewise.
36355 2012-04-07  David S. Miller  <davem@davemloft.net>
36357         * elf/elf.h (R_SPARC_WDISP10): Define.
36358         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36359         R_SPARC_SIZE32.
36360         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36361         R_SPARC_SIZE64 and R_SPARC_H34.
36363 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
36365         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36366         conditions and remove no longer applicable assertion.
36368 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36370         * bits/byteswap.h: Include <features.h>.
36371         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36372         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36374 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36376         * bits/byteswap.h (__bswap_16): Removed.
36377         Include <bits/byteswap-16.h> to get __bswap_16.
36378         * sysdeps/i386/bits/byteswap.h: Likewise.
36379         * sysdeps/s390/bits/byteswap.h: Likewise.
36380         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36381         * bits/byteswap-16.h: New file.
36382         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36383         * sysdeps/s390/bits/byteswap-16.h: Likewise.
36384         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36385         * string/Makefile (headers): Add bits/byteswap-16.h.
36387 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36389         [BZ #13895]
36390         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36391         extra indirection.
36392         * nss/Makefile (tests-static, tests): Add tst-nss-static.
36393         * nss/tst-nss-static.c: New.
36395 2012-04-06  Robert Millan  <rmh@gnu.org>
36397         [BZ #6486]
36398         * manual/llio.texi (File Position Primitive): lseek
36399         refers to WHENCE when it really means OFFSET.
36401 2012-04-06  Andreas Jaeger  <aj@suse.de>
36403         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36404         strncmp declarations.
36406         * abilist/libc.abilist: Add __poll and __ppoll.
36408 2012-04-05  David S. Miller  <davem@davemloft.net>
36410         * scripts/check-local-headers.sh: Accept a host triplet in the
36411         path matched by the exclude regexp.
36413         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36414         definition.
36415         * sysdeps/powerpc/powerpc32/dl-machine.h
36416         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36417         * sysdeps/s390/s390-32/dl-machine.h
36418         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36419         * sysdeps/sparc/sparc32/dl-machine.h
36420         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36421         * sysdeps/sparc/sparc64/dl-machine.h
36422         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36424         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36425         lazy binding.
36426         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36427         undefined symbol errors.
36429         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36430         DT_NEEDED entries.
36432 2012-04-05  Michael Matz  <matz@suse.de>
36434         [BZ #13592]
36435         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36437 2012-04-05  Andreas Jaeger  <aj@suse.de>
36439         [BZ #13908]
36440         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36441         comment.
36443 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36445         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36446         which ROUND is no valid rounding mode.
36448 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36450         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36451         read again.
36452         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36454 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36456         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36457         an exception using FPU order intentionally.
36459 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36461         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36462         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36463         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36464         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36466 2012-04-05  Simon Josefsson  <simon@josefsson.org>
36468         [BZ #12340]
36469         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36470         EINVAL when BUFLEN is too smal.
36472 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36474         [BZ #13553]
36475         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36476         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36478 2012-04-03  Andreas Jaeger  <aj@suse.de>
36480         [BZ #13938]
36481         * manual/setjmp.texi (System V contexts): Fix sentence.
36483         [BZ #13926]
36484         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36485         New macro for this case.
36486         [!__GNUC__] (__bswap_64): New inline function for this case.
36487         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36488         * bits/byteswap.h: Likewise.
36489         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36490         ull, guard with __GLIBC_HAVE_LONG_LONG.
36492         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36493         __GLIBC_HAVE_LONG_LONG.
36495         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36496         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36498 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36500         [BZ #13691]
36501         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36502         inptr and inend, rather than using last_ch.
36504 2012-04-02  David S. Miller  <davem@davemloft.net>
36506         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36507         * stdio-common/printf-parse.h (read_int): Change return type to
36508         'int', return -1 on INT_MAX overflow.
36509         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36510         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
36511         overflows INT_MAX.  Check for overflow of in-format-string precision
36512         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
36513         SIZE_MAX not INT_MAX for integer overflow test.
36514         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36515         skip the construct in the format string but do not record anything.
36516         * stdio-common/bug22.c: Adjust to test both width/prevision
36517         INT_MAX overflow as well as total length INT_MAX overflow.  Check
36518         explicitly for proper errno values.
36520 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36522         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36523         CHAR_MAX.
36524         * string/test-strcmp.c [! WIDE]: Likewise.
36525         * time/tst-mktime2.c: Likewise for INT_MAX.
36526         * string/test-string.h: #include <sys/param.h> for MIN.
36528         * csu/init-first.c (__libc_init_first): Call __ctype_init.
36529         * sysdeps/i386/init-first.c (init): Likewise.
36530         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36531         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36532         * sysdeps/sh/init-first.c (init): Likewise.
36534 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
36536         * po/ru.po: Update from translation team.
36537         * po/vi.po: Likewise.
36539 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36541         * resolv/nss_dns/dns-host.c: Merge copyright years.
36543 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36545         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36546         Optimize memcpy with prefetch if
36547         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
36548         src, dst pointers have unequal 16 byte alignments.
36550 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36552         [BZ #13928]
36553         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36554         from a CNAME entry and return the minimum ttl for the query.
36555         (gaih_getanswer_slice): Likewise.
36557 2012-03-30  Jeff Law  <law@redhat.com>
36559         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36560         due to long keys.
36561         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36562         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36564         * resolv/nss_dns/dns-host.c: Update copyright year.
36566 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
36568         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36569         requests to save a system call.  Fix check that all bytes are sent.
36571         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36572         comments for sendmmsg.
36574 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36576         [BZ #13691]
36577         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36578         with only 1 character between 0x0041 and 0x01b0.
36579         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36580         * wcsmbs/tst-mbsnrtowcs.c: New file.
36582 2012-03-29  David S. Miller  <davem@davemloft.net>
36584         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36585         small copies by hand.
36587 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36589         [BZ #13761]
36590         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36591         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36592         group memberships.
36594 2012-03-28  David S. Miller  <davem@davemloft.net>
36596         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36597         that branches into memcpy.
36598         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36599         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36600         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36601         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36602         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36603         bits.
36604         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36605         implementation too.
36606         * sysdeps/sparc/mempcpy.S: New file.
36608         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36609         the IFUNC routine in the libc case.
36610         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36612         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36613         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36614         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36615         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36616         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36617         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36618         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36619         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36621         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36622         loop to 256 bytes instead of 64 bytes and fix test signedness.
36624         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36625         * sysdeps/sparc/sparc32/Makefile: rather than here...
36626         * sysdeps/sparc/sparc64/Makefile: and here.
36628 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
36630         * malloc/mallocbug.c: Avoid warnings about unused variables.
36632 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36634         [BZ #13760]
36635         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36636         in the right place. Discard and retry query if response is
36637         larger than input buffer size.
36639 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
36641         [BZ #369]
36642         [BZ #2678]
36643         [BZ #3866]
36644         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36645         x for large integer exponent.
36646         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36647         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
36648         sign of result as needed afterwards.
36649         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36650         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36651         result for underflowing pow the same as for overflow.
36652         (__kernel_standard_l): Handle powl overflow and underflow here
36653         rather than calling __kernel_standard.
36654         * math/libm-test.inc (pow_test): Add more tests.
36656         [BZ #3868]
36657         [BZ #13879]
36658         [BZ #13910]
36659         [BZ #13911]
36660         [BZ #13912]
36661         [BZ #13913]
36662         [BZ #13915]
36663         [BZ #13916]
36664         [BZ #13917]
36665         [BZ #13918]
36666         [BZ #13919]
36667         [BZ #13920]
36668         [BZ #13921]
36669         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36670         * sysdeps/ieee754/k_standard.c: Include <float.h>.
36671         (__kernel_standard_l): New function.
36672         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36673         __kernel_standard.
36674         * math/w_acosl.c (__acosl): Likewise.
36675         * math/w_asinl.c (__asinl): Likewise.
36676         * math/w_atan2l.c (__atan2l): Likewise.
36677         * math/w_atanhl.c (__atanhl): Likewise.
36678         * math/w_coshl.c (__coshl): Likewise.
36679         * math/w_exp10l.c (__exp10l): Likewise.
36680         * math/w_exp2l.c (__exp2l): Likewise.
36681         * math/w_fmodl.c (__fmodl): Likewise.
36682         * math/w_hypotl.c (__hypotl): Likewise.
36683         * math/w_j0l.c (__j0l, __y0l): Likewise.
36684         * math/w_j1l.c (__j1l, __y1l): Likewise.
36685         * math/w_jnl.c (__jnl, __ynl): Likewise.
36686         * math/w_lgammal.c (__lgammal): Likewise.
36687         * math/w_log10l.c (__log10l): Likewise.
36688         * math/w_log2l.c (__log2l): Likewise.
36689         * math/w_logl.c (__logl): Likewise.
36690         * math/w_powl.c (__powl): Likewise.
36691         * math/w_remainderl.c (__remainderl): Likewise.
36692         * math/w_scalbl.c (sysv_scalbl): Likewise.
36693         * math/w_sinhl.c (__sinhl): Likewise.
36694         * math/w_sqrtl.c (__sqrtl): Likewise.
36695         * math/w_tgammal.c (__tgammal): Likewise.
36696         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36697         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36698         * math/libm-test.inc (acos_test): Add more tests.
36699         (acosh_test): Likewise.
36700         (asin_test): Likewise.
36701         (atanh_test): Likewise.
36702         (exp_test): Likewise.
36703         (exp10_test): Likewise.
36704         (exp2_test): Likewise.
36705         (expm1_test): Likewise.
36706         (lgamma_test): Likewise.
36707         (log_test): Likewise.
36708         (log10_test): Likewise.
36709         (log1p_test): Likewise.
36710         (log2_test): Likewise.
36711         (pow_test): Do not allow some spurious overflow exceptions.
36712         (sqrt_test): Add more tests.
36713         (tgamma_test): Likewise.
36714         (y0_test): Likewise.
36715         (y1_test): Likewise.
36716         (yn_test): Likewise.
36718 2012-03-27  Anton Blanchard  <anton@samba.org>
36720         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36721         MAP_HUGETLB.
36722         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36723         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36724         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36726 2012-03-27  David S. Miller  <davem@davemloft.net>
36728         * conform/Makefile: Run run-conformtest.sh using $(BASH).
36730         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36731         have-as-vis3 check.
36733 2012-03-27  Andreas Jaeger  <aj@suse.de>
36735         * sysdeps/x86_64/elf/configure.in: Moved to ...
36736         * sysdeps/x86_64/configure.in: ... here.
36737         * sysdeps/x86_64/elf/start.S: Moved to ...
36738         * sysdeps/x86_64/start.S: ... here.
36739         * sysdeps/x86_64/elf/configure: Delete.
36741         * sysdeps/x86_64/configure.in: Merge contents from
36742         sysdeps/i386/configure.in (without i686 check).
36744         * sysdeps/i386/elf/Versions: Merge into ...
36745         * sysdeps/i386/Versions: ... this.
36746         * sysdeps/i386/elf/Versions: Delete file.
36747         * sysdeps/i386/elf/start.S: Moved to ...
36748         * sysdeps/i386/start.S: ...here.
36749         * sysdeps/i386/elf/configure.in: Merge into...
36750         * sysdeps/i386/configure.in: ...here.
36751         * sysdeps/i386/elf/configure.in: Delete file.
36752         * sysdeps/i386/elf/configure: Delete file.
36754         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36755         * debug/backtracesyms.c: ... here.
36756         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36757         * debug/backtracesymsfd.c: ... here.
36758         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36759         * sysdeps/generic/ifunc-sel.h: ... here.
36761         * sysdeps/unix/i386/start.c: Delete file.
36762         * sysdeps/unix/sparc/start.c: Delete file.
36763         * sysdeps/unix/start.c: Delete file.
36765         * sysdeps/sh/elf/configure.in: Moved to ...
36766         * sysdeps/sh/configure.in: ... here.
36767         * sysdeps/sh/elf/start.S: Moved to ...
36768         * sysdeps/sh/start.S: ... here.
36769         * sysdeps/sh/elf/configure: Delete file.
36771         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36772         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36773         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36774         * sysdeps/powerpc/powerpc64/entry.h: ... here.
36775         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36776         * sysdeps/powerpc/powerpc64/start.S: here.
36777         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36778         * sysdeps/powerpc/powerpc64/Makefile: ... this.
36779         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36780         * sysdeps/powerpc/powerpc64/configure.in: ... this.
36781         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36783         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36784         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36785         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36786         * sysdeps/powerpc/powerpc32/start.S: ... here.
36787         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36788         * sysdeps/powerpc/powerpc32/configure.in: ... this.
36789         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36791         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36792         * sysdeps/powerpc/ifunc-sel.h: ... here.
36793         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36794         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36796         * sysdeps/sparc/elf/configure.in: Moved to ...
36797         * sysdeps/sparc/configure.in: ... here.
36798         * sysdeps/sparc/elf/configure: Delete file.
36799         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36800         * sysdeps/sparc/sparc32/start.S: ... here.
36801         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36802         * sysdeps/sparc/sparc64/start.S: ... here.
36803         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36804         * sysdeps/sparc/sparc32/Makefile: ... this.
36805         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36806         * sysdeps/sparc/sparc64/Makefile: ... this.
36808         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36809         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36810         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36811         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36812         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36813         * sysdeps/s390/s390-32/setjmp.S: ... here.
36814         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36815         * sysdeps/s390/s390-32/configure.in: ... here.
36816         * sysdeps/s390/s390-32/elf/configure: Delete file.
36817         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36818         * sysdeps/s390/s390-32/start.S: ... here.
36820         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36821         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36822         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36823         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36824         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36825         * sysdeps/s390/s390-64/setjmp.S: ... here.
36826         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36827         * sysdeps/s390/s390-64/configure.in: ... here
36828         * sysdeps/s390/s390-64/elf/configure: Delete file.
36829         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36830         * sysdeps/s390/s390-64/start.S: ... here.
36831         * sysdeps/s390/s390-64/elf/configure: Delete.
36833         * configure.in: Remove support for elf directories in sysdeps.
36835         * configure: Regenerated.
36836         * sysdeps/i386/configure: Regenerated.
36837         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36838         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36839         * sysdeps/s390/s390-32/configure: Regenerated.
36840         * sysdeps/s390/s390-64/configure: Regenerated.
36841         * sysdeps/sh/configure: Regenerated.
36842         * sysdeps/sparc/configure: Regenerated.
36843         * sysdeps/x86_64/configure: Regenerated.
36845 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
36847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36849         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36850         denormal result into account.
36852 2012-03-25  Roland McGrath  <roland@hack.frob.com>
36854         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36855         Reported by Allan McRae <allan@archlinux.org>.
36857 2012-03-23  Jeff Law  <law@redhat.com>
36859         * nss/getnssent.c (__nss_getent): Fix typo.
36861 2012-03-23  David S. Miller  <davem@davemloft.net>
36863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36865 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
36867         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36868         to pad to uint64_t for each field.
36869         (dl_tls_index): Replace unsigned long with uint64_t.
36871 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
36872         Paul Pluzhnikov  <ppluzhnikov@google.com>
36874         [BZ #6528]
36875         * grp/Makefile (otherlibs): Don't set it.
36876         * inet/Makefile (otherlibs): Likewise.
36877         * login/Makefile (otherlibs): Likewise.
36878         * nscd/Makefile (otherlibs): Likewise.
36879         * posix/Makefile (otherlibs): Likewise.
36880         * pwd/Makefile (otherlibs): Likewise.
36881         * rt/Makefile (otherlibs): Likewise.
36882         * sunrpc/Makefile (otherlibs): Likewise.
36883         * nss/Makefile (otherlibs): Likewise.
36884         Add libnss_files to routines and static-only-routines.
36885         ($(objpfx)getent): Remove rule.
36886         * resolv/Makefile: Add libnss_dns and libresolv to routines and
36887         static-only-routines.
36889 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
36891         [BZ #13892]
36892         * math/s_cexp.c: Include <float.h>.
36893         (__cexp): Handle exp result overflowing not necessarily
36894         overflowing both real and imaginary parts of result.
36895         * math/s_cexpf.c: Likewise.
36896         * math/s_cexpl.c: Likewise.
36897         * math/libm-test.inc (cexp_test): Add more tests.
36898         * sysdeps/i386/fpu/libm-test-ulps: Update.
36899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36901 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36903         * include/link.h (ELFW): New macro.
36904         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36905         Replace ELF64_R_TYPE with ELFW(R_TYPE).
36907 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36909         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36910         with uint64_t.
36912 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36914         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36915         declaration.
36916         (struct La_x32_retval): Likewise.
36918 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36920         * sysdeps/x86_64/preconfigure.in: New file.
36921         * sysdeps/x86_64/preconfigure: New generated file.
36923 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
36925         [BZ #13824]
36926         * math/e_exp2l.c: Include <float.h>.
36927         (__ieee754_exp2l): Handle overflow and underflow cases
36928         separately.  Only pass fractional part of argument to
36929         __ieee754_expl.
36930         * math/libm-test.inc (exp2_test): Add more tests.
36932         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36933         negating x to take absolute value.
36934         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36935         Likewise.
36936         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36937         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36938         Likewise.
36939         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36940         computing low part if x was negated.
36941         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36943 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36945         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36946         la_x32_gnu_pltexit.
36947         (pltexit): Cast int_retval to ptrdiff_t.
36948         * elf/tst-auditmod3b.c: Likewise.
36949         * elf/tst-auditmod4b.c: Likewise.
36950         * elf/tst-auditmod5b.c: Likewise.
36951         * elf/tst-auditmod6b.c: Likewise.
36952         * elf/tst-auditmod6c.c: Likewise.
36953         * elf/tst-auditmod7b.c: Likewise.
36955         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36956         and x32_gnu_pltexit.
36958         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36959         __ELF_NATIVE_CLASS.
36960         (La_x32_regs): New macro.
36961         (La_x32_retval): Likewise.
36962         (la_x32_gnu_pltenter): New function prototype.
36963         (la_x32_gnu_pltexit): Likewise.
36965 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
36967         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36968         exponent.
36970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36972         * configure.in (libc_cv_cc_nofma): Check for option to disable
36973         generation of FMA instructions.
36974         * configure: Regenerate.
36975         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36976         * sysdeps/ieee754/dbl-64/Makefile: New file.
36977         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36978         Remove brandred-fma4.
36979         (CFLAGS-brandred-fma4.c): Remove.
36980         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36981         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36982         define.
36983         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36984         define.
36986 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36988         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36989         LLONG_MAX != LONG_MAX.
36990         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36991         (_fitoa_word): Likewise.
36992         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36993         LLONG_MAX != LONG_MAX.
36994         * stdio-common/_itowa.h: Include <_itoa.h>.
36995         (_itowa_word): Use _ITOA_WORD_TYPE on value.
36996         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
36997         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
36998         only if not defined.
36999         (_ITOA_WORD_TYPE): Likewise.
37000         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37001         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37003 2012-03-21  David S. Miller  <davem@davemloft.net>
37005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37007 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37009         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37010         of x86_64 when setting libc_cv_slibdir, libdir and
37011         libc_cv_localedir.
37012         * sysdeps/unix/sysv/linux/configure: Regenerated.
37014 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37016         * manual/lang.texi (Old Varargs): Remove section.
37017         (How Variadic): Update menu.
37018         (va_start): Do not mention varargs.h.
37020 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37021             Joseph Myers  <joseph@codesourcery.com>
37023         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37024         link test.
37025         * configure: Regenerated.
37027 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37029         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37030         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37031         conformtest.pl
37033 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37035         * NOTES: Remove.
37036         * Makefile (files-for-dist): Remove NOTES.
37037         (NOTES): Remove rule.
37038         * README: Don't refer to NOTES.
37039         * manual/creature.texi: Don't include macros.texi.
37040         * manual/intro.texi (creature.texi): Remove comment referring to
37041         NOTES.
37043         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37044         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37045         * configure: Regenerated.
37046         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37047         LIBC_TRY_CC_OPTION.
37048         (libc_cv_as_i686): Likewise.
37049         (libc_cv_cc_avx): Likewise.
37050         (libc_cv_cc_sse2avx): Likewise.
37051         (libc_cv_cc_fma4): Likewise.
37052         (libc_cv_cc_novzeroupper): Likewise.
37053         * sysdeps/i386/configure: Regenerated.
37055         [BZ #13883]
37056         * sysdeps/i386/fpu/s_cexp.S: Remove.
37057         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37058         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37059         * math/libm-test.inc (cexp_test): Add more tests.
37060         * sysdeps/i386/fpu/libm-test-ulps: Update.
37061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37063 2012-03-21  Allan McRae  <allan@archlinux.org>
37065         * timezone/Makefile: Do not install iso3166.tab and zone.tab
37067 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37069         [BZ #13871]
37070         * math/w_exp2.c: Do not include <float.h>.
37071         (o_threshold, u_threshold): Remove.
37072         (__exp2): Calculate result before checking finiteness and calling
37073         __kernel_standard.
37074         * math/w_exp2f.c: Likewise.
37075         * math/w_exp2l.c: Likewise.
37076         * math/libm-test.inc (exp2_test): Require overflow exception for
37077         1e6 input.
37079         [BZ #3866]
37080         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37081         range of signed 64-bit integers before using fistpll.  Remove
37082         checks for whether integers fit in mantissa bits.
37083         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37084         the range of signed 32-bit integers before using fistpl.  Remove
37085         checks for whether integers fit in mantissa bits.
37086         * sysdeps/i386/fpu/e_powl.S (p64): New object.
37087         (__ieee754_powl): Test for y outside the range of signed 64-bit
37088         integers before using fistpll.  Reduce 64-bit values to 63-bit
37089         ones as needed.
37090         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37091         divide-by-zero is raised for zero to large negative powers.
37092         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37093         (__ieee754_powl): Test for y outside the range of signed 64-bit
37094         integers before using fistpll.  Reduce 64-bit values to 63-bit
37095         ones as needed.
37096         * math/libm-test.inc (pow_test): Add more tests.
37098 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37100         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37101         <stdio-common/_itoa.h>.
37102         * debug/segfault.c: Likewise.
37103         * elf/dl-cache.c: Likewise.
37104         * elf/dl-minimal.c: Likewise.
37105         * elf/dl-misc.c: Likewise.
37106         * elf/dl-sysdep.c: Likewise.
37107         * elf/dl-version.c: Likewise.
37108         * elf/rtld.c: Likewise.
37109         * hurd/hurdsock.c: Likewise.
37110         * hurd/lookup-retry.c: Likewise.
37111         * malloc/malloc.c: Likewise.
37112         * malloc/mtrace.c: Likewise.
37113         * nscd/nscd_getgr_r.c: Likewise.
37114         * nscd/nscd_getpw_r.c: Likewise.
37115         * nscd/nscd_getserv_r.c: Likewise.
37116         * posix/getopt_init.c: Likewise.
37117         * posix/wordexp.c: Likewise.
37118         * stdio-common/_itoa.c: Likewise.
37119         * stdio-common/printf_fphex.c: Likewise.
37120         * stdio-common/vfprintf.c: Likewise.
37121         * string/_strerror.c: Likewise.
37122         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37123         * sysdeps/i386/i686/hp-timing.h: Likewise.
37124         * sysdeps/mach/_strerror.c: Likewise.
37125         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37126         * sysdeps/mach/hurd/sethostid.c: Likewise.
37127         * sysdeps/mach/hurd/xmknodat.c: Likewise.
37128         * sysdeps/mach/xpg-strerror.c: Likewise.
37129         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37130         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37131         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37132         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37133         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37134         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37135         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37136         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37137         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37138         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37139         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37140         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37141         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37142         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37143         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37144         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37145         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37146         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37147         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37148         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37149         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37151         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37153         * stdio-common/_itoa.h: Moved to ...
37154         * sysdeps/generic/_itoa.h: Here.
37156         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37158         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37159         instead of "_itoa.h" and "_itowa.h".
37160         * stdio-common/vfprintf.: Likewise.
37162 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37164         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37165         <bits/wordsize.h>.
37166         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37167         (__signbit): Likwise.
37168         (llrintf): Likwise.
37169         (llrint): Likwise.
37171 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37173         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37174         __WORDSIZE != 64.
37176 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
37178         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37179         OVERFLOW_EXCEPTION_OK.
37180         * math/libm-test.inc ("Philosophy"): Update comment about
37181         exception testing.
37182         (OVERFLOW_EXCEPTION): Define.
37183         (OVERFLOW_EXCEPTION_OK): Likewise.
37184         (INVALID_EXCEPTION_OK): Renumber.
37185         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37186         (IGNORE_ZERO_INF_SIGN): Likewise.
37187         (test_exceptions): Handle FE_OVERFLOW.
37188         (exp10_test): Expect overflow exceptions.
37189         (exp2_test): Likewise.
37190         (expm1_test): Likewise.
37191         (nextafter_test): Likewise.
37192         (pow_test): Likewise.
37193         (scalbn_test): Likewise.
37194         (scalbln_test): Likewise.
37196 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37198         * sysdeps/x86_64/bits/atomic.h
37199         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37200         64bit integer.
37201         (atomic_exchange_acq): Likewise.
37202         (__arch_exchange_and_add_body): Likewise.
37203         (__arch_add_body): Likewise.
37204         (atomic_add_negative): Likewise.
37205         (atomic_add_zero): Likewise.
37207 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37209         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37210         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37212 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37214         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37215         Check __x86_64__ instead of __WORDSIZE.
37217 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37219         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37221 2012-03-19  David S. Miller  <davem@davemloft.net>
37223         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37225         * sysdeps/sparc/fpu/fenv_private.h: New file.
37226         * sysdeps/sparc/fpu/math_private.h: Use it.
37227         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37228         Remove.
37229         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37230         (libc_feholdexcept_setroundl): Remove.
37231         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37232         Remove.
37233         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37234         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37236 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37238         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37239         int64_t instead of long int.
37240         (INSERT_WORDS64): Likwise.
37242 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37244         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37245         _Unwind_GetCFA return to _Unwind_Ptr first.
37247 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
37249         [BZ #13629]
37250         * math/s_clog.c: Include <float.h>.
37251         (__clog): Scale large or subnormal inputs.
37252         * math/s_clogf.c: Likewise.
37253         * math/s_clogl.c: Likewise.
37254         * math/s_clog10.c: Include <float.h>.
37255         (M_LOG10_2): Define.
37256         (__clog10): Scale large or subnormal inputs.
37257         * math/s_clog10f.c: Likewise.
37258         * math/s_clog10l.c: Likewise.
37259         * math/libm-test.inc (clog_test): Add more tests.
37260         (clog10_test): Likewise.
37261         * sysdeps/i386/fpu/libm-test-ulps: Update.
37262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37264         [BZ #11451]
37265         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37266         x and y.
37267         * math/libm-test.inc (atan2_test): Add another test.
37269         * Makerules (common-objdir-compile): Remove.
37270         * sysdeps/unix/Makefile (config-generated): Do not add
37271         $(unix-generated) to variable.
37272         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37273         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37274         Remove rule.
37275         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37276         Likewise.
37277         [generic bits/local_lim.h] (before-compile): Do not append to
37278         variable.
37279         [generic bits/local_lim.h] (common-generated): Likewise.
37280         [generic sys/param.h] (before-compile): Do not append to variable.
37281         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37282         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37283         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37284         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37285         include.
37286         [generic sys/param.h] (sys/param.h-includes): Remove variable.
37287         [generic sys/param.h] (sys/param.h-includes): Remove rule.
37288         [generic sys/param.h] ($(addprefix
37289         $(common-objpfx),$(sys/param.h-includes))): Likewise.
37290         [generic sys/param.h] (common-generated): Do not append to
37291         variable.
37292         [generic sys/param.h] (sysdep_headers): Likewise.
37293         [generic bits/errno.h] (before-compile): Do not append to
37294         variable.
37295         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37296         rule.
37297         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37298         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37299         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37300         [generic bits/errno.h] (common-generated): Do not append to
37301         variable.
37302         [generic bits/ioctls.h] (before-compile): Do not append to
37303         variable.
37304         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37305         rule.
37306         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37307         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37308         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37309         rule.
37310         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37311         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37312         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37313         [generic bits/ioctls.h] (common-generated): Do not append to
37314         variable.
37315         [generic sys/syscall.h] (syscall.h): Remove variable.
37316         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37317         rule.
37318         [generic sys/syscall.h] (before-compile): Do not append to
37319         variable.
37320         [generic sys/syscall.h] (common-generated): Likewise.
37321         * sysdeps/unix/errnos-tmpl.c: Remove file.
37322         * sysdeps/unix/errnos.awk: Likewise.
37323         * sysdeps/unix/ioctls-tmpl.c: Likewise.
37324         * sysdeps/unix/ioctls.awk: Likewise.
37325         * sysdeps/unix/mk-local_lim.c: Likewise.
37326         * sysdeps/unix/snarf-ioctls: Likewise.
37328 2012-03-19  Richard Henderson  <rth@twiddle.net>
37330         * sysdeps/i386/fpu/fenv_private.h: New file.
37331         * sysdeps/i386/fpu/math_private.h: Use it.
37332         (math_opt_barrier, math_force_eval): Remove.
37333         (libc_feholdexcept_setround_53bit): Remove.
37334         (libc_feupdateenv_53bit): Remove.
37335         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37336         (math_opt_barrier, math_force_eval): Remove.
37337         (libc_feholdexcept): Remove.
37338         (libc_feholdexcept_setround): Remove.
37339         (libc_fetestexcept, libc_fesetenv): Remove.
37340         (libc_feupdateenv_test): Remove.
37341         (libc_feupdateenv, libc_feholdsetround): Remove.
37342         (libc_feresetround): Remove.
37344         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37345         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37347         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37348         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37349         (libc_feupdateenv_testl): New.
37350         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37351         (libc_feupdateenv_testf): New.
37352         (libc_feupdateenv): Use libc_feupdateenv_test.
37353         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37354         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37356         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37357         (libc_feholdsetroundf, libc_feholdsetroundl): New.
37358         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37359         (libc_feresetround_noex): New.
37360         (libc_feresetround_noexf): New.
37361         (libc_feresetround_noexl): New.
37362         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37363         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37364         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37365         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37366         SET_RESTORE_ROUND.
37367         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37368         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37369         (__cos): Likewise.
37370         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37371         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37372         SET_RESTORE_ROUND_NOEX.
37373         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37374         SET_RESTORE_ROUND_NOEXF.
37375         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37376         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37377         (libc_feholdsetroundf): New.
37378         (libc_feresetround, libc_feresetroundf): New.
37380         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37381         (libc_feholdexcept_setround_53bit): Convert from macro to function.
37382         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
37384         * sysdeps/generic/math_private.h: Include <fenv.h>.
37385         (default_libc_feholdexcept): New.
37386         (default_libc_feholdexcept_setround): New.
37387         (default_libc_fesetenv, default_libc_feupdateenv): New.
37388         (libc_feholdexcept): Only define if undefined.
37389         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37390         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37391         (libc_feholdexcept_setroundl): Likewise.
37392         (libc_feholdexcept_setround_53bit): Likewise.
37393         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37394         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37395         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37396         (libc_feupdateenv_53bit): Likewise.
37397         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37398         (libc_feholdexcept): Convert from macro to inline function.
37399         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37400         (libc_fesetenv, libc_feupdateenv): Likewise.
37402         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37403         not previously defined.
37404         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37405         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37406         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37407         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37408         * sysdeps/ieee754/flt-32/math_private.h: New file.
37409         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37410         math_private.h below SET_FLOAT_WORD.
37411         (__isnan, __isinf_ns, __finite): Remove.
37412         (__isnanf, __isinf_nsf, __finitef): Remove.
37414 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
37416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37418 2012-03-17  David S. Miller  <davem@davemloft.net>
37420         [BZ #6471]
37421         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37422         for 2.16.
37424 2012-03-16  David S. Miller  <davem@davemloft.net>
37426         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37427         warnings.
37429         [BZ #6471]
37430         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37431         properly.
37432         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37433         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37434         sysdep_routines when subdir is sysvipc.
37435         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37436         __getshmlba helper.
37438         * sysdeps/sparc/fpu/libm-test/ulps: Update.
37440 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37442         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37443         [__LP64__].
37445 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37447         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37448         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37449         (__lround): Renamed to ...
37450         (__llround): This.  Replace long int with long long int.
37451         Define lround functions as aliases of llround functions.
37452         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37454 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37456         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37457         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
37458         adresses to uintptr_t.  Replace "long int" and "unsigned long
37459         int" with "greg_t" on va_arg.
37461 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37463         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37464         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37466         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37467         Move e_machine check before EI_CLASS check.  Handle x32
37468         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37469         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37470         SKIP_EM_IA_64 and include
37471         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37473         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37474         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37475         (add_system_dir): New macro.
37477         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37478         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37480 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37482         [BZ #2551]
37483         [BZ #2552]
37484         [BZ #2553]
37485         [BZ #2554]
37486         [BZ #2562]
37487         [BZ #2563]
37488         [BZ #2565]
37489         [BZ #2566]
37490         [BZ #2576]
37491         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37492         (y0): Likewise.
37493         * math/w_j0f.c (j0f): Likewise.
37494         (y0f): Likewise.
37495         * math/w_j0l.c (__j0l): Likewise.
37496         (__y0l): Likewise.
37497         * math/w_j1.c (j1): Likewise.
37498         (y1): Likewise.
37499         * math/w_j1f.c (j1f): Likewise.
37500         (y1f): Likewise.
37501         * math/w_j1l.c (__j1l): Likewise.
37502         (__y1l): Likewise.
37503         * math/w_jn.c (jn): Likewise.
37504         (yn): Likewise.
37505         * math/w_jnf.c (jnf): Likewise.
37506         (ynf): Likewise.
37507         * math/w_jnl.c (__jnl): Likewise.
37508         (__ynl): Likewise.
37509         * math/libm-test.inc (j0_test): Add more tests.
37510         (j1_test): Likewise.
37511         (jn_test): Likewise.  Add trailing semicolon to existing test.
37512         (y0_test): Likewise.
37513         (y1_test): Likewise.
37514         * sysdeps/i386/fpu/libm-test-ulps: Update.
37515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37517         [BZ #13851]
37518         [BZ #13854]
37519         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37520         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37521         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37522         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37523         (__tanl): Set errno for infinite argument.
37524         * sysdeps/i386/fpu/mptan.c: Remove.
37525         * sysdeps/i386/fpu/s_tan.S: Likewise.
37526         * sysdeps/i386/fpu/s_tanl.S: Likewise.
37527         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37528         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37529         * math/libm-test.inc (tan_test): Add more tests and enable more
37530         tests for double and long double.
37531         * sysdeps/i386/fpu/libm-test-ulps: Update.
37532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37534 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
37536         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37537         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37539 2012-03-16  Roland McGrath  <roland@hack.frob.com>
37541         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37542         * configure.in: Use it for both main tree and add-ons.
37543         * configure: Regenerated.
37545 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37547         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37549 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37551         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37552         in comment.
37554         [BZ #13851]
37555         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37556         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37557         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37558         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37559         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37560         infinite argument.
37561         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37562         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37563         != 0 for prec == 2.
37564         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37565         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37566         * sysdeps/i386/fpu/s_cosl.S: Likewise.
37567         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37568         * sysdeps/i386/fpu/s_sinl.S: Likewise.
37569         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37570         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37571         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37572         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37573         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37574         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37575         * math/libm-test.inc (cos_test): Add more tests and enable more
37576         tests for long double.
37577         (sin_test): Likewise.
37578         (sincos_test): Likewise.
37579         * sysdeps/i386/fpu/libm-test-ulps: Update.
37580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37582 2012-03-16  David S. Miller  <davem@davemloft.net>
37584         * sysdeps/sparc/fpu/math_private.h: New file.
37586 2012-03-15  David S. Miller  <davem@davemloft.net>
37588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37589         file.
37590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37592         file.
37593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37594         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37595         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37596         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37597         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37598         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37599         sysdep routines.
37600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37602         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37603         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37605         * sysdeps/sparc/sparc-ifunc.h: New file.
37606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37607         sparc-ifunc.h
37608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37610         Likewise.
37611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37612         Likewise.
37613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37617         Likewise.
37618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37623         Likewise.
37624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37625         Likewise.
37626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37630         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37631         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37632         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37633         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37634         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37635         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37636         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37637         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37638         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37639         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37640         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37641         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37642         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37643         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37644         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37645         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37646         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37647         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37648         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37649         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37651 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37653         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37654         scaling.
37655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37657 2012-03-15  Andreas Jaeger  <aj@suse.de>
37659         [BZ #13852]
37660         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37661         ieee754/flt-32 implementation for sin, cos and sincos.
37662         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37663         * sysdeps/i386/fpu/s_cosf.S: Likewise.
37664         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37665         * sysdeps/i386/fpu/s_sinf.S: Likewise.
37666         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37667         ieee754/flt-32 implementation for tan.
37669         * math/libm-test.inc (cos_test): Enable some large input tests for
37670         float as well
37671         (sin_test): Likewise.
37672         (sincos_test): Likewise.
37673         (tan_test): Add tests for large input.
37675         * sysdeps/i386/fpu/libm-test-ulps: Update.
37677 2012-03-15  Andreas Jaeger  <aj@suse.de>
37679         [BZ #13658]
37680         * math/libm-test.inc (cos_test): Add more test cases.
37681         (sin_test): Likewise.
37682         (sincos_test): Likewise.
37684 2012-03-15  Andreas Jaeger  <aj@suse.de>
37686         [BZ #13837]
37687         * math/libm-test.inc (cos_test): Add a test case for large input
37688         value.
37689         (sin_test): Likewise.
37690         (sincos_test): Likewise.
37692 2012-03-15  Andreas Jaeger  <aj@suse.de>
37693             Joseph Myers  <joseph@codesourcery.com>
37695         [BZ #13658]
37696         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37697         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37698         * sysdeps/i386/fpu/branred.c: Likewise.
37699         * sysdeps/i386/fpu/dosincos.c: Likewise.
37700         * sysdeps/i386/fpu/mpa.c: Likewise.
37701         * sysdeps/i386/fpu/s_cos.S: Likewise.
37702         * sysdeps/i386/fpu/s_sin.S: Likewise.
37703         * sysdeps/i386/fpu/s_sincos.S: Likewise.
37704         * sysdeps/i386/fpu/sincos32.c: Likewise.
37706         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37707         Define.
37708         (libc_feupdateenv_53bit): Define.
37709         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37710         Define.
37711         (libc_feupdateenv_53bit): Define.
37713         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37714         53 bit (without extend i386 double precision).
37716         * math/libm-test.inc (sincos_test): Add tests for large input.
37717         (sin): Likewise.
37718         (cos): Likewise.
37720         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37722 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37726 2012-03-15  David S. Miller  <davem@davemloft.net>
37728         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37729         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37730         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37731         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37736         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37737         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37738         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37739         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37740         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37741         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37742         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37744         file.
37745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37747         file.
37748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37750         file.
37751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37753         file.
37754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37755         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37756         fmin/fmax sysdep routines.
37757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37759 2012-03-14  David S. Miller  <davem@davemloft.net>
37761         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37762         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37763         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37764         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37765         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37766         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37767         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37768         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37769         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37770         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37771         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37772         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37773         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37774         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37775         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37776         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37777         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37778         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37779         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37780         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37781         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37782         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37783         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37784         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37785         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37786         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37787         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37788         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
37789         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37790         routines.
37791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37792         file.
37793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
37794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37795         file.
37796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
37797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37798         file.
37799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
37800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37801         file.
37802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
37803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37804         file.
37805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
37806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37807         file.
37808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37809         file.
37810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37811         file.
37812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37813         file.
37814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37815         New file.
37816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37817         file.
37818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37819         file.
37820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
37821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37822         file.
37823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
37824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37825         file.
37826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
37827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37828         file.
37829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
37830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37831         VIS3 routines.
37833         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37834         New file.
37836         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37838         * sysdeps/sparc/configure.in: New file.
37839         * sysdeps/sparc/configure: Generate.
37840         * configure.in (libc_cv_sparc_as_vis3): Substitute.
37841         * configure: Regenerate.
37842         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37843         * config.make.in (have-as-vis3): New.
37844         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37845         available use -Av9d instead of -Av9a.
37846         * sysdeps/sparc/sparc64/Makefile: Likewise.
37847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
37848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37849         New file.
37850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37851         file.
37852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37853         New file.
37854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37855         file.
37856         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37857         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37858         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37859         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37860         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37862         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37863         fzeros/fnegs to load 0x80000000 into a float register instead of
37864         using the stack.
37865         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37867 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
37869         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37870         bits/syscall.h.
37871         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37872         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37873         ($(inst_includedir)/bits/syscall.h): Remove rule.
37874         ($(objpfx)bits/syscall.d): Include instead of
37875         $(objpfx)syscall-list.d.
37876         (generated): Change syscall-list.h and syscall-list.d to
37877         bits/syscall.h and bits/syscall.d.
37879 2012-03-14  Roland McGrath  <roland@hack.frob.com>
37881         [BZ #13846]
37882         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37884 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
37886         [BZ #13841]
37887         * math/s_csqrt.c: Include <float.h>.
37888         (__csqrt): Scale large or subnormal inputs.
37889         * math/s_csqrtf.c: Likewise.
37890         * math/s_csqrtl.c: Likewise.
37891         * math/libm-test.inc (csqrt_test): Add more tests.
37892         * sysdeps/i386/fpu/libm-test-ulps: Update.
37893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37895         [BZ #13840]
37896         * math/libm-test.inc (hypot_test): Add more tests.
37898 2012-03-13  David S. Miller  <davem@davemloft.net>
37900         [BZ #13840]
37901         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37902         double-precision for the calculation instead of scaling.
37904 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
37906         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37907         manipulate bits before adding and subtracting TWO52[sx].
37908         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37909         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37910         Likewise.
37911         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37913 2012-03-13  David S. Miller  <davem@davemloft.net>
37915         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37916         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37917         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37918         rtld-global-offsets.h
37919         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37921         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37922         large parameters.
37924         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37926         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37927         'err' in the ifdef scope in which it is actually used.
37929         * nss/nss_db/db-init.c: Include string.h
37931 2012-03-12  David S. Miller  <davem@davemloft.net>
37933         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37934         masking out of the most significant byte of random value used.
37935         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37936         Fix coding style in previous change.
37938         * sysdeps/unix/sysv/linux/kernel-features.h
37939         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37940         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37941         expression.
37942         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37943         later.
37945 2012-03-11  David S. Miller  <davem@davemloft.net>
37947         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37948         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37949         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37950         for 'resultvar' otherwise things get truncated on 64-bit.
37952         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37953         Fix masking out of the most significant byte of random value used.
37955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37957 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
37959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37961 2012-03-09  David S. Miller  <davem@davemloft.net>
37963         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37964         variables with appropriate CPP guards.
37965         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37966         from the frame pointer, not the stack pointer.  Correct layout
37967         comments.  Fix test on resulting framesize and the management of
37968         the outregs buffer for pltexit.  Preserve floating point return
37969         values across _dl_call_pltexit call.
37970         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37971         framesize and the management of the outregs buffer for pltexit.
37972         Preserve floating point return values across _dl_call_pltexit
37973         call.
37974         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37975         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37976         (la_sparc64_gnu_pltexit): New functions.
37977         (print_exit): Fix format string for return register value.
37979 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
37981         * sunrpc/Makefile (others): Add rpcgen.
37982         ($(objpfx)rpcgen): Remove special build rule and dependency on
37983         libc.
37984         * sunrpc/rpcgen.c: New file.
37986 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
37988         [BZ #13673]
37989         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37990         * stdio-common/bug-vfprintf-nargs.c: Likewise.
37991         * sysdeps/i386/crti.S: Likewise.
37992         * sysdeps/i386/crtn.S: Likewise.
37993         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37994         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37995         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37996         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37997         * sysdeps/sh/crti.S: Likewise.
37998         * sysdeps/sh/crtn.S: Likewise.
37999         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38001         [BZ #13673]
38002         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38003         with URL.
38004         * locale/programs/locfile-kw.gperf: Likewise.
38005         * locale/programs/charmap-kw.h: Regenerated.
38006         * locale/programs/locfile-kw.h: Likewise.
38008         [BZ #13673]
38009         * intl/plural.y: Replace FSF snail mail address with URL.
38010         * intl/plural.c: Regenerated.
38012 2012-03-09  Richard Henderson  <rth@twiddle.net>
38014         * include/math_private.h: Remove file.
38015         * math/math_private.h: Move file ...
38016         * sysdeps/generic/math_private.h: ... here.
38018         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38019         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38020         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38022         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38023         and <math_private.h>.
38024         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38025         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38026         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38027         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38028         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38029         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38030         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38031         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38032         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38033         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38034         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38035         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38036         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38037         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38038         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38039         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38040         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38041         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38042         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38043         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38044         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38045         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38046         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38047         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38048         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38049         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38050         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38051         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38052         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38053         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38054         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38055         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38056         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38057         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38058         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38059         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38060         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38061         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38062         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38063         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38064         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38065         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38066         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38067         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38068         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38069         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38070         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38071         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38072         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38073         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38074         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38075         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38076         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38077         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38078         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38079         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38080         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38081         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38082         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38083         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38084         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38085         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38086         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38087         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38088         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38089         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38090         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38091         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38092         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38093         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38094         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38095         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38096         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38097         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38098         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38099         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38100         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38101         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38102         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38103         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38104         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38105         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38106         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38107         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38108         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38109         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38110         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38111         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38112         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38113         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38114         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38115         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38116         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38117         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38118         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38119         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38120         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38121         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38122         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38123         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38124         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38125         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38126         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38127         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38128         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38129         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38130         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38131         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38132         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38133         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38134         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38135         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38136         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38137         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38138         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38139         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38140         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38141         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38142         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38143         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38144         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38145         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38146         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38147         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38148         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38149         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38150         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38151         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38152         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38153         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38154         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38155         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38156         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38157         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38158         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38159         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38160         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38161         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38162         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38163         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38164         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38165         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38166         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38167         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38168         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38169         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38170         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38171         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38172         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38173         * sysdeps/ieee754/k_standard.c: Likewise.
38174         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38175         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38176         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38177         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38178         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38179         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38180         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38181         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38182         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38183         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38184         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38185         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38186         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38187         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38188         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38189         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38190         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38191         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38192         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38193         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38194         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38195         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38196         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38197         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38198         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38199         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38200         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38201         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38202         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38203         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38204         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38205         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38206         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38207         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38208         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38209         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38210         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38211         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38212         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38213         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38214         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38215         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38216         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38217         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38218         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38219         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38220         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38221         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38222         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38223         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38224         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38225         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38226         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38227         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38228         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38229         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38230         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38231         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38232         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38233         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38234         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38235         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38236         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38237         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38238         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38239         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38240         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38241         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38242         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38243         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38244         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38245         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38246         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38247         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38248         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38249         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38250         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38251         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38252         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38253         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38254         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38255         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38256         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38257         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38258         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38259         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38260         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38261         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38262         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38263         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38264         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38265         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38266         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38267         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38268         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38269         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38270         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38271         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38272         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38273         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38274         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38275         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38276         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38277         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38278         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38279         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38280         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38281         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38282         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38283         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38284         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38285         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38286         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38287         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38288         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38289         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38290         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38291         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38292         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38293         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38294         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38295         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38296         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38297         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38298         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38299         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38300         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38301         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38302         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38303         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38304         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38305         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38306         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38307         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38308         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38309         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38310         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38311         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38312         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38313         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38314         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38315         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38316         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38317         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38318         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38319         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38320         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38321         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38322         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38323         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38324         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38325         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38326         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38327         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38328         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38329         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38330         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38331         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38332         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38333         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38334         * sysdeps/ieee754/s_lib_version.c: Likewise.
38335         * sysdeps/ieee754/s_matherr.c: Likewise.
38336         * sysdeps/ieee754/s_signgam.c: Likewise.
38337         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38338         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38339         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38340         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38341         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38342         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38343         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38344         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38345         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38346         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38347         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38348         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38349         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38350         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38351         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38352         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38353         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38354         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38355         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38356         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38357         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38359 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38361         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38362         * sunrpc/rpc_main.c: Likewise.
38363         * sunrpc/rpc_svcout.c: Likewise.
38365 2012-03-09  David S. Miller  <davem@davemloft.net>
38367         * include/math_private.h: New file.
38369 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38371         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38372         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38373         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38374         from <bits/socket_type.h>.
38375         (enum __socket_type): Don't define here.
38376         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38377         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38378         bits/socket_type.h.
38380         [BZ #13566]
38381         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38382         checking __USE_GNU.
38384         * Makerules ($(inst_includedir)/%.h): New rule.
38385         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38386         (install-others): Remove variable setting.
38387         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38389 2012-03-08  Richard Henderson  <rth@twiddle.net>
38391         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38392         from macro to inline function; merge with the
38393         !__LIBC_INTERNAL_MATH_INLINES version.
38394         (__ieee754_sqrtf): Likewise.
38396         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38397         to inline function.
38398         (__rintf, __floor, __floorf): Likewise.
38400         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38401         macro to inline function.
38402         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38404         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38405         not <math/math_private.h>.
38407 2012-03-08  David S. Miller  <davem@davemloft.net>
38409         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38410         copyright year.
38411         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38413 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
38415         * resolv/gai_misc.c (handle_requests): Fix struct timespec
38416         normalization.
38417         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38418         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38420 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
38422         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
38423         be defined individually, they must be defined as a block.  Define
38424         S for printing a string instead of hidint the different by using a
38425         macro for adding the 'l'.
38426         * stdio-common/tst-fphex-wide.c: Adjust.
38428 2012-03-07  Marek Polacek  <polacek@redhat.com>
38430         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38432 2012-03-08  Marek Polacek  <polacek@redhat.com>
38434         [BZ #13806]
38435         * stdio-common/Makefile (tests): Add tst-fphex-wide.
38436         * stdio-common/tst-fphex.c: Define a few macros to make the
38437         test reusable.  Use them.
38438         * stdio-common/tst-fphex-wide.c: New file.
38440 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
38442         [BZ #6911]
38443         * manual/macros.texi (gnusystems): New macro.
38444         (nongnusystems): Likewise.
38445         (gnulinuxhurdsystems): Likewise.
38446         (gnuhurdsystems): Likewise..
38447         (gnulinuxsystems): Likewise.
38448         * manual/charset.texi: Use new macros or @theglibc{} to refer to
38449         variants of the GNU system, not "GNU system".
38450         * manual/conf.texi: Likewise.
38451         * manual/errno.texi: Likewise.  Update example of errno macro
38452         expansion.
38453         * manual/filesys.texi: Likewise.
38454         (getumask): Document as specific to GNU/Hurd.
38455         * manual/install.texi: Likewise.  Reword some references to
38456         GNU/Linux.
38457         * manual/intro.texi: Likewise.
38458         * manual/io.texi: Likewise.
38459         (File Name Portability): Detail which constraints are inapplicable
38460         to all GNU systems and which are only inapplicable to GNU/Hurd.
38461         * manual/job.texi: Likewise.
38462         * manual/llio.texi: Likewise.
38463         (O_NOCTTY): Document as present on GNU/Linux.
38464         * manual/maint.texi: Likewise.
38465         * manual/memory.texi: Likewise.
38466         * manual/pattern.texi: Likewise.
38467         * manual/pipe.texi: Likewise.
38468         * manual/process.texi: Likewise.
38469         * manual/resource.texi: Likewise.
38470         (RUSAGE_CHILDREN): Remove statement about specifying a particular
38471         child on GNU/Hurd.
38472         * manual/setjmp.texi: Likewise.
38473         * manual/signal.texi: Likewise.
38474         * manual/startup.texi: Likewise.
38475         * manual/stdio.texi: Likewise.
38476         * manual/terminal.texi: Likewise.
38477         (ONLCR): Document as POSIX.
38478         (OXTABS): Document availability on GNU/Linux as XTABS.
38479         (ONOEOT): Document availability separately from other bits.
38480         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38481         * manual/time.texi: Likewise.
38482         * manual/users.texi: Likewise.
38483         * INSTALL: Regenerated.
38484         * sysdeps/gnu/errlist.c: Regenerated.
38486         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38487         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38488         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
38489         puts.
38490         * configure: Regenerated.
38492 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
38494         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38495         default includes instead of AC_HEADER_CHECK.
38496         * sysdeps/i386/configure: Regenerated.
38498         [BZ #10716]
38499         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38500         * math/s_cacoshf.c (__cacoshf): Likewise.
38501         * math/s_cacoshl.c (__cacoshl): Likewise.
38502         * math/s_casinh.c (__casinh): Set signs of result from argument.
38503         * math/s_casinhf.c (__casinhf): Likewise.
38504         * math/s_casinhl.c (__casinhl): Likewise.
38505         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38506         (casinh_test): Add more tests.
38507         * sysdeps/i386/fpu/libm-test-ulps: Update.
38508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38510 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
38512         * po/zh_TW.po: Update from translation team.
38514         * login/Makefile (distribute): Remove variable.
38515         * catgets/Makefile: Likewise.
38516         * mach/Makefile: Likewise.
38517         * malloc/Makefile: Likewise.
38518         * misc/Makefile: Likewise.
38519         * iconv/Makefile: Likewise.
38520         * nscd/Makefile: Likewise.
38521         * hurd/Makefile: Likewise.
38522         * manual/Makefile: Likewise.
38523         * locale/Makefile: Likewise.
38524         * intl/Makefile: Likewise.
38525         * conform/Makefile: Likewise.
38526         * nss/Makefile: Likewise.
38527         * time/Makefile: Likewise.
38528         * soft-fp/Makefile: Likewise.
38529         * dirent/Makefile: Likewise.
38530         * gmon/Makefile: Likewise.
38531         * po/Makefile: Likewise.
38532         * rt/Makefile: Likewise.
38533         * socket/Makefile: Likewise.
38534         * math/Makefile: Likewise.
38535         * signal/Makefile: Likewise.
38536         * debug/Makefile: Likewise.
38537         * elf/Makefile: Likewise.
38538         * timezone/Makefile: Likewise.
38539         * stdlib/Makefile: Likewise.
38540         * iconvdata/Makefile: Likewise.
38541         * sunrpc/Makefile: Likewise.
38542         * io/Makefile: Likewise.
38543         * argp/Makefile: Likewise.
38544         * inet/Makefile: Likewise.
38545         * hesiod/Makefile: Likewise.
38546         * grp/Makefile: Likewise.
38547         * csu/Makefile: Likewise.
38548         * wctype/Makefile: Likewise.
38549         * crypt/Makefile: Likewise.
38550         * libio/Makefile: Likewise.
38551         * string/Makefile: Likewise.
38552         * nis/Makefile: Likewise.
38553         * resolv/Makefile: Likewise.
38554         * stdio-common/Makefile: Likewise.
38555         * wcsmbs/Makefile: Likewise.
38556         * dlfcn/Makefile: Likewise.
38557         * posix/Makefile: Likewise.
38559         [BZ #6959]
38560         * timezone/Makefile: Don't install timezone files, just the programs
38561         and scripts.
38563 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
38565         * nss/databases.def: Add missing gshadow entry.
38567         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
38569 2012-03-06  Marek Polacek  <polacek@redhat.com>
38571         [BZ #13726]
38572         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38573         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38574         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38575         * stdio-common/tst-long-dbl-fphex.c: New file.
38577 2012-03-06  David S. Miller  <davem@davemloft.net>
38579         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38580         (set_obp_int): New function.
38581         (get_obp_int): New function.
38582         (__get_clockfreq_via_dev_openprom): Likewise.
38583         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38584         Avoid unused variable warnings on 'val' and use builtin_expect.
38585         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38586         __builtin_expect.
38587         (INLINE_CLONE_SYSCALL): Likewise.
38589 2012-03-05  David S. Miller  <davem@davemloft.net>
38591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38593 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
38595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38597         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38598         only for |x| >= 40.
38599         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38601 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
38603         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38604         Replace gettimeofday with __vdso_gettimeofday.
38606         * sysdeps/unix/sysv/linux/x86_64/init-first.c
38607         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38608         __vdso_clock_gettime and __vdso_getcpu.
38610         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38611         time with __vdso_time.
38613 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38615         * manual/lang.texi (size_t): Note types to which size_t may be
38616         equivalent with the GNU C Library, but do not describe when
38617         differences between them are significant.
38619 2012-03-05  Andreas Jaeger  <aj@suse.de>
38621         * sysdeps/i386/fpu/libm-test-ulps: Update.
38623 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38625         [BZ #3976]
38626         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38627         (__ieee754_pow): Save and restore rounding mode and use
38628         round-to-nearest for main computations.
38629         * math/libm-test.inc (pow_test_tonearest): New function.
38630         (pow_test_towardzero): Likewise.
38631         (pow_test_downward): Likewise.
38632         (pow_test_upward): Likewise.
38633         (main): Call the new functions.
38634         * sysdeps/i386/fpu/libm-test-ulps: Update.
38635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38637         [BZ #3976]
38638         * math/libm-test.inc (cosh_test_tonearest): New function.
38639         (cosh_test_towardzero): Likewise.
38640         (cosh_test_downward): Likewise.
38641         (cosh_test_upward): Likewise.
38642         (sinh_test_tonearest): Likewise.
38643         (sinh_test_towardzero): Likewise.
38644         (sinh_test_downward): Likewise.
38645         (sinh_test_upward): Likewise.
38646         (main): Call the new functions.
38647         * sysdeps/i386/fpu/libm-test-ulps: Update.
38648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38650 2012-03-05  Tom de Vries  <tom@codesourcery.com>
38652         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38653         default stack guard is set in last bytes.
38654         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38656 2012-03-05  Kees Cook  <keescook@chromium.org>
38658         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38660         [BZ #13656]
38661         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38662         possibly allocate from heap instead of stack.
38663         * stdio-common/bug-vfprintf-nargs.c: New file.
38664         * stdio-common/Makefile (tests): Add nargs overflow test.
38666 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
38668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38670 2012-03-03  Marek Polacek  <polacek@redhat.com>
38672         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38673         * math/math_private.h: Likewise.
38674         * stdlib/tst-strtod.c: Likewise.
38675         * sysdeps/i386/i486/bits/atomic.h: Likewise.
38676         * sysdeps/x86_64/bits/atomic.h: Likewise.
38678 2012-03-02  David S. Miller  <davem@davemloft.net>
38680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38684         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38685         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38686         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38687         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38689 2012-03-02  Roland McGrath  <roland@hack.frob.com>
38691         [BZ #13792]
38692         * manual/examples/README: New file, says the example source files
38693         can be used under GPL>=2.
38694         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38695         line containing just "*/".
38696         * manual/examples/add.c: Add copyright header (GPL>=2).
38697         * manual/examples/argp-ex1.c: Likewise.
38698         * manual/examples/argp-ex2.c: Likewise.
38699         * manual/examples/argp-ex3.c: Likewise.
38700         * manual/examples/argp-ex4.c: Likewise.
38701         * manual/examples/atexit.c: Likewise.
38702         * manual/examples/db.c: Likewise.
38703         * manual/examples/dir.c: Likewise.
38704         * manual/examples/dir2.c: Likewise.
38705         * manual/examples/execinfo.c: Likewise.
38706         * manual/examples/filecli.c: Likewise.
38707         * manual/examples/filesrv.c: Likewise.
38708         * manual/examples/fmtmsgexpl.c: Likewise.
38709         * manual/examples/genpass.c: Likewise.
38710         * manual/examples/inetcli.c: Likewise.
38711         * manual/examples/inetsrv.c: Likewise.
38712         * manual/examples/isockad.c: Likewise.
38713         * manual/examples/longopt.c: Likewise.
38714         * manual/examples/memopen.c: Likewise.
38715         * manual/examples/memstrm.c: Likewise.
38716         * manual/examples/mkfsock.c: Likewise.
38717         * manual/examples/mkisock.c: Likewise.
38718         * manual/examples/mygetpass.c: Likewise.
38719         * manual/examples/pipe.c: Likewise.
38720         * manual/examples/popen.c: Likewise.
38721         * manual/examples/rprintf.c: Likewise.
38722         * manual/examples/search.c: Likewise.
38723         * manual/examples/select.c: Likewise.
38724         * manual/examples/setjmp.c: Likewise.
38725         * manual/examples/sigh1.c: Likewise.
38726         * manual/examples/sigusr.c: Likewise.
38727         * manual/examples/stpcpy.c: Likewise.
38728         * manual/examples/strdupa.c: Likewise.
38729         * manual/examples/strftim.c: Likewise.
38730         * manual/examples/strncat.c: Likewise.
38731         * manual/examples/subopt.c: Likewise.
38732         * manual/examples/swapcontext.c: Likewise.
38733         * manual/examples/termios.c: Likewise.
38734         * manual/examples/testopt.c: Likewise.
38735         * manual/examples/testpass.c: Likewise.
38736         * manual/examples/timeval_subtract.c: Likewise.
38738         [BZ #13792]
38739         * manual/time.texi (Elapsed Time): Move timeval_subtract example
38740         function to ...
38741         * manual/timeval_subtract.c.texi: ... here, new file.
38743 2012-03-02  David S. Miller  <davem@davemloft.net>
38745         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38747 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
38749         [BZ #3976]
38750         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38751         (__sin): Save and restore rounding mode and use round-to-nearest
38752         for all computations.
38753         (__cos): Save and restore rounding mode and use round-to-nearest
38754         for all computations.
38755         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38756         <fenv.h>.
38757         (tan): Save and restore rounding mode and use round-to-nearest for
38758         all computations.
38759         * math/libm-test.inc (cos_test_tonearest): New function.
38760         (cos_test_towardzero): Likewise.
38761         (cos_test_downward): Likewise.
38762         (cos_test_upward): Likewise.
38763         (sin_test_tonearest): Likewise.
38764         (sin_test_towardzero): Likewise.
38765         (sin_test_downward): Likewise.
38766         (sin_test_upward): Likewise.
38767         (tan_test_tonearest): Likewise.
38768         (tan_test_towardzero): Likewise.
38769         (tan_test_downward): Likewise.
38770         (tan_test_upward): Likewise.
38771         (main): Call the new functions.
38772         * sysdeps/i386/fpu/libm-test-ulps: Update.
38773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38775         [BZ #10135]
38776         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38777         small n, then large n, before computing and testing k+n.
38778         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38779         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38780         Likewise.
38781         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38782         Likewise.
38783         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38784         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38785         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38786         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38787         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38788         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38789         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38790         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38791         * math/libm-test.inc (scalbn_test): Add more tests.
38792         (scalbln_test): Likewise.
38794         * manual/filesys.texi (mode_t): Describe constraints on size and
38795         signedness, not exact equivalence to a particular type.
38796         (ino_t): Likewise.
38797         (ino64_t): Likewise.
38798         (dev_t): Likewise.
38799         (nlink_t): Likewise.
38800         (blkcnt_t): Likewise.
38801         (blkcnt64_t): Likewise.
38802         * manual/llio.texi (off_t): Likewise.
38804         [BZ #3976]
38805         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38806         (__ieee754_exp): Save and restore rounding mode and use
38807         round-to-nearest for all computations.
38808         * math/libm-test.inc (exp_test_tonearest): New function.
38809         (exp_test_towardzero): Likewise.
38810         (exp_test_downward): Likewise.
38811         (exp_test_upward): Likewise.
38812         (main): Call the new functions.
38813         * sysdeps/i386/fpu/libm-test-ulps: Update.
38814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38816 2012-03-01  Chris Demetriou  <cgd@google.com>
38818         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38819         have predictable order.
38821 2012-03-01  David S. Miller  <davem@davemloft.net>
38823         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38825         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38826         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38827         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38828         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38830         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38831         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38832         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38834         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38835         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38836         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38837         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38838         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38842         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38843         * sysdeps/sparc/fpu/libm-test-ulps: to here.
38844         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38846         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38847         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38848         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38849         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38850         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38851         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38852         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38853         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38854         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38855         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38856         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38857         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38858         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38859         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38860         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38861         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38862         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38863         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38864         * sysdeps/sparc/elf/configure: Regenerated.
38866 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
38868         * configure.in (AS, LD): Require binutils 2.20 or later.
38869         * configure: Regenerated.
38870         * manual/install.texi (Tools for Compilation): Give binutils 2.20
38871         as required minimum version.
38872         * INSTALL: Regenerated.
38874         [BZ #2541]
38875         [BZ #4108]
38876         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38877         before squaring exponent.
38878         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38879         bottom long double and 27 bits of top long double before squaring
38880         exponent.
38881         * math/libm-test.inc (erfc_test): Add more tests.
38882         * sysdeps/i386/fpu/libm-test-ulps: Update.
38883         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38886 2012-03-01  Kai Tietz  <ktietz@redhat.com>
38888         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38889         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38890         containing bit-fields.
38891         * soft-fp/extended.h (_FP_UNION_E): Likewise.
38892         * soft-fp/single.h (_FP_UNION_S): Likewise.
38893         * soft-fp/double.h (_FP_UNION_D): Likewise.
38895 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
38897         [BZ #13786]
38898         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38899         not include ../strcmp.S.
38900         [USE_AS_STRNCASECMP_L]: Likewise.
38901         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38902         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38903         * sysdeps/i386/i686/multiarch/strncase_l-c.c
38904         (__strncasecmp_l_ia32): Define as alias to
38905         __strncasecmp_l_nonascii.
38907         [BZ #5794]
38908         * math/libm-test.inc (expm1_test): Add test for bug 5794.
38909         * sysdeps/i386/fpu/libm-test-ulps: Update.
38910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38912         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38915 2012-02-29  Jeff Law  <law@redhat.com>
38917         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38918         out of bounds read.
38920 2012-02-29  Marek Polacek  <polacek@redhat.com>
38922         [BZ #13706]
38923         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38924         * elf/Makefile: Add rules to run tst-unused-dep.out.
38926 2012-02-28  David S. Miller  <davem@davemloft.net>
38928         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38929         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38930         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38931         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38932         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38933         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38935 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
38937         * math/libm-test.inc (llround_test): Move one test from
38938         lround_test.  Use TEST_f_L in moved test.
38939         (lround_test): Move misplaced test to llround_test.  Add testcase
38940         from bug 2561.
38942 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
38944         * sysdeps/x86_64/fpu/e_expf.S: New file.
38945         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38947 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
38949         [BZ #13637]
38950         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38951         of remain_len that may cause incomplete multi-byte character and
38952         false match.
38953         * posix/bug-regex33.c: New file.
38954         * posix/Makefile (tests): Add bug-regex33.
38956 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
38958         * manual/macros.texi: New file.
38959         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38960         * manual/libc.texinfo: Include macros.texi.
38961         * manual/creatute.texi: Likewise.
38962         * manual/install.texi: Likewise.
38963         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38964         @glibcadj{} in references to the GNU C Library.
38965         * manual/charset.texi: Likewise.
38966         * manual/conf.texi: Likewise.
38967         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
38968         when not using those macros.
38969         * manual/creature.texi: Likewise.
38970         * manual/crypt.texi: Likewise.
38971         * manual/errno.texi: Likewise.
38972         * manual/filesys.texi: Likewise.
38973         * manual/header.texi: Likewise.
38974         * manual/install.texi: Likewise.
38975         * manual/intro.texi: Likewise.
38976         * manual/io.texi: Likewise.
38977         * manual/job.texi: Likewise.
38978         * manual/lang.texi: Likewise.
38979         * manual/libc.texiinfo: Likewise.
38980         * manual/llio.texi: Likewise.
38981         * manual/locale.texi: Likewise.
38982         * manual/maint.texi: Likewise.
38983         * manual/math.texi: Likewise.
38984         * manual/memory.texi: Likewise.
38985         * manual/message.texi: Likewise.
38986         * manual/nss.texi: Likewise.
38987         * manual/pattern.texi: Likewise.
38988         * manual/process.texi: Likewise.
38989         * manual/resource.texi: Likewise.
38990         * manual/search.texi: Likewise.
38991         * manual/setjmp.texi: Likewise.
38992         * manual/signal.texi: Likewise.
38993         * manual/socket.texi: Likewise.
38994         * manual/startup.texi: Likewise.
38995         * manual/stdio.texi: Likewise.
38996         * manual/string.texi: Likewise.
38997         * manual/sysinfo.texi: Likewise.
38998         * manual/syslog.texi: Likewise.
38999         * manual/terminal.texi: Likewise.
39000         * manual/time.texi: Likewise.
39001         * manual/users.texi: Likewise.
39002         * INSTALL: Regenerated.
39003         * NOTES: Regenerated.
39004         * sysdeps/gnu/errlist.c: Regenerated.
39006 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39008         * include/dirent.h: Include <dirstream.h> before
39009         <dirent/dirent.h>.
39011 2012-02-28  David S. Miller  <davem@davemloft.net>
39013         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39014         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39015         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39016         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39018 2012-02-27  David S. Miller  <davem@davemloft.net>
39020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39022         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39023         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39026         frame pointer instead of stack pointer relative arg slot.
39027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39028         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39029         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39031 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39033         [BZ #3992]
39034         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39036 2012-02-27  David S. Miller  <davem@davemloft.net>
39038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39042         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39043         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39044         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39045         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39047 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39049         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39050         later.  Allow versions 5-9.
39051         * configure: Regenerated.
39052         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39053         required minimum version and 4.6 as recommended version.  Do not
39054         mention bugs in GCC 2.7 and 2.8.
39055         * INSTALL: Regenerated.
39057 2012-02-27  David S. Miller  <davem@davemloft.net>
39059         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39063         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39064         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39065         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39066         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39068         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39069         manipulate bits before adding and subtracting TWO112[sx].
39070         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39072 2012-02-27  Roland McGrath  <roland@hack.frob.com>
39074         [BZ #13775]
39075         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39076         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39077         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39078         being in POSIX, because they are in 1003.1-2008.
39080         * rt/tst-aio.c: Include <fcntl.h>.
39081         * rt/tst-aio7.c: Likewise.
39082         * rt/tst-aio64.c: Likewise.
39084         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39086 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39088         * manual/install.texi (--with-headers): Describe headers as
39089         interface headers, not private headers.
39090         (Specific advice for GNU/Linux systems): Describe use of headers
39091         from "make headers_install", not private headers from older
39092         kernels.
39093         * INSTALL: Regenerated.
39094         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39095         Change to 2.6.19.
39096         * sysdeps/unix/sysv/linux/configure: Regenerated.
39098         * manual/llio.texi (fclean): Remove documentation.
39100         * manual/Makefile (libc-texi-generated): New variable.  Include
39101         version.texi.
39102         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39103         $(libc-texi-generated), not duplicated list of files.
39104         (version.texi, stamp-version): New rules.
39105         (realclean): Remove $(libc-texi-generated), not individual files
39106         from that list.  Do not remove dir-add.texinfo.
39107         * manual/libc.texinfo: Comment out uses of edition numbers and
39108         references to printed manual.  Remove last-updated dates.
39109         (EDITION): Comment out.
39110         (ISBN): Likewise.
39111         (VERSION, UPDATED): Remove.
39112         (version.texi): Include.
39114 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
39116         * sysdeps/posix/spawni.c: Include <signal.h>.
39117         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39118         * sysdeps/pthread/aio_fsync.c: Likewise.
39120 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
39122         * conform/Makefile (tests): Run only when not cross-compiling and
39123         when fast-check is not defined.
39125         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39126         * conform/data/limits.h-data: Fixes for POSIX2008.
39127         * conform/run-conformtest.sh: Run all tests.
39128         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39129         headers.
39130         * include/bits/dlfcn.h: Likewise.
39131         * include/langinfo.h: Likewise.
39132         * include/monetary.h: Likewise.
39133         * include/sys/poll.h: Likewise.
39135         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39136         for __USE_GNU.
39137         * posix/spawn.h: Define __need_sigset_t.
39138         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39139         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39140         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
39141         to get sigevent_t only.
39142         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39143         only for __USE_GNU.
39144         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39145         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39146         process_vm_writev only for __USE_GNU.
39147         * termios/termios.h: Declare tcgetsid also for POSIX2008.
39149         * conform/Makefile: For now ignore errors from run-conformtest.
39150         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
39151         POSIX to avoid namespace pollution.  Don't prepend headers.
39152         * conform/data/aio.h-data: Fixes for POSIX testing.
39153         * conform/data/fcntl.h-data: Likewise.
39154         * conform/data/glob.h-data: Likewise.
39155         * conform/data/grp.h-data: Likewise.
39156         * conform/data/pthread.h-data: Likewise.
39157         * conform/data/pwd.h-data: Likewise.
39158         * conform/data/signal.h-data: Likewise.
39159         * conform/data/spawn.h-data: Likewise.
39160         * conform/data/stdio.h-data: Likewise.
39161         * conform/data/stdlib.h-data: Likewise.
39162         * conform/data/stropts.h-data: Likewise.
39163         * conform/data/sys/mman.h-data: Likewise.
39164         * conform/data/sys/stat.h-data: Likewise.
39165         * conform/data/sys/types.h-data: Likewise.
39166         * conform/data/sys/wait.h-data: Likewise.
39167         * conform/data/time.h-data: Likewise.
39168         * conform/data/unistd.h-data: Likewise.
39169         * conform/data/utime.h-data: Likewise.
39171         * io/sys/stat.h: fchmod was always in POSIX.
39172         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39173         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39174         * rt/aio.h: Define __need_timespec before including <time.h>.
39175         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39176         struct.  Add forward declaration of pthread_attr_t and use it in
39177         sigevent.
39178         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39179         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39180         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39181         always remove CLK_TCK definition.
39183 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
39185         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39187 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
39189         * conform/run-conformtest.sh: New file.
39190         * conform/Makefile: Run run-conformtest for tests.
39191         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
39192         support.
39194         * conform/data/uchar.h-data: New file.
39195         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39196         * conform/data/arpa/inet.h-data: Likewise.
39197         * conform/data/assert.h-data: Likewise.
39198         * conform/data/complex.h-data: Likewise.
39199         * conform/data/cpio.h-data: Likewise.
39200         * conform/data/ctype.h-data: Likewise.
39201         * conform/data/dirent.h-data: Likewise.
39202         * conform/data/dlfcn.h-data: Likewise.
39203         * conform/data/errno.h-data: Likewise.
39204         * conform/data/fcntl.h-data: Likewise.
39205         * conform/data/float.h-data: Likewise.
39206         * conform/data/fmtmsg.h-data: Likewise.
39207         * conform/data/fnmatch.h-data: Likewise.
39208         * conform/data/ftw.h-data: Likewise.
39209         * conform/data/glob.h-data: Likewise.
39210         * conform/data/grp.h-data: Likewise.
39211         * conform/data/iconv.h-data: Likewise.
39212         * conform/data/inttypes.h-data: Likewise.
39213         * conform/data/langinfo.h-data: Likewise.
39214         * conform/data/libgen.h-data: Likewise.
39215         * conform/data/limits.h-data: Likewise.
39216         * conform/data/locale.h-data: Likewise.
39217         * conform/data/math.h-data: Likewise.
39218         * conform/data/monetary.h-data: Likewise.
39219         * conform/data/mqueue.h-data: Likewise.
39220         * conform/data/ndbm.h-data: Likewise.
39221         * conform/data/net/if.h-data: Likewise.
39222         * conform/data/netdb.h-data: Likewise.
39223         * conform/data/netinet/in.h-data: Likewise.
39224         * conform/data/nl_types.h-data: Likewise.
39225         * conform/data/poll.h-data: Likewise.
39226         * conform/data/pthread.h-data: Likewise.
39227         * conform/data/pwd.h-data: Likewise.
39228         * conform/data/regex.h-data: Likewise.
39229         * conform/data/sched.h-data: Likewise.
39230         * conform/data/search.h-data: Likewise.
39231         * conform/data/semaphore.h-data: Likewise.
39232         * conform/data/setjmp.h-data: Likewise.
39233         * conform/data/signal.h-data: Likewise.
39234         * conform/data/spawn.h-data: Likewise.
39235         * conform/data/stdarg.h-data: Likewise.
39236         * conform/data/stdio.h-data: Likewise.
39237         * conform/data/stdlib.h-data: Likewise.
39238         * conform/data/string.h-data: Likewise.
39239         * conform/data/strings.h-data: Likewise.
39240         * conform/data/stropts.h-data: Likewise.
39241         * conform/data/sys/ipc.h-data: Likewise.
39242         * conform/data/sys/mman.h-data: Likewise.
39243         * conform/data/sys/msg.h-data: Likewise.
39244         * conform/data/sys/resource.h-data: Likewise.
39245         * conform/data/sys/select.h-data: Likewise.
39246         * conform/data/sys/sem.h-data: Likewise.
39247         * conform/data/sys/shm.h-data: Likewise.
39248         * conform/data/sys/socket.h-data: Likewise.
39249         * conform/data/sys/stat.h-data: Likewise.
39250         * conform/data/sys/statvfs.h-data: Likewise.
39251         * conform/data/sys/time.h-data: Likewise.
39252         * conform/data/sys/timeb.h-data: Likewise.
39253         * conform/data/sys/times.h-data: Likewise.
39254         * conform/data/sys/types.h-data: Likewise.
39255         * conform/data/sys/uio.h-data: Likewise.
39256         * conform/data/sys/un.h-data: Likewise.
39257         * conform/data/sys/utsname.h-data: Likewise.
39258         * conform/data/sys/wait.h-data: Likewise.
39259         * conform/data/syslog.h-data: Likewise.
39260         * conform/data/tar.h-data: Likewise.
39261         * conform/data/termios.h-data: Likewise.
39262         * conform/data/utime.h-data: Likewise.
39263         * conform/data/utmpx.h-data: Likewise.
39264         * conform/data/varargs.h-data: Likewise.
39265         * conform/data/wchar.h-data: Likewise.
39266         * conform/data/wctype.h-data: Likewise.
39267         * conform/data/wordexp.h-data: Likewise.
39269         * include/stropts.h: New file.
39270         * include/uchar.h: New file.
39271         * include/aio.h: Changes to allow conformtest.pl to use the headers.
39272         * include/assert.h: Likewise.
39273         * include/ctype.h: Likewise.
39274         * include/dirent.h: Likewise.
39275         * include/dlfcn.h: Likewise.
39276         * include/fcntl.h: Likewise.
39277         * include/fnmatch.h: Likewise.
39278         * include/glob.h: Likewise.
39279         * include/grp.h: Likewise.
39280         * include/libio.h: Likewise.
39281         * include/locale.h: Likewise.
39282         * include/math.h: Likewise.
39283         * include/net/if.h: Likewise.
39284         * include/netdb.h: Likewise.
39285         * include/netinet/in.h: Likewise.
39286         * include/pthread.h: Likewise.
39287         * include/pwd.h: Likewise.
39288         * include/regex.h: Likewise.
39289         * include/sched.h: Likewise.
39290         * include/search.h: Likewise.
39291         * include/setjmp.h: Likewise.
39292         * include/signal.h: Likewise.
39293         * include/stdio.h: Likewise.
39294         * include/stdlib.h: Likewise.
39295         * include/string.h: Likewise.
39296         * include/sys/cdefs.h: Likewise.
39297         * include/sys/mman.h: Likewise.
39298         * include/sys/msg.h: Likewise.
39299         * include/sys/resource.h: Likewise.
39300         * include/sys/select.h: Likewise.
39301         * include/sys/socket.h: Likewise.
39302         * include/sys/stat.h: Likewise.
39303         * include/sys/statvfs.h: Likewise.
39304         * include/sys/time.h: Likewise.
39305         * include/sys/times.h: Likewise.
39306         * include/sys/uio.h: Likewise.
39307         * include/sys/utsname.h: Likewise.
39308         * include/sys/wait.h: Likewise.
39309         * include/termios.h: Likewise.
39310         * include/time.h: Likewise.
39311         * include/ulimit.h: Likewise.
39312         * include/unistd.h: Likewise.
39313         * include/utime.h: Likewise.
39314         * include/wchar.h: Likewise.
39315         * include/wctype.h: Likewise.
39316         * include/wordexp.h: Likewise.
39318         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39320         * time/time.h: TIME_UTC must be a macro.
39321         Make timespec_get available for ISO C11 only as well.
39323 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
39325         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39326         Reported by Peng Haitao <penght@cn.fujitsu.com>.
39328 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39330         * configure.in: Use -o not -a in test for unsupported multi-arch.
39332 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39334         * manual/texinfo.tex: Update to version 2012-01-19.16.
39336 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39338         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39340 2012-02-24  Roland McGrath  <roland@hack.frob.com>
39342         [BZ #13738]
39343         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39344         * manual/fdl-1.3.texi: New file.
39345         * manual/fdl-1.1.texi: File removed.
39347         [BZ #13738]
39348         * manual/libc.texinfo (FDL_VERSION): New @set.
39349         Use it for mention of FDL in cover text.
39350         (Documentation License): Use it in @include file name.
39352 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39353             Roland McGrath  <roland@hack.frob.com>
39355         [BZ #5461]
39356         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39357         (not LONG_LONG_MAX and LONG_LONG_MIN.
39358         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39359         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
39360         name.
39361         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39363 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39365         [BZ #2547]
39366         [BZ #11365]
39367         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39368         manipulate bits before adding and subtracting TWO23[sx].
39369         * math/libm-test.inc (nearbyint_test): Add more tests.
39371 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39373         [BZ #2548]
39374         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39375         bits before adding and subtracting TWO23[sx].
39376         * math/libm-test.inc (rint_test): Add more tests.
39377         (rint_test_tonearest): Likewise.
39378         (rint_test_towardzero): Likewise.
39379         (rint_test_downward): Likewise.
39380         (rint_test_upward: Likewise.
39382 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39384         [BZ #10110]
39385         * include/stdc-predef.h: New file.  Extracted from features.h.
39386         * include/features.h: Include stdc-predef.h.
39387         * Makefile (headers): Add stdc-predef.h.
39388         * CONFORMANCE (Compiler limitations): Update.
39390 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39392         * manual/libc.texinfo (VERSION, UPDATED): Revert.
39394 2012-02-21  David S. Miller  <davem@davemloft.net>
39396         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39397         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39399 2012-02-20  David S. Miller  <davem@davemloft.net>
39401         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39402         using a normal save/restore sequence, rather than allocating a
39403         dummy stack frame just to store a frame pointer and restore.
39404         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39406 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39408         * manual/install.texi: Fix stray word in line-wrapped comment.
39410 2012-02-20  David S. Miller  <davem@davemloft.net>
39412         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39413         both binutils and gcc support GOTDATA.
39415         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39416         "rd %pc" in the PIC register setup sequences.
39418         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39419         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39420         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39421         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39422         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39423         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39424         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39425         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39426         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39427         (SYSCALL_ERROR_HANDLER): Likewise.
39428         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39429         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39430         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39431         (SYSCALL_ERROR_HANDLER): Likewise.
39433         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39434         (HAVE_GCC_GOTDATA): New.
39435         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39436         relocation support in both binutils and gcc.
39437         * sysdeps/sparc/elf/configure: Regenerate.
39439         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39440         * sysdeps/sparc/sparc32/elf/configure: Delete.
39441         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39442         * sysdeps/sparc/sparc64/elf/configure: Delete.
39443         * sysdeps/sparc/elf/configure.in: New file.
39444         * sysdeps/sparc/elf/configure: Generate.
39446         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39447         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39448         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39449         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39450         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39452 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39454         * manual/install.texi: Do not mention specific glibc version
39455         numbers.
39456         * manual/libc.texinfo (VERSION, UPDATED): Update.
39457         (@copying): Use @copyright{} and range of years.
39459 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39461         [BZ #13695]
39462         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39463         [crti.S not in sysdirs] (generated): Do not append.
39464         [crti.S not in sysdirs] (omit-deps): Likewise.
39465         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39466         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39467         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39468         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39469         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39470         Likewise.
39471         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39472         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39473         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39474         * csu/defs.awk: Remove file.
39475         * sysdeps/generic/initfini.c: Likewise.
39476         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39477         variable.
39478         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39479         Likewise.
39481 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39483         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39484         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39485         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39486         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39487         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39488         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39489         <bits/epoll.h>.
39490         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39491         (__EPOLL_PACKED): Define to empty if not defined by
39492         <bits/epoll.h>.
39493         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39494         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39495         bits/epoll.h.
39497 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39499         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39500         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39501         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39502         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39503         <bits/timerfd.h>.
39504         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39505         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39506         bits/timerfd.h.
39508 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39510         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39511         in C locale.
39512         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39513         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39514         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39517 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
39519         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39520         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39522 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
39524         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39525         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39526         defined.
39527         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39528         Likewise.
39529         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39530         entry for 2.16.
39532 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
39534         * math/w_acos.c: Use non-signaling floating-point comparisons.
39535         * math/w_acosf.c: Likewise.
39536         * math/w_acosh.c: Likewise.
39537         * math/w_acoshf.c: Likewise.
39538         * math/w_acoshl.c: Likewise.
39539         * math/w_acosl.c: Likewise.
39540         * math/w_asin.c: Likewise.
39541         * math/w_asinf.c: Likewise.
39542         * math/w_asinl.c: Likewise.
39543         * math/w_atanh.c: Likewise.
39544         * math/w_atanhf.c: Likewise.
39545         * math/w_atanhl.c: Likewise.
39546         * math/w_exp2.c: Likewise.
39547         * math/w_exp2f.c: Likewise.
39548         * math/w_exp2l.c: Likewise.
39549         * math/w_j0.c: Likewise.
39550         * math/w_j0f.c: Likewise.
39551         * math/w_j0l.c: Likewise.
39552         * math/w_j1.c: Likewise.
39553         * math/w_j1f.c: Likewise.
39554         * math/w_j1l.c: Likewise.
39555         * math/w_jn.c: Likewise.
39556         * math/w_jnf.c: Likewise.
39557         * math/w_log.c: Likewise.
39558         * math/w_log10.c: Likewise.
39559         * math/w_log10f.c: Likewise.
39560         * math/w_log10l.c: Likewise.
39561         * math/w_log2.c: Likewise.
39562         * math/w_log2f.c: Likewise.
39563         * math/w_log2l.c: Likewise.
39564         * math/w_logf.c: Likewise.
39565         * math/w_logl.c: Likewise.
39566         * math/w_sqrt.c: Likewise.
39567         * math/w_sqrtf.c: Likewise.
39568         * math/w_sqrtl.c: Likewise.
39569         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39570         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39571         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39572         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39573         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39575 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39577         [BZ #9739]
39578         * manual/string.texi (strnlen): Use correct parameter name in
39579         equivalent expression.
39581 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39583         [BZ #11174]
39584         * manual/users.texi (seteuid): Consistently use neweuid for
39585         argument name.
39587 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39589         [BZ #13704]
39590         * manual/nss.texi (Services in the NSS configuration): Correct
39591         list of services in example configuration file.
39593 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
39595         [BZ #11322]
39596         * manual/arith.texi: Remove statements about negative zero
39597         behaving identically to zero.
39599 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39601         [BZ #5993]
39602         * manual/install.texi: Do not document upgrading from libc5.
39604 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39606         [BZ #4596]
39607         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39609 2012-02-18  David S. Miller  <davem@davemloft.net>
39611         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39612         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39613         %o7 across the call.
39614         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39615         instead.
39616         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39617         SETUP_PIC_REG_LEAF.
39618         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39619         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39620         * sysdeps/sparc/crtn.S: Likewise.
39622 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
39624         * aout/Makefile: Remove.
39626 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
39628         [BZ #13058]
39629         * manual/examples/argp-ex1.c (main): Format definition in GNU
39630         style.
39631         * manual/examples/argp-ex2.c (main): Likewise.
39632         * manual/examples/argp-ex3.c (main): Likewise.
39633         * manual/examples/argp-ex4.c (main): Likewise.
39634         * manual/examples/longopt.c (main): Use new-style prototype
39635         definition.
39636         * manual/examples/strncat.c (main): Specify return type and use
39637         (void) for arguments.
39638         * manual/examples/subopt.c (main): Use char **argv argument.
39640 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39642         [BZ #5077]
39643         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39644         rounding modes.
39646 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
39648         [BZ #6907]
39649         * manual/string.texi (strchr): Change when strchrnul is
39650         recommended.
39652 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
39654         [BZ #174]
39655         * manual/locale.texi (setlocale): Document LOCPATH.
39657 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39659         [BZ #10210]
39660         * manual/process.texi (execle): Move @dots{} before last argument.
39662 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
39664         [BZ #12047]
39665         * manual/charset.texi (Generic Charset Conversion): Fix typo
39666         (LC_TYPE -> LC_CTYPE).
39668 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
39670         [BZ #5805]
39671         * manual/arith.texi (scalbn): Use @var{} on parameter names.
39672         (scalbnf): Likewise.
39673         (scalbnl): Likewise.
39674         (scalbln): Likewise.
39675         (scalblnf): Likewise.
39676         (scalblnl): Likewise.
39677         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39678         (vwarnx): Likewise.
39679         (verr): Likewise.
39680         (verrx): Likewise.
39681         * manual/filesys.texi (telldir): Use braces around return type.
39682         * manual/llio.texi (mmap): Add space after comma.
39683         (mmap64): Likewise.
39684         * manual/math.texi (jn): Use @var{} on parameter names.
39685         (jnf): Likewise.
39686         (jnl): Likewise.
39687         (yn): Likewise.
39688         (ynf): Likewise.
39689         (ynl): Likewise.
39690         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39691         line.
39692         * manual/resource.texi (ulimit): Use @dots{} instead of literal
39693         "...".
39694         (sched_get_priority_min): Remove semicolon on @deftypefun line.
39695         (sched_get_priority_max): Likewise.
39696         * manual/signal.texi (sigvec): Add space after comma.
39697         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39698         names.
39699         (if_indextoname): Likewise.
39700         (if_freenameindex): Likewise.
39701         (sendto): Use ',' instead of '.' in prototype.
39702         * manual/startup.texi (syscall): Use @dots{} instead of literal
39703         "...".
39704         * manual/stdio.texi (__fpending): Separate initial words of
39705         paragraph from @deftypefun line.
39706         * manual/syslog.texi (syslog): Use @dots{} instead of literal
39707         "...".
39708         (vsyslog): Use @var{} on parameter names.
39709         * manual/terminal.texi (stty): Use @var{} on parameter names.
39710         * manual/users.texi (getutmp): Use @var{} on parameter names.
39711         (getutmpx): Likewise.
39713 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39715         [BZ #6884]
39716         * manual/stdio.texi (fopen): Fix typos in description of
39717         ",ccs=STRING".
39719 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
39721         [BZ #4026]
39722         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39723         get clock_id definition.
39725 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
39727         [BZ #4822]
39728         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39729         (madvise): Cast every argument to void on its own.
39731 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39733         [BZ #9902]
39734         * manual/startup.texi (Exit Status): Fix typo.
39736 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39738         [BZ #10140]
39739         * manual/examples/argp-ex1.c: Include <stdlib.h>.
39740         * manual/examples/argp-ex2.c: Likewise.
39741         * manual/examples/argp-ex3.c: Likewise.
39743 2012-02-16  Richard Henderson  <rth@redhat.com>
39745         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39746         * sysdeps/s390/s390-32/initfini.c: Remove.
39747         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39748         * sysdeps/s390/s390-64/initfini.c: Remove.
39750 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39752         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39753         compiler output for sysdeps/generic/initfini.c.
39754         * sysdeps/sh/elf/initfini.c: Remove file.
39756 2012-02-16  David S. Miller  <davem@davemloft.net>
39758         [BZ #11494]
39759         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39761         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39762         * sysdeps/sparc/crti.S: New file.
39763         * sysdeps/sparc/crtn.S: New file.
39764         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39765         * sysdeps/sparc/sparc64/Makefile: Likewise.
39767 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
39769         [BZ #3335]
39770         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39772 2012-02-15  Roland McGrath  <roland@hack.frob.com>
39774         [BZ #4822]
39775         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39777         * mach/devstream.c (cookie_io_functions_t): Macro removed.
39778         (write, read, close): Likewise.
39779         Patch by Aurelien Jarno <aurelien@aurel32.net>.
39781 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
39783         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39784         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39785         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39786         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39787         <bits/signalfd.h>.
39788         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39789         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39790         bits/signalfd.h.
39792 2012-02-14  Marek Polacek  <polacek@redhat.com>
39794         * sysdeps/x86_64/crti.S: New file.
39795         * sysdeps/x86_64/crtn.S: New file.
39796         * sysdeps/x86_64/elf/initfini.c: Remove file.
39798 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
39800         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39801         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39802         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39803         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39804         <bits/inotify.h>.
39805         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39806         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39807         bits/inotify.h.
39809 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
39811         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39812         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39813         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39814         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39815         <bits/eventfd.h>.
39816         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39817         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39818         bits/eventfd.h.
39820 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
39822         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39823         __feraiseexcept instead of feraiseexcept.
39825         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39826         nanosleep invocations.
39827         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39828         strings, and add error checking for a nanosleep invocations.
39830 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
39832         Replace FSF snail mail address with URLs, as per GNU coding standards.
39833         Most of the snail mail addresses were wrong anyway, and omitting
39834         them makes the source code easier to maintain.  Almost all of the
39835         changes are to license notices and to locale LC_IDENTIFICATION
39836         addresses, except for this one:
39837         * manual/libc.texinfo: In "Published by", give the FSF's URL,
39838         not its snail mail address.
39840 2012-02-09  Richard Henderson  <rth@twiddle.net>
39842         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39843         of kernel-features.h.
39845         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39847 2012-02-08  Marek Polacek  <polacek@redhat.com>
39849         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39850         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39851         * sysdeps/gnu/_G_config.h: Likewise.
39852         * sysdeps/generic/_G_config.h: Likewise.
39854 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
39856         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39857         tests.
39858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39860         * sysdeps/powerpc/powerpc32/crti.S: New file.
39861         * sysdeps/powerpc/powerpc32/crtn.S: New file.
39862         * sysdeps/powerpc/powerpc64/crti.S: New file.
39863         * sysdeps/powerpc/powerpc64/crtn.S: New file.
39865         * Makeconfig (have-initfini): Don't set.
39866         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39867         * configure.in (nopic_initfini): Don't substitute.
39868         * config.h.in (HAVE_INITFINI): Don't #undef.
39869         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39870         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39872 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
39874         Support crti.S and crtn.S provided directly by architectures.
39875         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39876         [crti.S in sysdirs] (omit-deps): Likewise.
39877         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39878         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39879         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39880         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39881         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39882         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39883         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39884         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39885         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39886         compiler output for sysdeps/generic/initfini.c.
39887         * sysdeps/i386/elf/Makefile: Remove file.
39888         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39890 2012-02-07  Marek Polacek  <polacek@redhat.com>
39892         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39893         * sysdeps/gnu/_G_config.h: Likewise.
39894         * sysdeps/mach/hurd/_G_config.h: Likewise.
39896 2012-02-07  Marek Polacek  <polacek@redhat.com>
39898         * math/Makefile (tests): Add tst-CMPLX2.
39899         * math/tst-CMPLX2.c: New file.
39901 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
39903         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39905         * math/libm-test.inc (jn_test): Add missing L suffix.
39907 2012-02-06  Marek Polacek  <polacek@redhat.com>
39909         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39910         * sysdeps/i386/fpu/e_powf.S: Likewise.
39911         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39912         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39913         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39914         * sysdeps/i386/fpu/e_pow.S: Likewise.
39915         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39916         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39917         * sysdeps/i386/fpu/s_expm1.S: Likewise.
39918         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39919         * sysdeps/i386/fpu/e_log2.S: Likewise.
39920         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39921         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39922         * sysdeps/i386/fpu/e_powl.S: Likewise.
39923         * sysdeps/i386/fpu/s_log1p.S: Likewise.
39924         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39925         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39926         * sysdeps/i386/fpu/e_logl.S: Likewise.
39927         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39928         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39929         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39930         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39931         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39932         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39933         * sysdeps/i386/fpu/e_log.S: Likewise.
39934         * sysdeps/i386/fpu/s_cexp.S: Likewise.
39935         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39936         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39937         * sysdeps/i386/fpu/e_logf.S: Likewise.
39938         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39939         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39940         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39941         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39942         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39943         * sysdeps/i386/fpu/e_log10.S: Likewise.
39944         * sysdeps/i386/fpu/s_frexp.S: Likewise.
39945         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39946         * sysdeps/i386/fpu/s_asinh.S: Likewise.
39947         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39948         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39949         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39950         * sysdeps/i386/asm-syntax.h: Likewise.
39951         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39952         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39953         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39954         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39955         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39956         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39957         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39958         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39959         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39960         * sysdeps/powerpc/sysdep.h: Likewise.
39961         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39962         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39964 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
39966         [BZ #411]
39967         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39969 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
39971         * sysdeps/i386/sysdep.h: Include <features.h>.
39972         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39973         version.
39975 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
39977         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39978         Define.
39979         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39980         LOAD_PIC_REG_STR.
39982 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39984         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39985         (SETUP_PIC_REG): Use GET_PC_THUNK.
39986         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39987         macro.
39989 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39991         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39992         for non-PIC compilation.
39993         (SETUP_PIC_REG): Add .p2align directive.
39994         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39995         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39996         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39997         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39998         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39999         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40000         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40001         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40002         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40003         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40004         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40005         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40006         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40007         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40008         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40009         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40010         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40011         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40012         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40013         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40014         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40015         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40016         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40017         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40018         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40019         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40020         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40021         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40022         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40023         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40024         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40025         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40026         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40027         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40028         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40029         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40030         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40031         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40032         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40033         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40034         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40036 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40038         * math/tst-CMPLX.c: Include <stdio.h>.
40040 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40042         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40043         float.
40044         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40045         * sysdeps/sparc/bits/mathdef.h: Likewise.
40047 2012-01-31  Marek Polacek  <polacek@redhat.com>
40049         * libio/libio.h: Don't define _PARAMS.
40050         * locale/programs/config.h: Don't define PARAMS.
40051         * stdlib/strtol_l.c: Likewise.
40052         (__strtol_l): Remove PARAMS from the prototype.
40054 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40056         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40057         names.  Just use the correct names.  Remove unnecessary wrapper
40058         functions.
40059         * malloc/arena.c: Likewise.
40060         * malloc/hooks.c: Likewise.
40062         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40063         ARENA_TEST says not to.  Simplify test for creation of a new arena.
40064         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40066 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
40068         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40069         into tail calls.
40070         (update_get_addr): New function.
40071         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40072         GET_ADDR_MODULE parameter.
40074 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40076         * crypt/cert.c: Remove __STDC__ conditionals.
40077         * crypt/crypt-entry.c: Likewise.
40078         * crypt/crypt_util.c: Likewise.
40079         * libio/filedoalloc.c: Likewise.
40080         * libio/fileops.c: Likewise.
40081         * libio/genops.c: Likewise.
40082         * libio/iofclose.c: Likewise.
40083         * libio/iofdopen.c: Likewise.
40084         * libio/iofopen.c: Likewise.
40085         * libio/iofopen64.c: Likewise.
40086         * libio/iogetdelim.c: Likewise.
40087         * libio/iopopen.c: Likewise.
40088         * libio/obprintf.c: Likewise.
40089         * libio/oldfileops.c: Likewise.
40090         * libio/oldiofclose.c: Likewise.
40091         * libio/oldiofdopen.c: Likewise.
40092         * libio/oldiofopen.c: Likewise.
40093         * libio/oldiopopen.c: Likewise.
40094         * libio/wfiledoalloc.c: Likewise.
40095         * libio/wgenops.c: Likewise.
40096         * locale/programs/xmalloc.c: Likewise.
40097         * misc/syslog.c: Likewise.
40098         * stdio-common/xbug.c: Likewise.
40099         * string/memchr.c: Likewise.
40100         * string/memcmp.c: Likewise.
40101         * string/memrchr.c: Likewise.
40102         * string/rawmemchr.c: Likewise.
40103         * sysdeps/posix/getcwd.c: Likewise.
40104         * time/strftime_l.c: Likewise.
40106 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40108         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40109         * config.make.in (config-cflags-sse2avx): Define.
40110         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40111         Fix typo.
40113 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
40115         * scripts/config.guess: Update from upstream config git repository.
40116         * scripts/config.sub: Likewise.
40118 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
40120         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40121         (EM_NUM): Update.
40122         (R_TILEPRO_*, R_TILEGX_*): New macros.
40124         * scripts/firstversions.awk: Fix bug in version range handling.
40126         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40128         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40130         * include/sys/epoll.h: New file.
40131         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40132         libc_hidden_def.
40134 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
40136         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40137         Avoid unnecessary __WORDSIZE == 64 test.
40138         (fmaxf): Use VEX format if possible.
40139         (fmax): Likewise.
40140         (fminf): Likewise.
40141         (fmin): Likewise.
40143         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40144         * math/math_private.h: Remove libc_fegetround* and
40145         libc_fesetround*.
40146         * sysdeps/i386/configure.in: Check for -msse2avx.
40147         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40148         also if SSE2AVX is defined.
40149         Remove libc_fegetround* and libc_fesetround*.
40150         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40151         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
40152         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40153         of HAS_YMM_USABLE.
40154         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40155         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40156         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40157         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40158         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40160         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40162 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40164         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40165         size is not set.
40166         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40168 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
40170         [BZ #13618]
40171         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40172         relocation.
40173         * Makeconfig (libm): Define.
40174         * elf/Makefile: Add rules to build and run tst-relsort1.
40175         * elf/tst-relsort1.c: New file.
40176         * elf/tst-relsort1mod1.c: New file.
40177         * elf/tst-relsort1mod2.c: New file.
40179 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
40181         * math/s_ldexp.c: Remove __STDC__ conditionals.
40182         * math/s_ldexpf.c: Likewise.
40183         * math/s_ldexpl.c: Likewise.
40184         * math/s_nextafter.c: Likewise.
40185         * math/s_nexttowardf.c: Likewise.
40186         * math/s_significand.c: Likewise.
40187         * math/s_significandf.c: Likewise.
40188         * math/s_significandl.c: Likewise.
40189         * math/w_jnl.c: Likewise.
40190         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40191         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40192         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40193         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40194         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40195         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40196         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40197         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40198         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40199         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40200         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40201         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40202         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40203         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40204         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40205         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40206         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40207         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40208         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40209         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40210         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40211         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40212         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40213         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40214         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40215         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40216         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40217         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40218         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40219         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40220         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40221         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40222         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40223         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40224         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40225         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40226         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40227         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40228         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40229         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40230         * sysdeps/ieee754/k_standard.c: Likewise.
40231         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40232         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40233         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40234         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40235         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40236         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40237         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40238         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40239         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40240         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40241         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40242         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40243         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40244         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40245         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40246         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40247         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40248         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40249         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40250         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40251         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40252         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40253         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40254         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40255         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40256         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40257         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40258         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40259         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40260         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40261         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40262         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40263         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40264         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40265         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40266         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40267         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40268         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40269         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40270         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40271         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40272         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40273         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40274         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40275         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40276         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40277         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40278         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40279         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40280         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40281         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40282         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40283         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40284         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40285         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40286         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40287         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40288         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40289         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40290         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40291         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40292         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40293         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40294         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40295         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40296         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40297         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40298         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40299         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40300         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40301         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40302         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40303         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40304         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40305         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40306         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40307         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40308         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40309         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40310         * sysdeps/ieee754/s_matherr.c: Likewise.
40311         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40312         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40313         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40314         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40316 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40318         * crypt/md5.h: Remove __STDC__ conditionals.
40319         * libio/libioP.h: Likewise.
40320         * locale/programs/config.h: Likewise.
40321         * sysdeps/generic/sysdep.h: Likewise.
40322         * sysdeps/i386/asm-syntax.h: Likewise.
40323         * sysdeps/s390/asm-syntax.h: Likewise.
40324         * sysdeps/unix/sysdep.h: Likewise.
40325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40328 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40330         * libio/libio.h: Remove __STDC__ conditionals.
40331         * malloc/obstack.h: Likewise.
40332         * math/complex.h: Likewise.
40333         * math/math.h: Likewise.
40334         * sysdeps/generic/_G_config.h: Likewise.
40335         * sysdeps/gnu/_G_config.h: Likewise.
40336         * sysdeps/mach/hurd/_G_config.h: Likewise.
40337         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40338         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40339         * sysdeps/sparc/bits/mathdef.h: Likewise.
40341 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
40343         [BZ #13583]
40344         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40345         Clean up HAS_* macros.
40346         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40347         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40348         possible.
40349         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40350         HAS_AVX.
40351         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40352         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40353         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40354         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40355         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40357 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
40359         * elf/tst-unique3.cc (gets): Remove declaration.
40360         * elf/tst-unique3lib.cc (gets): Likewise.
40361         * elf/tst-unique3lib2.cc (gets): Likewise.
40362         * elf/tst-unique4.cc (gets): Likewise.
40364 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
40366         * include/stdio.h: Add C++ protection.  Add gets declarations and
40367         definitions.
40368         * debug/tst-chk1.c: Don't declare gets here.
40369         * stdio-common/tst-gets.c: Likewise.
40371 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40373         * posix/glob: Remove directory.
40375 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40377         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40379 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
40381         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40382         of the non-standard EPFNOSUPPORT.
40384 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40386         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40387         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40388         ANYWHERE set to 1 only on KERN_NO_SPACE error.
40390 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
40392         * wcsmbs/uchar.h: Test __STDC_VERSION__.
40394 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
40396         * nscd/aicache.c (addhstaiX): Do not cache negative results of
40397         transient errors.
40398         * nscd/grpcache.c (cache_addgr): Likewise.
40399         * nscd/hstcache.c (cache_addhst): Likewise.
40400         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40401         * nscd/pwdcache.c (cache_addpw): Likewise.
40402         * nscd/servicescache.c (cache_addserv): Likewise.
40404 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
40406         * malloc/malloc.c: Various cleanups.
40407         * malloc/hooks.c: Likewise.
40409         * stdlib/Makefile (tests): Add bug-fmtmsg1.
40410         * stdlib/bug-fmtmsg1.c: New file.
40412         * stdlib/fmtmsg.c (init): Add missing unlock.
40413         Patch by Peng Haitao <penght@cn.fujitsu.com>.
40415 2012-01-12  Marek Polacek  <polacek@redhat.com>
40417         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40418         and _GNU_SOURCE.
40420 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40422         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40423         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40424         macro to ensure uniqueness of label name.
40425         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40426         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40428 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
40430         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40432         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40433         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40434         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40435         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40437 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
40439         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40441         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40442         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40443         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40445         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40447         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40448         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40449         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40450         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40452         * math/bits/math-finite.h: Add ldexp support.
40454 2012-01-10  Marek Polacek  <polacek@redhat.com>
40456         * locale/programs/localedef.h (show_archive_content): Add noreturn
40457         attribute.
40459 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
40461         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40463 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40465         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40467         * io/Makefile (headers): Add bits/poll2.h.
40469 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
40471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40472         typo #include statement.
40474 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40476         * include/sys/cdefs.h: Define __attribute_alloc_size.
40477         * catgets/gencat.c: Add alloc_size attribute and apply consistently
40478         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40479         * elf/pldd.c: Likewise.
40480         * iconv/iconv_charmap.c: Likewise.
40481         * iconv/iconvconfig.c: Likewise.
40482         * iconv/strtab.c: Likewise.
40483         * locale/programs/locale.c: Likewise.
40484         * locale/programs/localedef.h: Likewise.
40485         * locale/programs/simple-hash.c: Likewise.
40486         * nscd/nscd.h: Likewise.
40487         * nss/makedb.c: Likewise.
40488         * sysdeps/generic/ldconfig.h: Likewise.
40489         * locale/programs/localedef.c: Remove xmalloc prototype.
40490         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40492 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40494         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40495         appropriate.
40497 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40499         * math/Makefile (tests): Add tst-CMPLX.
40500         * math/tst-CMPLX.c: New file.
40502         * math/complex.h (CMPLXL): Fix typo.
40504         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40505         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40506         GLIBC_2.16.
40507         * debug/tst-chk1.c: Add poll and ppoll tests.
40508         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40509         * include/sys/poll.h: Add hidden proto for ppoll.
40510         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40511         * sysdeps/mach/hurd/ppoll.c: Likewise.
40512         * io/ppoll.c: Likewise.
40513         * debug/poll_chk.c: New file.
40514         * debug/ppoll_chk.c: New file.
40515         * include/bits/poll2.h: New file.
40516         * io/bits/poll2.h: New file.
40518         [BZ #1350]
40519         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40521         * configure.in: static is always set to yes.  Remove.
40522         * config.make.in: Don't set build-static.
40523         * Makeconfig: Remove use of build-static.
40524         * dlfcn/Makefile: Likewise.
40525         * elf/Makefile: Likewise.
40526         * math/Makefile: Likewise.
40527         * misc/Makefile: Likewise.
40528         * nptl/Makefile: Likewise.
40529         * sysdeps/mach/hurd/Makefile: Likewise.
40531         * configure.in: PWD_P is not used anymore.
40532         * config.make.in: Remove PWD_P entry.
40534         * configure.in: Remove last remnants of RANLIB.
40535         No need to check for signed size_t anymore.
40536         Don't set libc_commonpagesize and libc_relro_required here for Alpha
40537         and IA-64.
40538         Remove __builtin_expect test because we require at least gcc 3.4.
40539         * aclocal.m4: Likewise.
40541         * wcsmbs/mbrtoc16.c: Implement using towc function.
40542         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40543         * wcsmbs/wcsmbsload.c: Likewise.
40544         * iconv/gconv_simple.c: Likewise.
40545         * iconv/gconv_int.h: Likewise.
40546         * iconv/gconv_builtin.h: Likewise.
40547         * iconv/iconv_prog.c: Remove CHAR16 handling.
40549         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40551         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40553         * configure.in: Remove --with-elf and --enable-bounded options.
40554         Dont set base_machine for ia64.  More non-ELF conditions removed.
40555         Remove testing and setting of leading underscore information.
40556         * config.make.in (build-bounded): Set to no.
40557         * config.h.in: Remove NO_UNDERSCORES entry.
40558         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
40559         them.
40560         * csu/start.c: Remove !NO_UNDERSCORE code.
40561         * locale/localeinfo.h: Likewise.
40562         * sysdeps/generic/machine-gmon.h: Likewise.
40563         * sysdeps/generic/sysdep.h: Likewise.
40564         * sysdeps/i386/sysdep.h: Likewise.
40565         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40566         * sysdeps/mach/sysdep.h: Likewise.
40567         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40568         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40569         * sysdeps/sh/sysdep.h: Likewise.
40570         * sysdeps/sparc/sparc32/alloca.S: Likewise.
40571         * sysdeps/unix/i386/sysdep.S: Likewise.
40572         * sysdeps/unix/sparc/start.c: Likewise.
40573         * sysdeps/unix/sparc/sysdep.S: Likewise.
40574         * sysdeps/unix/sparc/sysdep.h: Likewise.
40575         * sysdeps/unix/start.c: Likewise.
40576         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40577         * sysdeps/x86_64/sysdep.h: Likewise.
40579 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
40581         [BZ #13553]
40582         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40583         for non-gcc.
40584         * argp/argp-fmtstream.h: Use const instead __const.
40585         * argp/argp.h: Likewise.
40586         * assert/assert.h: Likewise.
40587         * bits/fenv.h: Likewise.
40588         * bits/sched.h: Likewise.
40589         * bits/sigset.h: Likewise.
40590         * bits/sigthread.h: Likewise.
40591         * catgets/nl_types.h: Likewise.
40592         * conform/data/pthread.h-data: Likewise.
40593         * crypt/crypt-private.h: Likewise.
40594         * crypt/crypt.h: Likewise.
40595         * crypt/crypt_util.c: Likewise.
40596         * ctype/ctype.h: Likewise.
40597         * debug/execinfo.h: Likewise.
40598         * debug/mbsnrtowcs_chk.c: Likewise.
40599         * debug/mbsrtowcs_chk.c: Likewise.
40600         * debug/wcsnrtombs_chk.c: Likewise.
40601         * debug/wcsrtombs_chk.c: Likewise.
40602         * debug/wcstombs_chk.c: Likewise.
40603         * dirent/dirent.h: Likewise.
40604         * dlfcn/dlfcn.h: Likewise.
40605         * elf/neededtest4.c: Likewise.
40606         * grp/grp.h: Likewise.
40607         * gshadow/gshadow.h: Likewise.
40608         * iconv/gconv.h: Likewise.
40609         * iconv/gconv_int.h: Likewise.
40610         * iconv/gconv_simple.c: Likewise.
40611         * iconv/iconv.h: Likewise.
40612         * iconv/loop.c: Likewise.
40613         * iconv/skeleton.c: Likewise.
40614         * include/aio.h: Likewise.
40615         * include/aliases.h: Likewise.
40616         * include/argz.h: Likewise.
40617         * include/arpa/inet.h: Likewise.
40618         * include/assert.h: Likewise.
40619         * include/dirent.h: Likewise.
40620         * include/dlfcn.h: Likewise.
40621         * include/execinfo.h: Likewise.
40622         * include/fcntl.h: Likewise.
40623         * include/fenv.h: Likewise.
40624         * include/glob.h: Likewise.
40625         * include/grp.h: Likewise.
40626         * include/libintl.h: Likewise.
40627         * include/mntent.h: Likewise.
40628         * include/netdb.h: Likewise.
40629         * include/pwd.h: Likewise.
40630         * include/rpc/netdb.h: Likewise.
40631         * include/sched.h: Likewise.
40632         * include/search.h: Likewise.
40633         * include/shadow.h: Likewise.
40634         * include/signal.h: Likewise.
40635         * include/stdio.h: Likewise.
40636         * include/stdlib.h: Likewise.
40637         * include/string.h: Likewise.
40638         * include/sys/socket.h: Likewise.
40639         * include/sys/stat.h: Likewise.
40640         * include/sys/statfs.h: Likewise.
40641         * include/sys/statvfs.h: Likewise.
40642         * include/sys/syslog.h: Likewise.
40643         * include/sys/time.h: Likewise.
40644         * include/sys/uio.h: Likewise.
40645         * include/time.h: Likewise.
40646         * include/unistd.h: Likewise.
40647         * include/utmp.h: Likewise.
40648         * include/wchar.h: Likewise.
40649         * include/wctype.h: Likewise.
40650         * inet/aliases.h: Likewise.
40651         * inet/arpa/inet.h: Likewise.
40652         * inet/netinet/ether.h: Likewise.
40653         * inet/netinet/in.h: Likewise.
40654         * intl/libintl.h: Likewise.
40655         * io/bits/fcntl2.h: Likewise.
40656         * io/fcntl.h: Likewise.
40657         * io/ftw.h: Likewise.
40658         * io/sys/poll.h: Likewise.
40659         * io/sys/stat.h: Likewise.
40660         * io/sys/statfs.h: Likewise.
40661         * io/sys/statvfs.h: Likewise.
40662         * io/utime.h: Likewise.
40663         * libio/bits/stdio.h: Likewise.
40664         * libio/bits/stdio2.h: Likewise.
40665         * libio/libio.h: Likewise.
40666         * libio/libioP.h: Likewise.
40667         * libio/stdio.h: Likewise.
40668         * locale/lc-ctype.c: Likewise.
40669         * locale/locale.h: Likewise.
40670         * login/utmp.h: Likewise.
40671         * malloc/arena.c: Likewise.
40672         * malloc/malloc.c: Likewise.
40673         * malloc/malloc.h: Likewise.
40674         * malloc/mcheck.c: Likewise.
40675         * malloc/mtrace.c: Likewise.
40676         * math/bits/mathcalls.h: Likewise.
40677         * math/fenv.h: Likewise.
40678         * math/math_private.h: Likewise.
40679         * misc/bits/error.h: Likewise.
40680         * misc/bits/syslog.h: Likewise.
40681         * misc/err.h: Likewise.
40682         * misc/error.h: Likewise.
40683         * misc/fstab.h: Likewise.
40684         * misc/mntent.h: Likewise.
40685         * misc/regexp.h: Likewise.
40686         * misc/search.h: Likewise.
40687         * misc/sgtty.h: Likewise.
40688         * misc/sys/mman.h: Likewise.
40689         * misc/sys/syslog.h: Likewise.
40690         * misc/sys/uio.h: Likewise.
40691         * misc/sys/xattr.h: Likewise.
40692         * misc/ttyent.h: Likewise.
40693         * nis/rpcsvc/ypclnt.h: Likewise.
40694         * nss/nss.h: Likewise.
40695         * posix/bits/unistd.h: Likewise.
40696         * posix/fnmatch.h: Likewise.
40697         * posix/glob.h: Likewise.
40698         * posix/sched.h: Likewise.
40699         * posix/spawn.h: Likewise.
40700         * posix/sys/wait.h: Likewise.
40701         * posix/unistd.h: Likewise.
40702         * posix/wordexp.h: Likewise.
40703         * pwd/pwd.h: Likewise.
40704         * resolv/netdb.h: Likewise.
40705         * resource/sys/resource.h: Likewise.
40706         * rt/aio.h: Likewise.
40707         * rt/bits/mqueue2.h: Likewise.
40708         * rt/mqueue.h: Likewise.
40709         * shadow/shadow.h: Likewise.
40710         * signal/signal.h: Likewise.
40711         * socket/send.c: Likewise.
40712         * socket/sendto.c: Likewise.
40713         * socket/sys/socket.h: Likewise.
40714         * stdio-common/printf.h: Likewise.
40715         * stdlib/bits/stdlib.h: Likewise.
40716         * stdlib/fmtmsg.h: Likewise.
40717         * stdlib/monetary.h: Likewise.
40718         * stdlib/stdlib.h: Likewise.
40719         * stdlib/ucontext.h: Likewise.
40720         * streams/stropts.h: Likewise.
40721         * string/argz.h: Likewise.
40722         * string/bits/string2.h: Likewise.
40723         * string/string.h: Likewise.
40724         * string/strings.h: Likewise.
40725         * sunrpc/rpc/auth.h: Likewise.
40726         * sunrpc/rpc/auth_des.h: Likewise.
40727         * sunrpc/rpc/clnt.h: Likewise.
40728         * sunrpc/rpc/netdb.h: Likewise.
40729         * sunrpc/rpc/pmap_clnt.h: Likewise.
40730         * sunrpc/rpc/xdr.h: Likewise.
40731         * sysdeps/generic/inttypes.h: Likewise.
40732         * sysdeps/generic/net/if.h: Likewise.
40733         * sysdeps/generic/sys/swap.h: Likewise.
40734         * sysdeps/gnu/net/if.h: Likewise.
40735         * sysdeps/gnu/utmpx.h: Likewise.
40736         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40737         * sysdeps/i386/i486/bits/string.h: Likewise.
40738         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40739         * sysdeps/s390/bits/string.h: Likewise.
40740         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40741         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40742         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40743         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40744         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40745         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40746         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40747         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40748         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40749         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40750         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40751         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40752         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40753         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40754         * sysdeps/unix/sysv/linux/readv.c: Likewise.
40755         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40756         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40757         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40758         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40759         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40760         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40761         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40762         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40763         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40764         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40765         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40766         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40767         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40768         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40769         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40770         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40771         * sysvipc/sys/ipc.h: Likewise.
40772         * sysvipc/sys/msg.h: Likewise.
40773         * sysvipc/sys/sem.h: Likewise.
40774         * sysvipc/sys/shm.h: Likewise.
40775         * termios/termios.h: Likewise.
40776         * time/sys/time.h: Likewise.
40777         * time/time.h: Likewise.
40778         * wcsmbs/bits/wchar2.h: Likewise.
40779         * wcsmbs/uchar.h: Likewise.
40780         * wcsmbs/wchar.h: Likewise.
40781         * wctype/wctype.h: Likewise.
40783         [BZ #13551]
40784         * Makeconfig: Remove all but ELF support including AIX support.
40785         * Makerules: Likewise.
40786         * config.h.in: Likewise.
40787         * config.make.in: Likewise.
40788         * configure: Likewise.
40789         * configure.in: Likewise.
40790         * csu/Makefile: Likewise.
40791         * csu/version.c: Likewise.
40792         * debug/Makefile: Likewise.
40793         * dlfcn/Makefile: Likewise.
40794         * elf/Makefile: Likewise.
40795         * extra-lib.mk: Likewise.
40796         * iconv/Makefile: Likewise.
40797         * include/libc-symbols.h: Likewise.
40798         * include/shlib-compat.h: Likewise.
40799         * resolv/Makefile: Likewise.
40800         * resolv/res_libc.c: Likewise.
40801         * rt/Makefile: Likewise.
40802         * sysdeps/i386/asm-syntax.h: Likewise.
40803         * sysdeps/i386/sysdep.h: Likewise.
40804         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40805         * sysdeps/mach/sysdep.h: Likewise.
40806         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40807         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40808         * sysdeps/s390/asm-syntax.h: Likewise.
40809         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40810         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40811         * sysdeps/sh/sysdep.h: Likewise.
40812         * sysdeps/unix/sparc/sysdep.h: Likewise.
40813         * sysdeps/wordsize-32/divdi3.c: Likewise.
40814         * sysdeps/x86_64/sysdep.h: Likewise.
40816         * argp/Versions: Remove _argp_unlock_xxx.
40818         [BZ #13559]
40819         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
40820         * abilist/libBrokenLocale.abilist: Likewise.
40821         * abilist/libanl.abilist: Likewise.
40822         * abilist/libc.abilist: Likewise.
40823         * abilist/libcrypt.abilist: Likewise.
40824         * abilist/libdl.abilist: Likewise.
40825         * abilist/libm.abilist: Likewise.
40826         * abilist/libnsl.abilist: Likewise.
40827         * abilist/libpthread.abilist: Likewise.
40828         * abilist/libresolv.abilist: Likewise.
40829         * abilist/librt.abilist: Likewise.
40830         * abilist/libthread_db.abilist: Likewise.
40831         * abilist/libutil.abilist: Likewise.
40832         * abilist/libnss_db.abilist: New file.
40834         * scripts/abilist.awk: Add support for indirect functions.
40836         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40838         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40840         * shlib-versions: Remove entries for ports architectures.
40842         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
40843         files in ports.
40844         * elf/stackguard-macros.h: Remove support for IA-64.
40845         * elf/tst-auditmod1.c: Likewise.
40846         * sysdeps/generic/ldsodefs.h: Likewise.
40848         * sysdeps/unix/sysv/linux/configure.in: Ports should define
40849         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40850         configure files.
40852         [BZ #13552]
40853         * configure.in: Remove --enable-omitfp support.
40854         * FAQ.in: Adjust.
40855         * config.make.in: Likewise.
40856         * Makeconfig: Likewise.
40857         * manual/install.texi: Likewise.
40859         In case anyone cares, the IA-64 architecture could move to ports.
40860         * sysdeps/ia64/*: Removed.
40861         * sysdeps/unix/sysv/linux/ia64/*: Removed.
40862         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
40864         [BZ #13555]
40865         * configure.in: Remove entries for unsupported architectures.
40867         [BZ #13533]
40868         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40869         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
40870         routines.
40871         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40872         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40873         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
40874         fall back to using wcrtomb.
40875         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40876         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
40877         renaming.
40878         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40879         * wcsmbs/tst-c16c32-1.c: New file.
40881         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40882         local variable.
40884         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40886         * elf/tst-unique3.cc: Add explicit declaration of gets.
40887         * elf/tst-unique3lib.cc: Likewise.
40888         * elf/tst-unique3lib2.cc: Likewise.
40889         * elf/tst-unique4.cc: Likewise.
40891         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40893 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
40895         [BZ #13566]
40896         * assert/assert.h (static_assert): Don't define for C++.
40897         * libio/stdio.h (gets): Do declare for C++ <= C++11.
40898         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40900 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
40902         * iconv/loop.c (single loop): Fix assertion in storing of
40903         remaining bytes.
40905         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40907 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
40909         * posix/getconf.c: Update copyright year.
40910         * nss/getent.c: Likewise.
40911         * nss/makedb.c: Likewise.
40912         * iconv/iconvconfig.c: Likewise.
40913         * iconv/iconv_prog.c: Likewise.
40914         * elf/ldconfig.c: Likewise.
40915         * elf/pldd.c: Likewise.
40916         * elf/sotruss.ksh: Likewise.
40917         * catgets/gencat.c: Likewise.
40918         * csu/version.c: Likewise.
40919         * elf/ldd.bash.in: Likewise.
40920         * elf/sprof.c (print_version): Likewise.
40921         * locale/programs/locale.c: Likewise.
40922         * locale/programs/localedef.c: Likewise.
40923         * login/programs/pt_chown.c: Likewise.
40924         * nscd/nscd.c (print_version): Likewise.
40925         * debug/xtrace.sh: Likewise.
40926         * malloc/memusage.sh: Likewise.
40927         * malloc/mtrace.pl: Likewise.
40928         * debug/catchsegv.sh: Likewise.
40930 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
40932         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40933         pure attribute.
40935 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
40937         [BZ #13533]
40938         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40939         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40940         transformations.
40941         * iconv/gconv_int.h: Likewise.
40942         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40943         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40944         from libc for GLIBC_2.16.
40945         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40946         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40947         * wcsmbs/uchar.h: Really define mbstate_t.
40948         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40949         * wcsmbs/c16rtomb.c: New file.
40950         * wcsmbs/mbrtoc16.c: New file.
40951         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40952         for C/POSIX locale.
40953         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40954         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40956         * wcsmbs/wchar.h: Add missing __restrict.
40958 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
40960         [BZ #13532]
40961         * time/Makefile (routines): Add timespec_get.
40962         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40963         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
40964         timespec for ISO C11.
40965         * time/timespec_get.c: New file.
40966         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40967         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40969         [BZ #13531]
40970         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40971         * stdlib/stdlib.h: Declare aligned_alloc.
40972         * Versions.def: Add GLIBC_2.16 for libc.
40973         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40975         [BZ 13527]
40976         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40977         ISO C11.
40979         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40980         code.
40982         [BZ #13528]
40983         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40985         [BZ #13529]
40986         * assert/assert.h (static_assert): Define.
40988         * version.h: Update for 2.16 development version.
40990         [BZ #13526]
40991         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40992         _ISOC11_SOURCE.
40994         * version.h (RELEASE): Bump for 2.15 release.
40995         * include/features.h (__GLIBC_MINOR__): Bump to 15.
40997         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40998         Patch by Marek Polacek <mpolacek@redhat.com>.
41000         * bits/byteswap.h: Protect long long constants with __extension__.
41001         * sysdeps/i386/bits/byteswap.h: Likewise.
41002         * sysdeps/ia64/bits/byteswap.h: Likewise.
41003         * sysdeps/s390/bits/byteswap.h: Likewise.
41004         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41006 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41008         [BZ #13540]
41009         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41010         destination buffer.
41011         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41013 2011-12-23  Marek Polacek  <polacek@redhat.com>
41015         * elf/dl-addr.c (determine_info): Add inline keyword.
41016         * elf/tst-auditmod4b.c (check_avx): Likewise.
41017         * elf/tst-auditmod6b.c (check_avx): Likewise.
41018         * elf/tst-auditmod6c.c (check_avx): Likewise.
41019         * elf/tst-auditmod7b.c (check_avx): Likewise.
41021 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41023         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41024         !__SSE_MATH__.
41026 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41028         [BZ #13540]
41029         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41030         processing for last bytes.
41032 2011-08-06  Bruno Haible  <bruno@clisp.org>
41034         [BZ #13061]
41035         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41036         U+0385, not to U+1FEE.
41038         [BZ #13062]
41039         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41040         entry for U+00A5 U+0301.
41042 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41044         [BZ #13166]
41045         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41046         buffer for the output is too small.
41048         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41049         optimization.
41051         [BZ #13185]
41052         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41053         SSE flags if possible.
41055 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41057         [BZ #13540]
41058         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41059         processing for last bytes.
41061 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41063         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41064         (syscall-list-default-options, syscall-list-default-condition)
41065         (syscall-list-includes): Define.
41066         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41067         list of ABIs and options and #if conditions for each ABI.  Do not
41068         handle common syscalls between ABIs specially.
41069         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41070         Remove.
41071         (syscall-list-variants, syscall-list-32bit-options)
41072         (syscall-list-32bit-condition, syscall-list-64bit-options)
41073         (syscall-list-64bit-condition): Define.
41074         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41075         (syscall-list-variants, syscall-list-32bit-options)
41076         (syscall-list-32bit-condition, syscall-list-64bit-options)
41077         (syscall-list-64bit-condition): Define.
41078         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41079         Remove.
41080         (syscall-list-variants, syscall-list-32bit-options)
41081         (syscall-list-32bit-condition, syscall-list-64bit-options)
41082         (syscall-list-64bit-condition): Define.
41083         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41084         Remove.
41085         (syscall-list-variants, syscall-list-32bit-options)
41086         (syscall-list-32bit-condition, syscall-list-64bit-options)
41087         (syscall-list-64bit-condition): Define.
41089 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41091         * locale/iso-639.def: Add brx entry.
41093         [BZ #13328]
41094         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41095         Proposed by Mariusz_Cukr <marcukr@op.pl>.
41097         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41098         __feraiseexcept_renamed.
41100 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41102         [BZ #13538]
41103         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41104         EPOLLET with unsigned values.
41105         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41106         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41108         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41109         to large cancellation.
41110         * math/s_cacoshf.c: Likewise.
41111         * math/s_cacoshl.c: Likewise.
41113 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
41115         [BZ #13305]
41116         [BZ #12786]
41117         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41118         * math/s_cacoshf.c: Likewise.
41119         * math/s_cacoshl.c: Likewise.
41121 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41123         [BZ #13439]
41124         * iconv/gconv.h: Define __GCONV_SWAP.
41125         * iconvdata/unicode.c: The swap bit must be stored in __flags.
41126         * iconvdata/utf-16.c: Likewise.
41127         * iconvdata/utf-32.c: Likewise.
41129 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41131         [BZ #13524]
41132         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41133         numerator after shifting it by one limb.
41135 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
41137         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41138         under [__USE_EXTERN_INLINES].
41140 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41142         [BZ #13446]
41143         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41145 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41147         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41148         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41149         optimized code.
41150         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41151         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41152         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41153         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41154         for strncasecmp/strncasecmp_l compilation.
41155         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41156         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41158 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
41160         [BZ #13484]
41161         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41162         of __asm__.
41164 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41166         [BZ #13506]
41167         * time/tzfile.c (__tzfile_read): Check values from file header.
41169 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41171         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41172         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41173         * powerpc/powerpc32/dl-start.S: Likewise.
41174         * powerpc/powerpc32/elf/start.S: Likewise.
41175         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41176         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41177         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41178         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41179         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41180         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41181         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41182         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41183         * powerpc/powerpc32/fpu/s_round.S: Likewise.
41184         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41185         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41186         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41187         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41188         * powerpc/powerpc32/memset.S: Likewise.
41189         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41190         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41191         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41192         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41193         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41194         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41195         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41196         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41197         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41198         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41199         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41200         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41201         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41203 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41205         * math/libm-test.inc: Added more nearbyint tests.
41206         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41207         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41208         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41209         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41211 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
41213         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41214         FD_CLOEXEC.
41216 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41218         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41219         Add wcscpy-ssse3 wcscpy-c.
41220         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41221         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41222         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41223         * sysdeps/x86_64/wcschr.S: New file.
41224         * sysdeps/x86_64/wcsrchr.S: New file.
41225         * string/test-strcmp.c: Remove checking of wcscmp function for
41226         wrong alignments.
41227         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41228         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41229         wcsrchr-sse2 wcsrchr-c.
41230         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41231         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41232         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41233         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41234         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41235         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41236         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41237         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41238         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41239         * wcsmbc/wcschr.c (WCSCHR): New macro.
41241 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41243         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41244         * wcsmbs/test-wcsrchr.c: New file.
41245         * string/test-strrchr.c: Add wcsrchr support.
41246         (WIDE): New macro.
41247         * wcsmbs/test-wcscpy.c: New file.
41248         * string/test-strcpy.c: Add wcscpy support.
41249         (WIDE): New macro.
41251 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
41253         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41254         the inner loop.
41256 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
41258         [BZ #13472]
41259         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41261 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
41263         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41264         Minor optimizations.
41266         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41267         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41268         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41270 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
41272         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41273         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41274         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41275         for gcc to avoid warnings.
41276         * inet/Makefile (tests): Add tst-checks.
41277         * inet/tst-checks.c: New file.
41279         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41280         warning.
41282         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41283         __wmemcmp_sse2.
41285         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41286         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41288         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41290 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
41292         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41293         problem.
41295         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41297 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
41299         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41300         conditional on GCC version.
41301         (__arch_compare_and_exchange_val_8_acq)
41302         (__arch_compare_and_exchange_val_16_acq)
41303         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41304         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41305         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41307 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
41309         * sysdeps/sh/backtrace.c: New file.
41311 2011-12-02  Andreas Schwab  <schwab@redhat.com>
41313         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
41314         parenthesis.
41316 2011-12-01  Andreas Schwab  <schwab@redhat.com>
41318         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41319         falling back to utime.
41321 2011-11-30  Andreas Schwab  <schwab@redhat.com>
41323         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41324         expectations for float.
41326 2011-11-29  Andreas Schwab  <schwab@redhat.com>
41328         * locale/weight.h (findidx): Add parameter len.
41329         * locale/weightwc.h (findidx): Likewise.
41330         * posix/fnmatch_loop.c (FCT): Adjust caller.
41331         * posix/regcomp.c (build_equiv_class): Likewise.
41332         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41333         * posix/regexec.c (check_node_accept_bytes): Likewise.
41334         * string/strcoll_l.c (STRCOLL): Likewise.
41335         * string/strxfrm_l.c (STRXFRM): Likewise.
41337 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
41339         * Makefile.in: Remove CVSOPT handling.
41340         * configure.in: Remove use of AC_REVISION.
41341         * iconvdata/Makefile (distribute): No need to filter out CVS.
41342         * scripts/list-sources.sh: Remove CVS, subversion and monotone
41343         handling.
41345 2011-11-16  Andreas Schwab  <schwab@redhat.com>
41347         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41348         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41349         [USE_AS_STRNCASECMP_L]: Likewise.
41350         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41351         NO_TLS_DIRECT_SEG_REFS.
41352         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41353         Fix argument offsets for non-PIC.
41354         [USE_AS_STRNCASECMP_L]: Likewise.
41355         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41356         NO_TLS_DIRECT_SEG_REFS.
41358 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41360         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41361         O_CLOEXEC.
41362         * locale/loadlocale.c (_nl_load_locale): Likewise.
41364 2011-11-15  Andreas Schwab  <schwab@redhat.com>
41366         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41367         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41368         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41369         (SYSCALL_GETTIME): Set errno on error.
41371         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41372         count references to noai6ai_cached.
41374 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41376         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41378         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41379         FD_CLOEXEC for /proc/self/maps.
41381         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41382         FD_CLOEXEC for /proc/meminfo.
41384         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41385         gai.conf.
41387         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
41388         FD_CLOEXEC for given file.
41390         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41392         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41393         FD_CLOEXEC for /etc/hosts.
41394         (_gethtent): Likewise.
41396         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41398         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41399         cancellation and set FD_CLOEXEC for /etc/netgroup.
41401         * nss/nss_files/files-key.c (search): Don't allow cancellation when
41402         reading /etc/publickey.
41404         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41405         allow cancellation when reading /etc/group.
41407         * nss/nss_files/files-alias.c (internal_setent): Don't allow
41408         cancellation.
41409         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
41411         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41412         when using data file.
41414         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41416         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41417         (write_nis_obj): Use "c" and "e" in fopen.
41419         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41421         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41423         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41425         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41427         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41428         locale.alias.
41430         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41432         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41434         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41436         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41437         file parsing and set FD_CLOEXEC.
41439 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41441         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41443 2011-11-14  Andreas Schwab  <schwab@redhat.com>
41445         * malloc/arena.c (arena_get2): Don't call reused_arena when
41446         _int_new_arena failed.
41448 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41450         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41451         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41452         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41453         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41454         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41455         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41456         to compile strcasecmp and strncasecmp.
41457         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41458         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41460         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41462 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
41464         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41465         locale-defines.sym to gen-as-const-headers.
41466         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41467         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41468         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41469         to compile strcasecmp and strncasecmp.
41470         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41471         strcasecmp_l and strncasecmp_l.
41472         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41473         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41474         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41475         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41476         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41477         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41478         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41479         * sysdeps/i386/i686/multiarch/strncase.S: New file.
41480         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41481         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41482         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41484 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
41486         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41487         result of SYSDEP_GETTIME_CPU to retval.
41488         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41489         parameter list to macro.  Remove trailing semicolon.  Adjust users.
41491         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41492         variable.
41494         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41495         mantissa words.
41496         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41498         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41499         from unused variable.
41501         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41502         DWARF definitions.
41503         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41504         for assembling.
41506         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41507         over namespaces.
41509         * sunrpc/rpc_prot.c (rejected): Fix case value.
41511         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41512         unsigned long long int to avoid warnings in shift.
41514         * posix/regex_internal.c (re_string_reconstruct): Actually use result
41515         of use of trans.
41516         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41517         variable tmp.
41519         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41520         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41521         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41523         * nis/nis_table.c (nis_list): Use variable of correct type for
41524         result of __follow_path call.
41526 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41528         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41529         of math functions ceil, trunc, floor, round, and sqrt, when
41530         avaliable on the platform.
41531         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41532         name clash.
41533         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41534         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41535         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41537 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
41539         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41540         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41542 2011-11-11  Roland McGrath  <roland@hack.frob.com>
41544         * include/unistd.h: Fix __readlink return type.
41545         Reported by Chris Metcalf <cmetcalf@tilera.com>.
41547 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
41549         * stdlib/ucontext.h: Undo last change for makecontext.
41551 2011-11-11  Andreas Schwab  <schwab@redhat.com>
41553         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41555         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41556         * setjmp/setjmp.h: Mark functions as non-leaf.
41557         * setjmp/bits/setjmp2.h: Likewise.
41558         * stdlib/ucontext.h: Likewise.
41560 2011-11-10  Andreas Schwab  <schwab@redhat.com>
41562         * malloc/arena.c (_int_new_arena): Don't increment narenas.
41563         (reused_arena): Don't check arena limit.
41564         (arena_get2): Atomically check arena limit.
41566 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
41568         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41569         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41571         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41572         instructions.
41574 2011-11-07  Andreas Schwab  <schwab@redhat.com>
41576         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41577         handler when locking.
41579         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41580         Fix size of allocated buffer.
41582 2011-11-04  Andreas Schwab  <schwab@redhat.com>
41584         [BZ #10103]
41585         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41586         declarations for long double functions.
41587         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41589         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41591 2011-11-03  Andreas Schwab  <schwab@redhat.com>
41593         * nscd/nscd.c (main): Don't start AVC thread until credentials are
41594         installed.
41596         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41597         is disabled.
41599 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41601         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41603 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41605         * include/alloca.h (stackinfo_alloca_round): Define.
41606         (extend_alloca): Use it.
41607         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41608         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41609         here.
41611         * scripts/check-local-headers.sh: Ignore libaudit.h.
41613         * nscd/Makefile (extra-objs): Make recursively expanded.
41615 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
41617         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41618         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41620         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41621         * posix/tst-rfc3484-2.c: Likewise.
41622         * posix/tst-rfc3484-3.c: Likewise.
41624         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41625         process_vm_writev.
41626         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41627         process_vm_writev.
41628         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41629         process_vm_writev from libc using GLIBC_2.15 version.
41631         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41633 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
41635         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41636         stack usage.
41638 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
41640         [BZ #13367]
41641         * nss/getent.c (initgroups_keys): Show error message in case no group
41642         names are given.
41644         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41645         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41646         __bump_nl_timestamp.
41647         * nscd/connections (nscd_init): When host database is served open
41648         netlink socket and request notification about configuration changes.
41649         (main_loop_poll): Track netlink file descriptor and bump timestamp
41650         in case data becomes available.
41651         (main_loop_epoll): Likewise.
41652         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41653         (database_pers_head): Add extra_data fileds.
41654         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41655         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41656         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41657         Adjust caller.
41658         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41659         in6ai data, call __free_in6ai.
41660         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41661         Add -DHAVE_NETLINK.
41662         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
41663         interface information.  Reuse previous data if netlink timestamp
41664         is not changed.
41665         (__bump_nl_timestamp): New function.
41666         (__free_in6ai): New function.
41668 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
41670         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41671         close_not_cancel_no_status here.
41672         (__check_pf): Reorganize code a bit to not call close twice if OOM.
41674 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41676         [BZ #13276]
41677         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41678         return value.
41680         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41681         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41682         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41684 2011-07-03  Andreas Jaeger  <aj@suse.de>
41686         [BZ #10709]
41687         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41688         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41689         * math/libm-test.inc (sin_test): Add test case.
41691 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41693         [BZ #13337]
41694         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41695         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41697         * elf/chroot_canon.c (chroot_canon): Cleanups.
41699         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41701         [BZ #13335]
41702         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41703         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41705         * string/test-strchr.c: Make usable for strchrnul testing.
41706         * string/test-strchrnul.c: New file.
41707         * string/Makefile (strop-tests): Add strchrnul.
41709         * po/it.po: Update from translation team.
41710         * po/es.po: Likewise.
41712 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
41714         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41715         the three constants needed as parameters.  Drop the others.
41716         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41717         __m128i_strloadu_tolower.
41718         Create and initialize variable zero and use it in all the places
41719         where _mm_setzero_si128 was used.
41721         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41722         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41723         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41724         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41725         anymore.
41726         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41727         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41728         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41729         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41730         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41731         __mpranred, __mptan.
41732         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41733         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41734         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41735         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41736         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41737         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41738         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41739         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41740         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41742 2011-10-28  Andreas Schwab  <schwab@redhat.com>
41744         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41745         redefine if SHARED.
41746         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41748         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41749         wide char related routines to wcsmbs subdir.
41751 2011-10-27  Andreas Schwab  <schwab@redhat.com>
41753         [BZ #13344]
41754         * misc/sys/cdefs.h (__THROWNL): Define.
41755         * posix/unistd.h: Use __THREADNL instead of __THREAD
41756         for memory synchronization functions.
41758 2011-10-26  Roland McGrath  <roland@hack.frob.com>
41760         [BZ #13349]
41761         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41762         doesn't exist.
41763         * manual/stdio.texi (Obstack Streams): Node removed.
41765 2011-10-26  Andreas Schwab  <schwab@redhat.com>
41767         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41768         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41769         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41771         * math/math_private.h (math_force_eval): Allow non-addressable
41772         arguments.
41773         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41775 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41777         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41778         file is not needed.
41780         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41781         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41782         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41783         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41784         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41785         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41786         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41787         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41788         Add AVX variants.
41789         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41790         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41791         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41792         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41793         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41794         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41795         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41796         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41797         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41798         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41799         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41800         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41801         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41802         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41803         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41804         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41805         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41806         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41807         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41809         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41810         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
41812         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41813         place.  Use VEX encoding when compiling for AVX.
41815 2011-10-25  Andreas Schwab  <schwab@redhat.com>
41817         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41818         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41820         * string/test-strchr.c (do_test): Don't generate NUL bytes.
41822 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41824         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
41825         useless if() expression.
41826         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41827         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41828         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41829         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41830         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41831         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41832         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41833         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41834         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41835         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41836         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41837         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41838         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41839         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41840         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41841         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41842         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41843         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41844         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41846         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41848 2011-10-25  Andreas Schwab  <schwab@redhat.com>
41850         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41851         condition.
41852         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41854 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
41856         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41857         .text section.  Avoid duplicate constants.
41858         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41859         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41860         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41861         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41862         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41863         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41864         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41865         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41866         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41867         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41868         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41869         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41870         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41871         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41872         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41873         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41874         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41875         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41876         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41877         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41878         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41879         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41880         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41881         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41882         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41883         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41884         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41885         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41886         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41887         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41888         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41889         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41890         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41891         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41892         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41893         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41894         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41895         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41896         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41897         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41898         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41899         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41900         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41901         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41902         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41904 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
41906         * sysdeps/x86_64/dla.h: Move to ...
41907         * sysdeps/x86_64/fpu/dla.h: ...here.
41908         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41909         situations.  Use __builtin_fma only for gcc 4.6 and up.
41911         * config.make.in: Add have-mfma4 entry.
41912         * configure.in: Substitute libc_cv_cc_fma4.
41913         * math/Makefile (dbl-only-routines): Add sincostab.
41914         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41915         Use __sincostab not sincos.
41916         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41917         name is a macro.
41918         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41919         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41920         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41921         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
41922         using __copysign.
41923         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
41924         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
41925         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41926         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41927         and __inv.
41928         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41929         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41930         __copysign.
41931         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
41932         define aliases when function name is a macro.
41933         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41934         sysdeps/ieee754/dbl-64/sincos.tbl.
41935         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41936         fma4-enabled routines.
41937         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41938         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41939         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41940         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41941         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41942         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41943         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41944         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41945         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41946         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41947         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41948         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41949         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41950         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41951         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41952         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41953         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41954         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41955         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41956         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41957         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41958         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41959         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41960         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41961         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41962         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41963         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41964         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41965         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41966         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41968         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41969         rename.
41970         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41971         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41972         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41973         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41974         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41975         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41976         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41977         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41979 2011-10-24  Andreas Schwab  <schwab@redhat.com>
41981         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41983 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41985         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41987         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41988         prediction.
41989         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41991         * string/strnlen.c: Don't define STRNLEN, reverse logic.
41992         Remove unused variable magic_bits.
41993         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41995         * string/strnlen.c: Define and use STRNLEN macro.
41996         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41997         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41998         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41999         * wcsmbs/wcslen.c: Define and use WCSLEN.
42000         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42001         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42002         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42003         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42004         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42005         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42006         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42008 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42010         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42011         strnlen-sse2-no-bsf.
42012         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42013         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42014         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42015         Add strnlen support.
42016         (USE_AS_STRNLEN): New macro.
42017         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42018         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42019         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42020         * sysdeps/x86_64/wcslen.S: New file.
42022 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42024         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42025         XMM-moves are used for copying on small sizes.
42027 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42029         * wcsmbs/Makefile (strop-tests): Add wcschr.
42030         * wcsmbs/test-wcschr.c: New file.
42031         * string/test-strchr.c: Update.
42032         Add wcschr support.
42033         (WIDE): New macro.
42035 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42037         * wcsmbs/Makefile (strop-tests): Add wcslen.
42038         * wcsmbs/test-wcslen.c: New file.
42039         * string/test-strlen.c: Update.
42040         Add wcslen support.
42041         (WIDE): New macro.
42043 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42045         * po/it.po: Update from translation team.
42047 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42049         * sysdeps/x86_64/wcscmp.S: Update.
42050         Fix wrong comparison semantics.
42051         wcscmp shall use signed comparison not unsigned.
42052         Don't use substraction to avoid overflow bug.
42053         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42054         * wcsmbc/wcscmp.c: Likewise.
42055         * string/test-strcmp.c: Likewise.
42056         Add new tests to check cases with negative values.
42058 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42060         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42061         * sysdeps/x86_64/dla.h: ...here.  New file.
42062         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42063         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42064         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42065         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42066         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42067         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42068         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42069         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42070         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42072 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
42074         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42075         __ynl_finite aliases.
42077 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42079         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42081         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42082         define DLA_FMA.
42083         [DLA_FMA] (EMULV): Use DLA_FMA.
42084         [DLA_FMA] (MUL12): Use EMULV.
42085         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42086         that are not needed.
42087         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42088         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42089         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42090         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42091         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42092         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42093         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42095 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
42097         * math/s_nan.c: Undef __nan.
42098         * math/s_nanf.c: Undef __nanf.
42099         * math/s_nanl.c: Undef __nanl.
42100         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42101         "math_private.h".
42103 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42105         * math/s_catan.c: Add branch predictions.
42106         * math/s_catanf.c: Likewise.
42107         * math/s_catanh.c: Likewise.
42108         * math/s_catanhf.c: Likewise.
42109         * math/s_catanhl.c: Likewise.
42110         * math/s_catanl.c: Likewise.
42111         * math/s_cexp.c: Likewise.
42112         * math/s_cexpf.c: Likewise.
42113         * math/s_cexpl.c: Likewise.
42114         * math/s_clog.c: Likewise.
42115         * math/s_clog10.c: Likewise.
42116         * math/s_clog10f.c: Likewise.
42117         * math/s_clog10l.c: Likewise.
42118         * math/s_clogf.c: Likewise.
42119         * math/s_clogl.c: Likewise.
42120         * math/s_csqrt.c: Likewise.
42121         * math/s_csqrtf.c: Likewise.
42122         * math/s_csqrtl.c: Likewise.
42123         * math/s_ctanf.c: Likewise.
42124         * math/s_ctanh.c: Likewise.
42125         * math/s_ctanhf.c: Likewise.
42126         * math/s_ctanhl.c: Likewise.
42127         * math/s_ctanl.c: Likewise.
42129         * math/math_private.h: Define __nan, __nanf, __nanl.
42130         * math/s_cacosh.c: Include <math_private.h>.
42131         * math/s_cacoshl.c: Likewise.
42132         * math/s_casinh.c: Likewise.
42133         * math/s_casinhf.c: Likewise.
42134         * math/s_casinhl.c: Likewise.
42135         * math/s_ccos.c: Rely entire on ccosh.
42136         * math/s_ccosf.c: Rely entire on ccoshf.
42137         * math/s_ccosl.c: Rely entirely on ccoshl.
42138         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
42139         Remove tests for FE_INVALID.
42140         * math/s_ccoshf.c: Likewise.
42141         * math/s_ccoshl.c: Likewise.
42142         * math/s_csin.c: Likewise.
42143         * math/s_csinf.c: Likewise.
42144         * math/s_csinh.c Likewise.
42145         * math/s_csinhf.c: Likewise.
42146         * math/s_csinhl.c: Likewise.
42147         * math/s_csinl.c: Likewise.
42148         * math/s_ctan.c: Likewise.
42149         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42150         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42151         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42153 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
42155         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42156         compilation problems.
42158         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42159         __builtin_expect.
42161 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
42163         * sysdeps/i386/configure.in: Test for -mfma4 option.
42164         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42165         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42166         COMMON_CPUID_INDEX_80000001.
42167         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42168         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42169         use it if FMA3 is not supported.
42170         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42172         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42173         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42175 2011-10-20  Andreas Schwab  <schwab@redhat.com>
42177         [BZ #12892]
42178         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42179         it would create a cycle with a link time dependency.
42181 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
42183         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42184         instruction.
42185         * string/Makefile (strop-tests): Add rawmemchr.
42186         * string/test-rawmemchr.c: New file.
42188         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42189         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
42190         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
42191         when compiling str{,n}casecmp and when AVX is available.  Hook up
42192         new optimized code in initializers.
42194 2011-10-19  Andreas Schwab  <schwab@redhat.com>
42196         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42197         __feraiseexcept instead of feraiseexcept.
42199 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
42201         * math/math_private.h: Define defaults for libc_fetestexcept and
42202         libc_feupdateenv.
42203         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42204         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42205         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42206         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42207         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42208         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42209         libc_fetestexcept and libc_feupdateenv.
42211         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42212         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42213         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42214         * sysdeps/x86_64/fpu/math_private.h: Define special version of
42215         libc_feholdexcept_setround.
42217         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42218         Add s_nearbyint-c and s_nearbyintf-c.
42219         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42220         nearbyintf inlines.
42221         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42222         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42223         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42224         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42226         * math/math_private.h: Define defaults for libc_fegetround,
42227         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42228         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42229         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42230         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42231         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42232         standard functions.
42233         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42234         Remove comments and hacks for old compiler versions.
42235         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42236         libc_fegetround, libc_fesetround, libc_feholdexcept, and
42237         libc_feholdexceptl.
42239 2011-10-18  Andreas Schwab  <schwab@redhat.com>
42241         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42242         (__feraiseexcept_renamed): Add __NTH.
42243         (feraiseexcept): Add __NTH.  Rename local variables to fix
42244         namespace violations.
42246 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
42248         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42250         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42252         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42253         recently added interfaces.
42254         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42256         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42257         about macro parameter expansion.
42259         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42260         __NO_MATH_INLINES is defined.  Cleanups.
42262         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42263         and __floorf is target has SSE4.1.
42264         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42265         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42266         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42267         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42269         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42270         name.
42271         (floorf): Likewise.
42273         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42275 2011-10-17  Andreas Schwab  <schwab@redhat.com>
42277         * misc/sys/cdefs.h: Fix last change.
42279         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42280         database lookup.
42282 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
42284         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42286         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42287         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42288         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42289         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42290         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42291         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42292         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42293         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42294         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42295         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42296         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42297         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42298         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42299         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42300         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42301         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42302         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42303         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42304         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42305         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42306         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42307         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42309         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42310         ceil, ceilf, floor, floorf.
42312         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42313         Perform IRELATIVE relocations last.
42315         * elf/do-rel.h: Add another parameter nrelative, replacing the
42316         local variable with the same name.  Change name of the function
42317         to end in Rel or Rela (uppercase).
42318         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42319         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
42320         elf_dynamic_do_##reloc function.
42322 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42324         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42325         is sufficient, at least on modern CPUs.
42327         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42329         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42330         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42332         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42333         __expl_finite.
42334         * math/bits/math-finite.h: Add entries for exp.
42335         * math/e_expl.c: Add __*_finite alias.
42336         * sysdeps/i386/fpu/e_exp.S: Likewise.
42337         * sysdeps/i386/fpu/e_expf.S: Likewise.
42338         * sysdeps/i386/fpu/e_expl.c: Likewise.
42339         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42340         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42341         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42342         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42343         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42344         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42345         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42347         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42348         is sufficient, at least on modern CPUs.
42350         * ctype/ctype-info.c (__ctype_init): Define.
42351         * include/ctype.h (__ctype_init): Declare.
42352         (__ctype_b_loc): The variable is always initialized.
42353         (__ctype_toupper_loc): Likewise.
42354         (__ctype_tolower_loc): Likewise.
42355         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42356         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42358 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
42360         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42362         * configure.in: Also look in $cxxmachine/include for C++ system
42363         headers.
42365 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42367         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42368         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42369         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42370         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
42371         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42372         (USE_AS_WMEMCMP): New macro.
42373         Fixing indents.
42374         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42375         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42376         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42377         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42378         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42379         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42380         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42381         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42382         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42383         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42384         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42385         (USE_AS_WMEMCMP): New macro.
42386         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42387         * sysdeps/string/test-memcmp.c: Update.
42388         Fix simple_wmemcmp.
42389         Add new tests.
42390         * wcsmbs/wmemcmp.c: Update.
42391         (WMEMCMP): New macro.
42392         Fix overflow bug.
42394 2011-10-12  Andreas Jaeger  <aj@suse.de>
42396         [BZ #13268]
42397         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42399 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42401         * libio/iofwide.c (do_length): Avoid warning.
42403         * ctype/ctype.h (__isctype_f): Add missing __THROW.
42405 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
42407         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42409         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42410         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42411         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42412         * sysdeps/i386/i686/fpu/e_log.S: New file.
42413         * sysdeps/i386/i686/fpu/e_logf.S: New file.
42414         * sysdeps/i386/i686/fpu/e_logl.S: New file.
42416         * ctype/ctype.h: Add support for inlined isXXX functions when
42417         compiling C++ code.
42419 2011-10-14  Andreas Schwab  <schwab@redhat.com>
42421         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42423         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42425 2011-10-13  Roland McGrath  <roland@hack.frob.com>
42427         [BZ #13291]
42428         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42430 2011-10-13  Andreas Schwab  <schwab@redhat.com>
42432         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42433         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42434         feraiseexcept.
42436         * sysdeps/x86_64/memrchr.S: Check for zero size.
42438         * string/stratcliff.c: Add memrchr tests.
42440 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42442         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42443         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42444         rawmemchr-sse2 rawmemchr-sse2-bsf.
42445         * sysdeps/i386/i686/multiarch/memchr.S: New file.
42446         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42447         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42448         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42449         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42450         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42451         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42452         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42453         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42454         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42455         * string/memrchr.c (MEMRCHR): New macro.
42457 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
42459         Add integration with gcc's -ffinite-math-only and optimize wrapper
42460         functions in libm.
42461         * Versions.def: Define GLIBC_2.15 version for libm.
42462         * math/Makefile (headers): Add bits/math-finite.h.
42463         * math/bits/math-finite.h: New file.
42464         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42465         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42466         * math/e_acoshl.c: Add __*_finite alias.
42467         * math/e_acosl.c: Likewise.
42468         * math/e_asinl.c: Likewise.
42469         * math/e_atan2l.c: Likewise.
42470         * math/e_atanhl.c: Likewise.
42471         * math/e_coshl.c: Likewise.
42472         * math/e_exp10.c: Likewise.
42473         * math/e_exp10f.c: Likewise.
42474         * math/e_exp10l.c: Likewise.
42475         * math/e_exp2l.c: Likewise.
42476         * math/e_fmodl.c: Likewise.
42477         * math/e_gammal_r.c: Likewise.
42478         * math/e_hypotl.c: Likewise.
42479         * math/e_j0l.c: Likewise.
42480         * math/e_j1l.c: Likewise.
42481         * math/e_jnl.c: Likewise.
42482         * math/e_lgammal_r.c: Likewise.
42483         * math/e_log10l.c: Likewise.
42484         * math/e_log2l.c: Likewise.
42485         * math/e_logl.c: Likewise.
42486         * math/e_powl.c: Likewise.
42487         * math/e_sinhl.c: Likewise.
42488         * math/e_sqrtl.c: Likewise.
42489         * math/e_scalb.c: Completely rewritten and optimized.
42490         * math/e_scalbf.c: Likewise.
42491         * math/e_scalbl.c: Likewise.
42492         * math/w_acos.c: Likewise.
42493         * math/w_acosf.c: Likewise.
42494         * math/w_acosl.c: Likewise.
42495         * math/w_acosh.c: Likewise.
42496         * math/w_acoshf.c: Likewise.
42497         * math/w_acoshl.c: Likewise.
42498         * math/w_asin.c: Likewise.
42499         * math/w_asinf.c: Likewise.
42500         * math/w_asinl.c: Likewise.
42501         * math/w_atan2.c: Likewise.
42502         * math/w_atan2f.c: Likewise.
42503         * math/w_atan2l.c: Likewise.
42504         * math/w_atanh.c: Likewise.
42505         * math/w_atanhf.c: Likewise.
42506         * math/w_atanhl.c: Likewise.
42507         * math/w_exp10.c: Likewise.
42508         * math/w_exp10f.c: Likewise.
42509         * math/w_exp10l.c: Likewise.
42510         * math/w_fmod.c: Likewise.
42511         * math/w_fmodf.c: Likewise.
42512         * math/w_fmodl.c: Likewise.
42513         * math/w_j0.c: Likewise.
42514         * math/w_j0f.c: Likewise.
42515         * math/w_j0l.c: Likewise.
42516         * math/w_j1.c: Likewise.
42517         * math/w_j1f.c: Likewise.
42518         * math/w_j1l.c: Likewise.
42519         * math/w_jn.c: Likewise.
42520         * math/w_jnf.c: Likewise.
42521         * math/w_log.c: Likewise.
42522         * math/w_logf.c: Likewise.
42523         * math/w_logl.c: Likewise.
42524         * math/w_log10.c: Likewise.
42525         * math/w_log10f.c: Likewise.
42526         * math/w_log10l.c: Likewise.
42527         * math/w_log2.c: Likewise.
42528         * math/w_log2f.c: Likewise.
42529         * math/w_log2l.c: Likewise.
42530         * math/w_pow.c: Likewise.
42531         * math/w_powf.c: Likewise.
42532         * math/w_powl.c: Likewise.
42533         * math/w_remainder.c: Likewise.
42534         * math/w_remainderf.c: Likewise.
42535         * math/w_remainderl.c: Likewise.
42536         * math/w_scalb.c: Likewise.
42537         * math/w_scalbf.c: Likewise.
42538         * math/w_scalbl.c: Likewise.
42539         * math/w_sqrt.c: Likewise.
42540         * math/w_sqrtf.c: Likewise.
42541         * math/w_sqrtl.c: Likewise.
42542         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42543         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
42544         used.
42545         * math/math_private.h: Declare __kernel_standard_f.
42546         * math/w_cosh.c: Remove cruft and optimize a bit.
42547         * math/w_coshf.c: Likewise.
42548         * math/w_coshl.c: Likewise.
42549         * math/w_exp2.c: Likewise.
42550         * math/w_exp2f.c: Likewise.
42551         * math/w_exp2l.c: Likewise.
42552         * math/w_hypot.c: Likewise.
42553         * math/w_hypotf.c: Likewise.
42554         * math/w_hypotl.c: Likewise.
42555         * math/w_lgamma.c: Likewise.
42556         * math/w_lgamma_r.c: Likewise.
42557         * math/w_lgammaf.c: Likewise.
42558         * math/w_lgammaf_r.c: Likewise.
42559         * math/w_lgammal.c: Likewise.
42560         * math/w_lgammal_r.c: Likewise.
42561         * math/w_sinh.c: Likewise.
42562         * math/w_sinhf.c: Likewise.
42563         * math/w_sinhl.c: Likewise.
42564         * math/w_tgamma.c: Likewise.
42565         * math/w_tgammaf.c: Likewise.
42566         * math/w_tgammal.c: Likewise.
42567         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42568         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42569         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42570         Minor optimizations.  Pretty printing.  Remove cruft.
42571         * sysdeps/i386/fpu/e_acosf.S: Likewise.
42572         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42573         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42574         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42575         * sysdeps/i386/fpu/e_acosl.c: Likewise.
42576         * sysdeps/i386/fpu/e_asin.S: Likewise.
42577         * sysdeps/i386/fpu/e_asinf.S: Likewise.
42578         * sysdeps/i386/fpu/e_atan2.S: Likewise.
42579         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42580         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42581         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42582         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42583         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42584         * sysdeps/i386/fpu/e_exp10.S: Likewise.
42585         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42586         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42587         * sysdeps/i386/fpu/e_exp2.S: Likewise.
42588         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42589         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42590         * sysdeps/i386/fpu/e_fmod.S: Likewise.
42591         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42592         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42593         * sysdeps/i386/fpu/e_hypot.S: Likewise.
42594         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42595         * sysdeps/i386/fpu/e_log.S: Likewise.
42596         * sysdeps/i386/fpu/e_log10.S: Likewise.
42597         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42598         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42599         * sysdeps/i386/fpu/e_log2.S: Likewise.
42600         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42601         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42602         * sysdeps/i386/fpu/e_logf.S: Likewise.
42603         * sysdeps/i386/fpu/e_logl.S: Likewise.
42604         * sysdeps/i386/fpu/e_pow.S: Likewise.
42605         * sysdeps/i386/fpu/e_powf.S: Likewise.
42606         * sysdeps/i386/fpu/e_powl.S: Likewise.
42607         * sysdeps/i386/fpu/e_remainder.S: Likewise.
42608         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42609         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42610         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42611         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42612         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42613         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42614         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42615         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42616         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42617         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42618         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42619         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42620         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42621         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42622         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42623         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42624         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42625         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42626         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42627         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42628         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42629         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42630         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42631         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42632         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42633         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42634         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42635         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42636         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42637         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42638         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42639         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42640         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42641         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42642         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42643         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42644         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42645         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42646         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42647         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42648         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42649         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42650         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42651         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42652         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42653         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42654         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42655         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42656         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42657         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42658         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42659         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42660         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42661         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42662         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42663         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42664         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42665         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42666         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42667         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42668         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42669         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42670         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42671         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42672         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42673         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42674         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42675         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42676         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42677         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42678         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42679         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42680         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42681         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42682         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42683         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42684         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42685         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42686         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42687         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42688         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42689         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42690         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42691         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42692         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42693         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42694         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42695         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42696         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42697         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42698         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42699         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42700         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42701         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42702         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42703         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42704         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42705         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42706         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42707         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42708         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42709         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42710         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42711         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42712         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42713         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42714         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42715         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42716         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42717         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42718         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42719         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42720         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42721         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42722         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42723         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42724         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42725         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42726         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
42727         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42728         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42729         (__isnanf): Likewise.
42730         (__isinf_ns): Likewise.
42731         (__isinf_nsf): Likewise.
42732         (__finite): Likewise.
42733         (__finitef): Likewise.
42734         (__ieee754_sqrt): Define as macro.
42735         (__ieee754_sqrtf): Define as macro.
42736         (__ieee754_sqrtl): Define as macro.
42737         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42738         inlined copy.
42739         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42740         __FINITE_MATH_ONLY__ consistent.
42741         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42743 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
42745         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42746         of rawmemchr.
42748         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42750 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
42752         * po/ja.po: Update from translation team.
42754 2011-10-08  Roland McGrath  <roland@hack.frob.com>
42756         * locale/programs/locarchive.c (prepare_address_space): New function.
42757         (create_archive, enlarge_archive, open_archive): Use it.
42759         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42760         inside [SHARED], where it is used.
42762         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42764         * nss/getent.c (netgroup_keys): Remove unused variable.
42765         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42767 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
42769         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42770         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42771         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42772         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42773         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42774         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42775         * math/Makefile (libm-calls): Add s_isinf_ns.
42776         * math/divtc3.c: Use __isinf_nsl instead of isinf.
42777         * math/multc3.c: Likewise.
42778         * math/s_casin.c: Likewise.
42779         * math/s_casinf.c: Likewise.
42780         * math/s_casinl.c: Likewise.
42781         * math/s_ccos.c: Likewise.
42782         * math/s_ccosf.c: Likewise.
42783         * math/s_ccosl.c: Likewise.
42784         * math/s_ctan.c: Likewise.
42785         * math/s_ctanf.c: Likewise.
42786         * math/s_ctanh.c: Likewise.
42787         * math/s_ctanhf.c: Likewise.
42788         * math/s_ctanhl.c: Likewise.
42789         * math/s_ctanl.c: Likewise.
42790         * math/w_fmod.c: Likewise.
42791         * math/w_fmodf.c: Likewise.
42792         * math/w_fmodl.c: Likewise.
42793         * math/w_remainder.c: Likewise.
42794         * math/w_remainderf.c: Likewise.
42795         * math/w_remainderl.c: Likewise.
42796         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42797         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42798         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42799         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42800         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42801         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42802         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42803         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42805         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42806         of the number.
42807         * stdio-common/printf_fphex.c: Likewise.
42808         * stdio-common/printf_size.c: Likewise.
42810         * math/e_exp10.c: Include math_private.h using <...> not "...".
42811         * math/e_exp10f.c: Likewise.
42812         * math/e_exp10l.c: Likewise.
42813         * math/e_exp2l.c: Likewise.
42814         * math/e_j0l.c: Likewise.
42815         * math/e_j1l.c: Likewise.
42816         * math/e_jnl.c: Likewise.
42817         * math/e_lgammal_r.c: Likewise.
42818         * math/e_rem_pio2l.c: Likewise.
42819         * math/e_scalb.c: Likewise.
42820         * math/e_scalbf.c: Likewise.
42821         * math/e_scalbl.c: Likewise.
42822         * math/k_cosl.c: Likewise.
42823         * math/k_sinl.c: Likewise.
42824         * math/k_tanl.c: Likewise.
42825         * math/s_cacoshf.c: Likewise.
42826         * math/s_catan.c: Likewise.
42827         * math/s_catanf.c: Likewise.
42828         * math/s_catanh.c: Likewise.
42829         * math/s_catanhf.c: Likewise.
42830         * math/s_catanhl.c: Likewise.
42831         * math/s_catanl.c: Likewise.
42832         * math/s_ccosh.c: Likewise.
42833         * math/s_ccoshf.c: Likewise.
42834         * math/s_ccoshl.c: Likewise.
42835         * math/s_cexp.c: Likewise.
42836         * math/s_cexpf.c: Likewise.
42837         * math/s_cexpl.c: Likewise.
42838         * math/s_clog.c: Likewise.
42839         * math/s_clog10.c: Likewise.
42840         * math/s_clog10f.c: Likewise.
42841         * math/s_clog10l.c: Likewise.
42842         * math/s_clogf.c: Likewise.
42843         * math/s_clogl.c: Likewise.
42844         * math/s_csin.c: Likewise.
42845         * math/s_csinf.c: Likewise.
42846         * math/s_csinh.c: Likewise.
42847         * math/s_csinhf.c: Likewise.
42848         * math/s_csinhl.c: Likewise.
42849         * math/s_csinl.c: Likewise.
42850         * math/s_csqrt.c: Likewise.
42851         * math/s_csqrtf.c: Likewise.
42852         * math/s_csqrtl.c: Likewise.
42853         * math/s_ctan.c: Likewise.
42854         * math/s_ctanf.c: Likewise.
42855         * math/s_ctanh.c: Likewise.
42856         * math/s_ctanhf.c: Likewise.
42857         * math/s_ctanhl.c: Likewise.
42858         * math/s_ctanl.c: Likewise.
42859         * math/s_ldexp.c: Likewise.
42860         * math/s_ldexpf.c: Likewise.
42861         * math/s_ldexpl.c: Likewise.
42862         * math/s_significand.c: Likewise.
42863         * math/s_significandf.c: Likewise.
42864         * math/s_significandl.c: Likewise.
42865         * math/w_acos.c: Likewise.
42866         * math/w_acosf.c: Likewise.
42867         * math/w_acosh.c: Likewise.
42868         * math/w_acoshf.c: Likewise.
42869         * math/w_acoshl.c: Likewise.
42870         * math/w_acosl.c: Likewise.
42871         * math/w_asin.c: Likewise.
42872         * math/w_asinf.c: Likewise.
42873         * math/w_asinl.c: Likewise.
42874         * math/w_atan2.c: Likewise.
42875         * math/w_atan2f.c: Likewise.
42876         * math/w_atan2l.c: Likewise.
42877         * math/w_atanh.c: Likewise.
42878         * math/w_atanhf.c: Likewise.
42879         * math/w_atanhl.c: Likewise.
42880         * math/w_cosh.c: Likewise.
42881         * math/w_coshf.c: Likewise.
42882         * math/w_coshl.c: Likewise.
42883         * math/w_dremf.c: Likewise.
42884         * math/w_exp10.c: Likewise.
42885         * math/w_exp10f.c: Likewise.
42886         * math/w_exp10l.c: Likewise.
42887         * math/w_exp2.c: Likewise.
42888         * math/w_exp2f.c: Likewise.
42889         * math/w_fmod.c: Likewise.
42890         * math/w_fmodf.c: Likewise.
42891         * math/w_fmodl.c: Likewise.
42892         * math/w_hypot.c: Likewise.
42893         * math/w_hypotf.c: Likewise.
42894         * math/w_hypotl.c: Likewise.
42895         * math/w_j0.c: Likewise.
42896         * math/w_j0f.c: Likewise.
42897         * math/w_j0l.c: Likewise.
42898         * math/w_j1.c: Likewise.
42899         * math/w_j1f.c: Likewise.
42900         * math/w_j1l.c: Likewise.
42901         * math/w_jn.c: Likewise.
42902         * math/w_jnf.c: Likewise.
42903         * math/w_jnl.c: Likewise.
42904         * math/w_lgamma.c: Likewise.
42905         * math/w_lgamma_r.c: Likewise.
42906         * math/w_lgammaf.c: Likewise.
42907         * math/w_lgammaf_r.c: Likewise.
42908         * math/w_lgammal.c: Likewise.
42909         * math/w_lgammal_r.c: Likewise.
42910         * math/w_log.c: Likewise.
42911         * math/w_log10.c: Likewise.
42912         * math/w_log10f.c: Likewise.
42913         * math/w_log10l.c: Likewise.
42914         * math/w_log2.c: Likewise.
42915         * math/w_log2f.c: Likewise.
42916         * math/w_log2l.c: Likewise.
42917         * math/w_logf.c: Likewise.
42918         * math/w_logl.c: Likewise.
42919         * math/w_pow.c: Likewise.
42920         * math/w_powf.c: Likewise.
42921         * math/w_powl.c: Likewise.
42922         * math/w_remainder.c: Likewise.
42923         * math/w_remainderf.c: Likewise.
42924         * math/w_remainderl.c: Likewise.
42925         * math/w_scalb.c: Likewise.
42926         * math/w_scalbf.c: Likewise.
42927         * math/w_scalbl.c: Likewise.
42928         * math/w_sinh.c: Likewise.
42929         * math/w_sinhf.c: Likewise.
42930         * math/w_sinhl.c: Likewise.
42931         * math/w_sqrt.c: Likewise.
42932         * math/w_sqrtf.c: Likewise.
42933         * math/w_sqrtl.c: Likewise.
42934         * math/w_tgamma.c: Likewise.
42935         * math/w_tgammaf.c: Likewise.
42936         * math/w_tgammal.c: Likewise.
42938         * po/ja.po: Update from translation team.
42940 2011-09-29  Andreas Jaeger  <aj@suse.de>
42942         [BZ #13179]
42943         * sunrpc/netname.c (netname2host): Fix logic.
42945         [BZ #6779]
42946         [BZ #6783]
42947         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42948         correctly.
42949         * math/w_remainder.c (__remainder): Likewise.
42950         * math/w_remainderf.c (__remainderf): Likewise.
42951         * math/libm-test.inc (remainder_test): Add test cases.
42953 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42955         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
42956         sdiv_qrnnd.
42958 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
42960         * string/test-memcmp.c: Avoid unncessary #defines.
42961         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42963 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42965         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42966         Use new sse2 version for core i3 - i7 as it's faster
42967         than sse42 version.
42968         (bit_Prefer_PMINUB_for_stringop): New.
42969         * sysdeps/x86_64/rawmemchr.S: Update.
42970         Replace with faster SSE2 version.
42971         * sysdeps/x86_64/memrchr.S: New file.
42972         * sysdeps/x86_64/memchr.S: Update.
42973         Replace with faster SSE2 version.
42975 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
42977         * elf/dl-load.c (lose): Add cast to avoid warning.
42979 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
42981         * po/ca.po: Update from translation team.
42983         * inet/getnetgrent_r.c: Hook up nscd.
42984         * nscd/Makefile (routines): Add nscd_netgroup.
42985         (nscd-modules): Add netgroupcache.
42986         (CFLAGS-netgroupcache.c): Define.
42987         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42988         (cache_search): Add const to second parameter.
42989         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42990         INNETGR.
42991         (dbs): Add netgrdb entry.
42992         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42993         (verify_persistent_db): Handle netgrdb.
42994         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42995         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42996         GETFDNETGR.
42997         (netgroup_response_header): Define.
42998         (innetgroup_response_header): Define.
42999         (datahead): Add netgroup_response_header and innetgroup_response_header
43000         elements.
43001         * nscd/nscd.conf: Add entries for netgroup cache.
43002         * nscd/nscd.h (dbtype): Add netgrdb.
43003         (_PATH_NSCD_NETGROUP_DB): Define.
43004         (netgroup_iov_disabled): Declare.
43005         (xmalloc, xcalloc, xrealloc): Move declarations here.
43006         (cache_search): Adjust prototype.
43007         Add netgroup-related prototypes.
43008         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43009         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43010         (__nscd_innetgr): Declare.
43011         * nscd/selinux.c (perms): Use access_vector_t as element type and
43012         add netgroup-related initializers.
43013         * nscd/netgroupcache.c: New file.
43014         * nscd/nscd_netgroup.c: New file.
43015         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43016         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43017         For four parameters use innetgr.
43018         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43019         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43020         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43021         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43023         * nscd/connections.c (register_traced_file): Don't register file
43024         for disabled databases.
43026 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43028         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43030         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43031         from tree and freeing node.
43033 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43035         * nss/nsswitch.c (__nss_database_lookup): Handle
43036         nss_parse_service_list out of memory case.
43038 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43040         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43041         out of memory case.
43043 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43045         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43046         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43047         pass it down.
43048         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43049         elf_machine_rela, elf_machine_lazy_rel.
43050         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43051         (ELF_DYNAMIC_DO_REL): Likewise.
43052         (ELF_DYNAMIC_DO_RELA): Likewise.
43053         (ELF_DYNAMIC_RELOCATE): Likewise.
43054         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43055         to ELF_DYNAMIC_DO_REL.
43056         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43057         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43058         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43059         elf_machine_rela.
43060         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43061         skip_ifunc, don't call ifunc function if non-zero.
43062         (elf_machine_rela): Likewise.
43063         (elf_machine_lazy_rel): Likewise.
43064         (elf_machine_lazy_rela): Likewise.
43065         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43066         (elf_machine_lazy_rel): Likewise.
43067         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43068         Likewise.
43069         (elf_machine_lazy_rel): Likewise.
43070         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43071         Likewise.
43072         (elf_machine_lazy_rel): Likewise.
43073         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43074         (elf_machine_lazy_rel): Likewise.
43075         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43076         (elf_machine_lazy_rel): Likewise.
43077         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43078         (elf_machine_lazy_rel): Likewise.
43079         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43080         (elf_machine_lazy_rel): Likewise.
43081         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43082         (elf_machine_lazy_rel): Likewise.
43083         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43084         (elf_machine_lazy_rel): Likewise.
43086 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
43088         * nss/nss_files/files-init.c (_nss_files_init): Use static
43089         initialization for all the *_traced_file variables.
43091 2011-09-28  Andreas Schwab  <schwab@redhat.com>
43093         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43095 2011-09-27  Roland McGrath  <roland@hack.frob.com>
43097         [BZ #13226]
43098         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43100 2011-09-27  Andreas Schwab  <schwab@redhat.com>
43102         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43103         Reread the line before reparsing it.
43105 2011-09-26  Andreas Schwab  <schwab@redhat.com>
43107         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43109 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
43110             Maxim Kuvyrkov  <maxim@codesourcery.com>
43111             Joseph Myers  <joseph@codesourcery.com>
43113         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43114         if needed for __stack_chk_guard.
43116 2011-09-19  Roland McGrath  <roland@hack.frob.com>
43118         * sysdeps/posix/spawni.c (script_execute): Always define it.
43119         It will be optimized away if unused.
43120         (maybe_script_execute): New function.
43121         (__spawni): Call it.
43123         * Makerules: Don't include tls.make.
43124         (config-tls): Always set to thread.
43125         * tls.make.c: File removed.
43127 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
43129         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43130         * config.make.in (CPPFLAGS-config): New substituted variable.
43132 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43134         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43136         [BZ #13192]
43137         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43138         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43140 2011-09-15  Roland McGrath  <roland@hack.frob.com>
43142         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43143         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43144         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43145         (CALL_FAIL): Likewise.
43146         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43147         (CALL_FAIL): Macro removed.
43148         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43150 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43152         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43153         for __FINITE_MATH_ONLY__ == 1.
43155 2011-09-15  Andreas Schwab  <schwab@redhat.com>
43157         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43158         __ieee754_sqrt instead of sqrt.
43159         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43160         __ieee754_sqrtf instead of sqrtf.
43161         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43162         __floorf instead of floorf.
43163         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43164         __floorf, __truncf instead of floorf, truncf.
43166 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
43168         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43170         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43171         __extern_always_inline.
43172         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43173         32-bit.
43175 2011-09-14  Andreas Schwab  <schwab@redhat.com>
43177         * elf/rtld.c (dl_main): Also relocate in dependency order when
43178         doing symbol dependency testing.
43180 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
43182         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43183         Always define `refsym'.
43185 2011-09-13  Andreas Schwab  <schwab@redhat.com>
43187         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43188         (__FD_ELT): Renamed from __FDELT.
43189         * misc/bits/select2.h (__FD_ELT): Likewise.
43190         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43191         __FD_MASK instead of __FDELT, __FDMASK.
43192         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43193         Likewise.
43194         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43195         Likewise.
43197         * elf/Makefile (gen-ldd): Fix pattern.
43199         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43200         (init_tls): Likewise.
43202 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
43204         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43206 2011-09-12  Andreas Schwab  <schwab@redhat.com>
43208         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43209         `struct cmsghdr *' instead of `void *'.
43210         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43211         Likewise.
43213 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
43215         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43216         if non-absolute.
43217         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43218         ldd_rewrite_script.
43220 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
43222         * configure.in: Remove --with-tls option.
43223         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43224         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43225         out in case it is missing.
43226         * sysdeps/ia64/elf/configure.in: Likewise.
43227         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43228         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43229         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43230         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43231         * sysdeps/sh/elf/configure.in: Likewise.
43232         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43233         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43234         * sysdeps/x86_64/elf/configure.in: Likewise.
43235         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43236         * sysdeps/mach/hurd/tls.h: Likewise.
43238         [BZ #13067]
43239         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43241         [BZ #13090]
43242         * configure.in: Fix use of AC_INIT.
43244         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43246 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
43248         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43249         __set_errno.
43250         * malloc/hooks.c: Likewise.
43252         [BZ #11929]
43253         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
43254         variables statically.
43255         (narenas): Initialize.
43256         (list_lock): Initialize.
43257         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
43258         initializtion of main_arena and list_lock.  Small cleanups.
43259         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43260         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
43261         Add initializers to main_arena and mp_.
43262         (malloc_state): Remove pagesize member.  Change all users to use
43263         GLRO(dl_pagesize).
43265         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43266         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
43267         is always initialized.
43269         * malloc/malloc.c: Removed unused configurations and dead code.
43270         * malloc/arena.c: Likewise.
43271         * malloc/hooks.c: Likewise.
43272         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43274         * include/tls.h: Removed.  USE___THREAD must always be defined.
43275         * bits/libc-tsd.h: Don't handle !USE___THREAD.
43276         * elf/dl-libc.c: Likewise.
43277         * elf/dl-tsd.c: Likewise.
43278         * include/errno.h: Likewise.
43279         * include/netdb.h: Likewise.
43280         * include/resolv.h: Likewise.
43281         * inet/herrno-loc.c: Likewise.
43282         * inet/herrno.c: Likewise.
43283         * malloc/arena.c: Likewise.
43284         * malloc/hooks.c: Likewise.
43285         * malloc/malloc.c: Likewise.
43286         * resolv/res-state.c: Likewise.
43287         * resolv/res_libc.c: Likewise.
43288         * sysdeps/i386/dl-machine.h: Likewise.
43289         * sysdeps/ia64/dl-machine.h: Likewise.
43290         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43291         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43292         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43293         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43294         * sysdeps/sh/dl-machine.h: Likewise.
43295         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43296         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43297         * sysdeps/unix/i386/sysdep.S: Likewise.
43298         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43299         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43300         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43301         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43302         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43303         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43304         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43305         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43306         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43307         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43308         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43309         * sysdeps/x86_64/dl-machine.h: Likewise.
43310         * tls.make.c: Likewise.
43312         * configure.in: Remove --with-__thread option.  Make tests for
43313         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43314         tls_model attribute fail if no support is available.  Remove
43315         USE_IN_LIBIO.
43316         * Makeconfig: Adjust for dropped configure option.  All features are
43317         now mandatory.
43318         * Makerules: Likewise.
43319         * Versions.def: Likewise.
43320         * argp/argp-fmtstream.c: Likewise.
43321         * argp/argp-fmtstream.h: Likewise.
43322         * argp/argp-help.c: Likewise.
43323         * assert/assert.c: Likewise.
43324         * config.h.in: Likewise.
43325         * config.make.in: Likewise.
43326         * configure: Likewise.
43327         * configure.in: Likewise.
43328         * csu/Versions: Likewise.
43329         * csu/init.c: Likewise.
43330         * elf/tst-audit2.c: Likewise.
43331         * elf/tst-tls10.c: Likewise.
43332         * elf/tst-tls10.h: Likewise.
43333         * elf/tst-tls11.c: Likewise.
43334         * elf/tst-tls12.c: Likewise.
43335         * elf/tst-tls14.c: Likewise.
43336         * elf/tst-tlsmod11.c: Likewise.
43337         * elf/tst-tlsmod12.c: Likewise.
43338         * elf/tst-tlsmod13.c: Likewise.
43339         * elf/tst-tlsmod13a.c: Likewise.
43340         * elf/tst-tlsmod14a.c: Likewise.
43341         * elf/tst-tlsmod15b.c: Likewise.
43342         * elf/tst-tlsmod16a.c: Likewise.
43343         * elf/tst-tlsmod16b.c: Likewise.
43344         * elf/tst-tlsmod7.c: Likewise.
43345         * elf/tst-tlsmod8.c: Likewise.
43346         * elf/tst-tlsmod9.c: Likewise.
43347         * gmon/gmon.c: Likewise.
43348         * grp/fgetgrent_r.c: Likewise.
43349         * grp/putgrent.c: Likewise.
43350         * hurd/fopenport.c: Likewise.
43351         * include/libc-symbols.h: Likewise.
43352         * include/tls.h: Likewise.
43353         * intl/gettextP.h: Likewise.
43354         * intl/loadinfo.h: Likewise.
43355         * locale/global-locale.c: Likewise.
43356         * locale/localeinfo.h: Likewise.
43357         * mach/devstream.c: Likewise.
43358         * malloc/arena.c: Likewise.
43359         * malloc/set-freeres.c: Likewise.
43360         * misc/err.c: Likewise.
43361         * misc/getttyent.c: Likewise.
43362         * misc/mntent_r.c: Likewise.
43363         * posix/getopt.c: Likewise.
43364         * posix/wordexp.c: Likewise.
43365         * pwd/fgetpwent_r.c: Likewise.
43366         * resolv/Versions: Likewise.
43367         * resolv/res_hconf.c: Likewise.
43368         * shadow/fgetspent_r.c: Likewise.
43369         * shadow/putspent.c: Likewise.
43370         * stdio-common/printf_fphex.c: Likewise.
43371         * stdio-common/tmpfile.c: Likewise.
43372         * stdlib/abort.c: Likewise.
43373         * stdlib/fmtmsg.c: Likewise.
43374         * sunrpc/auth_unix.c: Likewise.
43375         * sunrpc/clnt_perr.c: Likewise.
43376         * sunrpc/clnt_tcp.c: Likewise.
43377         * sunrpc/clnt_udp.c: Likewise.
43378         * sunrpc/clnt_unix.c: Likewise.
43379         * sunrpc/openchild.c: Likewise.
43380         * sunrpc/svc_simple.c: Likewise.
43381         * sunrpc/svc_tcp.c: Likewise.
43382         * sunrpc/svc_udp.c: Likewise.
43383         * sunrpc/svc_unix.c: Likewise.
43384         * sunrpc/xdr.c: Likewise.
43385         * sunrpc/xdr_array.c: Likewise.
43386         * sunrpc/xdr_rec.c: Likewise.
43387         * sunrpc/xdr_ref.c: Likewise.
43388         * sunrpc/xdr_stdio.c: Likewise.
43390 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43392         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43394 2011-07-03  Andreas Jaeger  <aj@suse.de>
43396         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43397         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43398         regenerate with gen-libm-tests.pl.
43400 2010-05-12  Petr Baudis  <pasky@suse.cz>
43402         [BZ #11589]
43403         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43404         around j0() zero points by switching to j1().
43405         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43406         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43407         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43408         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43410 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43412         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43413         instead of 0.
43414         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43415         instead of 0.
43416         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43417         Patch in part by Pavel Roskin <proski@gnu.org>.
43419         [BZ #13138]
43420         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43421         realloc.
43422         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
43423         Free memory block if necessary.
43425         [BZ #12847]
43426         * libio/genops.c (INTDEF): For string streams the _lock pointer can
43427         be NULL.  Don't lock in this case.
43429 2011-09-09  Roland McGrath  <roland@hack.frob.com>
43431         * elf/elf.h (ELFOSABI_GNU): New macro.
43432         (ELFOSABI_LINUX): Define to that.
43434 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
43436         * string/strncat.c (strncat): Undef the symbol in case it has been
43437         defined in bits/string.h.
43439 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43441         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43443         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43444         link map.
43446 2011-08-17  Andreas Jaeger  <aj@suse.de>
43448         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43450 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43451             Ian Lance Taylor  <iant@google.com>
43453         * math/libm-test.inc (lround_test): New testcase.
43454         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43456 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
43458         * Makefile: Remove support for automatic cvs check-ins.
43459         * Makerules: Likewise.
43460         * config.make.in: Likewise.
43461         * configure.in: Likewise.
43462         * intl/Makefile: Likewise.
43463         * locale/Makefile: Likewise.
43464         * po/Makefile: Likewise.
43465         * posix/Makefile: Likewise.
43466         * sysdeps/gnu/Makefile: Likewise.
43467         * sysdeps/mach/hurd/Makefile: Likewise.
43468         * sysdeps/sparc/sparc32/Makefile: Likewise.
43470         [BZ #13118]
43471         * posix/Makefile (bug-regex32-ENV): Define.
43472         Patch by John Stanley <jpsinthemix@verizon.net>.
43474         * misc/Makefile (headers): Add bits/select2.h.
43475         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43476         * misc/bits/select2.h: New file.
43477         * include/bits/select2.h: New file.
43478         * debug/Makefile (routines): Add fdelt_chk.
43479         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43480         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43481         FD_ISSET.
43482         * debug/fdelt_chk.c: New file.
43484         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
43485         * wcsmbs/test-wmemcmp.c: Likewise.
43486         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43487         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43489 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43491         * string/Makefile (strop-tests): Add memcmp.
43492         * string/test-wmemcmp.c: New file.
43493         * string/test-memcmp.c: Add wmemcmp support.
43495 2011-09-08  Roland McGrath  <roland@hack.frob.com>
43497         [BZ #13153]
43498         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43499         2011-07-19 change.
43501         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43502         garbage value in a __mach_port_mod_refs call in the cases of the
43503         task-self and thread-self ports.
43505 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43507         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43509 2011-09-08  Andreas Schwab  <schwab@redhat.com>
43511         * elf/dl-load.c (lose): Check for non-null L.
43513 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43515         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43517         * elf/dl-libc.c (dlerror_run): Pass back error code from
43518         dl_catch_error.
43520         [BZ #13123]
43521         * elf/dl-load.c (lose): Free l_origin if it is valid.
43523         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43524         names.
43525         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43526         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43527         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43528         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43529         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43530         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43532 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43534         * sysdeps/powerpc/fpu/e_hypot.c: New file.
43535         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43536         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43537         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43538         * sysdeps/powerpc/fpu/k_cosf.c: New file.
43539         * sysdeps/powerpc/fpu/k_sinf.c: New file.
43540         * sysdeps/powerpc/fpu/s_cosf.c: New file.
43541         * sysdeps/powerpc/fpu/s_sinf.c: New file.
43542         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43543         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43545 2011-08-15  Alan Modra  <amodra@gmail.com>
43547         [BZ #13092]
43548         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43549         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43550         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
43551         ppc_mcount to static-only-routines.
43552         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43553         __mcount_internal.
43554         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43555         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
43557 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
43559         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43560         for finite and infinity parameters.
43562 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43564         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43565         and add nop instructions for throughput optimization.
43566         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43568 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
43570         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43571         aligned copy for power7 with vector-scalar instructions.
43572         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43574 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
43576         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43577         AVX check.
43579 2011-09-07  Andreas Schwab  <schwab@redhat.com>
43581         [BZ #13144]
43582         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43583         last change.
43585 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43587         * sysdeps/unix/sysv/linux/x86_64/init-first.c
43588         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43589         syscall wrapper around clock_gettime in __vdso_clock_gettime.
43590         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43591         clock_gettime.
43593 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43595         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43596         Forgot to demangle the pointer.
43598         * sysdeps/i386/sysdep.h: Define atom_text_section.
43599         * sysdeps/x86_64/sysdep.h: Likewise.
43600         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43601         section with atom_text_section.
43602         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43603         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43604         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43605         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43606         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43608         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43609         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43610         already be defined.  Change to take two parameters and don't assign
43611         result to variable.  Adjust all users.
43612         Define INTERNAL_GETTIME if not already defined.
43613         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43614         call.
43615         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43616         HAVE_CLOCK_GETTIME_VSYSCALL.
43617         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43619         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43620         gettimeofday vsyscall, just use time.
43622 2011-09-06  Andreas Schwab  <schwab@redhat.com>
43624         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43625         <errno.h>.
43627 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43629         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43630         syscall on x86-64.
43631         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43632         syscall.
43633         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43634         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43635         syscall if possible.
43637 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43639         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43640         e_ident.  Don't pass to find_mapsXX.
43641         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43643 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43645         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43646         strchr-sse2-no-bsf strrchr-sse2-no-bsf
43647         * sysdeps/x86_64/multiarch/strchr.S: Update.
43648         Check bit_slow_BSF bit.
43649         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43650         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43651         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43653 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43655         [BZ #13134]
43656         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43657         before glibc 2.15.
43658         (tryshell): Define.
43659         (__spawni): Change last parameter to be flag.  Test
43660         SPAWN_XFLAGS_USE_PATH flag to use path or not.
43661         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43662         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43663         * posix/spawni.c: Likewise.
43664         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43665         * posix/spawnp.c: Likewise.  Change normal version to use
43666         SPAWN_XFLAGS_USE_PATH.
43667         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43668         SPAWN_XFLAGS_TRY_SHELL.
43670         [BZ #13150]
43671         * posix/glob.h: Remove gcc 1.x support.
43673         [BZ #13068]
43674         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43676 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43678         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43679         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43680         strrchr-sse2-bsf
43681         * sysdeps/i386/i686/multiarch/strchr.S: New file.
43682         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43683         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43684         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43685         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43686         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43688 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43690         * sysdeps/x86_64/wcscmp.S: New file.
43692         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43693         wcscmp-c wcscmp-sse2
43694         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43695         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43696         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43697         * wcsmbs/wcscmp.c: Allow renaming.
43699 2011-09-05  David S. Miller  <davem@davemloft.net>
43701         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43702         stack slot, rather than the struct return pointer slot.
43703         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43704         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43706         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43708 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43710         * po/ja.po: Update from translation team.
43712         [BZ #13144]
43713         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43714         kernel in 64-bit binaries.
43716 2011-09-01  David S. Miller  <davem@davemloft.net>
43718         * elf/elf.h (HWCAP_SPARC_*): Move to..
43719         * sysdeps/sparc/sysdep.h: this new file and add new values.
43720         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43721         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43722         _DL_HWCAP_COUNT to 24.
43723         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43724         entries.
43725         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43726         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43727         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43728         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43729         instead of magic constants.
43730         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43732 2011-08-31  David S. Miller  <davem@davemloft.net>
43734         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43735         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43736         Reimplement to do errno handling inline.
43737         (SYSCALL_ERROR_HANDLER): New macro.
43738         (__SYSCALL_STRING): Do not do errno handling in asm.
43739         (__CLONE_SYSCALL_STRING): Delete.
43740         (__INTERNAL_SYSCALL_STRING): Delete.
43741         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43742         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43743         (PSEUDO): Reimplement to do errno handling inline.
43744         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43745         (SYSCALL_ERROR_HANDLER): New macro.
43746         (__SYSCALL_STRING): Do not do errno handling in asm.
43747         (__CLONE_SYSCALL_STRING): Delete.
43748         (__INTERNAL_SYSCALL_STRING): Delete.
43749         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43750         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43751         i386.
43752         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43753         (inline_syscall*): Add 'err' argument.
43754         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43755         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43756         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43757         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43759         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43760         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43762 2011-08-30  Andreas Schwab  <schwab@redhat.com>
43764         * elf/rtld.c (dl_main): Relocate objects in dependency order.
43766 2011-08-29  Jiri Olsa <jolsa@redhat.com>
43768         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43769         directive.
43771 2011-08-24  David S. Miller  <davem@davemloft.net>
43773         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43775 2011-08-24  Andreas Schwab  <schwab@redhat.com>
43777         * elf/Makefile: Add rules to build and run unload8 test.
43778         * elf/unload8.c: New file.
43779         * elf/unload8mod1.c: New file.
43780         * elf/unload8mod1x.c: New file.
43781         * elf/unload8mod2.c: New file.
43782         * elf/unload8mod3.c: New file.
43784         * elf/dl-close.c (_dl_close_worker): Reset private search list if
43785         it wasn't used.
43787 2011-08-23  David S. Miller  <davem@davemloft.net>
43789         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43790         subtract stack bias.
43791         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43792         %sp not %fp in calculations.
43793         (_JMPBUF_UNWINDS_ADJ): Likewise.
43795         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43796         (aio_suspend): Call it to force an exception region around the
43797         AIO_MISC_WAIT() invocation.
43799 2011-08-23  Andreas Schwab  <schwab@redhat.com>
43801         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43802         backslash.
43804 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
43806         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43807         protection macro.
43808         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43809         and <dl-machine.h>.
43810         (Elf64_FuncDesc): Remove.
43812 2011-08-22  David S. Miller  <davem@davemloft.net>
43814         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43815         sigaltstack check, add missing cfi directives.
43816         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43817         missing cfi directives, and sigaltstack handling.
43819 2011-08-16  Andreas Schwab  <schwab@redhat.com>
43821         [BZ #11724]
43822         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43823         object is seen twice.
43824         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43826         * elf/Makefile (distribute): Add tst-initorder2.c.
43827         (tests): Add tst-initorder2.
43828         (modules-names): Add tst-initorder2a tst-initorder2b
43829         tst-initorder2c tst-initorder2d.  Add rules to build them.
43830         ($(objpfx)tst-initorder2.out): New rule.
43831         * elf/tst-initorder2.c: New file.
43832         * elf/tst-initorder2.exp: New file.
43834 2011-08-22  Andreas Schwab  <schwab@redhat.com>
43836         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43838         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43839         dependencies back to end of function.
43841         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43842         $(elfobjdir)/ld.so.
43844 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
43846         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43847         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43848         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43849         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43850         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43851         of __vdso_gettimeofday.
43852         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43853         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
43854         attribute_hidden.
43855         (_libc_vdso_platform_setup): Remove initialization of
43856         __vdso_gettimeofday and __vdso_time.
43858 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
43860         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43861         and fgetc_unlocked.
43862         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43863         getc_unlocked.
43865         * elf/dl-open.c (add_to_global): Report additions to the global scope
43866         for LD_DEBUG=scopes.
43867         (dl_open_worker): Also print scope of newly loaded dependencies.
43868         (_dl_show_scope): Indicate if there is no scope.
43870         [BZ #13114]
43871         * stdio-common/Makefile (tests): Add bug24.
43872         * stdio-common/bug24.c: New file.
43874 2011-08-19  Andreas Jaeger  <aj@suse.de>
43876         [BZ #13114]
43877         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43878         non-existant file when using close-on-exec mode.
43880 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
43882         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43883         the very first instruction.
43885         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43886         the CFI state in the end.
43887         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43888         inclusion of dl-trampoline.h.
43889         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43891 2011-08-19  Andreas Schwab  <schwab@redhat.com>
43893         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43894         expectations for long double.
43896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43897         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43899 2011-08-14  David S. Miller  <davem@davemloft.net>
43901         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43902         artificual limit depends upon the system page size.
43904 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
43906         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43907         * resolv/Makefile: Define CFLAGS-libresolv.
43909 2011-08-17  Andreas Schwab  <schwab@redhat.com>
43911         * nss/makedb.c (compute_tables): Make variables used in nested
43912         function static.
43914 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
43916         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43917         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43918         if buffer was too small.
43920         * elf/pldd.c (main): Attach to all threads in the process.
43921         Rewrite /proc handling to use *at functions.
43923 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
43925         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43926         specifies first scope to show.
43927         (dl_open_worker): Update callers.  Move printing scope of new
43928         object to before the relocation.
43929         * elf/rtld.c (dl_main): Update _dl_show_scope call.
43930         * sysdeps/generic/ldsodefs.h: Update declaration.
43932         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43933         string for the scope number.
43935 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
43937         * nscd/servicescache.c (cache_addserv): Make sure written is always
43938         initialized.
43940 2011-08-14  Roland McGrath  <roland@hack.frob.com>
43942         * sysdeps/i386/i486/bits/atomic.h
43943         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43944         statement expression, so as to suppress "set but not used" warning.
43945         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43947         * string/strncat.c (STRNCAT): Use prototype definition.
43949         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43950         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43951         -Iprograms here.
43952         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43953         (localedef-modules): Add localedef.
43954         (locale-modules): Add locale.
43956         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43957         * elf/rtld.c (dl_main): Invert order of assignment in last change,
43958         to avoid a warning.
43960 2011-08-14  David S. Miller  <davem@davemloft.net>
43962         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43963         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43965 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
43967         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43968         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43969         * elf/rtld.c (dl_main): Set l_name of vDSO.
43970         Call _dl_show_scope when DL_DEBUG_SCOPES.
43971         (process_dl_debug): Recognize scopes flag and also set it for all.
43972         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43973         Declare _dl_show_scope.
43975         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43976         (do_dlopen): Pass caller_dlopen to dl_open.
43977         (__libc_dlopen_mode): Initialize caller_dlopen.
43979         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43980         of libc.  Make tolower call locale-independent.  Optimize a bit by
43981         using isdigit instead of isalnum.
43982         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43984 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
43986         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43987         was a dependency or dynamically loaded.
43989 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
43991         * intl/l10nflist.c: Allow architecture-specific pop function.
43992         * sysdeps/x86_64/l10nflist.c: New file.
43994         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43995         classification.
43997 2011-08-10  Andreas Schwab  <schwab@redhat.com>
43999         * include/dirent.h: Add libc_hidden_proto for scandirat and
44000         scandirat64.  Don't declare __scandirat64.
44001         * dirent/scandirat.c: Add libc_hidden_def.
44002         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44003         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44005 2011-08-10  David S. Miller  <davem@davemloft.net>
44007         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44008         enum.
44009         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44010         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44011         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44013 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44015         * Versions.def [libc]: Add GLIBC_2.15.
44016         * dirent/Makefile (routines): Add scandirat and scandirat64.
44017         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44018         GLIBC_2.15.
44019         * dirent/dirent.h: Declare scandirat and scandirat64.
44020         * dirent/scandirat.c: New file.
44021         * dirent/scandirat64.c: New file.
44022         * sysdeps/wordsize-64/scandirat.c: New file.
44023         * sysdeps/wordsize-64/scandirat64.c: New file.
44024         * dirent/opendir.c: Define opendirat.
44025         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44026         using scandirat.
44027         * dirent/scandir64.c: Adjust for scandir.c change.
44028         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44029         __scandirat64, and __scandir_cancel_handler.
44030         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44031         additional parameter and use openat instead of open (outside of ld.so).
44032         Add new __opendir as wrapper around __opendirat.
44033         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44034         here without requiring old scandirat implementation.
44036 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44038         * dirent/scandir.c (cancel_handler): Renamed to
44039         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44040         defined.  Adjust users.
44041         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44042         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44044 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44046         * string/test-string.h (IMPL): Use __STRING to expand name and then
44047         stringify it.
44049         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44050         of cleanups.
44052 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44054         * string/Makefile: Update.
44055         (strop-tests): Append strncat.
44056         * string/test-wcscmp.c: New file.
44057         New comprehensive test for wcscmp.
44058         * string/test-strcmp.c: Update.
44059         (WIDE): New define.
44061 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44063         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44064         line.
44066 2011-07-26  Andreas Schwab  <schwab@redhat.com>
44068         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44069         encoding to ACE if AI_IDN.
44071 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
44073         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44074         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44076 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44078         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44079         Fix overflow bug in strncat.
44080         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44082         * string/test-strncat.c: Update.
44083         Add new tests for checking overflow bugs.
44085 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44087         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44088         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44089         * sysdeps/i386/i686/multiarch/strcat.S: New file.
44090         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44091         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44092         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44093         * sysdeps/i386/i686/multiarch/strncat.S: New file.
44094         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44095         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44097         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44098         (USE_AS_STRCAT): Define.
44099         Add strcat and strncat support.
44100         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44102 2011-07-25  Andreas Schwab  <schwab@redhat.com>
44104         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44105         __n bigger than INT_MAX+1.
44106         (__strncmp_g): Likewise.
44108 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
44110         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44111         * libio/stido.h: Likewise.
44113         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44114         (AF_NFC): Define.
44115         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44116         (AF_NFC): Define.
44118         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44119         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44120         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44121         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44122         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44124         [BZ #13021]
44125         * scripts/test-installation.pl: Don't expect libnss_test1 to be
44126         installed.
44128         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44129         typo.
44130         (_dl_x86_64_save_sse): Likewise.
44132 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
44134         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44135         OSXSAVE.
44136         (_dl_x86_64_save_sse): Likewise.
44138         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44140         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44142 2011-07-21  Andreas Schwab  <schwab@redhat.com>
44144         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44145         change.
44146         (_dl_x86_64_save_sse): Use correct AVX check.
44148 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44150         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44151         bug in strncpy/strncat.
44152         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44154 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
44156         * string/tester.c (test_strcat): Add tests for different alignments
44157         of source and destination.
44158         (test_strncat): Likewise.
44160 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44162         [BZ #12852]
44163         * posix/glob.c (glob): Check passed in values before using them in
44164         expressions to avoid some overflows.
44165         (glob_in_dir): Likewise.
44167         [BZ #13007]
44168         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44169         check for AVX enablement so that we don't crash with old kernels and
44170         new hardware.
44171         * elf/tst-audit4.c: Add same checks here.
44172         * elf/tst-audit6.c: Likewise.
44174         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44176 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
44178         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44180 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44182         * po/cs.po: Update from translation team.
44183         * po/bg.po: Likewise.
44185 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
44187         * misc/sys/cdefs.h: Add support for const attribute.
44188         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44189         to gnu_dev_{major,minor,makedev} functions.
44191 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
44193         * intl/dcigettext.c (get_output_charset): Add missing bracket.
44195 2011-07-20  Andreas Schwab  <schwab@redhat.com>
44197         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44198         strlen results.
44200 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44202         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44203         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44204         register in order to avoid conflicts with the soft frame pointer
44205         being held in r11 when necessary.
44206         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44207         (INTERNAL_VSYSCALL_NCS): Likewise.
44209 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
44211         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44212         * elf/dl-fini.c (_dl_fini): Adjust caller.
44213         * elf/dl-close.c (_dl_close_worker): Likewise.
44214         * sysdeps/generic/ldsodefs.h: Adjust declaration.
44216 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44218         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44219         "aux_cache->nlibs < 0".
44221         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44222         in the reload-count case.
44224 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44226         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44227         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44228         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44229         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44230         * sysdeps/x86_64/multiarch/strcat.S: New file.
44231         * sysdeps/x86_64/multiarch/strncat.S: New file.
44232         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44233         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44234         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44235         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44236         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44237         (USE_AS_STRCAT): Define.
44238         Add strcat and strncat support.
44239         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44240         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44241         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44242         * string/strncat.c: Update.
44243         (USE_AS_STRNCAT): Define.
44244         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44245         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44246         and i7.
44247         * sysdeps/x86_64/multiarch/init-arch.h
44248         (bit_Prefer_PMINUB_for_stringop): New.
44249         (index_Prefer_PMINUB_for_stringop): Likewise.
44250         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44251         bit_Prefer_PMINUB_for_stringop.
44253 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44255         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44256         buffer64.
44257         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44258         of casting of buffer.
44259         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44260         buffer32 and buffer64.
44261         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44262         writes instead of casting of buffer.
44263         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44264         buffer32.
44265         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44266         casting of buffer.
44268 2011-07-19  Andreas Schwab  <schwab@redhat.com>
44270         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44272 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44274         * nscd/nscd.c (termination_handler): Don't do anything for a database
44275         if it has not yet been initialized.
44277 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44279         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44281 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44283         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44285 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44287         * po/nl.po: Update from translation team.
44288         * po/sv.po: Likewise.
44290 2011-07-16  Roland McGrath  <roland@hack.frob.com>
44292         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44293         now disallowed by GCC.
44295         * configure.in (use-default-link): Default to yes if a test -shared
44296         link meets our qualifications.
44297         * configure: Regenerated.
44299         * config.make.in (output-format): New variable.
44300         * configure.in: Check for ld --print-output-format support.
44301         * configure: Regenerated.
44302         * Makerules ($(common-objpfx)format.lds)
44303         [$(output-format) != unknown]: Just use $(output-format),
44304         instead of the linker-script munging.
44306 2011-07-14  Roland McGrath  <roland@hack.frob.com>
44308         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44309         of $(common-objpfx)shlib.lds.
44310         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44312         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44313         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44315         * configure.in (-z relro check): Adjust test code to add a large
44316         writable data section after it.
44317         * configure: Regenerated.
44319 2011-07-11  Roland McGrath  <roland@hack.frob.com>
44321         * configure.in (-z relro check): Fix test code to make the variable
44322         truly const.
44323         * configure: Regenerated.
44325 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
44327         * nscd/nscd.h (struct traced_file): Define.
44328         (struct database_dyn): Remove inotify_descr, reset_res, and filename
44329         elements.  Add traced_files.
44330         (inotify_fd): Declare.
44331         (register_traced_file): Declare.
44332         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44333         (inotify_fd): Export.
44334         (resolv_conf_descr): Remove.
44335         (nscd_init): Move inotify descriptor creation to main.
44336         Don't register files for notification here.
44337         (register_traced_file): New function.
44338         (invalidate_cache): Don't use reset_res to determine whether to call
44339         res_init, go through the list of registered files.
44340         (main_loop_poll): The inotify descriptors are now stored in the
44341         structures for the traced files.
44342         (main_loop_epoll): Likewise
44343         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
44344         to __nss_disable_nscd.
44345         * nscd/cache.c (prune_cache): There is no single inotify descriptor
44346         for a database anymore.  Check the records for all the registered
44347         files instead.
44348         * nss/Makefile (libnss_files-routines): Add files-init.
44349         (libnss_db-routines): Add db-init.
44350         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44351         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44352         * nss/nss_db/db-init.c: New file.
44353         * nss/nss_files/files-init.c: New file.
44354         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
44355         __nss_lookup_function.
44356         (__nss_lookup_function): Call nss_load_library.
44357         (nss_load_all_libraries): New function.
44358         (__nss_disable_nscd): Take parameter with callback function for files
44359         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
44360         used for the cached services.
44361         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44362         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44363         options for features to all the files in nscd.
44365         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44367 2011-07-10  Roland McGrath  <roland@hack.frob.com>
44369         * csu/elf-init.c (__libc_csu_init): Comment typo.
44371 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
44373         * po/pl.po: Update from translation team.
44374         * po/ja.po: Likewise.
44375         * po/ru.po: Likewise.
44376         * po/ko.po: Likewise.
44377         * po/fr.po: Likewise.
44379 2011-07-09  Roland McGrath  <roland@hack.frob.com>
44381         * configure.in (.ctors/.dtors header and trailer check):
44382         Use an empirical test on a built program.
44383         * configure: Regenerated.
44385         * configure.in (-z relro check): Use an empirical test on a built DSO.
44386         Detect, but do not require, on ia64.
44387         * configure: Regenerated.
44389         * configure.in (READELF): Find it with AC_CHECK_TOOL.
44390         Update tests that use readelf to use $READELF instead.
44391         * configure: Regenerated.
44393 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
44395         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44396         if the result is not used.
44398 2011-07-05  Andreas Jaeger  <aj@suse.de>
44400         [BZ#9696]
44401         * stdlib/tst-strtod.c: Add testcase.
44403 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
44405         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44406         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44407         The latter has a higher limit.  Take additional parameter to pass to
44408         the new function.
44409         (__pathconf): Pass file to __statfs_link_max.
44410         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44411         __statfs_link_max.
44412         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44413         __statfs_link_max.
44415         [BZ #12868]
44416         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44417         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44418         Handle Lustre.
44419         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44420         (__statfs_filesize_max): Likewise.
44421         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44423 2011-07-05  Andreas Jaeger  <aj@suse.de>
44425         * resolv/res_comp.c (dn_skipname): Remove unused variable.
44427 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
44429         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44430         `status' variable.
44431         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44432         Likewise.
44434 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
44436         * Makefile (strop-tests): Add strncat.
44437         * string/test-strncat.c: New file.
44439 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
44441         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44443 2011-06-21  Andreas Jaeger  <aj@suse.de>
44445         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44446         Copy rule from iconvdata/Makefile.
44448 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44450         [BZ #12922]
44451         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44452         but no long options are defined, just return 'W'.
44454 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
44456         [BZ #9696]
44457         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44459 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44461         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44462         netgroups to read.
44463         (innetgr): Likewise.
44465 2011-07-05  Roland McGrath  <roland@hack.frob.com>
44467         * config.make.in (install_root): Default to $(DESTDIR).
44469 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
44471         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44473 2011-07-02  Roland McGrath  <roland@hack.frob.com>
44475         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44477         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44478         containing directory rather than embedding absolute directory names.
44480         * scripts/check-local-headers.sh: Rewritten using awk.
44481         Match by word, not by line.  Print error messages for matches.
44482         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44484         * Makerules [shlib-lds-flags empty]:
44485         ($(common-objpfx)libc_pic.opts): New target.
44486         ($(common-objpfx)libc_pic.os.clean): New target.
44487         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44489         * config.make.in (OBJCOPY): New variable.
44490         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44491         * configure: Regenerated.
44493         * config.make.in (use-default-link): New variable.
44494         * configure.in (use_default_link): Grok --with-default-link to set it.
44495         * configure: Regenerated.
44496         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44497         (shlib-lds, shlib-lds-flags): Define to empty.
44499         * Makerules (shlib-lds): New variable.
44500         (shlib-lds-flags): New variable.
44501         (build-shlib, build-moduile, build-module-asneeded): Use it.
44502         ($(common-objpfx)libc.so): Use $(shlib-lds).
44503         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44504         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44506         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44507         DT_FLAGS/DT_FLAGS_1 with zero flags.
44509         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44510         linker script munging.
44512 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
44514         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44515         as 128-bit value.
44516         * crypt/sha512.c (sha512_process_block): Perform total addition using
44517         128-bit if possible.
44518         (__sha512_finish_ctx): Likewise.
44519         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44520         as 64-bit value.
44521         * crypt/sha256.c (SWAP64): Define.
44522         (sha256_process_block): Perform total addition using 64-bit if
44523         possible.
44524         (__sha256_finish_ctx): Likewise.
44526 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
44528         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
44529         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44530         * nscd/hstcache.c (cache_addhst): Likewise.
44531         * nscd/grpcache.c (cache_addgr): Likewise.
44532         * nscd/aicache.c (addhstaiX): Likewise
44533         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44535 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
44537         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44538         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44539         * nscd/hstcache.c (cache_addhst): Likewise.
44540         * nscd/grpcache.c (cache_addgr): Likewise.
44541         * nscd/aicache.c (addhstaiX): Likewise
44543 2011-07-01  Andreas Schwab  <schwab@redhat.com>
44545         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44546         domain only when needed.
44548 2011-06-30  Andreas Schwab  <schwab@redhat.com>
44550         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44551         is always restored.
44553 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
44555         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44556         are re-adding the entry.
44557         * nscd/servicescache.c (cache_addserv): Likewise.
44559 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
44561         * sysdeps/generic/dl-irel.h: fix protection against multiple
44562         inclusions.
44563         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44565 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
44567         [BZ #12935]
44568         * malloc/memusage.sh: Fix quoting in message.
44569         * debug/xtrace.sh: Likewise.
44571         * configure.in: Remove support for --experimental-malloc option, make
44572         it the default.
44573         * config.make.in: Likewise.
44574         * malloc/Makefile: Likewise.
44576 2011-06-27  Andreas Schwab  <schwab@redhat.com>
44578         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44579         two-byte characters.
44581 2011-06-27  Roland McGrath  <roland@hack.frob.com>
44583         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44584         AC_CACHE_CHECK invocation.
44585         * configure: Regenerated.
44587         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44589 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
44591         [BZ #12350]
44592         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
44593         bit from old_res_options.
44595         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44597         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44598         value type for setfct.
44600 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
44602         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44603         __gettimeofday instead of gettimeofday.
44605 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
44607         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44609 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
44611         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44613         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44614         info.
44616 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44618         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44619         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44620         strcpy-sse2-unaligned strncpy-sse2-unaligned
44621         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44622         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44623         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44624         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44625         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44626         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44627         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44628         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44629         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44630         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44631         (STRCPY): Support SSE2 and SSSE3 versions.
44633 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
44635         [BZ #12874]
44636         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44637         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44638         kernels which artificially limit size of requests.
44640 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44642         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44643         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44644         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44645         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44646         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44647         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44648         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44649         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44650         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44651         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44652         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44653         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44654         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44655         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44656         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44657         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44658         Enable unaligned load optimization for Intel Core i3, i5 and i7
44659         processors.
44660         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44661         Define.
44662         (index_Fast_Unaligned_Load): Define.
44663         (HAS_FAST_UNALIGNED_LOAD): Define.
44665 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
44667         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44669 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44671         [BZ #12907]
44672         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44673         until it is clear that the information is realy needed.
44674         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44676 2011-06-22  Andreas Schwab  <schwab@redhat.com>
44678         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44680 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44682         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44683         /sys/devices/system/cpu/online if it is usable.
44685         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44686         reading the information from the /proc filesystem to once a second.
44688 2011-06-21  Andreas Jaeger  <aj@suse.de>
44690         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44691         NULL after inclusion of kernel headers.
44693 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
44695         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44696         calls to internal_setent.
44698         [BZ #12885]
44699         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44700         addresses using gethostbyname4_r ignore IPv4 addresses.
44702         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44703         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
44705         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44707 2011-06-20  David S. Miller  <davem@davemloft.net>
44709         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44710         inclusions.
44711         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44713         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44714         (elf_irel): Use it.
44715         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44716         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44717         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44718         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44719         * sysdeps/x86_64/dl-irel.h: Likewise.
44721         * elf/dl-runtime.c: Use elf_ifunc_invoke.
44722         * elf/dl-sym.c: Likewise.
44724 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44726         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
44727         need to dereference resplen2.
44729 2011-06-14  Andreas Schwab  <schwab@redhat.com>
44731         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44733 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44735         * Makeconfig: Define vardbdir and inst_vardbdir.
44736         * nss/Makefile: Add rules to install db-Makefile.
44738         * nss/nss_db/db-XXX.c: Cleanup.
44740         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44741         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44742         GLIBC_PRIVATE.
44743         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44744         * nss/makedb.c: Implement -g option to specify that value strings
44745         are generated and should not be added to table iterated over for
44746         get*ent calls.
44747         * nss/nss_db/db-initgroups.c: New file.
44749         * nss/getent.c: Add support for initgroups lookups through getgrouplist
44750         interface.
44752         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44753         (internal_getgrouplist): Adjust to name change.
44754         Update use_initgroups_entry if this is not the first call.
44755         * nss/databases.def: Add initgroups entry.
44757         * nss/makedb.c (compute_tables): Check result of multiple hash table
44758         sizes to minimize maximum chain length.
44760 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
44762         * Versions.def: Add entry for libnss_db.
44763         * shlib-versions: Likewise.
44764         * nss/Makefile: Add rules to build libnss_db.
44765         * nss/Versions: Add libnss_db information.  Organize libnss_files
44766         entries better.
44767         * nss/db-Makefile: Add gshadow support.  Change rules for the new
44768         makedb progra.  Some minor improvements to generate smaller files.
44769         * nss/nss_db/nss_db.h: Move NSS database header data structures to
44770         here from...
44771         * nss/makedb.c: ...here.
44772         Improve database format to be smaller and require less memory at
44773         runtime.
44774         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
44775         db anymore.
44776         * nss/nss_db/db-netgrp.c: Likewise.
44777         * nss/nss_db/db-open.c: Likewise.
44778         * nss/nss_files/flies-XXX.x: Adjust comments.
44779         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44780         * nss/nss_files/files-grp.c: Likewise.
44781         * nss/nss_files/files-hosts.c: Likewise.
44782         * nss/nss_files/files-network.c: Likewise.
44783         * nss/nss_files/files-proto.c: Likewise.
44784         * nss/nss_files/files-pwd.c: Likewise.
44785         * nss/nss_files/files-rpc.c: Likewise.
44786         * nss/nss_files/files-service.c: Likewise.
44787         * nss/nss_files/files-sgrp.c: Likewise.
44788         * nss/nss_files/files-spwd.c: Likewise.
44789         * nss/nss_db/db-alias.c: Removed.
44790         * nss/nss_db/dummy-db.h: Removed.
44792 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
44794         * nss/makedb.c: Rewritten to not use database library.
44795         * nss/Makefile: Update to build new makedb program.
44797 2011-06-14  Andreas Jaeger  <aj@suse.de>
44799         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44800         memset declaration.
44802 2011-06-10  Andreas Schwab  <schwab@redhat.com>
44804         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44805         tmpbuf.
44807 2011-06-10  Roland McGrath  <roland@hack.frob.com>
44809         * Makerules (shlib.lds): Fail if the linker script comes out empty.
44810         * elf/Makefile ($(objpfx)ld.so): Likewise.
44812         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44813         Don't list ld.so twice in dependencies.
44815         * posix/bug-regex31.c: Include <stdlib.h>.
44817         * nscd/hstcache.c (cache_addhst): Remove unused variable.
44819         * nis/nss_compat/compat-spwd.c
44820         (getspent_next_nss_netgr): Remove unused variable.
44821         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44823         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44824         nonmembers" output to use the right array.
44826         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44828         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44830         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44831         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44832         * catgets/gencat.c (read_input_file): Likewise.
44833         * locale/programs/locarchive.c (enlarge_archive): Likewise.
44835         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44836         variable definition inside #if's controlling its use.
44838         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44840         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44842         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44844         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44845         unreachable code.
44847         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44849         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44850         * configure: Regenerated.
44852         * Makerules: Revert last change.
44853         * elf/Makefile: Likewise.
44855 2011-06-09  Roland McGrath  <roland@hack.frob.com>
44857         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44858         * elf/Makefile ($(objpfx)librtld.os): Likewise.
44859         (reloc-link): Likewise.
44861 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
44863         * elf/Makefile: Add rules to build pldd.
44864         * elf/pldd.c: New file.
44865         * elf/pldd-xx.c: New file.
44867 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
44869         * version.h: Update for 2.15 development version.
44871 2011-06-07  David S. Miller  <davem@davemloft.net>
44873         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44874         ifuncs.
44875         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44876         elf_machine_lazy_rel): Likewise.
44877         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44878         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44879         elf_machine_lazy_rel): Likewise.
44880         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44881         dl_hwcap via passed in argument.
44882         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44883         Likewise.
44885 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44887         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
44889 2011-06-06  Roland McGrath  <roland@hack.frob.com>
44891         [BZ #12849]
44892         * manual/fdl-1.1.texi: New file, verbatim from:
44893         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44894         * manual/lgpl-2.1.texi: New file, verbatim from:
44895         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44896         * manual/Makefile (licenses): New variable, list those new file names.
44897         (texis): Use it.
44898         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44900         * manual/fdl.texi: File removed.
44901         * manual/lesser.texi: File removed.
44902         * manual/libc.texinfo (Copying, Documentation License):
44903         Use new @include file names, put @appendix directive before @include.
44905 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
44907         [BZ #12841]
44908         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44909         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44910         (mq_open): Add __NTH.
44912 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
44914         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44915         Assume Intel Core i3/i5/i7 processor if AVX is available.
44917 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
44919         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44920         typo.
44922 2011-05-31  Andreas Schwab  <schwab@redhat.com>
44924         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44925         memory.  Use alloca_account.  Fix memory leak when retrying.
44927 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
44929         * version.h (RELEASE): Bump for 2.14 release.
44930         * include/features.h (__GLIBC_MINOR__): Bump to 14.
44932         * config.make.in (RANLIB): Remove entry.
44934 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
44936         * po/Makefile (po-sed-cmd): Add ksh to extensions.
44937         (libc.pot): Work around missing support for .ksh extension in xgettext.
44939         [BZ #12684]
44940         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44941         if both request failed.
44942         (send_dg): In case of server errors clear resplen or *resplen2.
44944         [BZ #12454]
44945         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44946         when there are multiple maps.
44947         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44948         (_dl_fini): Remove test here.
44950         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44952 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
44954         [BZ #12350]
44955         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44956         bit from old_res_options.
44957         (gaih_inet): Likewise.
44959         [BZ #11099]
44960         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44961         as signed.
44963         * resolv/res_init.c (res_setoptions): Make the code more compact.
44965         [BZ #11558]
44966         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44967         set RES_USEVC.
44969         [BZ #11634]
44970         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44972         * malloc/malloc.h: Mark malloc hook variables as deprecated.
44974         [BZ #11781]
44975         * malloc/malloc.h: Declare malloc hook variables as volatile.
44977         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44978         in last patch.
44980         [BZ #11799]
44981         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44982         raise in the comment.
44983         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44984         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44985         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44987 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
44989         [BZ #12811]
44990         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44991         grow the buffers more if it already has to be sufficient.
44992         (build_wcs_upper_buffer): Likewise.
44993         * posix/regexec.c (check_matching): Likewise.
44994         (clean_state_log_if_needed): Likewise.
44995         (extend_buffers): Don't enlarge buffers beyond size of the input
44996         buffer.
44997         Patches mostly by Emil Wojak <emil@wojak.eu>.
44998         * posix/bug-regex32.c: New file.
44999         * posix/Makefile (tests): Add bug-regex32.
45001         * locale/findlocale.c (_nl_find_locale): Return right away if
45002         _nl_explode_name failed.
45003         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45005         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45007         * debug/xtrace.sh: Unify messages.
45008         * malloc/memusage.sh: Likewise.
45010         [BZ #12813]
45011         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45012         time symbol from vDSO.  Substitute with vsyscall if not available.
45013         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45014         __vdso_time.
45016         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45017         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45018         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45019         Add sendmmsg and internal_sendmmsg.
45020         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45021         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45022         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45024         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45025         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45026         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45028 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45030         [BZ #12813]
45031         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45032         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45033         available.
45034         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45035         __vdso_getcpu.
45037         [BZ #12814]
45038         * iconvdata/Makefile (tests): Add bug-iconv9.
45039         * iconvdata/bug-iconv9.c: New file.
45041 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45043         [BZ #12814]
45044         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45046 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45048         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45049         (struct user_regs_struct): Change intcs field back to cs.
45051 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45053         * po/ja.po: Update from translation team.
45055 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45057         [BZ #12795]
45058         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45059         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45061 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45063         * stdlib/longlong.h: Update from GCC.
45065 2011-05-23  Andreas Schwab  <schwab@redhat.com>
45067         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45068         parameter name.
45069         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45070         Add parameter name.
45071         (__sysconf): Pass it down.
45073 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
45075         [BZ #12671]
45076         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45077         some situations.
45078         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45079         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45080         add in in __libc_use_alloca calls.  Adjust callers.
45081         (glob): Use malloc in some situations.
45083         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45084         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45085         pltexit.
45087 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
45089         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45090         and CLOCK_BOOTTIME_ALARM.
45092         [BZ #12782]
45093         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45094         is returned.
45096         * string/_strerror.c (__strerror_r): Print negative errors as signed
45097         numbers.
45099         [BZ #12777]
45100         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45101         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45102         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45104         * configure.in: Fix typo in redirection and correct removal of test
45105         files in two cases.
45107         [BZ #12788]
45108         * locale/setlocale.c (new_composite_name): Fix test to check for
45109         identical name of all categories.
45111         [BZ #12792]
45112         * libio/filedoalloc.c (local_isatty): New function.
45113         (_IO_file_doallocate): Use local_isatty.
45114         * stdio-common/perror.c (perror): In case a new stream is used
45115         forward the stream error.
45116         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45117         error flag.
45119 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
45121         [BZ #11869]
45122         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45123         alloca.
45124         * include/alloca.h (extend_alloca_account): Define.
45126         [BZ #11857]
45127         * posix/regex.h: Fix comments with documentation of user-accessible
45128         fields after compilation and describe correct free'ing of pattern
45129         after re_compile_pattern.
45130         Patch by Reuben Thomas <rrt@sc3d.org>.
45132 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
45134         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45135         and -mno-altivec to prevent the compiler from using Altivec and/or
45136         VSX instructions when the corresponding registers are not available.
45138 2011-05-19  Andreas Schwab  <schwab@redhat.com>
45140         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45142 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
45144         * libio/freopen.c (freopen): Use __dup2, not dup2.
45145         * libio/freopen64.c (freopen64): Likewise.
45147 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45149         [BZ #12775]
45150         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45151         * math/Makefile (tests): Add test-powl.
45152         (CFLAGS-test-powl.c): Define.
45153         * math/test-powl.c: New file.
45155 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45157         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45159 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
45161         [BZ #11837]
45162         * iconvdata/gb18030.c: Update to GB18020-2005.
45164 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
45166         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45167         RE_SYNTAX_POSIX_AWK): Update to match recent development.
45168         Patch by Aharon Robbins <arnold@skeeve.com>.
45170         [BZ #11892]
45171         * stdlib/putenv.c (putenv): Don't always create copy of the variable
45172         on the stack.
45174         [BZ #11895]
45175         * misc/pselect.c (__pselect): Handle timeout value errors hidden
45176         through underflows.
45178         [BZ #12766]
45179         * misc/error.c (error_at_line): Ensure file_name and old_file_name
45180         point to strings before performing equality test for error_one_per_line
45181         mode.
45183         [BZ #11697]
45184         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45186         [BZ #11820]
45187         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45188         (struct user_fpregs_struct): Avoid __uint*_t types.
45190         [BZ #6420]
45191         * malloc/mtrace.c (tr_where): Add additional parameter to point to
45192         symbol info.  Use it instead of calling _dl_addr locally.
45193         (lock_and_info): New function.
45194         (tr_freehook): Call lock_and_info and pass symbol info as additional
45195         parameter to tr_where.
45196         (tr_mallochook): Likewise.
45197         (tr_reallochook): Likewise.
45198         (tr_memalignhook): Likewise.
45200         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
45201         used and couldn't be at all thread-safe.
45203 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
45205         * libio/freopen.c (freopen): Don't close old file descriptor
45206         before the new one is opened.  Instead dup the new file descriptor
45207         to the old one after the new stream is created.
45208         * libio/freopen64.c (freopen64): Likewise.
45209         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45210         * libio/fileops.c (_IO_new_file_close_it): Handle new
45211         _IO_FLAGS2_NOCLOSE flag.
45212         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45213         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45214         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45215         _IO_FLAGS2_NOCLOSE flag.
45216         * include/unistd.h: Add hidden_proto for dup3.
45217         Define __have_dup3.
45218         * io/dup3.c: Define hidden symbol.
45219         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45221         [BZ #7101]
45222         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45223         when an incomplete long option is used.
45224         * posix/tst-getopt_long1.c: New file.
45225         * posix/Makefile (tests): Add tst-getopt_long1.
45227         [BZ #10138]
45228         * scripts/config.guess: Update from autoconf-2.68.
45229         * scripts/config.sub: Likewise.
45231         [BZ #10157]
45232         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45233         tests into ...
45234         (has_cpuclock): ...this.  New function.
45235         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45236         macro here based on has_cpuclock code.
45238         [BZ #10149]
45239         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45240         First byte (not low byte) is now always NUL.
45241         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45243         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45244         Use non-cancelable interfaces.
45246         [BZ #9809]
45247         * locale/iso-639.def: Add entry for Sorani.
45249         [BZ #11901]
45250         * include/stdlib.h: Move include protection to the right place.
45251         Define abort_msg_s.  Declare __abort_msg with it.
45252         * stdlib/abort.c (__abort_msg): Adjust type.
45253         * assert/assert.c (__assert_fail_base): New function.  Majority
45254         of code from __assert_fail.  Allocate memory for __abort_msg with
45255         mmap.
45256         (__assert_fail): Now call __assert_fail_base.
45257         * assert/assert-perr.c: Remove bulk of implementation.  Use
45258         __assert_fail_base.
45259         * include/assert.hL Declare __assert_fail_base.
45260         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45261         mmap.
45262         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45264 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
45266         [BZ #11952]
45267         [BZ #12453]
45268         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45269         until all modules are registered in the DTV.
45270         * elf/Makefile: Add rules to build and run tst-tls19.
45271         * elf/tst-tls19.c: New file.
45272         * elf/tst-tls19mod1.c: New file.
45273         * elf/tst-tls19mod2.c: New file.
45274         * elf/tst-tls19mod3.c: New file.
45275         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45277         [BZ #12083]
45278         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45279         correctly.
45281         [BZ #12601]
45282         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45283         two-byte sequence errors.
45284         * iconvdata/Makefile (tests): Add bug-iconv8.
45285         * iconvdata/bug-iconv8.c: New file.
45287         [BZ #12626]
45288         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45289         buf2 definition.
45291         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45293         [BZ #12432]
45294         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45295         (dummy_getcfa): New function.
45296         (init): Get _Unwind_GetCFA address, use dummy if not found.
45297         (backtrace_helper): In recursion check, also check whether CFA changes.
45298         (__backtrace): Completely initialize arg.
45300         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45301         storing incomplete byte sequence in state object.  Avoid testing for
45302         guaranteed too small input if we know there is enough data available.
45304 2011-05-11  Andreas Schwab  <schwab@redhat.com>
45306         * Makeconfig (+link-pie): Indent.
45307         * Rules (binaries-pie): Define if $(have-fpie) and
45308         $(build-shared).
45309         (binaries-shared): Also filter out $(binaries-pie).
45310         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45311         * nscd/Makefile (others-pie): Add nscd.
45312         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45313         ($(objpfx)nscd): Remove command override.
45314         * login/Makefile (others-pie): Add pt_chown.
45315         ($(objpfx)pt_chown): Remove command override.
45316         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45317         remove command overrides.
45319 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
45321         * libio/tst_putwc.c: Fix error messages.
45323         [BZ #12724]
45324         * libio/fileops.c (_IO_new_file_close_it): Always flush when
45325         currently writing and seek to current position when not.
45326         * libio/Makefile (tests): Add bug-fclose1.
45327         * libio/bug-fclose1.c: New file.
45329 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
45331         [BZ #12511]
45332         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45333         don't set DF_1_NODELETE here.
45334         (do_lookup_x): When entering new entry test for copy relocation
45335         and if necessary set DF_1_NODELETE flag.
45336         * elf/tst-unique4.cc: New file.
45337         * elf/tst-unique4.h: New file.
45338         * elf/tst-unique4lib.cc: New file.
45339         * elf/Makefile: Add rules to build and run tst-unique4.
45340         Patch by Piotr Bury <pbury@goahead.com>.
45342 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
45344         [BZ #12052]
45345         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45347         [BZ #12625]
45348         * misc/mntent_r.c (addmntent): Flush the stream after the output
45350         [BZ #12393]
45351         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45352         (is_trusted_path_normalize): Skip initial colon.  Append slash
45353         to empty buffer.  Duplicate is_trusted_path code but allow
45354         constructed patch to be prefix.
45355         (is_dst): Allow $ORIGIN followed by /.
45356         (_dl_dst_substitute): Correct clearing of check_for_trusted.
45357         Correct testing of result of is_trusted_path_normalize
45358         (decompose_rpath): Fix warning.
45360 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
45362         [BZ #11257]
45363         * grp/initgroups.c (internal_getgrouplist): When we found the service
45364         list through the initgroups entry in nsswitch.conf do not always
45365         continue on a successful lookup.  Don't always use the
45366         __nss_group_database value if it is set.
45367         * nss/nsswitch.conf (initgroups): Change action for successful db
45368         lookup to continue for compatibility.
45370 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
45372         [BZ #11532]
45373         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45374         and CP774 modules.
45375         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45376         and CP774 modules.
45377         * iconvdata/tst-tables.sh: Likewise.
45378         * iconvdata/cp770.c: New file.
45379         * iconvdata/cp771.c: New file.
45380         * iconvdata/cp772.c: New file.
45381         * iconvdata/cp773.c: New file.
45382         * iconvdata/cp774.c: New file.
45383         * iconvdata/testdata/CP770: New file.
45384         * iconvdata/testdata/CP770..UTF8: New file.
45385         * iconvdata/testdata/CP771: New file.
45386         * iconvdata/testdata/CP771..UTF8: New file.
45387         * iconvdata/testdata/CP772: New file.
45388         * iconvdata/testdata/CP772..UTF8: New file.
45389         * iconvdata/testdata/CP773: New file.
45390         * iconvdata/testdata/CP773..UTF8: New file.
45391         * iconvdata/testdata/CP774: New file.
45392         * iconvdata/testdata/CP774..UTF8: New file.
45394         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45395         END CHARMAP line.
45396         * iconvdata/gen-8bit-gap.sh: Likewise.
45397         * iconvdata/gen-8bit.sh: Likewise.
45399         * locale/iso-639.def: Add ary entry.
45401         [BZ #11258]
45402         * locale/C-translit.h.in: Add U20A1 transliteration.
45404         [BZ #12178]
45405         * locale/iso-639.def: Add wae entry.
45406         Patch by Kevin Bortis <bortis@translate-wae.ch>.
45408         [BZ #12545]
45409         * locale/programs/localedef.c (construct_output_path): Use ssize_t
45410         for n.
45412         [BZ #12711]
45413         * locale/C-translit.h.in: Add entry for U20B9.
45414         Patch by pravin.d.s@gmail.com.
45416 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
45418         [BZ #12713]
45419         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45420         ENAMETOOLONG use generic getcwd.
45421         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
45422         in rtld.  Use *stat64.
45423         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45424         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45425         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45426         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45427         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45428         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45429         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45430         __fstatat64 macros.
45431         * include/dirent.h: Add libc_hidden_proto for rewinddir.
45432         * dirent/rewinddir.c: Add libc_hidden_def.
45433         * sysdeps/mach/hurd/rewinddir.c: Likewise.
45434         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
45436         * include/dirent.h (__alloc_dir): Add flags parameter.
45437         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45438         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45439         __alloc_dir.
45440         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
45441         from fdopendir if O_CLOEXEC is already set.
45443 2011-03-15  Alan Modra  <amodra@gmail.com>
45445         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45446         l_tls_firstbyte_offset non-zero.  Save padding offset in
45447         l_tls_firstbyte_offset for later use.
45448         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45449         freeing static tls block.
45451 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
45453         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45454         where #ifdef was intended.  The intent is to prevent ARG_MAX from
45455         being defined by the kernel headers.
45457 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
45459         [BZ #12734]
45460         * resolv/resolv.h: Define RES_NOTLDQUERY.
45461         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45462         no-tld-query and set RES_NOTLDQUERY.
45463         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45464         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45465         modern BIND to search name as TLD unless forbidden.
45467 2011-05-07  Petr Baudis  <pasky@suse.cz>
45468             Ulrich Drepper  <drepper@gmail.com>
45470         [BZ #12393]
45471         * elf/dl-load.c (fillin_rpath): Move trusted path check...
45472         (is_trusted_path): ...to here.
45473         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45474         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45475         using is_trusted_path_normalize() in setuid scripts.
45477 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45479         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45480         __BEGIN/__END_DECLS.
45482 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
45484         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45485         NSS_STATUS_NOTFOUND if no record was found.
45487 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45489         * sunrpc/Makefile (headers): Add rpc/netdb.h.
45490         (headers-not-in-tirpc): Remove rpc/netdb.h
45491         * resolv/netdb.h: Revert last change.
45493 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45495         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45496         circular dependency between libgcc.a and libc.a.
45498 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45500         * resolv/netdb.h: Don't include <rpc/netdb.h>.
45501         * nis/Makefile: Don't install rpcsvc/*.
45502         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45503         instead of <rpc/types.h>.
45504         (MAXHOSTNAMELEN): Define.
45506 2011-05-03  Andreas Schwab  <schwab@redhat.com>
45508         * elf/ldconfig.c (add_dir): Don't crash on empty path.
45510 2011-04-28  Maciej Babinski  <mbabinski@google.com>
45512         [BZ #12714]
45513         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45514         gethostbyname4_r when IPv6 results are possible.
45516 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
45518         [BZ #12723]
45519         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45520         _PC_PIPE_BUF handling.
45522 2011-04-30  Bruno Haible  <bruno@clisp.org>
45524         [BZ #12717]
45525         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45526         * resolv/netdb.h (getnameinfo): Change type of flags parameter
45527         to 'int'.
45528         * inet/getnameinfo.c (getnameinfo): Likewise.
45530 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
45532         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45533         to groups setting in database lookup.
45534         * nss/nsswitch.conf: Add initgroups entry.
45536 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
45538         [BZ #12685]
45539         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45540         mode string.
45541         Patch by Eric Blake <eblake@redhat.com>.
45543 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
45545         * sunrpc/Makefile (need-export-routines): Add svc_run.
45546         (routines): Remove svc_run.
45547         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45548         * sunrpc/clnt_perr.c (clnt_perrno): Export.
45549         * sunrpc/svc_run.c (svc_run): Likewise.
45550         * sunrpc/svc_udp.c (svcudp_create): Likewise.
45552 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
45554         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45555         problem in reallocation in last patch.
45557 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
45559         * sunrpc/Makefile: Move inclusion of Rules.
45561 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45563         * nss/nss_files/files-initgroups.c: New file.
45564         * nss/Makefile (libnss_files-routines): Add files-initgroups.
45565         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45566         _nss_files_initgroups_dyn.
45568 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
45570         * elf/elf.h (R_ARM_IRELATIVE): Define.
45572 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45574         * po/ru.po: Update from translation team.
45576 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45578         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45579         dependencies.
45581 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
45583         [BZ #12653]
45584         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45585         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45586         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45587         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45588         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45590 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
45592         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45593         differing bytes.
45594         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45595         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45596         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45598 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45600         [BZ #12420]
45601         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45602         storing it.
45603         * stdlib/bug-getcontext.c: New file.
45604         * stdlib/Makefile: Add rules to build and run bug-getcontext.
45606 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45608         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45609         instructions into .machine "z9-109".
45610         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45611         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45613 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45615         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45616         between environment variables and auxiliary vector.
45618 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
45620         * Makefile: Add rules to build linkobj/libc.so.
45621         * include/libc-symbols.h: Define libc_hidden_nolink.
45622         * include/rpc/auth.h: Mark functions which are to be hidden.
45623         * include/rpc/auth_des.h: Likewise.
45624         * include/rpc/auth_unix.h: Likewise.
45625         * include/rpc/clnt.h: Likewise.
45626         * include/rpc/des_crypt.h: Likewise.
45627         * include/rpc/key_prot.h: Likewise.
45628         * include/rpc/pmap_clnt.h: Likewise.
45629         * include/rpc/pmap_prot.h: Likewise.
45630         * include/rpc/pmap_rmt.h: Likewise.
45631         * include/rpc/rpc_msg.h: Likewise.
45632         * include/rpc/svc.h: Likewise.
45633         * include/rpc/svc_auth.h: Likewise.
45634         * include/rpc/xdr.h: Likewise.
45635         * nis/Makefile: Link all DSOs against linkobj/libc.so.
45636         * nss/Makefile: Likewise.
45637         * sunrpc/Makefile: Don't install headers.  Build library with normal
45638         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
45639         * sunrpc/auth_des.c: Hide exported symbols by default, export some
45640         for the compat linking library.  Remove use of INTDEF/INTUSE.
45641         * sunrpc/auth_none.c: Likewise.
45642         * sunrpc/auth_unix.c: Likewise.
45643         * sunrpc/authdes_prot.c: Likewise.
45644         * sunrpc/authuxprot.c: Likewise.
45645         * sunrpc/clnt_gen.c: Likewise.
45646         * sunrpc/clnt_perr.c: Likewise.
45647         * sunrpc/clnt_raw.c: Likewise.
45648         * sunrpc/clnt_simp.c: Likewise.
45649         * sunrpc/clnt_tcp.c: Likewise.
45650         * sunrpc/clnt_udp.c: Likewise.
45651         * sunrpc/clnt_unix.c: Likewise.
45652         * sunrpc/des_crypt.c: Likewise.
45653         * sunrpc/des_soft.c: Likewise.
45654         * sunrpc/get_myaddr.c: Likewise.
45655         * sunrpc/key_call.c: Likewise.
45656         * sunrpc/key_prot.c: Likewise.
45657         * sunrpc/netname.c: Likewise.
45658         * sunrpc/pm_getmaps.c: Likewise.
45659         * sunrpc/pm_getport.c: Likewise.
45660         * sunrpc/pmap_clnt.c: Likewise.
45661         * sunrpc/pmap_prot.c: Likewise.
45662         * sunrpc/pmap_prot2.c: Likewise.
45663         * sunrpc/pmap_rmt.c: Likewise.
45664         * sunrpc/publickey.c: Likewise.
45665         * sunrpc/rpc_cmsg.c: Likewise.
45666         * sunrpc/rpc_common.c: Likewise.
45667         * sunrpc/rpc_dtable.c: Likewise.
45668         * sunrpc/rpc_prot.c: Likewise.
45669         * sunrpc/rpc_thread.c: Likewise.
45670         * sunrpc/rtime.c: Likewise.
45671         * sunrpc/svc.c: Likewise.
45672         * sunrpc/svc_auth.c: Likewise.
45673         * sunrpc/svc_authux.c: Likewise.
45674         * sunrpc/svc_raw.c: Likewise.
45675         * sunrpc/svc_run.c: Likewise.
45676         * sunrpc/svc_simple.c: Likewise.
45677         * sunrpc/svc_tcp.c: Likewise.
45678         * sunrpc/svc_udp.c: Likewise.
45679         * sunrpc/svc_unix.c: Likewise.
45680         * sunrpc/svcauth_des.c: Likewise.
45681         * sunrpc/xcrypt.c: Likewise.
45682         * sunrpc/xdr.c: Likewise.
45683         * sunrpc/xdr_array.c: Likewise.
45684         * sunrpc/xdr_float.c: Likewise.
45685         * sunrpc/xdr_intXX_t.c: Likewise.
45686         * sunrpc/xdr_mem.c: Likewise.
45687         * sunrpc/xdr_rec.c: Likewise.
45688         * sunrpc/xdr_ref.c: Likewise.
45689         * sunrpc/xdr_sizeof.c: Likewise.
45690         * sunrpc/xdr_stdio.c: Likewise.
45692 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
45694         [BZ #12650]
45695         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45696         * sysdeps/ia64/dl-tls.h: Likewise.
45697         * sysdeps/powerpc/dl-tls.h: Likewise.
45698         * sysdeps/s390/dl-tls.h: Likewise.
45699         * sysdeps/sh/dl-tls.h: Likewise.
45700         * sysdeps/sparc/dl-tls.h: Likewise.
45701         * sysdeps/x86_64/dl-tls.h: Likewise.
45702         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45704 2011-03-14  Andreas Schwab  <schwab@redhat.com>
45706         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45707         rpath element also skip the following colon.
45708         (expand_dynamic_string_token): Add is_path parameter and pass
45709         down to DL_DST_REQUIRED and _dl_dst_substitute.
45710         (decompose_rpath): Call expand_dynamic_string_token with
45711         non-zero is_path.  Ignore empty rpaths.
45712         (_dl_map_object_from_fd): Call expand_dynamic_string_token
45713         with zero is_path.
45715 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
45717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45718         Make cancelable.
45720 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
45722         [BZ #12655]
45723         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45724         Patch by Filipe David Manana <fdmanana@apache.org>.
45726 2011-04-07  Andreas Schwab  <schwab@redhat.com>
45728         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45729         Maintain aligned stack.
45730         (CHECK_RSP): Remove unused macro.
45732 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
45734         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45735         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45737 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
45739         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45741         * include/features.h: Mention __USE_XOPEN2K8 in comment.
45743 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
45745         [BZ #12518]
45746         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45747         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45748         * sysdeps/x86_64/memmove.c: New file.
45749         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45750         (memcpy): Renamed to ...
45751         (__new_memcpy): This.
45752         (memcpy): Provide GLIBC_2_14 memcpy.
45753         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45754         (memcpy): Provide GLIBC_2_2_5 memcpy.
45756 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45758         [BZ #12631]
45759         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45761 2011-03-30  Andreas Schwab  <schwab@redhat.com>
45763         * misc/syncfs.c: New file.
45764         * misc/Makefile (routines): Add syncfs.
45765         * posix/unistd.h: Declare syncfs.
45766         * sysdeps/unix/syscalls.list: Add syncfs.
45768 2011-04-01  Andreas Schwab  <schwab@redhat.com>
45770         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45771         open_by_handle_at.
45772         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45773         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45774         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45775         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45776         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45777         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45778         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45780 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45782         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45783         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45784         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45785         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45786         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45787         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45788         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45790         * io/Makefile: Compile fallocate.c, fallocate64.c, and
45791         sync_file_range.c with -fexceptions.
45792         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45793         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45794         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45795         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45796         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45797         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45798         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
45799         sync_file_range as cancellation point
45800         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
45801         now a wrapper around __call_sync_file_range with cancellation handling.
45802         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45803         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
45804         function name to __call_sync_file_range.
45805         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45806         Add call_sync_file_range.
45808 2011-04-01  Andreas Schwab  <schwab@redhat.com>
45810         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45811         bits/timex.h.
45813 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45815         * iconv/iconv.h: Fix typo in comment.
45816         * io/fcntl.h: Likewise.
45817         * libio/stdio.h: Likewise.
45818         * posix/spawn.h: Likewise.
45819         * posix/unistd.h: Likewise.
45820         * stdlib/stdlib.h: Likewise.
45821         * time/time.h: Likewise.
45822         * wcsmbs/wchar.h: Likewise.
45824         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45825         open_by_handle): Add.
45826         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45827         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
45828         Augment a few comments.
45829         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45830         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45831         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45832         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45833         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45834         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45835         open_by_handle.
45837         * io/fcntl.h (AT_EMPTY_PATH): Define.
45839 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
45841         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45842         * sysdeps/unix/sysv/linux/bits/time.h: New file.
45843         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45844         to...
45845         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
45846         * Versions.def: Add GLIBC_2.14.
45847         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45848         Export.
45850 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
45852         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45853         round counter.
45854         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45856 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45858         [BZ #12597]
45859         * string/test-strncmp.c (do_page_test): New function.
45860         (check2): Likewise.
45861         (test_main): Call check2.
45862         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45864 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
45866         [BZ #12587]
45867         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45868         Handle cache information in CPU leaf 4.
45869         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45871 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
45873         [BZ #12583]
45874         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45875         character representation.
45876         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45878 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
45880         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45881         END(__isnan) to END(__isnanf) to match function entry point/label
45882         EALIGN(__isnanf,...).
45884 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
45886         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45888 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
45890         [BZ #12510]
45891         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45892         copy from the symbol referenced in the relocation to initialize the
45893         used variable.
45894         Patch by Piotr Bury <pbury@goahead.com>.
45895         * elf/Makefile: Add rules to build and tst-unique3.
45896         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45897         * elf/tst-unique3.cc: New file.
45898         * elf/tst-unique3.h: New file.
45899         * elf/tst-unique3lib.cc: New file.
45900         * elf/tst-unique3lib2.cc: New file.
45902         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45904 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
45906         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45907         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
45908         to _start.
45910 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
45912         * elf/dl-load.c (_dl_map_object): If we are looking for the first
45913         to-be-loaded object along a path to loader is ld.so.
45915 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
45916             Ulrich Drepper  <drepper@gmail.com>
45918         * sysdeps/x86_64/memset.S: After aligning destination, code
45919         branches to different locations depending on the value of
45920         misalignment, when multiarch is enabled. Fix this.
45922 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
45924         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45925         Set _x86_64_preferred_memory_instruction for AMD processsors.
45926         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45927         Set bit_Prefer_SSE_for_memop for AMD processors.
45929 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
45931         * libio/fmemopen.c (fmemopen): Optimize a bit.
45933 2011-03-03  Andreas Schwab  <schwab@redhat.com>
45935         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45937 2011-03-03  Roland McGrath  <roland@redhat.com>
45939         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45941 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
45943         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45944         __bzero_ultra1 instead of __memset_ultra1.
45946 2011-02-23  Andreas Schwab  <schwab@redhat.com>
45947             Ulrich Drepper  <drepper@gmail.com>
45949         [BZ #12509]
45950         * include/link.h (struct link_map): Add l_orig_initfini.
45951         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45952         returning unsuccessfully.
45953         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45954         close of a file loaded at startup, restore the original l_initfini
45955         list.
45956         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45957         list, store the pointer.
45958         * elf/Makefile ($(objpfx)noload-mem): New rule.
45959         (noload-ENV): Define.
45960         (tests): Add $(objpfx)noload-mem.
45961         * elf/noload.c: Include <memcheck.h>.
45962         (main): Call mtrace.  Close all opened handles.
45964 2011-02-17  Andreas Schwab  <schwab@redhat.com>
45966         [BZ #12454]
45967         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45968         dependencies are missing.
45970 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45972         Fix __if_freereq crash: Unlike the generic version which uses free,
45973         Hurd needs munmap.
45974         * sysdeps/mach/hurd/ifreq.h: New file.
45976 2011-01-27  Petr Baudis  <pasky@suse.cz>
45977             Ulrich Drepper  <drepper@gmail.com>
45979         [BZ 12445]#
45980         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45981         to extend_alloca().
45982         * stdio-common/bug23.c: New file.
45983         * stdio-common/Makefile (tests): Add bug23.
45985 2010-09-28  Andreas Schwab  <schwab@redhat.com>
45986             Ulrich Drepper  <drepper@gmail.com>
45988         [BZ #12489]
45989         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45990         before performing relro protection.  At old place add assertion
45991         to make sure nothing changed.
45993 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
45994             Glauber de Oliveira Costa  <glommer@gmail.com>
45996         * elf/elf.h: Add new ARM TLS relocs.
45998 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46001         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46002         cast from r3.
46003         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46004         'tests' variable.
46005         * sysdeps/wordsize-64/tst-writev.c: New file.
46007 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46009         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46010         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46011         insns in _dl_start to prevent a TOC reference before relocs are
46012         resolved.
46014 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46016         [BZ #12469]
46017         * Makeconfig: Remove RANLIB definition.
46018         * Makerules: Don't use RANLIB.
46019         * aclocal.m4: Remove ranlib test.
46020         * configure.in: No need to check for ranlib.
46021         * elf/rtld-Rules: Don't use RANLIB.
46023 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46025         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46026         protection macro.
46027         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46028         inclusion protection macro.
46030         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46031         SIGRTMIN and SIGRTMAX and print information in that case only when
46032         SIGRTMIN is defined.
46034 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46036         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46037         arginfo fn returning -1.
46039         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46040         and thousands string is zero terminated.
46042 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46044         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46045         sysdeps/unix/sysv/linux/bits/socket.h.
46047 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46049         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46050         (__CPU_COUNT): Remove old macros.
46051         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46052         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46053         (__CPU_ALLOC, __CPU_FREE): Add macros.
46054         (__sched_cpualloc, __sched_cpufree): Add declarations.
46056 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46058         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46059         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46060         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46061         (readdhstai): Return value of addhstaiX call.
46062         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46063         (addgrbyX): Return value returned by cache_addgr.
46064         (readdgrbyname): Return value returned by addgrbyX.
46065         (readdgrbygid): Likewise.
46066         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46067         (addpwbyX): Return value returned by cache_addpw.
46068         (readdpwbyname): Return value returned by addhstbyX.
46069         (readdpwbyuid): Likewise.
46070         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46071         (addservbyX): Return value returned by cache_addserv.
46072         (readdservbyname): Return value returned by addservbyX:
46073         (readdservbyport): Likewise.
46074         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46075         (addhstbyX): Return value returned by cache_addhst.
46076         (readdhstbyname): Return value returned by addhstbyX.
46077         (readdhstbyaddr): Likewise.
46078         (readdhstbynamev6): Likewise.
46079         (readdhstbyaddrv6): Likewise.
46080         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46081         (readdinitgroups): Return value returned by addinitgroupsX.
46082         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46083         (prune_cache): Keep track of timeout value of re-added entries.
46084         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46085         * nscd/nscd.h: Adjust prototypes of readd* functions.
46087 2011-02-04  Roland McGrath  <roland@redhat.com>
46089         * nis/nis_server.c (nis_servstate): Use the right name for 0.
46090         (nis_stats): Likewise.
46091         * nis/nis_modify.c (nis_modify): Likewise.
46092         * nis/nis_remove.c (nis_remove): Likewise.
46093         * nis/nis_add.c (nis_add): Likewise.
46095         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46097         * posix/fnmatch_loop.c: Add some consts.
46099         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46101 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
46103         [BZ #12460]
46104         * config.make.in (config-cflags-novzeroupper): Define.
46105         * configure.in: Substitute libc_cv_cc_novzeroupper.
46106         * elf/Makefile (AVX-CFLAGS): Define.
46107         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46108         (CFLAGS-tst-auditmod4a.c): Likewise.
46109         (CFLAGS-tst-auditmod4b.c): Likewise.
46110         (CFLAGS-tst-auditmod6b.c): Likewise.
46111         (CFLAGS-tst-auditmod6c.c): Likewise.
46112         (CFLAGS-tst-auditmod7b.c): Likewise.
46113         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46115 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
46117         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46118         function to the callback.
46119         Patch partly by Jiri Olsa <jolsa@redhat.com>.
46121 2011-02-02  Andreas Schwab  <schwab@redhat.com>
46123         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46124         of errno.
46126 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
46128         [BZ #11724]
46129         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46130         of constructors.
46131         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46132         of destructors.
46133         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46135         [BZ #11724]
46136         * elf/Makefile: Add rules to build and run new test.
46137         * elf/tst-initorder.c: New file.
46138         * elf/tst-initorder.exp: New file.
46139         * elf/tst-initordera1.c: New file.
46140         * elf/tst-initordera2.c: New file.
46141         * elf/tst-initordera3.c: New file.
46142         * elf/tst-initordera4.c: New file.
46143         * elf/tst-initorderb1.c: New file.
46144         * elf/tst-initorderb2.c: New file.
46145         * elf/tst-order-a1.c: New file.
46146         * elf/tst-order-a2.c: New file.
46147         * elf/tst-order-a3.c: New file.
46148         * elf/tst-order-a4.c: New file.
46149         * elf/tst-order-b1.c: New file.
46150         * elf/tst-order-b2.c: New file.
46151         * elf/tst-order-main.c: New file.
46152         New test case by George Gensure <werkt0@gmail.com>.
46154 2010-10-01  Andreas Schwab  <schwab@redhat.com>
46156         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46157         decoding ACE if AI_CANONIDN.
46159 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
46161         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46163 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
46165         * version.h (RELEASE): Bump for 2.13 release.
46166         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46168         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46170         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46171         MADV_NOHUGEPAGE.
46172         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46173         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46174         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46175         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46176         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46177         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46179         * posix/getconf.c: Update copyright year.
46180         * catgets/gencat.c: Likewise.
46181         * csu/version.c: Likewise.
46182         * debug/catchsegv.sh: Likewise.
46183         * debug/xtrace.sh: Likewise.
46184         * elf/ldconfig.c: Likewise.
46185         * elf/ldd.bash.in: Likewise.
46186         * elf/sprof.c (print_version): Likewise.
46187         * iconv/iconv_prog.c: Likewise.
46188         * iconv/iconvconfig.c: Likewise.
46189         * locale/programs/locale.c: Likewise.
46190         * locale/programs/localedef.c: Likewise.
46191         * malloc/memusage.sh: Likewise.
46192         * malloc/mtrace.pl: Likewise.
46193         * nscd/nscd.c (print_version): Likewise.
46194         * nss/getent.c: Likewise.
46196         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46197         PF_CAIF, and PF_ALG.
46198         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46200 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
46202         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46203         (modules-names): Use them.
46204         (ifunc-test-modules, ifunc-pie-tests): Define.
46205         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46206         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46207         (test-extras): Likewise.
46208         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46209         $(compile-command.c).
46210         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46211         (all-built-dso): Define.
46212         (check-textrel.out, check-execstack.out): Depend on it.
46214         * configure.in: Don't override --enable-multi-arch.
46216 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
46218         [BZ #6812]
46219         * nscd/hstcache.c (tryagain): Define.
46220         (cache_addhst): Return tryagain not notfound for temporary errors.
46221         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46222         failed.
46224 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
46226         [BZ #10563]
46227         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46228         to make the syscall.
46229         * sysdeps/unix/sysv/linux/setgroups.c: New file.
46231         [BZ #12378]
46232         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46233         and fall back to matching as normal character if the string ends before
46234         the matching ']' is found.  This is what POSIX requires.
46235         * posix/testfnm.c: Adjust test result.
46236         * posix/globtest.sh: Adjust test result.  Add new test.
46237         * posix/tst-fnmatch.input: Likewise.
46238         * posix/tst-fnmatch2.c: Add new test.
46240 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
46242         * elf/Makefile (check-execstack): Revert last change.  Depend on
46243         check-execstack.h.
46244         (check-execstack.h): New target.
46245         (generated): Add check-execstack.h.
46246         * elf/check-execstack.c: Include "check-execstack.h".
46247         (main): Revert last change.
46248         (handle_file): Return zero if GNU_STACK is absent and
46249         DEFAULT_STACK_PERMS doesn't include PF_X.
46251 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
46253         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46254         in child fails because the descriptor is already closed.
46255         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46256         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46257         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46259         [BZ #12397]
46260         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46261         syscall.
46263         [BZ #10484]
46264         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46265         temporary buffer used to handle multi lookups locally.
46266         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46268 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46270         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46271         loader is ld.so.
46273 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
46275         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46276         alignment for SSE2.
46278 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46280         [BZ #12394]
46281         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46282         characters.  When rounding increased number of integer digits recompute
46283         number of groups.
46284         * stdio-common/tst-grouping.c: New file.
46285         * stdio-common/Makefile: Add rules to build and run tst-grouping.
46287 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
46289         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46290         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
46292         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46293         void.
46294         * bits/select.h: Likewise.
46296 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
46298         * po/ja.po: Update from translation team.
46300 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
46302         [BZ #11155]
46303         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46304         implementation just like for lxstat, fxstatat, et al.
46306 2010-12-27  Jim Meyering  <meyering@redhat.com>
46308         [BZ #12348]
46309         * posix/regexec.c (build_trtable): Return failure indication upon
46310         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
46312 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
46314         [BZ #12201]
46315         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46316         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46317         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46318         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46320         [BZ #12207]
46321         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46323         [BZ #12204]
46324         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46325         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46327 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
46329         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46330         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46331         script has SORT_BY_INIT_PRIORITY.
46332         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46333         NO_CTORS_DTORS_SECTIONS is defined.
46334         * elf/soinit.c: Likewise.
46335         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46336         NO_CTORS_DTORS_SECTIONS is defined.
46337         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46338         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46339         * sysdeps/sh/init-first.c: Likewise.
46340         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46342 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
46344         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46345         always use the slow path.
46347 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
46349         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46350         similar rule which adds the sysdep directories to the header search in
46351         order to pick up the correct platform stackinfo.h.
46352         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46353         perform test if it is, otherwise return successfully without testing.
46354         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46355         DEFAULT_STACK_PERMS define in stackinfo.h.
46356         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46357         defined in stackinfo.h.
46358         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46359         DEFAULT_STACK_PERMS defined in stackinfo.h.
46360         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46361         * sysdeps/ia64/stackinfo.h: Likewise.
46362         * sysdeps/s390/stackinfo.h: Likewise.
46363         * sysdeps/sh/stackinfo.h: Likewise.
46364         * sysdeps/sparc/stackinfo.h: Likewise.
46365         * sysdeps/x86_64/stackinfo.h: Likewise.
46366         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46367         PF_X for powerpc64.  Retain PF_X for powerpc32.
46369 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
46371         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46372         accurately.
46373         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46374         GETDENTS_64BIT_ALIGNED.
46376 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
46378         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46380 2010-12-10  Andreas Schwab  <schwab@redhat.com>
46382         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46383         _GNU_SOURCE.
46385         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46386         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46387         Remove __restrict.
46388         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46389         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46391 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
46393         [BZ #11655]
46394         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46395         are initialized.
46397 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
46399         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46401 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
46403         * po/it.po: Update from translation team.
46405 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
46407         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46408         unused codes.
46410 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
46412         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46414 2010-11-24  Andreas Schwab  <schwab@redhat.com>
46416         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46417         specially.
46418         (gaih_getanswer_slice): Likewise.
46420 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
46422         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46424 2010-05-31  Petr Baudis  <pasky@suse.cz>
46426         [BZ #11149]
46427         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46428         silently even in the chroot mode.
46430 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
46432         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46433         last patch a bit.  Pretty printing
46435 2010-05-31  Petr Baudis <pasky@suse.cz>
46437         [BZ #10085]
46438         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46439         initialization of skip_initgroups_dyn.
46441 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
46443         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46444         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46446 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
46448         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46450 2010-11-11  Andreas Schwab  <schwab@redhat.com>
46452         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46453         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46454         (tst-fnmatch-ENV): Set MALLOC_TRACE.
46455         ($(objpfx)tst-fnmatch-mem): New rule.
46456         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46457         * posix/tst-fnmatch.c (main): Call mtrace.
46459 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
46461         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46462         Support Intel processor model 6 and model 0x2c.
46464 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
46466         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46467           signed comparison.
46469 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
46471         [BZ #12205]
46472         * string/test-strncasecmp.c (check_result): New function.
46473         (do_one_test): Use it.
46474         (check1): New function.
46475         (test_main): Use it.
46476         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46477         Support strcasecmp and strncasecmp.
46479 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
46481         [BZ #12194]
46482         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46483         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46485 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
46487         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46488         IFUNC support.
46489         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46490         memset-x86-64.
46491         * sysdeps/x86_64/multiarch/bzero.S: New file.
46492         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46493         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46494         * sysdeps/x86_64/multiarch/memset.S: New file.
46495         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46496         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46497         Set bit_Prefer_SSE_for_memop for Intel processors.
46498         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46499         Define.
46500         (index_Prefer_SSE_for_memop): Define.
46501         (HAS_PREFER_SSE_FOR_MEMOP): Define.
46503 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
46505         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46506         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46508 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
46510         [BZ #12191]
46511         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46512         (__x86_64_raw_data_cache_size_half): Likewise.
46513         (__x86_64_raw_shared_cache_size): Likewise.
46514         (__x86_64_raw_shared_cache_size_half): Likewise.
46516         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46517         (__x86_64_raw_data_cache_size_half): Likewise.
46518         (__x86_64_raw_shared_cache_size): Likewise.
46519         (__x86_64_raw_shared_cache_size_half): Likewise.
46520         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46521         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46522         and __x86_64_raw_shared_cache_size_half.  Round
46523         __x86_64_data_cache_size_half, __x86_64_data_cache_size
46524         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46525         to multiple of 256 bytes.
46527 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
46529         [BZ #12167]
46530         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46531         of inacessible symlinks.  Verify result of symlink before returning it.
46532         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46533         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46535 2010-10-28  Erich Ritz  <erichritz@gmail.com>
46537         * math/math.h (isinf): Fix typo in comment.
46539 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
46541         * po/da.po: Update from translation team.
46543 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
46545         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46546         is added to the list.
46548 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46549             Ulrich Drepper  <drepper@gmail.com>
46551         * elf/dl-object.c (_dl_new_object): Don't append the new object to
46552         the global list here.  Move code to...
46553         (_dl_add_to_namespace_list): ...here.  New function.
46554         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46555         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46556         * elf/dl-load.c (lose): Don't remove the element from the list.
46557         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46558         (_dl_map_object): Likewise.
46560 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
46562         [BZ #12159]
46563         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46564         into all bytes of SSE register.
46565         Patch by Richard Li <richardpku@gmail.com>.
46567 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
46569         [BZ #12140]
46570         * malloc/malloc.c (_int_free): Fill correct number of bytes when
46571         perturbing.
46573 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
46575         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46576         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46577         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46578         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46580         submachine.
46581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46583 2010-10-22  Andreas Schwab  <schwab@redhat.com>
46585         * include/dlfcn.h (__RTLD_SECURE): Define.
46586         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
46587         mode & __RTLD_SECURE instead.
46588         (open_path): Rename preloaded parameter to secure.
46589         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46590         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46591         * elf/dl-deps.c (openaux): Likewise.
46592         * elf/rtld.c (struct map_args): Remove is_preloaded.
46593         (map_doit): Don't use it.
46594         (dl_main): Likewise.
46595         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46596         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46598 2010-09-09  Andreas Schwab  <schwab@redhat.com>
46600         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46601         (sysd-rules-targets): Remove duplicates.
46602         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46603         rtld-%.$o dependency.
46605 2010-10-18  Andreas Schwab  <schwab@redhat.com>
46607         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46608         _dl_map_object do it.
46610 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
46612         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46613         fast fma builtins, define the macros in the C99 standard.
46614         (FP_FAST_FMAF): Likewise.
46615         (FP_FAST_FMAL): Likewise.
46616         * sysdeps/x86_64/bits/mathdef.h: Likewise.
46618         * bits/mathdef.h: Update copyright year.
46619         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46621 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
46623         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46624         builtins, define the macros in the C99 standard.
46625         (FP_FAST_FMAF): Likewise.
46626         (FP_FAST_FMAL): Likewise.
46627         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46628         multiply/add.
46629         (FP_FAST_FMAF): Likewise.
46631 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
46633         [BZ #3268]
46634         * math/libm-test.inc (fma_test): Some new testcases.
46635         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46636         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46637         y and infinite z.  Do multiplication by C already in long double.
46638         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46639         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46640         y and infinite z.  Do bitwise or of inexact bit into u.d.
46641         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46642         * sysdeps/i386/fpu/s_fmaf.S: Removed.
46643         * sysdeps/i386/fpu/s_fma.S: Removed.
46644         * sysdeps/i386/fpu/s_fmal.S: Removed.
46646 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
46648         [BZ #3268]
46649         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46650         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46651         computation is not scheduled after fetestexcept.  Fix value
46652         of minimum denormal long double.
46654 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
46656         [BZ #3268]
46657         * math/libm-test.inc (fma_test): Add some more tests.
46658         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46659         correctly.
46661 2010-10-15  Andreas Schwab  <schwab@redhat.com>
46663         * scripts/data/localplt-s390-linux-gnu.data: New file.
46664         * scripts/data/localplt-s390x-linux-gnu.data: New file.
46666 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
46668         [BZ #3268]
46669         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46670         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46671         instead of dbl-64.
46672         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46673         inlines.
46674         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46675         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46676         if one of x and y is very large and the other is subnormal.
46677         * sysdeps/s390/fpu/s_fmaf.c: New file.
46678         * sysdeps/s390/fpu/s_fma.c: New file.
46679         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46680         * sysdeps/powerpc/fpu/s_fma.S: New file.
46681         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46682         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46683         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46685 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
46687         [BZ #3268]
46688         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46689         fma tests.
46690         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46691         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46692         * sysdeps/i386/i686/multiarch/s_fma.c: Include
46693         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46694         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46695         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46696         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46698 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
46700         [BZ #12078]
46701         * posix/regcomp.c (parse_branch): One more memory leak plugged.
46702         * posix/bug-regex31.input: Add test case.
46704 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46706         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46707         * posix/bug-regex31.input: New file.
46709         [BZ #12078]
46710         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46711         (parse_sub_exp): Fix last change, use postorder.
46713         * posix/bug-regex31.c: New file.
46714         * posix/Makefile: Add rules to build and run bug-regex31.
46716         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46718         [BZ #12078]
46719         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46721         [BZ #12108]
46722         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46723         to have entries in sys_siglist.
46725         [BZ #12093]
46726         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46727         be NULL.
46729 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
46731         [BZ #3268]
46732         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46733         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46734         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46735         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46736         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46737         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46738         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46739         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46740         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46741         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46742         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46743         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46744         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46745         * math/ftestexcept.c (fetestexcept): Likewise.
46746         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46747         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46748         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46749         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46750         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46751         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46752         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46754 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46756         [BZ #12107]
46757         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46758         newline.
46760 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
46762         * string/bug-strstr1.c: New file.
46763         * string/Makefile: Add rules to build and run bug-strstr1.
46765 2010-10-05  Eric Blake  <eblake@redhat.com>
46767         [BZ #12092]
46768         * string/str-two-way.h (two_way_long_needle): Always clear memory
46769         when skipping input due to the shift table.
46771 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
46773         [BZ #12005]
46774         * malloc/mcheck.c: Handle large requests.
46776         [BZ #12077]
46777         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46778         for strncmp and strncasecmp.
46779         * string/stratcliff.c: Add tests for strcmp and strncmp.
46780         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46782 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46784         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46785         __set_fpscr.
46787 2010-09-30  Andreas Jaeger  <aj@suse.de>
46789         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46790         (CGROUP_SUPER_MAGIC): Define.
46791         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46792         Handle btrfs and cgroup file systems.
46793         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46794         Likewise.
46796 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
46798         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46799         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46801 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46803         [BZ #12067]
46804         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46805         trying to locate the ELF header.
46807 2010-09-27  Andreas Schwab  <schwab@redhat.com>
46809         [BZ #11611]
46810         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46811         Mask out sign-bit copies when constructing f_fsid.
46813 2010-09-24  Petr Baudis <pasky@suse.cz>
46815         * debug/stack_chk_fail_local.c: Add missing licence exception.
46816         * debug/warning-nop.c: Likewise.
46818 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
46820         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46821         implementing getdents64 using getdents syscall, set d_type if
46822         __ASSUME_GETDENTS32_D_TYPE.
46824 2010-09-16  Andreas Schwab  <schwab@redhat.com>
46826         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46827         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46829 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
46831         [BZ #12037]
46832         * posix/unistd.h: Undo change of feature selection for ftruncate from
46833         2010-01-11.
46835 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
46837         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
46838         detection.
46840 2010-09-20  Andreas Schwab  <schwab@redhat.com>
46842         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46843         fanotify_mark.
46844         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46846 2010-09-14  Andreas Schwab  <schwab@redhat.com>
46848         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46849         variables after CHECK_SP call.
46850         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46852 2010-09-13  Andreas Schwab  <schwab@redhat.com>
46853             Ulrich Drepper  <drepper@redhat.com>
46855         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46856         re-relocationg ld.so.
46857         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46858         _dl_init_paths call.
46859         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
46860         here anymore.
46862 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
46864         * resolv/res_init.c (__res_vinit): Count the default server we added.
46866 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
46867             Ulrich Drepper  <drepper@redhat.com>
46869         [BZ #11968]
46870         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46871         (____longjmp_chk): Use %ebx for saving value across system call.
46872         Add unwind info.
46874 2010-09-06  Andreas Schwab  <schwab@redhat.com>
46876         * manual/Makefile: Don't mix pattern rules with normal rules.
46878 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
46880         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46881         operation.
46882         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46883         * libio/iofopncook.c (_IO_cookie_init): Likewise.
46884         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46885         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46886         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46887         Likewise.
46889 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
46891         [BZ #11979]
46892         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46893         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46895 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
46897         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46898         * sysdeps/x86_64/addmul_1.S: Likewise.
46899         * sysdeps/x86_64/lshift.S: Likewise.
46900         * sysdeps/x86_64/mul_1.S: Likewise.
46901         * sysdeps/x86_64/rshift.S: Likewise.
46902         * sysdeps/x86_64/sub_n.S: Likewise.
46903         * sysdeps/x86_64/submul_1.S: Likewise.
46905 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46907         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46908         Define __sched_param instead of SCHED_* and sched_param when
46909         <bits/sched.h> is included with __need_schedparam defined.
46910         * bits/sched.h [__need_schedparam]
46911         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46912         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46913         (__defined_schedparam): Define to 1.
46914         (__sched_param): New structure, identical to sched_param.
46915         (__need_schedparam): Undefine.
46917 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
46919         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46920         (epoll_create1): Declare.
46922         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46924 2010-08-31  Andreas Schwab  <schwab@redhat.com>
46926         [BZ #7066]
46927         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46928         shifting retval into place.
46930 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
46932         * nis/rpcsvc/nis.h: Update copyright notice.
46933         * nis/rpcsvc/nis.x: Likewise.
46934         * nis/rpcsvc/nis_callback.h: Likewise.
46935         * nis/rpcsvc/nis_callback.x: Likewise.
46936         * nis/rpcsvc/nis_object.x: Likewise.
46937         * nis/rpcsvc/nis_tags.h: Likewise.
46938         * nis/rpcsvc/yp.h: Likewise.
46939         * nis/rpcsvc/yp.x: Likewise.
46940         * nis/rpcsvc/ypupd.h: Likewise.
46941         * nis/yp_xdr.c: Likewise.
46942         * nis/ypupdate_xdr.c: Likewise.
46944         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
46945         mainly the body of pmap_getport.  Add parameters to specify timeouts.
46946         (pmap_getport): Use __libc_rpc_getport.
46947         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46948         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46949         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46951 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
46953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46954         fanotify_mark.
46956 2010-08-27  Roland McGrath  <roland@redhat.com>
46958         * sysdeps/i386/i686/multiarch/Makefile
46959         (CFLAGS-varshift.c): New variable.
46961 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
46963         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46964         * sysdeps/i386/i686/multiarch/varshift.c: New file.
46966         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46968         * sysdeps/x86_64/strlen.S: Minimal code improvement.
46970 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
46972         * sysdeps/x86_64/strlen.S: Unroll the loop.
46973         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46974         strlen-sse2 strlen-sse2-bsf.
46975         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46976         __strlen_no_bsf if bit_Slow_BSF is set.
46977         (__strlen_sse42): Removed.
46978         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46979         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46981 2010-08-25  Roland McGrath  <roland@redhat.com>
46983         * sysdeps/x86_64/multiarch/varshift.S: File removed.
46984         * sysdeps/x86_64/multiarch/varshift.c: New file.
46985         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46986         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46987         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46988         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46990 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
46992         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46993         strlen-sse2 strlen-sse2-bsf.
46994         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46995         __strlen_sse2_bsf if bit_Slow_BSF is unset.
46996         (__strlen_sse2): Removed.
46997         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46998         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46999         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47000         bit_Slow_BSF for Atom.
47001         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47002         (index_Slow_BSF): Define.
47003         (HAS_SLOW_BSF): Define.
47005 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47007         [BZ #10851]
47008         * resolv/res_init.c (__res_vinit): When no server address at all
47009         is given default to loopback.
47011 2010-08-24  Roland McGrath  <roland@redhat.com>
47013         * configure.in: Remove config-name.h generation.
47014         * configure: Regenerated.
47015         * config-name.in: File removed.
47016         * scripts/config-uname.sh: New file.
47017         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47018         ($(objdir)config-name.h): New target.
47020         * sunrpc/rpc_parse.h: Avoid nested comment.
47022 2010-08-24  Richard Henderson  <rth@redhat.com>
47023             Ulrich Drepper  <drepper@redhat.com>
47024             H.J. Lu  <hongjiu.lu@intel.com>
47026         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47027         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47028         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47029         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47030         _mm_alignr_epi8 with _mm_loadu_si128.
47031         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47032         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47033         (__m128i_shift_right): Removed.
47034         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47035         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47036         * sysdeps/x86_64/multiarch/varshift.h: New file.
47037         * sysdeps/x86_64/multiarch/varshift.S: New file.
47039 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47041         * configure.in: Move assembler checks to before sysdep dir checking.
47043 2010-08-20  Petr Baudis  <pasky@suse.cz>
47045         * LICENSES: Sync the sunrpc license.
47047 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47049         * sunrpc/auth_des.c: Update copyright notice once again.
47050         * sunrpc/auth_none.c: Likewise.
47051         * sunrpc/auth_unix.c: Likewise.
47052         * sunrpc/authdes_prot.c: Likewise.
47053         * sunrpc/authuxprot.c: Likewise.
47054         * sunrpc/bindrsvprt.c: Likewise.
47055         * sunrpc/clnt_gen.c: Likewise.
47056         * sunrpc/clnt_perr.c: Likewise.
47057         * sunrpc/clnt_raw.c: Likewise.
47058         * sunrpc/clnt_simp.c: Likewise.
47059         * sunrpc/clnt_tcp.c: Likewise.
47060         * sunrpc/clnt_udp.c: Likewise.
47061         * sunrpc/clnt_unix.c: Likewise.
47062         * sunrpc/des_crypt.c: Likewise.
47063         * sunrpc/des_soft.c: Likewise.
47064         * sunrpc/get_myaddr.c: Likewise.
47065         * sunrpc/getrpcport.c: Likewise.
47066         * sunrpc/key_call.c: Likewise.
47067         * sunrpc/key_prot.c: Likewise.
47068         * sunrpc/openchild.c: Likewise.
47069         * sunrpc/pm_getmaps.c: Likewise.
47070         * sunrpc/pm_getport.c: Likewise.
47071         * sunrpc/pmap_clnt.c: Likewise.
47072         * sunrpc/pmap_prot.c: Likewise.
47073         * sunrpc/pmap_prot2.c: Likewise.
47074         * sunrpc/pmap_rmt.c: Likewise.
47075         * sunrpc/rpc/auth.h: Likewise.
47076         * sunrpc/rpc/auth_unix.h: Likewise.
47077         * sunrpc/rpc/clnt.h: Likewise.
47078         * sunrpc/rpc/des_crypt.h: Likewise.
47079         * sunrpc/rpc/key_prot.h: Likewise.
47080         * sunrpc/rpc/netdb.h: Likewise.
47081         * sunrpc/rpc/pmap_clnt.h: Likewise.
47082         * sunrpc/rpc/pmap_prot.h: Likewise.
47083         * sunrpc/rpc/pmap_rmt.h: Likewise.
47084         * sunrpc/rpc/rpc.h: Likewise.
47085         * sunrpc/rpc/rpc_des.h: Likewise.
47086         * sunrpc/rpc/rpc_msg.h: Likewise.
47087         * sunrpc/rpc/svc.h: Likewise.
47088         * sunrpc/rpc/svc_auth.h: Likewise.
47089         * sunrpc/rpc/types.h: Likewise.
47090         * sunrpc/rpc/xdr.h: Likewise.
47091         * sunrpc/rpc_clntout.c: Likewise.
47092         * sunrpc/rpc_cmsg.c: Likewise.
47093         * sunrpc/rpc_common.c: Likewise.
47094         * sunrpc/rpc_cout.c: Likewise.
47095         * sunrpc/rpc_dtable.c: Likewise.
47096         * sunrpc/rpc_hout.c: Likewise.
47097         * sunrpc/rpc_main.c: Likewise.
47098         * sunrpc/rpc_parse.c: Likewise.
47099         * sunrpc/rpc_parse.h: Likewise.
47100         * sunrpc/rpc_prot.c: Likewise.
47101         * sunrpc/rpc_sample.c: Likewise.
47102         * sunrpc/rpc_scan.c: Likewise.
47103         * sunrpc/rpc_scan.h: Likewise.
47104         * sunrpc/rpc_svcout.c: Likewise.
47105         * sunrpc/rpc_tblout.c: Likewise.
47106         * sunrpc/rpc_util.c: Likewise.
47107         * sunrpc/rpc_util.h: Likewise.
47108         * sunrpc/rpcinfo.c: Likewise.
47109         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47110         * sunrpc/rpcsvc/key_prot.x: Likewise.
47111         * sunrpc/rpcsvc/klm_prot.x: Likewise.
47112         * sunrpc/rpcsvc/mount.x: Likewise.
47113         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47114         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47115         * sunrpc/rpcsvc/rex.x: Likewise.
47116         * sunrpc/rpcsvc/rstat.x: Likewise.
47117         * sunrpc/rpcsvc/rusers.x: Likewise.
47118         * sunrpc/rpcsvc/sm_inter.x: Likewise.
47119         * sunrpc/rpcsvc/spray.x: Likewise.
47120         * sunrpc/rpcsvc/yppasswd.x: Likewise.
47121         * sunrpc/rtime.c: Likewise.
47122         * sunrpc/svc.c: Likewise.
47123         * sunrpc/svc_auth.c: Likewise.
47124         * sunrpc/svc_authux.c: Likewise.
47125         * sunrpc/svc_raw.c: Likewise.
47126         * sunrpc/svc_run.c: Likewise.
47127         * sunrpc/svc_simple.c: Likewise.
47128         * sunrpc/svc_tcp.c: Likewise.
47129         * sunrpc/svc_udp.c: Likewise.
47130         * sunrpc/svc_unix.c: Likewise.
47131         * sunrpc/svcauth_des.c: Likewise.
47132         * sunrpc/xcrypt.c: Likewise.
47133         * sunrpc/xdr.c: Likewise.
47134         * sunrpc/xdr_array.c: Likewise.
47135         * sunrpc/xdr_float.c: Likewise.
47136         * sunrpc/xdr_mem.c: Likewise.
47137         * sunrpc/xdr_rec.c: Likewise.
47138         * sunrpc/xdr_ref.c: Likewise.
47139         * sunrpc/xdr_sizeof.c: Likewise.
47140         * sunrpc/xdr_stdio.c: Likewise.
47142         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47143         handling.
47145 2010-08-19  Andreas Schwab  <schwab@redhat.com>
47147         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47149 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
47151         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47152         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47153         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47154         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47155         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47156         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47157         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47158         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47159         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47160         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47161         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47162         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47163         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47164         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47166 2010-07-26  Anton Blanchard  <anton@samba.org>
47168         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47169         * malloc/arena.c (heap_trim): Likewise.
47171 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
47173         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47174         here.  Not...
47175         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47176         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47178 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
47180         * sysdeps/i386/elf/Makefile: New file.
47182 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47184         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47185         from fanotify_init.
47186         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47187         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47189 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
47191         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47192         of strncasecmp_l.
47193         * sysdeps/multiarch/strcmp.S: Likewise.
47195 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
47197         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47198         strncase_l-nonascii.
47199         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47200         Add strncase_l-ssse3.
47201         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47202         * sysdeps/x86_64/strcmp.S: Likewise.
47203         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47204         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47205         * sysdeps/x86_64/strncase.S: New file.
47206         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47207         * sysdeps/x86_64/strncase_l.S: New file.
47208         * string/Makefile (strop-tests): Add strncasecmp.
47209         * string/test-strncasecmp.c: New file.
47211         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47212         warning.
47214         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47215         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47217 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47219         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47221 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
47223         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47224         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47225         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47227 2010-05-01  Alan Modra  <amodra@gmail.com>
47229         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47230         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47231         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47232         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47233         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47234         tidying.  Don't tail-call __sigjmp_save for static lib.
47235         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47236         save location.
47237         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47238         (CALL_MCOUNT): Add eh info, and nop after bl.
47239         (TAIL_CALL_SYSCALL_ERROR): New macro.
47240         (PSEUDO_RET): Use it.
47241         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47242         Correct save location of integer regs and cr.
47243         (_dl_profile_resolve): Correct cr save location.  Delete nops
47244         after bl when SHARED.  Reduce cfi size a little by better
47245         placement of cfi directives.
47246         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47247         make a stack frame.  Instead use parm save area as a temp.
47248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47249         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
47250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47251         Don't make a stack frame for parent, use parm save area.
47252         Increase child stack frame to 112 bytes.  Don't save unused reg,
47253         and adjust reg usage.  Set up cfi on error recovery and
47254         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47256         (__makecontext): Add dummy nop after jump to exit.
47257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47258         Use correct parm save area and cr save, reduce stack frame.
47259         Correct cfi for possible PSEUDO_RET frame setup.
47260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47261         Branch to local label emitted by PSEUDO_RET rather than
47262         __syscall_error.
47264 2010-08-12  Andreas Schwab  <schwab@redhat.com>
47266         [BZ #11904]
47267         * locale/programs/locale.c (print_assignment): New function.
47268         (show_locale_vars): Use it.
47270 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
47272         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47273         field.
47274         (struct statfs64): Likewise.
47275         (_STATFS_F_FLAGS): Define.
47276         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47277         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47278         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47279         (ST_VALID): Define locally.
47280         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47281         __statvfs_getflags, use the provided value.
47282         * sysdeps/unix/sysv/linux/kernel-features.h: Define
47283         __ASSUME_STATFS_F_FLAGS.
47285         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47287         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47288         Add sys/fanotify.h.
47289         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47290         fanotify_mask for GLIBC_2.13.
47291         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47292         fanotify_init and fanotify_mark.
47293         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47294         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47296         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47297         Add prlimit.
47298         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47299         prlimit64 for GLIBC_2.13.
47300         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47301         prlimit64.
47302         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47303         syscall.
47304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47305         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47306         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47307         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47308         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
47309         add prlimit alias.
47310         * sysdeps/unix/sysv/linux/prlimit.c: New file.
47312         [BZ #11903]
47313         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47314         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47316         * nss/Makefile: Add rules to build and run tst-nss-test1.
47317         * shlib-versions: Add entry for libnss_test1.
47318         * nss/nss_test1.c: New file.
47319         * nss/tst-nss-test1.c: New file.
47321         * nss/nsswitch.c (__nss_database_custom): Define new variable.
47322         (__nss_configure_lookup): Set appropriate entry in
47323         __nss_configure_lookup to true.
47324         * nss/nsswitch.h: Define enum with indeces of databases in
47325         databases and __nss_database_custom arrays.  Declare
47326         __nss_database_custom.
47327         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47328         to avoid using nscd when custom rules are installed.
47329         * nss/getXXbyYY_r.c: Likewise.
47330         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47332         * nss/nss_files/files-parse.c: Whitespace fixes.
47334 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
47336         [BZ #11883]
47337         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47338         * posix/fnmatch_loop.c: Likewise.
47340 2010-07-17  Andi Kleen  <ak@linux.intel.com>
47342         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47343         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47344         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47345         * Versions.def [GLIBC_2.13]: Add.
47347 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
47349         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47350         Also fail if tpwd after pwuid call is NULL.
47352 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47354         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47355         when converting to ms.
47357 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47359         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47360         EOPNOTSUPP errors with ENOTTY.
47361         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47362         EOPNOTSUPP errors with ENOTTY.
47364 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
47366         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47367         Add strcasecmp_l-ssse3.
47368         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47369         strcasecmp.
47370         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47371         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47372         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47374 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
47376         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47378         * string/Makefile (strop-tests): Add strcasecmp.
47379         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47380         strcasecmp_l-nonascii.
47381         (gen-as-const-headers): Add locale-defines.sym.
47382         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47383         * sysdeps/x86_64/strcasecmp.S: New file.
47384         * sysdeps/x86_64/strcasecmp_l.S: New file.
47385         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47386         * sysdeps/x86_64/locale-defines.sym: New file.
47387         * string/test-strcasecmp.c: New file.
47389         * string/test-strcasestr.c: Test both ends of the range of characters.
47390         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47392 2010-07-29  Roland McGrath  <roland@redhat.com>
47394         [BZ #11856]
47395         * manual/locale.texi (Yes-or-No Questions): Fix example code.
47397 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
47399         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47400         for ld.so.
47402 2010-07-27  Andreas Schwab  <schwab@redhat.com>
47404         * manual/memory.texi (Malloc Tunable Parameters): Document
47405         M_PERTURB.
47407 2010-07-26  Roland McGrath  <roland@redhat.com>
47409         [BZ #11840]
47410         * configure.in (-fgnu89-inline check): Set and substitute
47411         gnu89_inline, not libc_cv_gnu89_inline.
47412         * configure: Regenerated.
47413         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47415 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
47417         * string/test-strnlen.c: New file.
47418         * string/Makefile (strop-tests): Add strnlen.
47419         * string/tester.c (test_strnlen): Add a few more test cases.
47420         * string/tst-strlen.c: Better error reporting.
47422         * sysdeps/x86_64/strnlen.S: New file.
47424 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
47426         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47427         lower-latency instructions.
47429 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
47431         * string/test-strcasestr.c: New file.
47432         * string/test-strstr.c: New file.
47433         * string/Makefile (strop-tests): Add strstr and strcasestr.
47434         * string/str-two-way.h: Don't undefine MAX.
47435         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47437 2010-07-21  Andreas Schwab  <schwab@redhat.com>
47439         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47440         strcasestr-nonascii.
47441         (CFLAGS-strcasestr-nonascii.c): Define.
47442         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47443         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47444         Remove unused attribute.
47446 2010-07-20  Roland McGrath  <roland@redhat.com>
47448         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47449         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
47450         ld.so.cache was broken.  With it, there is no way to disable dsocaps
47451         like LD_HWCAP_MASK can disable hwcaps.
47453 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47455         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47457 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
47459         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47460         call in strcasestr.
47461         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47462         __strcasestr_sse42_nonascii.
47463         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47464         strcasestr-nonascii.c.
47465         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47467 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
47469         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47470         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47471         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47472         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47474 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
47476         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47477         fcntl.
47479 2010-07-06  Andreas Schwab  <schwab@redhat.com>
47481         [BZ #11577]
47482         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47483         dl_signal_cerror.
47485 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
47487         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47488         _PC_PIPE_BUF using F_GETPIPE_SZ.
47490 2010-07-05  Roland McGrath  <roland@redhat.com>
47492         * manual/arith.texi (Rounding Functions): Fix rint description
47493         implicit in round description.
47495 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
47497         * elf/Makefile: Fix linking for a few tests to make recent linker
47498         happy.
47500 2010-06-30  Andreas Schwab  <schwab@redhat.com>
47502         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47503         $(common-objpfx)libc_nonshared.a.
47505 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
47507         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47508         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47509         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47510         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47511         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47512         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47513         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47514         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47529         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47530         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47531         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47532         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47533         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47534         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47535         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47536         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47537         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47538         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47539         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47540         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47556 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
47558         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47559         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
47560         * string/memmove.c (memmove): Renamed to ...
47561         (MEMMOVE): ...this.  Default to memmove.
47562         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47563         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47564         (END_CHK): Define.
47565         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47566         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47567         mempcpy-ssse3-back memmove-ssse3-back.
47568         * sysdeps/x86_64/multiarch/bcopy.S: New file .
47569         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47570         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47571         * sysdeps/x86_64/multiarch/memcpy.S: New file.
47572         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47573         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47574         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47575         * sysdeps/x86_64/multiarch/memmove.c: New file.
47576         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47577         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47578         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47579         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47580         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47581         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47582         Define.
47583         (index_Fast_Copy_Backward): Define.
47584         (HAS_ARCH_FEATURE): Define.
47585         (HAS_FAST_REP_STRING): Define.
47586         (HAS_FAST_COPY_BACKWARD): Define.
47588 2010-06-21  Andreas Schwab  <schwab@redhat.com>
47590         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47591         Restore proper fallback handling.
47593 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
47595         [BZ #11701]
47596         * posix/group_member.c (__group_member): Correct checking loop.
47598         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47599         OOM in getpwuid_r correctly.  Return error number when the caller
47600         should return, otherwise -1.
47601         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47602         call returning > 0 value.
47603         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47605 2010-06-07  Andreas Schwab  <schwab@redhat.com>
47607         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47608         libc_nonshared.a from targets in modules-names.
47610 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
47612         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47613         requires it.
47615 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
47617         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47618         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47619         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47620         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47622 2010-06-02  Andreas Schwab  <schwab@redhat.com>
47624         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47626 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
47628         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47629         and F_GETPIPE_SZ.
47630         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47631         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47632         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47633         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47634         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47635         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47637 2010-06-14  Roland McGrath  <roland@redhat.com>
47639         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47641 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
47643         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47644         __REDIRECT followed by __THROW.
47645         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47646         * posix/getopt.h (getopt): Likewise.
47648 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47650         * hurd/lookup-at.c (__file_name_lookup_at): Accept
47651         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
47652         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47653         in AT_FLAGS.
47654         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47655         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47657 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
47659         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47661 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
47663         [BZ #11640]
47664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47665         Properly check family and model.
47667 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
47669         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47671 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
47673         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47675 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
47677         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47678         symbol reference.
47680 2010-05-19  Andreas Schwab  <schwab@redhat.com>
47682         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47683         symbol reference.
47685 2010-05-21  Andreas Schwab  <schwab@redhat.com>
47687         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47688         and internal_recvmmsg.
47689         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47690         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47691         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47692         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47694         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47695         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47696         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47698 2010-05-20  Andreas Schwab  <schwab@redhat.com>
47700         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47702 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
47704         POWER7 optimizations.
47705         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47706         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47708 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
47710         * version.h: Update for 2.13 development version.
47712 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
47714         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47715         exceptions.  Return 0.
47717 2010-05-07  Roland McGrath  <roland@redhat.com>
47719         * elf/ldconfig.c (main): Add a const.
47721 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
47723         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47724         (args_options): Add no-idn option.
47725         (ahosts_keys_int): Add idn_flags to ai_flags.
47726         (parse_option): Handle 'i' option to clear idn_flags.
47728         * malloc/malloc.c (_int_free): Possible race in the most recently
47729         added check.  Only act on the data if no current modification
47730         happened.
47732 See ChangeLog.17 for earlier changes.